Home
last modified time | relevance | path

Searched refs:start_offset (Results 1 – 25 of 149) sorted by relevance

123456

/external/v8/src/
Dobjects-body-descriptors.h39 static inline void IteratePointers(HeapObject* obj, int start_offset,
44 int start_offset, int end_offset);
59 static inline void IterateBodyImpl(HeapObject* obj, int start_offset,
65 int start_offset, int end_offset);
72 template <int start_offset, int end_offset, int size>
75 static const int kStartOffset = start_offset;
85 IterateBodyImpl(obj, start_offset, end_offset, v); in IterateBody()
97 IterateBodyImpl<StaticVisitor>(heap, obj, start_offset, end_offset); in IterateBody()
110 template <int start_offset>
113 static const int kStartOffset = start_offset;
[all …]
Dobjects-body-descriptors-inl.h15 template <int start_offset>
16 int FlexibleBodyDescriptor<start_offset>::SizeOf(Map* map, HeapObject* object) { in SizeOf()
35 void BodyDescriptorBase::IterateBodyImpl(HeapObject* obj, int start_offset, in IterateBodyImpl() argument
38 IteratePointers(obj, start_offset, end_offset, v); in IterateBodyImpl()
41 DCHECK(IsAligned(start_offset, kPointerSize) && in IterateBodyImpl()
46 for (int offset = start_offset; offset < end_offset;) { in IterateBodyImpl()
59 int start_offset, int end_offset) { in IterateBodyImpl() argument
61 IteratePointers<StaticVisitor>(heap, obj, start_offset, end_offset); in IterateBodyImpl()
64 DCHECK(IsAligned(start_offset, kPointerSize) && in IterateBodyImpl()
69 for (int offset = start_offset; offset < end_offset;) { in IterateBodyImpl()
[all …]
/external/pcre/dist2/src/
Dpcre2_substitute.c216 PCRE2_SIZE start_offset, uint32_t options, pcre2_match_data *match_data, in pcre2_substitute() argument
290 CHECKMEMCPY(subject, start_offset); in pcre2_substitute()
300 rc = pcre2_match(code, subject, length, start_offset, options|goptions, in pcre2_substitute()
317 if (goptions == 0 || start_offset >= length) break; in pcre2_substitute()
324 save_start = start_offset++; in pcre2_substitute()
325 if (subject[start_offset-1] == CHAR_CR && in pcre2_substitute()
328 start_offset < length && in pcre2_substitute()
329 subject[start_offset] == CHAR_LF) in pcre2_substitute()
330 start_offset++; in pcre2_substitute()
337 while (start_offset < length && (subject[start_offset] & 0xc0) == 0x80) in pcre2_substitute()
[all …]
Dpcre2demo.c329 PCRE2_SIZE start_offset = ovector[1]; /* Start at end of previous match */ in main() local
347 start_offset, /* starting offset in the subject */ in main()
368 ovector[1] = start_offset + 1; /* Advance one code unit */ in main()
370 start_offset < subject_length - 1 && /* we are at CRLF, */ in main()
371 subject[start_offset] == '\r' && in main()
372 subject[start_offset + 1] == '\n') in main()
Dpcre2_jit_test.c148 int start_offset; member
1196 if (!(current->start_offset & F_PROPERTY)) in regression_tests()
1215 if (!(current->start_offset & F_NO8)) { in regression_tests()
1229 if ((current->compile_options & PCRE2_UTF) || (current->start_offset & F_FORCECONV)) in regression_tests()
1242 if (!(current->start_offset & F_NO16)) { in regression_tests()
1256 if ((current->compile_options & PCRE2_UTF) || (current->start_offset & F_FORCECONV)) in regression_tests()
1269 if (!(current->start_offset & F_NO32)) { in regression_tests()
1319 current->start_offset & OFFSET_MASK, current->match_options, mdata8_2, NULL); in regression_tests()
1326 current->start_offset & OFFSET_MASK, current->match_options, mdata8_1, mcontext8); in regression_tests()
1330 current->start_offset & OFFSET_MASK, current->match_options, mdata8_1, mcontext8); in regression_tests()
[all …]
/external/sfntly/cpp/src/sfntly/table/bitmap/
Dbitmap_glyph_info.cc23 int32_t start_offset, in BitmapGlyphInfo() argument
29 start_offset_(start_offset), in BitmapGlyphInfo()
35 int32_t start_offset, in BitmapGlyphInfo() argument
41 start_offset_(start_offset), in BitmapGlyphInfo()
65 return lhs->start_offset() > rhs->start_offset(); in operator ()()
Dbitmap_glyph_info.h39 int32_t start_offset,
50 int32_t start_offset,
57 int32_t offset() const { return block_offset() + start_offset(); } in offset()
58 int32_t start_offset() const { return start_offset_; } in start_offset() function
/external/libunwind/src/ia64/
DGtables.c40 uint64_t start_offset; member
89 unw_word_t e_addr = 0, start_offset, end_offset, info_offset; in remote_lookup() local
99 if ((ret = remote_read (e_addr, start_offset)) < 0) in remote_lookup()
102 if (rel_ip < start_offset) in remote_lookup()
115 if (rel_ip < start_offset || rel_ip >= end_offset) in remote_lookup()
117 e->start_offset = start_offset; in remote_lookup()
143 unw_word_t start_offset, end_offset, info_offset, segbase; in _Uia64_find_dyn_list() local
161 start_offset = e[0].start_offset; in _Uia64_find_dyn_list()
176 if ( (ret = remote_read (e_addr, start_offset) < 0) in _Uia64_find_dyn_list()
184 if (start_offset != end_offset) in _Uia64_find_dyn_list()
[all …]
/external/pdfium/core/fpdftext/
Dcpdf_linkextract_unittest.cpp84 int32_t start_offset = DEFAULT_VALUE; in TEST() local
86 EXPECT_FALSE(extractor.CheckWebLink(&text_str, &start_offset, &count)) in TEST()
88 EXPECT_EQ(DEFAULT_VALUE, start_offset) << input; in TEST()
97 const int32_t start_offset; in TEST() member
179 int32_t start_offset = DEFAULT_VALUE; in TEST() local
181 EXPECT_TRUE(extractor.CheckWebLink(&text_str, &start_offset, &count)) in TEST()
184 EXPECT_EQ(valid_cases[i].start_offset, start_offset) << input; in TEST()
/external/harfbuzz_ng/src/
Dhb-ot-layout.h77 unsigned int start_offset,
86 unsigned int start_offset,
103 unsigned int start_offset,
124 unsigned int start_offset,
132 unsigned int start_offset,
163 unsigned int start_offset,
172 unsigned int start_offset,
188 unsigned int start_offset,
254 unsigned int start_offset,
Dhb-ot-glyf-table.hh131 unsigned int start_offset, end_offset; in get_extents() local
135 start_offset = 2 * offsets[glyph]; in get_extents()
141 start_offset = offsets[glyph]; in get_extents()
145 if (start_offset > end_offset || end_offset > glyf_len) in get_extents()
148 if (end_offset - start_offset < GlyphHeader::static_size) in get_extents()
151 const GlyphHeader &glyph_header = StructAtOffset<GlyphHeader> (glyf_table, start_offset); in get_extents()
Dhb-ot-layout-gdef-table.hh50 unsigned int start_offset, in get_attach_points()
65 const UINT16 *array = points.sub_array (start_offset, point_count); in get_attach_points()
217 unsigned int start_offset, in get_lig_carets()
222 const OffsetTo<CaretValue> *array = carets.sub_array (start_offset, caret_count); in get_lig_carets()
252 unsigned int start_offset, in get_lig_carets()
264 …return lig_glyph.get_lig_carets (font, direction, glyph_id, var_store, start_offset, caret_count, … in get_lig_carets()
363 unsigned int start_offset, in get_attach_points()
366 { return (this+attachList).get_attach_points (glyph_id, start_offset, point_count, point_array); } in get_attach_points()
372 unsigned int start_offset, in get_lig_carets()
377 start_offset, caret_count, caret_array); } in get_lig_carets()
Dhb-ot-var-fvar-table.hh125 inline unsigned int get_axis_infos (unsigned int start_offset, in get_axis_infos()
132 start_offset = MIN (start_offset, count); in get_axis_infos()
134 count -= start_offset; in get_axis_infos()
135 axes_array += start_offset; in get_axis_infos()
141 get_axis (start_offset + i, axes_array + i); in get_axis_infos()
Dhb-ot-layout.cc273 unsigned int start_offset, in hb_ot_layout_get_attach_points() argument
277 return _get_gdef (face).get_attach_points (glyph, start_offset, point_count, point_array); in hb_ot_layout_get_attach_points()
284 unsigned int start_offset, in hb_ot_layout_get_ligature_carets() argument
288 …return _get_gdef (font->face).get_lig_carets (font, direction, glyph, start_offset, caret_count, c… in hb_ot_layout_get_ligature_carets()
311 unsigned int start_offset, in hb_ot_layout_table_get_script_tags() argument
317 return g.get_script_tags (start_offset, script_count, script_tags); in hb_ot_layout_table_get_script_tags()
403 unsigned int start_offset, in hb_ot_layout_table_get_feature_tags() argument
409 return g.get_feature_tags (start_offset, feature_count, feature_tags); in hb_ot_layout_table_get_feature_tags()
439 unsigned int start_offset, in hb_ot_layout_script_get_language_tags() argument
445 return s.get_lang_sys_tags (start_offset, language_count, language_tags); in hb_ot_layout_script_get_language_tags()
[all …]
Dhb-ot-math.cc185 unsigned int start_offset, in hb_ot_math_get_glyph_variants() argument
191 start_offset, in hb_ot_math_get_glyph_variants()
242 unsigned int start_offset, in hb_ot_math_get_glyph_assembly() argument
249 start_offset, in hb_ot_math_get_glyph_assembly()
/external/linux-kselftest/tools/testing/selftests/vm/
Dmlock-random-test.c163 int start_offset = rand() % (alloc_size - lock_size); in test_mlock_within_limit() local
166 ret = mlock(p + start_offset, lock_size); in test_mlock_within_limit()
168 ret = mlock2_(p + start_offset, lock_size, in test_mlock_within_limit()
175 p + start_offset, lock_size); in test_mlock_within_limit()
235 int start_offset = rand() % (alloc_size - lock_size); in test_mlock_outof_limit() local
238 ret = mlock(p + start_offset, lock_size); in test_mlock_outof_limit()
240 ret = mlock2_(p + start_offset, lock_size, in test_mlock_outof_limit()
246 p + start_offset, lock_size); in test_mlock_outof_limit()
/external/elfutils/libelf/
Delf_readall.c55 child->start_offset -= offset; in set_address()
116 elf->start_offset) in __libelf_readall()
134 set_address (elf, elf->start_offset); in __libelf_readall()
138 elf->state.ar.offset -= elf->start_offset; in __libelf_readall()
139 elf->start_offset = 0; in __libelf_readall()
Delf32_updatefile.c156 (*fctp) ((char *) elf->map_address + elf->start_offset, ehdr, in __elfw2()
159 else if (elf->map_address + elf->start_offset != ehdr) in __elfw2()
160 memcpy (elf->map_address + elf->start_offset, ehdr, in __elfw2()
187 memset (elf->map_address + elf->start_offset + ehdr->e_ehsize, in __elfw2()
202 (*fctp) (elf->map_address + elf->start_offset + ehdr->e_phoff, in __elfw2()
207 memcpy (elf->map_address + elf->start_offset + ehdr->e_phoff, in __elfw2()
220 char *last_position = ((char *) elf->map_address + elf->start_offset in __elfw2()
238 char *const shdr_start = ((char *) elf->map_address + elf->start_offset in __elfw2()
263 assert ((char *) elf->map_address + elf->start_offset in __elfw2()
266 < ((char *) elf->map_address + elf->start_offset in __elfw2()
[all …]
/external/webp/src/dsp/
Dfilters.c50 const size_t start_offset = row * stride; in DoHorizontalFilter_C() local
53 in += start_offset; in DoHorizontalFilter_C()
54 out += start_offset; in DoHorizontalFilter_C()
87 const size_t start_offset = row * stride; in DoVerticalFilter_C() local
90 in += start_offset; in DoVerticalFilter_C()
91 out += start_offset; in DoVerticalFilter_C()
132 const size_t start_offset = row * stride; in DoGradientFilter_C() local
135 in += start_offset; in DoGradientFilter_C()
136 out += start_offset; in DoGradientFilter_C()
Dfilters_mips_dsp_r2.c201 const size_t start_offset = row * stride; in DoHorizontalFilter_MIPSdspR2() local
204 in += start_offset; in DoHorizontalFilter_MIPSdspR2()
205 out += start_offset; in DoHorizontalFilter_MIPSdspR2()
249 const size_t start_offset = row * stride; in DoVerticalFilter_MIPSdspR2() local
252 in += start_offset; in DoVerticalFilter_MIPSdspR2()
253 out += start_offset; in DoVerticalFilter_MIPSdspR2()
317 const size_t start_offset = row * stride; in DoGradientFilter_MIPSdspR2() local
320 in += start_offset; in DoGradientFilter_MIPSdspR2()
321 out += start_offset; in DoGradientFilter_MIPSdspR2()
Dfilters_neon.c72 const size_t start_offset = row * stride; in DoHorizontalFilter_NEON() local
75 in += start_offset; in DoHorizontalFilter_NEON()
76 out += start_offset; in DoHorizontalFilter_NEON()
111 const size_t start_offset = row * stride; in DoVerticalFilter_NEON() local
114 in += start_offset; in DoVerticalFilter_NEON()
115 out += start_offset; in DoVerticalFilter_NEON()
173 const size_t start_offset = row * stride; in DoGradientFilter_NEON() local
176 in += start_offset; in DoGradientFilter_NEON()
177 out += start_offset; in DoGradientFilter_NEON()
Dfilters_sse2.c79 const size_t start_offset = row * stride; in DoHorizontalFilter_SSE2() local
82 in += start_offset; in DoHorizontalFilter_SSE2()
83 out += start_offset; in DoHorizontalFilter_SSE2()
112 const size_t start_offset = row * stride; in DoVerticalFilter_SSE2() local
115 in += start_offset; in DoVerticalFilter_SSE2()
116 out += start_offset; in DoVerticalFilter_SSE2()
174 const size_t start_offset = row * stride; in DoGradientFilter_SSE2() local
177 in += start_offset; in DoGradientFilter_SSE2()
178 out += start_offset; in DoGradientFilter_SSE2()
/external/toybox/toys/pending/
Dfdisk.c59 sector_t start_offset; member
215 first[i] = swap_le32toh(px->start4) + pe->start_offset; in check_order()
259 partitions[num_parts].start_offset = offset; in read_ebr()
305 pe->start_offset = 0; in reset_boot()
472 start_sec = swap_le32toh(p->start4) + partitions[i].start_offset; in list_partitions()
528 partitions[i].start_offset = 0; in init_members()
612 new_start = partitions[i + 1].start_offset + swap_le32toh(q->start4) - extended_offset; in delete_partition()
671 offset = pe->start_offset; in write_table()
884 if (start < pe->start_offset && limit >= pe->start_offset) limit = pe->start_offset - 1; in ask_end_sector()
932 begin_sec[i] = swap_le32toh(p->start4) + pe->start_offset; in add_partition()
[all …]
/external/elfutils/libdwfl/
Dgzip.c134 open_stream (int fd, off_t start_offset, struct unzip_state *state) in open_stream() argument
139 if (start_offset != 0) in open_stream()
141 off_t off = lseek (d, start_offset, SEEK_SET); in open_stream()
142 if (off != start_offset) in open_stream()
169 unzip (int fd, off_t start_offset, in unzip() argument
194 ssize_t n = pread_retry (fd, state.input_buffer, READ_SIZE, start_offset); in unzip()
241 start_offset + state.input_pos); in unzip()
282 Dwfl_Error result = open_stream (fd, start_offset, &state); in unzip()
/external/elfutils/libdw/
Ddwarf_ranges.c123 Dwarf_Word start_offset; in dwarf_ranges() local
126 &readendp, &start_offset)) == NULL) in dwarf_ranges()
129 offset = start_offset; in dwarf_ranges()
130 assert ((Dwarf_Word) offset == start_offset); in dwarf_ranges()

123456