Searched refs:new_ptr (Results 1 – 10 of 10) sorted by relevance
/external/chromium/base/allocator/ |
D | allocator_shim.cc | 162 void* new_ptr; in realloc() local 167 new_ptr = je_realloc(ptr, size); in realloc() 171 new_ptr = win_heap_realloc(ptr, size); in realloc() 175 new_ptr = do_realloc(ptr, size); in realloc() 180 new_ptr = do_realloc(ptr, size); in realloc() 186 if (new_ptr || !size) in realloc() 187 return new_ptr; in realloc() 191 return new_ptr; in realloc()
|
/external/openssh/ |
D | xmalloc.c | 59 void *new_ptr; in xrealloc() local 67 new_ptr = malloc(new_size); in xrealloc() 69 new_ptr = realloc(ptr, new_size); in xrealloc() 70 if (new_ptr == NULL) in xrealloc() 73 return new_ptr; in xrealloc()
|
/external/sqlite/android/ |
D | PhoneNumberUtils.cpp | 115 const char **new_ptr, size_t *new_len) in tryGetTrunkPrefixOmittedStr() argument 120 if (new_ptr != NULL) { in tryGetTrunkPrefixOmittedStr() 121 *new_ptr = str + i + 1; in tryGetTrunkPrefixOmittedStr() 141 const char **new_ptr, size_t *new_len, in tryGetCountryCallingCode() argument 189 if (new_ptr != NULL) { in tryGetCountryCallingCode() 190 *new_ptr = str + i + 1; in tryGetCountryCallingCode() 213 if (new_ptr != NULL) { in tryGetCountryCallingCode() 214 *new_ptr = str + i + 1; in tryGetCountryCallingCode()
|
/external/dropbear/ |
D | scpmisc.c | 66 void *new_ptr; in xrealloc() local 73 new_ptr = malloc(new_size); in xrealloc() 75 new_ptr = realloc(ptr, new_size); in xrealloc() 76 if (new_ptr == NULL) { in xrealloc() 80 return new_ptr; in xrealloc()
|
/external/qemu/distrib/zlib-1.2.3/ |
D | zutil.c | 205 voidpf new_ptr; member 236 table[next_ptr++].new_ptr = buf; in zcalloc() 249 if (ptr != table[n].new_ptr) continue; in zcfree()
|
/external/zlib/src/ |
D | zutil.c | 209 voidpf new_ptr; member 240 table[next_ptr++].new_ptr = buf; in zcalloc() 253 if (ptr != table[n].new_ptr) continue; in zcfree()
|
/external/compiler-rt/lib/asan/ |
D | asan_allocator.cc | 779 u8 *new_ptr = Allocate(0, new_size, stack); in Reallocate() local 780 if (new_ptr) { in Reallocate() 782 REAL(memcpy)(new_ptr, old_ptr, memcpy_size); in Reallocate() 785 return new_ptr; in Reallocate()
|
/external/libvpx/ |
D | vpxenc.c | 232 char *new_ptr = realloc(stats->buf.buf, new_sz); in stats_write() local 234 if (new_ptr) in stats_write() 236 stats->buf_ptr = new_ptr + (stats->buf_ptr - (char *)stats->buf.buf); in stats_write() 237 stats->buf.buf = new_ptr; in stats_write()
|
/external/webkit/Source/JavaScriptCore/wtf/ |
D | FastMalloc.cpp | 3999 void* new_ptr = do_malloc(new_size); in CreateCacheIfNecessary() local 4000 if (new_ptr == NULL) { in CreateCacheIfNecessary() 4004 MallocHook::InvokeNewHook(new_ptr, new_size); in CreateCacheIfNecessary() 4006 memcpy(new_ptr, old_ptr, ((old_size < new_size) ? old_size : new_size)); in CreateCacheIfNecessary() 4015 new_ptr = static_cast<AllocAlignmentInteger*>(new_ptr) + 1; in CreateCacheIfNecessary() 4017 return new_ptr; in CreateCacheIfNecessary()
|
/external/opencv/cxcore/src/ |
D | cxpersistence.cpp | 313 char* new_ptr = 0; in icvFSDoResize() local 321 CV_CALL( new_ptr = (char*)cvAlloc( new_size + 256 )); in icvFSDoResize() 322 fs->buffer = new_ptr + (fs->buffer - fs->buffer_start); in icvFSDoResize() 324 memcpy( new_ptr, fs->buffer_start, written_len ); in icvFSDoResize() 325 fs->buffer_start = new_ptr; in icvFSDoResize() 327 new_ptr += written_len; in icvFSDoResize() 331 return new_ptr; in icvFSDoResize()
|