Home
last modified time | relevance | path

Searched refs:old_ptr (Results 1 – 3 of 3) sorted by relevance

/AliOS-Things-master/components/osal_aos/example/
A Dmem_example.c100 struct message *old_ptr = NULL, *new_ptr = NULL; in mem_realloc() local
103 old_ptr = (struct message *)aos_malloc(sizeof(struct message) * 4); in mem_realloc()
108 if (old_ptr == NULL) { in mem_realloc()
113 memset(old_ptr, 0, sizeof(struct message) * 4); in mem_realloc()
119 new_ptr = aos_realloc(old_ptr, sizeof(struct message) * 6); in mem_realloc()
122 aos_free(old_ptr); in mem_realloc()
123 old_ptr= NULL; in mem_realloc()
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/
A Dpngrutil.c694 png_bytep old_ptr = png_ptr->read_buffer; in png_decompress_chunk() local
698 text = old_ptr; /* freed below */ in png_decompress_chunk()
/AliOS-Things-master/components/amp/engine/duktape_engine/duktape/
A Dduktape.c60369 duk_uint16_t *old_ptr; local
60373 duk_hstring **old_ptr; local
60393 old_ptr = DUK__GET_STRTABLE(heap);
60394 old_ptr_high = old_ptr + new_st_size;
60396 h = DUK__HEAPPTR_DEC16(heap, old_ptr[i]);
60411 old_ptr[i] = DUK__HEAPPTR_ENC16(heap, root);

Completed in 303 milliseconds