/external/pcre/dist2/src/ |
D | pcre2_substitute.c | 221 PCRE2_SIZE start_offset, uint32_t options, pcre2_match_data *match_data, in pcre2_substitute() argument 342 if (start_offset > length) in pcre2_substitute() 351 if (!replacement_only) CHECKMEMCPY(subject, start_offset); in pcre2_substitute() 367 else rc = pcre2_match(code, subject, length, start_offset, options|goptions, in pcre2_substitute() 384 if (goptions == 0 || start_offset >= length) break; in pcre2_substitute() 391 save_start = start_offset++; in pcre2_substitute() 392 if (subject[start_offset-1] == CHAR_CR && in pcre2_substitute() 395 start_offset < length && in pcre2_substitute() 396 subject[start_offset] == CHAR_LF) in pcre2_substitute() 397 start_offset++; in pcre2_substitute() [all …]
|
D | pcre2demo.c | 350 PCRE2_SIZE start_offset = ovector[1]; /* Start at end of previous match */ in main() local 373 if (start_offset <= startchar) in main() 376 start_offset = startchar + 1; /* Advance by one character. */ in main() 379 for (; start_offset < subject_length; start_offset++) in main() 380 if ((subject[start_offset] & 0xc0) != 0x80) break; in main() 391 start_offset, /* starting offset in the subject */ in main() 412 ovector[1] = start_offset + 1; /* Advance one code unit */ in main() 414 start_offset < subject_length - 1 && /* we are at CRLF, */ in main() 415 subject[start_offset] == '\r' && in main() 416 subject[start_offset + 1] == '\n') in main()
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
D | bitmap_glyph_info.cc | 23 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 ()()
|
D | bitmap_glyph_info.h | 39 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/webrtc/modules/rtp_rtcp/source/ |
D | video_rtp_depacketizer_h264.cc | 111 size_t start_offset = nalu_start_offsets[i]; in ProcessStapAOrSingleNalu() local 115 if (end_offset - start_offset < H264::kNaluTypeSize) { in ProcessStapAOrSingleNalu() 121 nalu.type = payload_data[start_offset] & kTypeMask; in ProcessStapAOrSingleNalu() 124 start_offset += H264::kNaluTypeSize; in ProcessStapAOrSingleNalu() 134 if (start_offset) in ProcessStapAOrSingleNalu() 135 output_buffer.AppendData(payload_data, start_offset); in ProcessStapAOrSingleNalu() 140 &payload_data[start_offset], end_offset - start_offset, &sps, in ProcessStapAOrSingleNalu() 154 start_offset - (H264::kNaluTypeSize + kLengthFieldSize); in ProcessStapAOrSingleNalu() 157 output_buffer.size() - start_offset + H264::kNaluTypeSize; in ProcessStapAOrSingleNalu() 186 if (PpsParser::ParsePpsIds(&payload_data[start_offset], in ProcessStapAOrSingleNalu() [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-ot-var-fvar-table.hh | 147 unsigned int get_axes_deprecated (unsigned int start_offset, in get_axes_deprecated() 155 start_offset = hb_min (start_offset, count); in get_axes_deprecated() 157 count -= start_offset; in get_axes_deprecated() 158 axes_array += start_offset; in get_axes_deprecated() 164 get_axis_deprecated (start_offset + i, axes_array + i); in get_axes_deprecated() 170 unsigned int get_axis_infos (unsigned int start_offset, in get_axis_infos() 178 start_offset = hb_min (start_offset, count); in get_axis_infos() 180 count -= start_offset; in get_axis_infos() 181 axes_array += start_offset; in get_axis_infos() 187 get_axis_info (start_offset + i, axes_array + i); in get_axis_infos()
|
D | hb-aat-layout-lcar-table.hh | 46 unsigned int start_offset, in get_lig_carets() 56 hb_array_t<const HBINT16> arr = array.sub_array (start_offset, caret_count); in get_lig_carets() 81 unsigned int start_offset, in get_lig_carets() 91 hb_array_t<const HBINT16> arr = array.sub_array (start_offset, caret_count); in get_lig_carets() 122 unsigned int start_offset, in get_lig_carets() 128 case 0: return u.format0.get_lig_carets (font, direction, glyph, start_offset, in get_lig_carets() 130 case 1: return u.format1.get_lig_carets (font, direction, glyph, start_offset, in get_lig_carets()
|
D | hb-ot-layout.h | 130 unsigned int start_offset, 139 unsigned int start_offset, 156 unsigned int start_offset, 177 unsigned int start_offset, 185 unsigned int start_offset, 217 unsigned int start_offset, 226 unsigned int start_offset, 242 unsigned int start_offset, 315 unsigned int start_offset, 401 unsigned int start_offset,
|
D | hb-aat-layout-feat-table.hh | 97 unsigned int get_selector_infos (unsigned int start_offset, in get_selector_infos() 119 + settings_table.sub_array (start_offset, selectors_count) in get_selector_infos() 161 unsigned int get_feature_types (unsigned int start_offset, in get_feature_types() 167 + namesZ.as_array (featureNameCount).sub_array (start_offset, count) in get_feature_types() 182 unsigned int start_offset, in get_selector_infos() 187 return get_feature (feature_type).get_selector_infos (start_offset, selectors_count, selectors, in get_selector_infos()
|
D | hb-array.hh | 174 …hb_array_t sub_array (unsigned int start_offset = 0, unsigned int *seg_count = nullptr /* IN/OUT *… in sub_array() 176 if (!start_offset && !seg_count) in sub_array() 180 if (unlikely (start_offset > count)) in sub_array() 183 count -= start_offset; in sub_array() 186 return hb_array_t (arrayZ + start_offset, count); in sub_array() 188 hb_array_t sub_array (unsigned int start_offset, unsigned int seg_count) const in sub_array() 189 { return sub_array (start_offset, &seg_count); } in sub_array() 279 …hb_sorted_array_t sub_array (unsigned int start_offset, unsigned int *seg_count /* IN/OUT */) const in sub_array() 280 …{ return hb_sorted_array_t (((const hb_array_t<Type> *) (this))->sub_array (start_offset, seg_coun… in sub_array() 281 hb_sorted_array_t sub_array (unsigned int start_offset, unsigned int seg_count) const in sub_array() [all …]
|
D | hb-vector.hh | 145 hb_array_t<const Type> sub_array (unsigned int start_offset, unsigned int count) const in sub_array() 146 { return as_array ().sub_array (start_offset, count); } in sub_array() 147 …hb_array_t<const Type> sub_array (unsigned int start_offset, unsigned int *count = nullptr /* IN/O… in sub_array() 148 { return as_array ().sub_array (start_offset, count); } in sub_array() 149 hb_array_t<Type> sub_array (unsigned int start_offset, unsigned int count) in sub_array() 150 { return as_array ().sub_array (start_offset, count); } in sub_array() 151 hb_array_t<Type> sub_array (unsigned int start_offset, unsigned int *count = nullptr /* IN/OUT */) in sub_array() 152 { return as_array ().sub_array (start_offset, count); } in sub_array()
|
D | hb-ot-layout-gdef-table.hh | 50 unsigned int start_offset, in get_attach_points() 66 hb_array_t<const HBUINT16> array = points.sub_array (start_offset, point_count); in get_attach_points() 217 unsigned int start_offset, in get_lig_carets() 223 hb_array_t <const OffsetTo<CaretValue>> array = carets.sub_array (start_offset, caret_count); in get_lig_carets() 253 unsigned int start_offset, in get_lig_carets() 265 …return lig_glyph.get_lig_carets (font, direction, glyph_id, var_store, start_offset, caret_count, … in get_lig_carets() 367 unsigned int start_offset, in get_attach_points() 370 { return (this+attachList).get_attach_points (glyph_id, start_offset, point_count, point_array); } in get_attach_points() 376 unsigned int start_offset, in get_lig_carets() 381 start_offset, caret_count, caret_array); } in get_lig_carets()
|
D | hb-ot-math.cc | 214 unsigned int start_offset, in hb_ot_math_get_glyph_variants() argument 219 start_offset, in hb_ot_math_get_glyph_variants() 278 unsigned int start_offset, in hb_ot_math_get_glyph_assembly() argument 286 start_offset, in hb_ot_math_get_glyph_assembly()
|
D | hb-ot-layout.cc | 341 unsigned int start_offset, in hb_ot_layout_get_attach_points() argument 346 start_offset, in hb_ot_layout_get_attach_points() 368 unsigned int start_offset, in hb_ot_layout_get_ligature_carets() argument 373 …ont->face->table.GDEF->table->get_lig_carets (font, direction, glyph, start_offset, &result_caret_… in hb_ot_layout_get_ligature_carets() 381 …result = font->face->table.lcar->get_lig_carets (font, direction, glyph, start_offset, caret_count… in hb_ot_layout_get_ligature_carets() 464 unsigned int start_offset, in hb_ot_layout_table_get_script_tags() argument 470 return g.get_script_tags (start_offset, script_count, script_tags); in hb_ot_layout_table_get_script_tags() 619 unsigned int start_offset, in hb_ot_layout_table_get_feature_tags() argument 625 return g.get_feature_tags (start_offset, feature_count, feature_tags); in hb_ot_layout_table_get_feature_tags() 682 unsigned int start_offset, in hb_ot_layout_script_get_language_tags() argument [all …]
|
D | hb-ot-color.cc | 180 unsigned int start_offset, in hb_ot_color_palette_get_colors() argument 184 return face->table.CPAL->get_palette_colors (palette_index, start_offset, colors_count, colors); in hb_ot_color_palette_get_colors() 227 unsigned int start_offset, in hb_ot_color_glyph_get_layers() argument 231 return face->table.COLR->get_glyph_layers (glyph, start_offset, layer_count, layers); in hb_ot_color_glyph_get_layers()
|
/external/pdfium/core/fpdftext/ |
D | cpdf_linkextract_unittest.cpp | 84 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/arm-trusted-firmware/drivers/mtd/nand/ |
D | core.c | 32 unsigned int start_offset = offset % nand_dev.page_size; in nand_read() local 43 if (((start_offset != 0U) || (length % nand_dev.page_size) != 0U) && in nand_read() 69 if ((start_offset != 0U) || in nand_read() 80 start_offset), in nand_read() 84 scratch_buff + start_offset, in nand_read() 87 start_offset = 0U; in nand_read()
|
/external/linux-kselftest/tools/testing/selftests/vm/ |
D | mlock-random-test.c | 163 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/ |
D | elf_readall.c | 55 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()
|
D | elf32_updatefile.c | 150 (*fctp) ((char *) elf->map_address + elf->start_offset, ehdr, in __elfw2() 153 else if (elf->map_address + elf->start_offset != ehdr) in __elfw2() 154 memcpy (elf->map_address + elf->start_offset, ehdr, in __elfw2() 181 memset (elf->map_address + elf->start_offset + ehdr->e_ehsize, in __elfw2() 191 (*fctp) (elf->map_address + elf->start_offset + ehdr->e_phoff, in __elfw2() 196 memmove (elf->map_address + elf->start_offset + ehdr->e_phoff, in __elfw2() 209 char *last_position = ((char *) elf->map_address + elf->start_offset in __elfw2() 227 char *const shdr_start = ((char *) elf->map_address + elf->start_offset in __elfw2() 248 assert ((char *) elf->map_address + elf->start_offset in __elfw2() 251 < ((char *) elf->map_address + elf->start_offset in __elfw2() [all …]
|
/external/webp/src/dsp/ |
D | filters.c | 50 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()
|
D | filters_mips_dsp_r2.c | 201 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()
|
/external/toybox/toys/pending/ |
D | fdisk.c | 59 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/rust/cxx/gen/src/ |
D | error.rs | 120 let mut start_offset = 0; in display_syn_error() localVariable 122 start_offset += source[start_offset..].find('\n').unwrap() + 1; in display_syn_error() 124 let start_column = source[start_offset..] in display_syn_error() 129 start_offset += start_column; in display_syn_error() 131 let mut end_offset = start_offset; in display_syn_error() 153 let diagnostic = diagnose(file, start_offset..end_offset, error); in display_syn_error()
|
/external/elfutils/libdwfl/ |
D | gzip.c | 146 open_stream (int fd, off_t start_offset, struct unzip_state *state) in open_stream() argument 151 if (start_offset != 0) in open_stream() 153 off_t off = lseek (d, start_offset, SEEK_SET); in open_stream() 154 if (off != start_offset) in open_stream() 181 unzip (int fd, off_t start_offset, in unzip() argument 206 ssize_t n = pread_retry (fd, state.input_buffer, READ_SIZE, start_offset); in unzip() 254 start_offset + state.input_pos); in unzip() 320 start_offset + state.input_pos); in unzip() 361 Dwfl_Error result = open_stream (fd, start_offset, &state); in unzip()
|