/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ |
D | RbPath.java | 34 p -> p.segments, 62 public static RbPath of(String... segments) { in of() argument 63 return of(Arrays.asList(segments)); in of() 71 public static RbPath of(Iterable<String> segments) { in of() argument 72 return new RbPath(segments); in of() 95 private final ImmutableList<String> segments; field in RbPath 98 private RbPath(Iterable<String> segments) { in RbPath() argument 99 this.segments = ImmutableList.copyOf(segments); in RbPath() 101 this.hashCode = Objects.hash(this.segments); in RbPath() 102 for (String segment : this.segments) { in RbPath() [all …]
|
/third_party/rust/crates/cxx/syntax/ |
D | namespace.rs | 15 segments: Vec<Ident>, field 20 segments: Vec::new(), 24 self.segments.iter() in iter() 44 let segments = QualifiedName::parse_quoted(lit)?.segments; in parse_meta() localVariable 45 return Ok(Namespace { segments }); in parse_meta() 52 .segments in parse_meta() 56 let segments = expr in parse_meta() localVariable 58 .segments in parse_meta() 62 return Ok(Namespace { segments }); in parse_meta() 80 let segments = QualifiedName::parse_quoted_or_unquoted(input)?.segments; in parse() localVariable [all …]
|
D | qualified.rs | 6 pub segments: Vec<Ident>, field 12 let segments = Vec::new(); in parse_quoted() localVariable 13 Ok(QualifiedName { segments }) in parse_quoted() 38 let mut segments = Vec::new(); in parse_unquoted() localVariable 53 segments.push(ident); in parse_unquoted() 57 if segments.is_empty() && leading_colons.is_none() { in parse_unquoted() 62 Ok(QualifiedName { segments }) in parse_unquoted()
|
/third_party/ffmpeg/libavcodec/ |
D | dfa.c | 72 unsigned segments; in decode_tsw1() local 75 segments = bytestream2_get_le32(gb); in decode_tsw1() 77 if (segments == 0 && offset == frame_end - frame) in decode_tsw1() 82 while (segments--) { in decode_tsw1() 114 int v, offset, count, segments; in decode_dsw1() local 116 segments = bytestream2_get_le16(gb); in decode_dsw1() 117 while (segments--) { in decode_dsw1() 151 int i, v, offset, count, segments; in decode_dds1() local 155 segments = bytestream2_get_le16(gb); in decode_dds1() 156 while (segments--) { in decode_dds1() [all …]
|
/third_party/rust/crates/syn/src/ |
D | path.rs | 9 pub segments: Punctuated<PathSegment, Token![::]>, 20 segments: Punctuated::new(), in from() 22 path.segments.push_value(segment.into()); in from() 77 && self.segments.len() == 1 in get_ident() 78 && self.segments[0].arguments.is_none() in get_ident() 80 Some(&self.segments[0].ident) in get_ident() 92 self.segments.first().unwrap().ident.span(), in require_ident() 93 self.segments.last().unwrap().ident.span(), in require_ident() 307 && ty.path.segments.len() == 1 in parse() 308 && match &ty.path.segments[0].arguments { in parse() [all …]
|
D | meta.rs | 378 let start_span = self.path.segments[0].ident.span(); in error() 405 segments: { in parse_meta_path() 406 let mut segments = Punctuated::new(); in parse_meta_path() localVariable 409 segments.push_value(PathSegment::from(ident)); in parse_meta_path() 419 segments.push_punct(punct); in parse_meta_path() 421 segments.push_value(PathSegment::from(ident)); in parse_meta_path() 423 segments in parse_meta_path()
|
/third_party/rust/crates/syn/tests/ |
D | test_path.rs | 60 assert!(ty.path.segments.pop().is_some()); in print_incomplete_qpath() 64 assert!(ty.path.segments.pop().is_some()); in print_incomplete_qpath() 68 assert!(ty.path.segments.pop().is_none()); in print_incomplete_qpath() 75 assert!(ty.path.segments.pop().is_some()); in print_incomplete_qpath() 79 assert!(ty.path.segments.pop().is_some()); in print_incomplete_qpath() 83 assert!(ty.path.segments.pop().is_none()); in print_incomplete_qpath() 90 assert!(ty.path.segments.pop().is_some()); in print_incomplete_qpath() 94 assert!(ty.path.segments.pop().is_some()); in print_incomplete_qpath() 98 assert!(ty.path.segments.pop().is_some()); in print_incomplete_qpath() 102 assert!(ty.path.segments.pop().is_none()); in print_incomplete_qpath()
|
/third_party/ffmpeg/libavformat/ |
D | aaxdec.c | 58 AAXSegment *segments; member 105 pts += (a->segments[seg].end - a->segments[seg].start) / size; in get_pts() 107 pts += ((pos - a->segments[a->current_segment].start) / size); in get_pts() 150 a->segments = av_calloc(a->nb_segments, sizeof(*a->segments)); in aax_read_header() 151 if (!a->segments) in aax_read_header() 255 a->segments[r].start = start + a->data_offset; in aax_read_header() 256 a->segments[r].end = a->segments[r].start + size; in aax_read_header() 258 a->segments[r].start < a->segments[r-1].end && in aax_read_header() 259 a->segments[r].end > a->segments[r-1].start) in aax_read_header() 266 if (!a->segments[0].end) in aax_read_header() [all …]
|
/third_party/node/deps/v8/src/objects/ |
D | js-segments.cc | 46 Handle<JSSegments> segments = Handle<JSSegments>::cast(result); in Create() local 47 segments->set_flags(0); in Create() 50 segments->set_icu_break_iterator(*managed_break_iterator); in Create() 51 segments->set_granularity(segmenter->granularity()); in Create() 54 segments->set_unicode_string(*unicode_string); in Create() 57 return segments; in Create() 62 Handle<JSSegments> segments, in Containing() argument 65 int32_t len = segments->unicode_string().raw()->length(); in Containing() 74 n = segments->unicode_string().raw()->getChar32Start(n); in Containing() 76 icu::BreakIterator* break_iterator = segments->icu_break_iterator().raw(); in Containing() [all …]
|
/third_party/skia/src/gpu/ops/ |
D | AAConvexPathRenderer.cpp | 69 bool center_of_mass(const SegmentArray& segments, SkPoint* c) { in center_of_mass() argument 72 int count = segments.count(); in center_of_mass() 78 p0 = segments[0].endPt(); in center_of_mass() 84 pj = segments[1].endPt() - p0; in center_of_mass() 87 pj = segments[i + 1].endPt() - p0; in center_of_mass() 102 const SkPoint& pt = segments[i].endPt(); in center_of_mass() 119 bool compute_vectors(SegmentArray* segments, in compute_vectors() argument 124 if (!center_of_mass(*segments, fanPt)) { in compute_vectors() 127 int count = segments->count(); in compute_vectors() 141 Segment& sega = (*segments)[a]; in compute_vectors() [all …]
|
/third_party/rust/crates/clap/clap_complete/src/shells/ |
D | zsh.rs | 152 let mut segments = vec![]; in subcommands_of() localVariable 170 add_subcommands(command, command.get_name(), &mut segments); in subcommands_of() 173 add_subcommands(command, alias, &mut segments); in subcommands_of() 180 if !segments.is_empty() { in subcommands_of() 181 segments.insert(0, "".to_string()); in subcommands_of() 182 segments.push(" ".to_string()); in subcommands_of() 185 segments.join("\n") in subcommands_of() 235 let mut segments = vec![format!("({name})")]; localVariable 242 segments.push(subcommand_args); 249 segments.push(children); [all …]
|
/third_party/elfutils/src/ |
D | findtextrel.c | 41 struct segments struct 91 static void check_rel (size_t nsegments, struct segments segments[nsegments], 308 struct segments *segments = malloc (nsegments_max * sizeof (segments[0])); in process_file() local 309 if (segments == NULL) in process_file() 336 segments in process_file() 337 = realloc (segments, nsegments_max * sizeof (segments[0])); in process_file() 338 if (segments == NULL) in process_file() 348 segments[nsegments].from = phdr->p_vaddr; in process_file() 349 segments[nsegments].to = phdr->p_vaddr + phdr->p_memsz; in process_file() 424 check_rel (nsegments, segments, rel->r_offset, elf, in process_file() [all …]
|
/third_party/rust/crates/serde/serde_derive/src/internals/ |
D | receiver.rs | 32 if path.leading_colon.is_some() || path.segments[0].ident != "Self" { in self_to_qself() 36 if path.segments.len() == 1 { in self_to_qself() 41 let span = path.segments[0].ident.span(); in self_to_qself() 50 path.leading_colon = Some(**path.segments.pairs().next().unwrap().punct().unwrap()); in self_to_qself() 52 let segments = mem::replace(&mut path.segments, Punctuated::new()); in self_to_qself() localVariable 53 path.segments = segments.into_pairs().skip(1).collect(); in self_to_qself() 57 let self_ty = self.self_ty(path.segments[0].ident.span()); in self_to_expr_path() 59 for segment in &mut path.segments { in self_to_expr_path() 66 if variant.segments.len() > 1 { in self_to_expr_path() 67 path.segments.push_punct(<Token![::]>::default()); in self_to_expr_path() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | LiveInterval.cpp | 93 if (I == segments().end()) { in createDeadDef() 116 segments().insert(I, Segment(Def, Def.getDeadSlot(), VNI)); in createDeadDef() 121 if (segments().empty()) in extendInBlock() 125 if (I == segments().begin()) in extendInBlock() 137 if (segments().empty()) in extendInBlock() 141 if (I == segments().begin()) in extendInBlock() 159 assert(I != segments().end() && "Not a valid segment!"); in extendSegmentEndTo() 165 for (; MergeTo != segments().end() && NewEnd >= MergeTo->end; ++MergeTo) in extendSegmentEndTo() 173 if (MergeTo != segments().end() && MergeTo->start <= I->end && in extendSegmentEndTo() 180 segments().erase(std::next(I), MergeTo); in extendSegmentEndTo() [all …]
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/ |
D | CMapFormat4.java | 361 private List<Builder.Segment> segments; field in CMapFormat4.Builder 377 this.segments = new ArrayList<Builder.Segment>(); in initialize() 393 this.segments.add(segment); in initialize() 405 if (this.segments == null) { in getSegments() 409 return this.segments; in getSegments() 412 public void setSegments(List<Builder.Segment> segments) { in setSegments() argument 413 this.segments = Segment.deepCopy(segments); in setSegments() 437 this.segments = null; in subDataSet() 448 int size = Offset.format4FixedSize.offset + this.segments.size() in subDataSizeToSerialize() 460 if (this.segments != null) { in subReadyToSerialize() [all …]
|
/third_party/rust/crates/rustix/src/net/ |
D | ip.rs | 1266 pub const fn segments(&self) -> [u16; 8] { in segments() method 1410 || matches!(self.segments(), [0, 0, 0, 0, 0, 0xffff, _, _]) in is_global() 1412 || matches!(self.segments(), [0x64, 0xff9b, 1, _, _, _, _, _]) in is_global() 1414 || matches!(self.segments(), [0x100, 0, 0, 0, _, _, _, _]) in is_global() 1416 || (matches!(self.segments(), [0x2001, b, _, _, _, _, _, _] if b < 0x200) in is_global() 1423 || matches!(self.segments(), [0x2001, 3, _, _, _, _, _, _]) in is_global() 1425 || matches!(self.segments(), [0x2001, 4, 0x112, _, _, _, _, _]) in is_global() 1427 … || matches!(self.segments(), [0x2001, b, _, _, _, _, _, _] if b >= 0x20 && b <= 0x2F) in is_global() 1458 (self.segments()[0] & 0xfe00) == 0xfc00 in is_unique_local() 1545 (self.segments()[0] & 0xffc0) == 0xfe80 in is_unicast_link_local() [all …]
|
/third_party/protobuf/src/google/protobuf/io/ |
D | io_win32.cc | 162 std::vector<wstring> segments; in normalize() local 178 if (!segments.empty() && in normalize() 179 (!has_drive_letter(segments[0].c_str()) || segments.size() > 1)) { in normalize() 180 segments.pop_back(); in normalize() 183 segments.push_back(segment); in normalize() 193 if (segments.size() == 1 && segments[0].size() == 2 && in normalize() 194 has_drive_letter(segments[0].c_str())) { in normalize() 195 return segments[0] + L'\\'; in normalize() 201 for (int i = 0; i < segments.size(); ++i) { in normalize() 206 result << segments[i]; in normalize()
|
/third_party/skia/third_party/externals/freetype/src/autofit/ |
D | afhints.c | 146 if ( !axis->segments ) in af_axis_hints_new_segment() 148 axis->segments = axis->embedded.segments; in af_axis_hints_new_segment() 169 if ( axis->segments == axis->embedded.segments ) in af_axis_hints_new_segment() 171 if ( FT_NEW_ARRAY( axis->segments, new_max ) ) in af_axis_hints_new_segment() 173 ft_memcpy( axis->segments, axis->embedded.segments, in af_axis_hints_new_segment() 174 sizeof ( axis->embedded.segments ) ); in af_axis_hints_new_segment() 178 if ( FT_RENEW_ARRAY( axis->segments, old_max, new_max ) ) in af_axis_hints_new_segment() 185 segment = axis->segments + axis->num_segments++; in af_axis_hints_new_segment() 346 AF_Segment segments = axis->segments; in af_get_segment_index() local 347 AF_Segment limit = segments + axis->num_segments; in af_get_segment_index() [all …]
|
/third_party/skia/src/gpu/ |
D | GrDistanceFieldGenFromVector.cpp | 349 static inline void add_line(const SkPoint pts[2], PathSegmentArray* segments) { in add_line() argument 350 segments->push_back(); in add_line() 351 segments->back().fType = PathSegment::kLine; in add_line() 352 segments->back().fPts[0] = pts[0]; in add_line() 353 segments->back().fPts[1] = pts[1]; in add_line() 355 segments->back().init(); in add_line() 358 static inline void add_quad(const SkPoint pts[3], PathSegmentArray* segments) { in add_quad() argument 366 add_line(line_pts, segments); in add_quad() 369 segments->push_back(); in add_quad() 370 segments->back().fType = PathSegment::kQuad; in add_quad() [all …]
|
/third_party/node/deps/npm/node_modules/hosted-git-info/lib/ |
D | from-url.js | 102 const segments = gitHostInfo.extract(parsed) constant 103 if (!segments) { 107 user = segments.user && decodeURIComponent(segments.user) 108 project = decodeURIComponent(segments.project) 109 committish = decodeURIComponent(segments.committish)
|
/third_party/skia/third_party/externals/swiftshader/tests/regres/cov/ |
D | import.go | 244 segments := make([]segment, numSegements) 245 for j := range segments { 246 segment := &segments[j] 253 for sIdx := 0; sIdx+1 < len(segments); sIdx++ { 254 start := segments[sIdx].location 255 end := segments[sIdx+1].location 256 if segments[sIdx].covered { 257 if segments[sIdx].count > 0 {
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
D | ReadOnlySequenceFactory.cs | 49 var segments = new List<byte[]>(); in CreateWithContent() 53 segments.Add(new byte[0]); in CreateWithContent() 64 segments.Add(segment.ToArray()); in CreateWithContent() 68 segments.Add(new byte[0]); in CreateWithContent() 72 return CreateSegments(segments.ToArray()); in CreateWithContent()
|
/third_party/icu/icu4c/source/i18n/ |
D | rbt_rule.cpp | 68 segments(0), in TransliterationRule() 107 this->segments = segs; in TransliterationRule() 175 segments = NULL; in TransliterationRule() 178 segments = (UnicodeFunctor **)uprv_malloc(other.segmentsCount * sizeof(UnicodeFunctor *)); in TransliterationRule() 179 uprv_memcpy(segments, other.segments, (size_t)other.segmentsCount*sizeof(segments[0])); in TransliterationRule() 195 uprv_free(segments); in ~TransliterationRule() 364 if (segments != NULL) { in matchAndReplace() 366 ((StringMatcher*) segments[i])->resetMatch(); in matchAndReplace()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | rbt_rule.cpp | 68 segments(0), in TransliterationRule() 107 this->segments = segs; in TransliterationRule() 175 segments = nullptr; in TransliterationRule() 178 segments = (UnicodeFunctor **)uprv_malloc(other.segmentsCount * sizeof(UnicodeFunctor *)); in TransliterationRule() 179 uprv_memcpy(segments, other.segments, (size_t)other.segmentsCount*sizeof(segments[0])); in TransliterationRule() 195 uprv_free(segments); in ~TransliterationRule() 364 if (segments != nullptr) { in matchAndReplace() 366 ((StringMatcher*) segments[i])->resetMatch(); in matchAndReplace()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | rbt_rule.cpp | 68 segments(0), in TransliterationRule() 107 this->segments = segs; in TransliterationRule() 175 segments = NULL; in TransliterationRule() 178 segments = (UnicodeFunctor **)uprv_malloc(other.segmentsCount * sizeof(UnicodeFunctor *)); in TransliterationRule() 179 uprv_memcpy(segments, other.segments, (size_t)other.segmentsCount*sizeof(segments[0])); in TransliterationRule() 195 uprv_free(segments); in ~TransliterationRule() 364 if (segments != NULL) { in matchAndReplace() 366 ((StringMatcher*) segments[i])->resetMatch(); in matchAndReplace()
|