Home
last modified time | relevance | path

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

/external/v8/src/base/platform/
Dplatform-solaris.cc107 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() local
108 OS::Free(base, prefix_size); in VirtualMemory()
109 request_size -= prefix_size; in VirtualMemory()
Dplatform-macos.cc148 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() local
149 OS::Free(base, prefix_size); in VirtualMemory()
150 request_size -= prefix_size; in VirtualMemory()
Dplatform-freebsd.cc155 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() local
156 OS::Free(base, prefix_size); in VirtualMemory()
157 request_size -= prefix_size; in VirtualMemory()
Dplatform-aix.cc154 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() local
155 OS::Free(base, prefix_size); in VirtualMemory()
156 request_size -= prefix_size; in VirtualMemory()
Dplatform-openbsd.cc186 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() local
187 OS::Free(base, prefix_size); in VirtualMemory()
188 request_size -= prefix_size; in VirtualMemory()
Dplatform-qnx.cc212 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() local
213 OS::Free(base, prefix_size); in VirtualMemory()
214 request_size -= prefix_size; in VirtualMemory()
Dplatform-linux.cc231 size_t prefix_size = static_cast<size_t>(aligned_base - base); in VirtualMemory() local
232 OS::Free(base, prefix_size); in VirtualMemory()
233 request_size -= prefix_size; in VirtualMemory()
/external/fmtlib/fmt/
Dformat.h2466 Char *write_unsigned_decimal(UInt value, unsigned prefix_size = 0) {
2468 Char *ptr = get(grow_buffer(prefix_size + num_digits));
2469 internal::format_decimal(ptr + prefix_size, value, num_digits);
2488 const EmptySpec &, const char *prefix, unsigned prefix_size) {
2489 unsigned size = prefix_size + num_digits;
2491 std::uninitialized_copy(prefix, prefix + prefix_size, p);
2497 const Spec &spec, const char *prefix, unsigned prefix_size);
2773 const char *prefix, unsigned prefix_size) {
2780 if (prefix_size > 0 && prefix[prefix_size - 1] == '0')
2781 --prefix_size;
[all …]
/external/elfutils/libcpu/
Di386_disasm.c487 size_t prefix_size = 0; in i386_disasm() local
493 prefix_size += 5; in i386_disasm()
501 prefix_size += 4; in i386_disasm()
510 prefix_size += 6; in i386_disasm()
515 prefix_size += 5; in i386_disasm()
1107 while (bufcnt + prefix_size - non_printing < start_idx + width) in i386_disasm()
1109 prefix_size = 0; in i386_disasm()
/external/autotest/client/cros/
Ddhcp_packet.py124 for prefix_size, destination, router in route_list:
125 byte_string += chr(prefix_size)
128 destination_address_count = (prefix_size + 7) / 8
140 prefix_size = ord(byte_string[offset])
141 destination_address_count = (prefix_size + 7) / 8
152 route_list.append((prefix_size,
/external/syslinux/com32/lib/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()
367 prefix_size + expanded_size + 1); in png_decompress_chunk()
371 png_memcpy(text, png_ptr->chunkdata, prefix_size); in png_decompress_chunk()
373 (png_bytep)(png_ptr->chunkdata + prefix_size), in png_decompress_chunk()
[all …]
/external/v8/src/
Ddateparser.h84 int ReadWord(uint32_t* prefix, int prefix_size) { in ReadWord() argument
87 if (len < prefix_size) prefix[len] = AsciiAlphaToLower(ch_); in ReadWord()
89 for (int i = len; i < prefix_size; i++) prefix[i] = 0; in ReadWord()
/external/pdfium/third_party/libpng16/
Dpngrutil.c602 png_uint_32 chunklength, png_uint_32 prefix_size, in png_decompress_chunk() argument
624 if (limit >= prefix_size + (terminate != 0)) in png_decompress_chunk()
628 limit -= prefix_size + (terminate != 0); in png_decompress_chunk()
638 png_uint_32 lzsize = chunklength - prefix_size; in png_decompress_chunk()
641 /* input: */ png_ptr->read_buffer + prefix_size, &lzsize, in png_decompress_chunk()
661 png_alloc_size_t buffer_size = prefix_size + new_size + in png_decompress_chunk()
669 png_ptr->read_buffer + prefix_size, &lzsize, in png_decompress_chunk()
670 text + prefix_size, newlength); in png_decompress_chunk()
677 text[prefix_size + *newlength] = 0; in png_decompress_chunk()
679 if (prefix_size > 0) in png_decompress_chunk()
[all …]
/external/skia/third_party/libpng/
Dpngrutil.c602 png_uint_32 chunklength, png_uint_32 prefix_size, in png_decompress_chunk() argument
624 if (limit >= prefix_size + (terminate != 0)) in png_decompress_chunk()
628 limit -= prefix_size + (terminate != 0); in png_decompress_chunk()
638 png_uint_32 lzsize = chunklength - prefix_size; in png_decompress_chunk()
641 /* input: */ png_ptr->read_buffer + prefix_size, &lzsize, in png_decompress_chunk()
661 png_alloc_size_t buffer_size = prefix_size + new_size + in png_decompress_chunk()
669 png_ptr->read_buffer + prefix_size, &lzsize, in png_decompress_chunk()
670 text + prefix_size, newlength); in png_decompress_chunk()
677 text[prefix_size + *newlength] = 0; in png_decompress_chunk()
679 if (prefix_size > 0) in png_decompress_chunk()
[all …]
/external/libpng/
Dpngrutil.c603 png_uint_32 chunklength, png_uint_32 prefix_size, in png_decompress_chunk() argument
625 if (limit >= prefix_size + (terminate != 0)) in png_decompress_chunk()
629 limit -= prefix_size + (terminate != 0); in png_decompress_chunk()
639 png_uint_32 lzsize = chunklength - prefix_size; in png_decompress_chunk()
642 /* input: */ png_ptr->read_buffer + prefix_size, &lzsize, in png_decompress_chunk()
662 png_alloc_size_t buffer_size = prefix_size + new_size + in png_decompress_chunk()
670 png_ptr->read_buffer + prefix_size, &lzsize, in png_decompress_chunk()
671 text + prefix_size, newlength); in png_decompress_chunk()
678 text[prefix_size + *newlength] = 0; in png_decompress_chunk()
680 if (prefix_size > 0) in png_decompress_chunk()
[all …]
/external/python/cpython2/Lib/test/
Dtest_io.py2340 prefix_size = chunk_size - 2
2341 u_prefix = "a" * prefix_size
2351 s = f.read(prefix_size)
2353 self.assertEqual(f.tell(), prefix_size)