Home
last modified time | relevance | path

Searched refs:segment_size (Results 1 – 25 of 31) sorted by relevance

12

/external/pdfium/core/fpdfapi/parser/
Dcpdf_read_validator.cpp100 FX_SAFE_SIZE_T segment_size = end_segment_offset; in ScheduleDownload() local
101 segment_size -= start_segment_offset; in ScheduleDownload()
102 if (!segment_size.IsValid()) { in ScheduleDownload()
106 hints_->AddSegment(start_segment_offset, segment_size.ValueOrDie()); in ScheduleDownload()
141 FX_SAFE_SIZE_T segment_size = end_segment_offset; in CheckDataRangeAndRequestIfUnavailable() local
142 segment_size -= offset; in CheckDataRangeAndRequestIfUnavailable()
143 if (!segment_size.IsValid()) { in CheckDataRangeAndRequestIfUnavailable()
148 if (IsDataRangeAvailable(offset, segment_size.ValueOrDie())) in CheckDataRangeAndRequestIfUnavailable()
151 ScheduleDownload(offset, segment_size.ValueOrDie()); in CheckDataRangeAndRequestIfUnavailable()
/external/google-breakpad/src/common/linux/
Delfutils.cc82 size_t *segment_size) { in FindElfClassSegment() argument
88 assert(segment_size); in FindElfClassSegment()
101 *segment_size = phdrs[i].p_filesz; in FindElfClassSegment()
161 size_t *segment_size, in FindElfSegment() argument
165 assert(segment_size); in FindElfSegment()
168 *segment_size = 0; in FindElfSegment()
183 segment_start, segment_size); in FindElfSegment()
187 segment_start, segment_size); in FindElfSegment()
Delfutils.h104 size_t *segment_size,
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_vsplit_tmp.h71 if (icount > vsplit->segment_size) in CONCAT()
143 assert(icount + !!close <= vsplit->segment_size); in CONCAT()
212 const unsigned max_count_simple = vsplit->segment_size; \
213 const unsigned max_count_loop = vsplit->segment_size - 1; \
214 const unsigned max_count_fan = vsplit->segment_size;
236 assert(icount + !!close_loop <= vsplit->segment_size); in vsplit_segment_loop_linear()
261 assert(icount <= vsplit->segment_size); in vsplit_segment_fan_linear()
281 const unsigned max_count_loop = vsplit->segment_size - 1; \
282 const unsigned max_count_fan = vsplit->segment_size;
Ddraw_pt_vsplit.c48 ushort segment_size; member
102 assert(vsplit->cache.num_fetch_elts < vsplit->segment_size); in vsplit_add_cache()
231 vsplit->segment_size = MIN2(SEGMENT_SIZE, vsplit->max_vertices); in vsplit_prepare()
/external/libtextclassifier/native/utils/memory/
Dmmap.h109 MmapHandle MmapFile(int fd, int64 segment_offset, int64 segment_size);
124 ScopedMmap(int fd, int segment_offset, int segment_size) in ScopedMmap() argument
125 : handle_(MmapFile(fd, segment_offset, segment_size)) {} in ScopedMmap()
Dmmap.cc85 MmapHandle MmapFile(int fd, int64 segment_offset, int64 segment_size) { in MmapFile() argument
89 const int64 aligned_length = segment_size + alignment_shift; in MmapFile()
119 segment_size, /*unmap_addr=*/mmap_addr); in MmapFile()
/external/v8/src/zone/
Daccounting-allocator.cc106 size_t segment_size = segment->total_size(); in ReturnSegment() local
107 current_memory_usage_.fetch_sub(segment_size, std::memory_order_relaxed); in ReturnSegment()
110 CHECK(FreePages(bounded_page_allocator_.get(), segment, segment_size)); in ReturnSegment()
/external/elfutils/libdw/
Ddwarf_next_cfi.c146 uint_fast8_t segment_size = 0; in dwarf_next_cfi() local
160 segment_size = *bytes++; in dwarf_next_cfi()
163 if (unlikely (segment_size != 0)) in dwarf_next_cfi()
Ddwarf_getaranges.c160 unsigned int segment_size = *readp++; in dwarf_getaranges() local
161 if (segment_size != 0) in dwarf_getaranges()
DlibdwP.h1193 uint8_t segment_size = *readp++; in __libdw_cu_ranges_base() local
1194 if (segment_size != 0) in __libdw_cu_ranges_base()
1271 uint8_t segment_size = *readp++; in __libdw_cu_locs_base() local
1272 if (segment_size != 0) in __libdw_cu_locs_base()
/external/stressapptest/src/
Ddisk_blocks.h87 int64 segment_size,
152 int64 segment_size() const { return segment_size_; } in segment_size() function
Ddisk_blocks.cc183 int64 segment_size, in SetParameters() argument
190 segment_size_ = segment_size; in SetParameters()
Dworker.h685 int64 segment_size,
Dworker.cc2614 int64 segment_size, in SetParameters() argument
2700 if (segment_size != -1) { in SetParameters()
2702 if (segment_size % kSectorSize != 0) { in SetParameters()
2708 segment_size_ = segment_size / kSectorSize; in SetParameters()
/external/tensorflow/tensorflow/core/kernels/
Dsegment_reduction_ops_test.cc44 Index segment_size) { in BM_SegmentReduction() argument
57 test::FillFn<Index>(&input2, [&num_rows, &segment_size](Index i) -> Index { in BM_SegmentReduction()
58 return std::min(i / segment_size, num_rows - 1); in BM_SegmentReduction()
Dreduction_gpu_kernels.cu.h407 T partial_sums, OUT_T out, int num_rows, int num_cols, int segment_size,
413 if (tid < segment_size * num_cols) val = partial_sums[tid];
419 const bool head_flag = (threadIdx.x % segment_size) == 0;
423 if (head_flag && tid < segment_size * num_cols) {
424 out[tid / segment_size] = sum;
/external/libunwind/src/dwarf/
DGfde.c149 uint8_t segment_size; in parse_cie() local
150 if ((ret = dwarf_readu8(as, a, &addr, &segment_size, arg)) < 0) { in parse_cie()
154 if (segment_size != 0) { in parse_cie()
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_dumper.cc152 size_t segment_size; in ElfFileSoNameFromMappedFile() local
155 &segment_start, &segment_size, &elf_class)) { in ElfFileSoNameFromMappedFile()
169 size_t dcount = segment_size / sizeof(ElfW(Dyn)); in ElfFileSoNameFromMappedFile()
/external/vboot_reference/futility/
Dkernel_blob.h32 uint64_t segment_size; member
Dvb1_helper.c197 params->e820_entries[0].segment_size = 0x00001000; in PickApartVmlinuz()
200 params->e820_entries[1].segment_size = 0x00001000; in PickApartVmlinuz()
/external/webp/src/webp/
Dencode.h212 int segment_size[4]; // number of macroblocks in each segments member
/external/webp/include/webp/
Dencode.h212 int segment_size[4]; // number of macroblocks in each segments member
/external/elfutils/src/
Dreadelf.c5170 uint8_t segment_size; in print_debug_addr_section() local
5194 segment_size = 0; in print_debug_addr_section()
5243 (uint64_t) segment_size); in print_debug_addr_section()
5294 segment_size = *readp++; in print_debug_addr_section()
5296 (uint64_t) segment_size); in print_debug_addr_section()
5299 if (segment_size != 0) in print_debug_addr_section()
5509 unsigned int segment_size = *readp++; in print_debug_aranges_section() local
5511 (uint64_t) segment_size); in print_debug_aranges_section()
5512 if (segment_size != 0 && segment_size != 4 && segment_size != 8) in print_debug_aranges_section()
5527 if (readp + 2 * address_size + segment_size > readendp) in print_debug_aranges_section()
[all …]
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/
Dmkvmuxer.cc3232 const int64_t segment_size = writer->Position() - payload_pos_; in CopyAndMoveCuesBeforeClusters() local
3234 WriteUIntSize(writer, segment_size, 8) || writer->Position(pos)) in CopyAndMoveCuesBeforeClusters()
3322 const int64_t segment_size = MaxOffset(); in Finalize() local
3323 if (segment_size < 1) in Finalize()
3345 if (WriteUIntSize(writer_header_, segment_size, 8)) in Finalize()

12