Home
last modified time | relevance | path

Searched refs:prefix_size (Results 1 – 22 of 22) 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/chromium_org/v8/src/
Dplatform-macos.cc229 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() local
230 OS::Free(base, prefix_size); in VirtualMemory()
231 request_size -= prefix_size; in VirtualMemory()
Dplatform-freebsd.cc227 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() local
228 OS::Free(base, prefix_size); in VirtualMemory()
229 request_size -= prefix_size; in VirtualMemory()
Dplatform-solaris.cc239 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() local
240 OS::Free(base, prefix_size); in VirtualMemory()
241 request_size -= prefix_size; in VirtualMemory()
Dplatform-openbsd.cc259 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() local
260 OS::Free(base, prefix_size); in VirtualMemory()
261 request_size -= prefix_size; in VirtualMemory()
Dplatform-linux.cc333 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() local
334 OS::Free(base, prefix_size); in VirtualMemory()
335 request_size -= prefix_size; in VirtualMemory()
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()
/external/chromium_org/third_party/libpng/
Dpngrutil.c322 png_size_t prefix_size, png_size_t *newlength) in png_decompress_chunk() argument
325 if (prefix_size > chunklength) in png_decompress_chunk()
329 prefix_size = 0; /* To delete everything */ in png_decompress_chunk()
335 (png_bytep)(png_ptr->chunkdata + prefix_size), in png_decompress_chunk()
336 chunklength - prefix_size, in png_decompress_chunk()
344 (prefix_size + expanded_size >= png_ptr->user_chunk_malloc_max - 1)) in png_decompress_chunk()
348 prefix_size + expanded_size >= PNG_USER_CHUNK_MALLOC_MAX - 1) in png_decompress_chunk()
370 if (prefix_size + expanded_size > prefix_size && in png_decompress_chunk()
371 prefix_size + expanded_size < 0xffffffffU) in png_decompress_chunk()
373 text = png_malloc_warn(png_ptr, prefix_size + expanded_size + 1); in png_decompress_chunk()
[all …]
/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-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-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-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.cc624 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() local
625 OS::Free(base, prefix_size); in VirtualMemory()
626 request_size -= prefix_size; in VirtualMemory()
/external/chromium_org/media/base/
Dcontainer_names.cc55 size_t prefix_size = strlen(prefix); in StartsWith() local
56 return (prefix_size <= buffer_size && in StartsWith()
57 memcmp(buffer, prefix, prefix_size) == 0); in StartsWith()
65 size_t prefix_size) { in StartsWith() argument
66 return (prefix_size <= buffer_size && in StartsWith()
67 memcmp(buffer, prefix, prefix_size) == 0); in StartsWith()
/external/chromium_org/chrome/browser/safe_browsing/
Dsafe_browsing_database.cc1756 size_t prefix_size = static_cast<uint8>(full_hash[base::kSHA1Length]); in LoadIpBlacklist() local
1757 if (prefix_size > kMaxIpPrefixSize || prefix_size < kMinIpPrefixSize) { in LoadIpBlacklist()
1758 DVLOG(2) << "Invalid IP prefix size in IP blacklist: " << prefix_size; in LoadIpBlacklist()
1768 mask.replace(0, prefix_size / 8, prefix_size / 8, '\xFF'); in LoadIpBlacklist()
1769 if ((prefix_size % 8) != 0) { in LoadIpBlacklist()
1770 mask[prefix_size / 8] = 0xFF << (8 - (prefix_size % 8)); in LoadIpBlacklist()
1775 << " prefix_size:" << prefix_size in LoadIpBlacklist()
Dsafe_browsing_database_unittest.cc41 std::string HashedIpPrefix(const std::string& ip_prefix, size_t prefix_size) { in HashedIpPrefix() argument
49 hash[base::kSHA1Length] = static_cast<char>(prefix_size); in HashedIpPrefix()
98 size_t prefix_size) { in InsertAddChunkFullHash() argument
99 const std::string full_hash_str = HashedIpPrefix(ip_str, prefix_size); in InsertAddChunkFullHash()
/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 …]