Home
last modified time | relevance | path

Searched refs:new_ptr (Results 1 – 18 of 18) sorted by relevance

/external/sqlite/android/
DPhoneNumberUtils.cpp115 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/chromium_org/base/allocator/
Dallocator_shim.cc139 void* new_ptr; in realloc() local
144 new_ptr = win_heap_realloc(ptr, size); in realloc()
148 new_ptr = do_realloc(ptr, size); in realloc()
155 if (new_ptr || !size) in realloc()
156 return new_ptr; in realloc()
160 return new_ptr; in realloc()
/external/chromium_org/third_party/libvpx/source/libvpx/
Dvpxstats.c103 char *new_ptr = realloc(stats->buf.buf, new_sz); in stats_write() local
105 if (new_ptr) { in stats_write()
106 stats->buf_ptr = new_ptr + (stats->buf_ptr - (char *)stats->buf.buf); in stats_write()
107 stats->buf.buf = new_ptr; in stats_write()
/external/libvpx/libvpx/
Dvpxstats.c103 char *new_ptr = realloc(stats->buf.buf, new_sz); in stats_write() local
105 if (new_ptr) { in stats_write()
106 stats->buf_ptr = new_ptr + (stats->buf_ptr - (char *)stats->buf.buf); in stats_write()
107 stats->buf.buf = new_ptr; in stats_write()
/external/freetype/src/gzip/
Dzutil.c72 voidpf new_ptr; member
103 table[next_ptr++].new_ptr = buf; in zcalloc()
116 if (ptr != table[n].new_ptr) continue; in zcfree()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_debug_memory.c197 void *new_ptr; in debug_realloc() local
247 new_ptr = data_from_header(new_hdr); in debug_realloc()
248 memcpy( new_ptr, old_ptr, old_size < new_size ? old_size : new_size ); in debug_realloc()
255 return new_ptr; in debug_realloc()
/external/mesa3d/src/gallium/auxiliary/util/
Du_debug_memory.c197 void *new_ptr; in debug_realloc() local
247 new_ptr = data_from_header(new_hdr); in debug_realloc()
248 memcpy( new_ptr, old_ptr, old_size < new_size ? old_size : new_size ); in debug_realloc()
255 return new_ptr; in debug_realloc()
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
Dfx_zlib_zutil.c211 voidpf new_ptr;
242 table[next_ptr++].new_ptr = buf;
255 if (ptr != table[n].new_ptr) continue;
/external/chromium_org/third_party/zlib/
Dzutil.c205 voidpf new_ptr; member
236 table[next_ptr++].new_ptr = buf; in zcalloc()
249 if (ptr != table[n].new_ptr) continue; in zcfree()
/external/qemu/distrib/zlib-1.2.8/
Dzutil.c209 voidpf new_ptr; member
240 table[next_ptr++].new_ptr = buf; in zcalloc()
253 if (ptr != table[n].new_ptr) continue; in zcfree()
/external/zlib/src/
Dzutil.c209 voidpf new_ptr; member
240 table[next_ptr++].new_ptr = buf; in zcalloc()
253 if (ptr != table[n].new_ptr) continue; in zcfree()
/external/chromium_org/third_party/cld/base/
Dscoped_ptr.h338 C* new_ptr = static_cast<C*>(realloc(ptr_, new_size)); in try_realloc() local
339 if (new_ptr == NULL) { in try_realloc()
342 ptr_ = new_ptr; in try_realloc()
/external/chromium_org/gpu/command_buffer/client/
Dmapped_memory_unittest.cc258 void* new_ptr = manager_->Alloc(kSize, &new_id, &new_offset); in TEST_F() local
259 EXPECT_TRUE(new_ptr); in TEST_F()
260 EXPECT_EQ(new_ptr, pointers[0]); in TEST_F()
265 manager_->Free(new_ptr); in TEST_F()
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dtcmalloc.cc1219 void* new_ptr = NULL; in do_realloc_with_callback() local
1222 new_ptr = do_malloc_or_cpp_alloc(lower_bound_to_grow); in do_realloc_with_callback()
1224 if (new_ptr == NULL) { in do_realloc_with_callback()
1226 new_ptr = do_malloc_or_cpp_alloc(new_size); in do_realloc_with_callback()
1228 if (new_ptr == NULL) { in do_realloc_with_callback()
1231 MallocHook::InvokeNewHook(new_ptr, new_size); in do_realloc_with_callback()
1232 memcpy(new_ptr, old_ptr, ((old_size < new_size) ? old_size : new_size)); in do_realloc_with_callback()
1238 return new_ptr; in do_realloc_with_callback()
/external/chromium_org/third_party/tcmalloc/chromium/src/
Dtcmalloc.cc1260 void* new_ptr = NULL; in do_realloc_with_callback() local
1263 new_ptr = do_malloc_or_cpp_alloc(lower_bound_to_grow); in do_realloc_with_callback()
1266 if (new_ptr == NULL) { in do_realloc_with_callback()
1268 new_ptr = do_malloc_or_cpp_alloc(new_size); in do_realloc_with_callback()
1270 if (new_ptr == NULL) { in do_realloc_with_callback()
1273 MallocHook::InvokeNewHook(new_ptr, new_size); in do_realloc_with_callback()
1274 memcpy(new_ptr, old_ptr, ((old_size < new_size) ? old_size : new_size)); in do_realloc_with_callback()
1280 return new_ptr; in do_realloc_with_callback()
/external/compiler-rt/lib/asan/
Dasan_allocator2.cc489 void *new_ptr = Allocate(new_size, 8, stack, FROM_MALLOC, true); in Reallocate() local
490 if (new_ptr) { in Reallocate()
498 REAL(memcpy)(new_ptr, old_ptr, memcpy_size); in Reallocate()
501 return new_ptr; in Reallocate()
/external/qemu/distrib/mini-glib/src/
Dglib-mini.c68 void* new_ptr = realloc(ptr, size); in g_realloc() local
69 if (new_ptr == NULL) in g_realloc()
72 return new_ptr; in g_realloc()
/external/opencv/cxcore/src/
Dcxpersistence.cpp313 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()