Home
last modified time | relevance | path

Searched refs:new_ptr (Results 1 – 12 of 12) 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/libvpx/libvpx/
Dvpxstats.c106 char *new_ptr = realloc(stats->buf.buf, new_sz); in stats_write() local
108 if (new_ptr) { in stats_write()
109 stats->buf_ptr = new_ptr + (stats->buf_ptr - (char *)stats->buf.buf); in stats_write()
110 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/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/third_party/zlib_v128/
Dzutil.c211 voidpf new_ptr;
242 table[next_ptr++].new_ptr = buf;
255 if (ptr != table[n].new_ptr) continue;
/external/opencv3/3rdparty/zlib/
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/compiler-rt/lib/asan/
Dasan_malloc_linux.cc75 void *new_ptr = asan_malloc(size, &stack); in INTERCEPTOR() local
76 internal_memcpy(new_ptr, ptr, copy_size); in INTERCEPTOR()
77 return new_ptr; in INTERCEPTOR()
Dasan_allocator.cc539 void *new_ptr = Allocate(new_size, 8, stack, FROM_MALLOC, true); in Reallocate() local
540 if (new_ptr) { in Reallocate()
548 REAL(memcpy)(new_ptr, old_ptr, memcpy_size); in Reallocate()
551 return new_ptr; in Reallocate()
/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/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()
/external/opencv3/modules/core/src/
Dpersistence.cpp462 char* new_ptr = 0; in icvFSDoResize() local
466 new_ptr = (char*)cvAlloc( new_size + 256 ); in icvFSDoResize()
467 fs->buffer = new_ptr + (fs->buffer - fs->buffer_start); in icvFSDoResize()
469 memcpy( new_ptr, fs->buffer_start, written_len ); in icvFSDoResize()
470 fs->buffer_start = new_ptr; in icvFSDoResize()
472 new_ptr += written_len; in icvFSDoResize()
473 return new_ptr; in icvFSDoResize()
/external/vulkan-validation-layers/loader/
Dloader.c211 void *new_ptr = instance->alloc_callbacks.pfnAllocation( in loader_heap_realloc() local
214 if (!new_ptr) in loader_heap_realloc()
216 memcpy(new_ptr, pMemory, orig_size); in loader_heap_realloc()
219 return new_ptr; in loader_heap_realloc()