Home
last modified time | relevance | path

Searched refs:prefix_size (Results 1 – 12 of 12) sorted by relevance

/external/qemu/memcheck/
Dmemcheck_common.h97 uint32_t prefix_size; member
291 return desc->ptr + desc->prefix_size; in mallocdesc_get_user_ptr()
303 return desc->prefix_size + desc->requested_bytes + desc->suffix_size; in mallocdesc_get_alloc_size()
Dmemcheck_util.c212 desc->ptr, desc->ptr + desc->prefix_size, desc->prefix_size); in memcheck_dump_malloc_desc()
Dmemcheck_malloc_map.c147 adesc.desc.malloc_desc.prefix_size = 0; in allocmap_find_entry()
/external/elfutils/libcpu/
Di386_disasm.c464 size_t prefix_size = 0; in i386_disasm() local
470 prefix_size += 5; in i386_disasm()
478 prefix_size += 4; in i386_disasm()
487 prefix_size += 6; in i386_disasm()
492 prefix_size += 5; in i386_disasm()
1000 while (bufcnt + prefix_size < start_idx + width) in i386_disasm()
1002 prefix_size = 0; in i386_disasm()
/external/libpng/
Dpngrutil.c339 png_size_t prefix_size, png_size_t *newlength) in png_decompress_chunk() argument
342 if (prefix_size > chunklength) in png_decompress_chunk()
346 prefix_size = 0; /* To delete everything */ in png_decompress_chunk()
352 (png_bytep)(png_ptr->chunkdata + prefix_size), in png_decompress_chunk()
353 chunklength - prefix_size, in png_decompress_chunk()
361 (prefix_size + expanded_size >= png_ptr->user_chunk_malloc_max - 1)) in png_decompress_chunk()
365 prefix_size + expanded_size >= PNG_USER_CHUNK_MALLOC_MAX - 1) in png_decompress_chunk()
386 if (prefix_size + expanded_size > prefix_size && in png_decompress_chunk()
387 prefix_size + expanded_size < 0xffffffffU) in png_decompress_chunk()
389 text = png_malloc_warn(png_ptr, prefix_size + expanded_size + 1); in png_decompress_chunk()
[all …]
/external/v8/src/
Ddateparser.h106 int ReadWord(uint32_t* prefix, int prefix_size) { in ReadWord() argument
109 if (len < prefix_size) prefix[len] = AsciiAlphaToLower(ch_); in ReadWord()
111 for (int i = len; i < prefix_size; i++) prefix[i] = 0; in ReadWord()
Dplatform-solaris.cc361 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() local
362 OS::Free(base, prefix_size); in VirtualMemory()
363 request_size -= prefix_size; in VirtualMemory()
Dplatform-freebsd.cc371 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() local
372 OS::Free(base, prefix_size); in VirtualMemory()
373 request_size -= prefix_size; in VirtualMemory()
Dplatform-macos.cc380 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() local
381 OS::Free(base, prefix_size); in VirtualMemory()
382 request_size -= prefix_size; in VirtualMemory()
Dplatform-openbsd.cc418 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() local
419 OS::Free(base, prefix_size); in VirtualMemory()
420 request_size -= prefix_size; in VirtualMemory()
Dplatform-linux.cc629 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() local
630 OS::Free(base, prefix_size); in VirtualMemory()
631 request_size -= prefix_size; in VirtualMemory()
/external/qemu/distrib/libpng-1.2.19/
Dpngrutil.c186 png_size_t prefix_size, png_size_t *newlength) in png_decompress_chunk() argument
195 png_ptr->zstream.next_in = (png_bytep)(chunkdata + prefix_size); in png_decompress_chunk()
196 png_ptr->zstream.avail_in = (uInt)(chunklength - prefix_size); in png_decompress_chunk()
217 text_size = prefix_size + png_sizeof(msg) + 1; in png_decompress_chunk()
224 png_memcpy(text, chunkdata, prefix_size); in png_decompress_chunk()
233 png_memcpy(text + prefix_size, msg, text_size + 1); in png_decompress_chunk()
240 text_size = prefix_size + in png_decompress_chunk()
248 png_memcpy(text + prefix_size, png_ptr->zbuf, in png_decompress_chunk()
249 text_size - prefix_size); in png_decompress_chunk()
250 png_memcpy(text, chunkdata, prefix_size); in png_decompress_chunk()
[all …]