/external/qemu/memcheck/ |
D | memcheck_common.h | 97 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()
|
D | memcheck_util.c | 212 desc->ptr, desc->ptr + desc->prefix_size, desc->prefix_size); in memcheck_dump_malloc_desc()
|
D | memcheck_malloc_map.c | 147 adesc.desc.malloc_desc.prefix_size = 0; in allocmap_find_entry()
|
/external/elfutils/libcpu/ |
D | i386_disasm.c | 464 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/ |
D | platform-macos.cc | 229 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()
|
D | platform-freebsd.cc | 227 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()
|
D | platform-solaris.cc | 239 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()
|
D | platform-openbsd.cc | 259 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()
|
D | platform-linux.cc | 333 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()
|
D | dateparser.h | 106 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/ |
D | pngrutil.c | 322 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/ |
D | pngrutil.c | 339 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/ |
D | dateparser.h | 106 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()
|
D | platform-freebsd.cc | 371 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()
|
D | platform-solaris.cc | 361 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()
|
D | platform-macos.cc | 380 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()
|
D | platform-openbsd.cc | 418 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()
|
D | platform-linux.cc | 624 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/ |
D | container_names.cc | 55 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/ |
D | safe_browsing_database.cc | 1756 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()
|
D | safe_browsing_database_unittest.cc | 41 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/ |
D | pngrutil.c | 186 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 …]
|