/third_party/pcre2/pcre2/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 | 353 PCRE2_SIZE start_offset = ovector[1]; /* Start at end of previous match */ in main() local 376 if (start_offset <= startchar) in main() 379 start_offset = startchar + 1; /* Advance by one character. */ in main() 382 for (; start_offset < subject_length; start_offset++) in main() 383 if ((subject[start_offset] & 0xc0) != 0x80) break; in main() 394 start_offset, /* starting offset in the subject */ in main() 415 ovector[1] = start_offset + 1; /* Advance one code unit */ in main() 417 start_offset < subject_length - 1 && /* we are at CRLF, */ in main() 418 subject[start_offset] == '\r' && in main() 419 subject[start_offset + 1] == '\n') in main()
|
/third_party/gn/src/gn/ |
D | string_output_buffer_unittest.cc | 38 size_t start_offset = n * span_size; in TEST() local 39 size_t end_offset = std::min(start_offset + span_size, data.size()); in TEST() 40 buffer.Append(&data[start_offset], end_offset - start_offset); in TEST() 56 size_t start_offset = n * page_size; in TEST() local 57 buffer.Append(&data[start_offset], page_size); in TEST() 75 size_t start_offset = n * span_size; in TEST() local 76 size_t end_offset = std::min(start_offset + span_size, data.size()); in TEST() 77 out << std::string_view(&data[start_offset], end_offset - start_offset); in TEST()
|
/third_party/flutter/skia/third_party/externals/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
|
/third_party/skia/third_party/externals/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
|
/third_party/mbedtls/tests/scripts/ |
D | tcp_client.pl | 72 my $start_offset = 0; 73 while ($start_offset < length($expected_data)) { 79 if (($actual_data ^ substr($expected_data, $start_offset)) =~ /[^\000]/) { 82 ord(substr($expected_data, $start_offset + $-[0], 1)), 83 $start_offset + $-[0]); 86 $start_offset += length($actual_data);
|
/third_party/flutter/skia/third_party/externals/harfbuzz/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-feat-table.hh | 98 unsigned int get_selector_infos (unsigned int start_offset, in get_selector_infos() 120 hb_array_t<const SettingName> arr = settings_table.sub_array (start_offset, selectors_count); in get_selector_infos() 122 settings_table[start_offset + i].get_info (&selectors[i], default_selector); in get_selector_infos() 161 unsigned int get_feature_types (unsigned int start_offset, in get_feature_types() 168 unsigned int len = hb_min (feature_count - start_offset, *count); in get_feature_types() 170 features[i] = namesZ[i + start_offset].get_feature_type (); in get_feature_types() 185 unsigned int start_offset, in get_selector_infos() 190 return get_feature (feature_type).get_selector_infos (start_offset, selectors_count, selectors, in get_selector_infos()
|
D | hb-ot-glyf-table.hh | 410 unsigned int start_offset, end_offset; in get_composite() local 411 if (!get_offsets (glyph, &start_offset, &end_offset)) in get_composite() 414 return CompositeGlyphHeader::get_iterator ((const char *) this->glyf_table + start_offset, in get_composite() 415 end_offset - start_offset, in get_composite() 431 bool remove_padding (unsigned int start_offset, in remove_padding() 434 if (*end_offset - start_offset < GlyphHeader::static_size) return true; in remove_padding() 436 const char *glyph = ((const char *) glyf_table) + start_offset; in remove_padding() 437 const char * const glyph_end = glyph + (*end_offset - start_offset); in remove_padding() 504 unsigned int *start_offset /* OUT */, in get_offsets() 513 *start_offset = 2 * offsets[glyph]; in get_offsets() [all …]
|
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-array.hh | 167 …hb_array_t<Type> sub_array (unsigned int start_offset = 0, unsigned int *seg_count = nullptr /* IN… in sub_array() 169 if (!start_offset && !seg_count) in sub_array() 173 if (unlikely (start_offset > count)) in sub_array() 176 count -= start_offset; in sub_array() 179 return hb_array_t<Type> (arrayZ + start_offset, count); in sub_array() 181 hb_array_t<Type> sub_array (unsigned int start_offset, unsigned int seg_count) const in sub_array() 182 { return sub_array (start_offset, &seg_count); } in sub_array() 255 …hb_sorted_array_t<Type> sub_array (unsigned int start_offset, unsigned int *seg_count /* IN/OUT */… in sub_array() 256 …{ return hb_sorted_array_t<Type> (((const hb_array_t<Type> *) (this))->sub_array (start_offset, se… in sub_array() 257 hb_sorted_array_t<Type> sub_array (unsigned int start_offset, unsigned int seg_count) const in sub_array() [all …]
|
/third_party/libunwind/src/ia64/ |
D | Gtables.c | 40 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 …]
|
/third_party/harfbuzz/src/ |
D | hb-ot-layout.h | 170 unsigned int start_offset, 179 unsigned int start_offset, 216 unsigned int start_offset, 237 unsigned int start_offset, 245 unsigned int start_offset, 277 unsigned int start_offset, 286 unsigned int start_offset, 302 unsigned int start_offset, 375 unsigned int start_offset, 391 unsigned start_offset, [all …]
|
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() 166 unsigned int get_feature_types (unsigned int start_offset, in get_feature_types() 172 + namesZ.as_array (featureNameCount).sub_array (start_offset, count) in get_feature_types() 190 unsigned int start_offset, in get_selector_infos() 195 return get_feature (feature_type).get_selector_infos (start_offset, selectors_count, selectors, in get_selector_infos()
|
D | hb-array.hh | 199 …hb_array_t sub_array (unsigned int start_offset = 0, unsigned int *seg_count = nullptr /* IN/OUT *… in sub_array() 201 if (!start_offset && !seg_count) in sub_array() 205 if (unlikely (start_offset > count)) in sub_array() 208 count -= start_offset; in sub_array() 211 return hb_array_t (arrayZ + start_offset, count); in sub_array() 213 hb_array_t sub_array (unsigned int start_offset, unsigned int seg_count) const in sub_array() 214 { return sub_array (start_offset, &seg_count); } in sub_array() 305 …hb_sorted_array_t sub_array (unsigned int start_offset, unsigned int *seg_count /* IN/OUT */) const in sub_array() 306 …{ return hb_sorted_array_t (((const hb_array_t<Type> *) (this))->sub_array (start_offset, seg_coun… in sub_array() 307 hb_sorted_array_t sub_array (unsigned int start_offset, unsigned int seg_count) const in sub_array() [all …]
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-layout.h | 170 unsigned int start_offset, 179 unsigned int start_offset, 216 unsigned int start_offset, 237 unsigned int start_offset, 245 unsigned int start_offset, 277 unsigned int start_offset, 286 unsigned int start_offset, 302 unsigned int start_offset, 375 unsigned int start_offset, 391 unsigned start_offset, [all …]
|
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() 166 unsigned int get_feature_types (unsigned int start_offset, in get_feature_types() 172 + namesZ.as_array (featureNameCount).sub_array (start_offset, count) in get_feature_types() 190 unsigned int start_offset, in get_selector_infos() 195 return get_feature (feature_type).get_selector_infos (start_offset, selectors_count, selectors, in get_selector_infos()
|
D | hb-array.hh | 231 …hb_array_t sub_array (unsigned int start_offset = 0, unsigned int *seg_count = nullptr /* IN/OUT *… in sub_array() 233 if (!start_offset && !seg_count) in sub_array() 237 if (unlikely (start_offset > count)) in sub_array() 240 count -= start_offset; in sub_array() 243 return hb_array_t (arrayZ + start_offset, count); in sub_array() 245 hb_array_t sub_array (unsigned int start_offset, unsigned int seg_count) const in sub_array() 246 { return sub_array (start_offset, &seg_count); } in sub_array() 336 …hb_sorted_array_t sub_array (unsigned int start_offset, unsigned int *seg_count /* IN/OUT */) const in sub_array() 337 …{ return hb_sorted_array_t (((const hb_array_t<Type> *) (this))->sub_array (start_offset, seg_coun… in sub_array() 338 hb_sorted_array_t sub_array (unsigned int start_offset, unsigned int seg_count) const in sub_array() [all …]
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/ |
D | gstaudiostreamalign.c | 355 guint64 start_offset, end_offset; in gst_audio_stream_align_process() local 360 start_offset = in gst_audio_stream_align_process() 363 end_offset = start_offset + n_samples; in gst_audio_stream_align_process() 376 diff = ABSDIFF (start_offset, align->next_offset); in gst_audio_stream_align_process() 413 align->next_offset, start_offset); in gst_audio_stream_align_process() 414 align->next_offset = align->rate > 0 ? end_offset : start_offset; in gst_audio_stream_align_process() 428 start_offset = align->next_offset; in gst_audio_stream_align_process() 441 start_offset = align->next_offset; in gst_audio_stream_align_process() 460 *out_sample_position = start_offset; in gst_audio_stream_align_process()
|
/third_party/skia/third_party/externals/libwebp/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()
|
/third_party/flutter/skia/third_party/externals/libwebp/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()
|