Searched refs:realloc (Results 376 - 400 of 606) sorted by relevance

<<11121314151617181920>>

/external/srec/portable/src/
H A Dpmemory.c36 #undef realloc macro
640 data->stackTrace = realloc(stackTrace, sizeof(LCHAR) * (LSTRLEN(stackTrace) + 1));
723 The realloc() function changes the size of the memory object pointed to by ptr to the size specified by size. The contents of the object will remain unchanged up to the lesser of the new and old sizes. If the new size of the memory object would require movement of the object, the space for the previous instantiation of the object is freed. If the new size is larger, the contents of the newly allocated portion of the object are unspecified. If size is 0 and ptr is not a null pointer, the object pointed to is freed. If the space cannot be allocated, the object remains unchanged.
724 If ptr is a null pointer, realloc() behaves like malloc() for the specified size.
726 If ptr does not match a pointer returned earlier by calloc(), malloc() or realloc() or if the space has previously been deallocated by a call to free() or realloc(), the behaviour is undefined.
728 The order and contiguity of storage allocated by successive calls to realloc() is unspecified. The pointer returned if the allocation succeeds is suitably aligned so that it may be assigned to a pointer to any type of object and then used to access such an object in the space allocated (until the space is explicitly freed or reallocated). Each such allocation will yield a pointer to an object disjoint from any other object. The pointer returned points to the start (lowest byte address) of the allocated space. If the space cannot be allocated, a null pointer is returned.
731 Upon successful completion with a size not equal to 0, realloc() returns a pointer to the (possibly moved) allocated space. If size is 0, either a null pointer or a unique pointer that can be successfully passed to free() is returned. If there is not enough available memory, realloc() returns a null pointer
810 newData = (MemoryData *) realloc(oldDat
[all...]
/external/libsepol/src/
H A Dservices.c99 new_stack = realloc(stack, new_stack_len * sizeof(*stack));
167 * realloc's if buffer is too small. The array of expression text
187 new_buf = realloc(e_buf, new_buf_len);
189 ERR(NULL, "failed to realloc expr buffer");
326 new_class_buf = realloc(class_buf, new_class_buf_len);
436 new_expr_list = realloc(expr_list,
449 * buffer is too small cat_expr_buf() will realloc extra space.
766 * responsible for freeing the memory). It will handle any realloc's
781 *new_buf = realloc(*r_buf, new_buf_len);
783 ERR(NULL, "failed to realloc reaso
[all...]
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcloctst.c284 temp=(char*)realloc(temp, sizeof(char) * (cap+1));
298 temp=(char*)realloc(temp, sizeof(char) * (cap+1));
538 testLocale=(char*)realloc(testLocale, sizeof(char) * (u_strlen(dataTable[NAME][i])+1));
544 expected=(UChar*)realloc(expected, sizeof(UChar) * (strlen(temp) + 1));
552 expected=(UChar*)realloc(expected, sizeof(UChar) * (strlen(temp) + 1));
1388 got=(UChar*)realloc(got, sizeof(UChar) * (size+1));
1402 got=(UChar*)realloc(got, sizeof(UChar) * (size+1));
1422 got=(UChar*)realloc(got, sizeof(UChar) * (size+1));
1436 got=(UChar*)realloc(got, sizeof(UChar) * (size+1));
1450 got=(UChar*)realloc(go
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dcloctst.c284 temp=(char*)realloc(temp, sizeof(char) * (cap+1));
298 temp=(char*)realloc(temp, sizeof(char) * (cap+1));
538 testLocale=(char*)realloc(testLocale, sizeof(char) * (u_strlen(dataTable[NAME][i])+1));
544 expected=(UChar*)realloc(expected, sizeof(UChar) * (strlen(temp) + 1));
552 expected=(UChar*)realloc(expected, sizeof(UChar) * (strlen(temp) + 1));
1389 got=(UChar*)realloc(got, sizeof(UChar) * (size+1));
1403 got=(UChar*)realloc(got, sizeof(UChar) * (size+1));
1423 got=(UChar*)realloc(got, sizeof(UChar) * (size+1));
1437 got=(UChar*)realloc(got, sizeof(UChar) * (size+1));
1451 got=(UChar*)realloc(go
[all...]
/external/chromium_org/content/browser/geolocation/
H A Dwifi_data_provider_win.cc612 realloc(buffer->release(), requested_size)));
/external/chromium_org/third_party/android_crazy_linker/src/tests/
H A Dtest_util.h103 str_ = reinterpret_cast<char*>(realloc(str_, len + 1));
/external/chromium_org/third_party/libjpeg_turbo/
H A Ddjpeg.c563 inbuffer = (unsigned char *)realloc(inbuffer, insize + INPUT_BUF_SIZE);
/external/chromium_org/third_party/libusb/src/libusb/
H A Dlibusbi.h137 void *ret = realloc(ptr, size);
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_mem/
H A Dvpx_mem.c73 # define VPX_REALLOC_L realloc
159 The realloc() function changes the size of the object pointed to by
162 of the new and old sizes. If ptr is null, realloc() behaves like
311 * the memory that does get realloc'd may change
H A Dvpx_mem_tracker.c62 static mem_track_realloc_func g_realloc = realloc;
/external/chromium_org/third_party/mesa/src/src/glsl/
H A Dralloc.c137 info = realloc(old, size + sizeof(ralloc_header));
/external/chromium_org/third_party/opus/src/src/
H A Dopus_compare.c51 return check_alloc(realloc(_ptr,_size));
/external/chromium_org/third_party/sqlite/src/ext/fts1/
H A Dfts1_porter.c607 c->zToken = realloc(c->zToken, c->nAllocated);
/external/chromium_org/third_party/sqlite/src/src/
H A Dlempar.c54 ** zero the stack is dynamically sized using realloc()
248 pNew = realloc(p->yystack, newSize*sizeof(pNew[0]));
/external/chromium_org/third_party/sqlite/src/tool/
H A Dlempar.c48 ** zero the stack is dynamically sized using realloc()
242 pNew = realloc(p->yystack, newSize*sizeof(pNew[0]));
/external/compiler-rt/lib/profile/
H A DGCDAProfiling.c116 write_buffer = realloc(write_buffer, size);
/external/dhcpcd/
H A Dif-bsd.c333 p = realloc(link_buf, len);
/external/e2fsprogs/contrib/
H A Dspd_readdir.c213 dnew = realloc(dirstruct->dp,
/external/elfutils/0.153/libdw/
H A Dcfi.c105 Dwarf_Frame *bigger = realloc (fs, size);
/external/elfutils/0.153/src/
H A Dfindtextrel.c354 = (struct segments *) realloc (segments,
/external/icu/icu4c/source/layout/
H A DLETypes.h388 #define LE_GROW_ARRAY(array, newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
/external/iputils/ninfod/
H A Dni_ifaddrs.c172 void *newbuff = realloc(buff, bufsize);
/external/libnl/lib/route/link/
H A Dvlan.c445 ptr = realloc(vi->vi_egress_qos, new_size);
/external/libopus/src/
H A Dopus_compare.c51 return check_alloc(realloc(_ptr,_size));
/external/libvpx/libvpx/vpx_mem/
H A Dvpx_mem.c72 # define VPX_REALLOC_L realloc
158 The realloc() function changes the size of the object pointed to by
161 of the new and old sizes. If ptr is null, realloc() behaves like
310 * the memory that does get realloc'd may change

Completed in 966 milliseconds

<<11121314151617181920>>