Home
last modified time | relevance | path

Searched refs:segments (Results 1 – 25 of 385) sorted by relevance

12345678910>>...16

/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
DRbPath.java34 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/ffmpeg/libavcodec/
Ddfa.c71 unsigned segments; in decode_tsw1() local
74 segments = bytestream2_get_le32(gb); in decode_tsw1()
76 if (segments == 0 && offset == frame_end - frame) in decode_tsw1()
81 while (segments--) { in decode_tsw1()
113 int v, offset, count, segments; in decode_dsw1() local
115 segments = bytestream2_get_le16(gb); in decode_dsw1()
116 while (segments--) { in decode_dsw1()
150 int i, v, offset, count, segments; in decode_dds1() local
154 segments = bytestream2_get_le16(gb); in decode_dds1()
155 while (segments--) { in decode_dds1()
[all …]
/third_party/rust/crates/syn/tests/
Dtest_path.rs61 assert!(ty.path.segments.pop().is_some()); in print_incomplete_qpath()
65 assert!(ty.path.segments.pop().is_some()); in print_incomplete_qpath()
69 assert!(ty.path.segments.pop().is_none()); in print_incomplete_qpath()
76 assert!(ty.path.segments.pop().is_some()); in print_incomplete_qpath()
80 assert!(ty.path.segments.pop().is_some()); in print_incomplete_qpath()
84 assert!(ty.path.segments.pop().is_none()); in print_incomplete_qpath()
91 assert!(ty.path.segments.pop().is_some()); in print_incomplete_qpath()
95 assert!(ty.path.segments.pop().is_some()); in print_incomplete_qpath()
99 assert!(ty.path.segments.pop().is_some()); in print_incomplete_qpath()
103 assert!(ty.path.segments.pop().is_none()); in print_incomplete_qpath()
/third_party/node/deps/v8/src/objects/
Djs-segments.cc46 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/rust/crates/serde/serde_derive/src/internals/
Dreceiver.rs32 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/rust/crates/syn/src/
Dpath.rs12 pub segments: Punctuated<PathSegment, Token![::]>,
23 segments: Punctuated::new(), in from()
25 path.segments.push_value(segment.into()); in from()
289 && argument.path.segments.len() == 1 => in parse()
291 match argument.path.segments[0].arguments { in parse()
509 segments: { in parse_mod_style()
510 let mut segments = Punctuated::new(); in parse_mod_style() localVariable
521 segments.push_value(PathSegment::from(ident)); in parse_mod_style()
526 segments.push_punct(punct); in parse_mod_style()
528 if segments.is_empty() { in parse_mod_style()
[all …]
/third_party/skia/src/gpu/ops/
DAAConvexPathRenderer.cpp69 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/
Dzsh.rs148 let mut segments = vec![]; in subcommands_of() localVariable
166 add_subcommands(command, command.get_name(), &mut segments); in subcommands_of()
169 add_subcommands(command, alias, &mut segments); in subcommands_of()
176 if !segments.is_empty() { in subcommands_of()
177 segments.insert(0, "".to_string()); in subcommands_of()
178 segments.push(" ".to_string()); in subcommands_of()
181 segments.join("\n") in subcommands_of()
233 let mut segments = vec![format!("({})", name)]; localVariable
240 segments.push(subcommand_args);
247 segments.push(children);
[all …]
/third_party/elfutils/src/
Dfindtextrel.c41 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/cxx/syntax/
Dnamespace.rs15 segments: Vec<Ident>, field
20 segments: Vec::new(),
24 self.segments.iter() in iter()
49 let segments = QualifiedName::parse_quoted_or_unquoted(input)?.segments; in parse() localVariable
50 Ok(Namespace { segments }) in parse()
82 let segments = idents.into_iter().cloned().collect(); in from_iter() localVariable
83 Namespace { segments } in from_iter()
Dqualified.rs6 pub segments: Vec<Ident>, field
19 let segments = Vec::new(); in parse_quoted_or_unquoted() localVariable
20 Ok(QualifiedName { segments }) in parse_quoted_or_unquoted()
34 let mut segments = Vec::new(); in parse_unquoted() localVariable
49 segments.push(ident); in parse_unquoted()
53 if segments.is_empty() && leading_colons.is_none() { in parse_unquoted()
58 Ok(QualifiedName { segments }) in parse_unquoted()
/third_party/ffmpeg/libavformat/
Daaxdec.c57 AAXSegment *segments; member
104 pts += (a->segments[seg].end - a->segments[seg].start) / size; in get_pts()
106 pts += ((pos - a->segments[a->current_segment].start) / size); in get_pts()
149 a->segments = av_calloc(a->nb_segments, sizeof(*a->segments)); in aax_read_header()
150 if (!a->segments) in aax_read_header()
265 a->segments[r].start = start + a->data_offset; in aax_read_header()
266 a->segments[r].end = a->segments[r].start + size; in aax_read_header()
274 if (!a->segments[0].end) { in aax_read_header()
291 ret64 = avio_seek(pb, a->segments[0].start, SEEK_SET); in aax_read_header()
325 av_freep(&a->segments); in aax_read_header()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLiveInterval.cpp93 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/
DCMapFormat4.java361 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/
Dip.rs1266 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/
Dio_win32.cc162 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/src/gpu/
DGrDistanceFieldGenFromVector.cpp349 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/skia/third_party/externals/freetype/src/autofit/
Dafhints.c146 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/node/deps/npm/node_modules/hosted-git-info/lib/
Dfrom-url.js102 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/protobuf/csharp/src/Google.Protobuf.Test/
DReadOnlySequenceFactory.cs49 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/skia/third_party/externals/swiftshader/tests/regres/cov/
Dimport.go244 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/skia/third_party/externals/icu/source/i18n/
Drbt_rule.cpp68 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/icu/icu4c/source/i18n/
Drbt_rule.cpp68 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/
Drbt_rule.cpp68 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/ffmpeg/libavfilter/
Daf_compand.c54 CompandSegment *segments; member
99 av_freep(&s->segments); in uninit()
166 if (in_log <= s->segments[i].x) in get_volume()
168 cs = &s->segments[i - 1]; in get_volume()
362 s->segments = av_mallocz_array(s->nb_segments, sizeof(*s->segments)); in config_output()
364 if (!s->channels || !s->segments) { in config_output()
414 #define S(x) s->segments[2 * ((x) + 1)] in config_output()
442 #define S(x) s->segments[2 * (x)] in config_output()
462 s->segments[i].y += s->gain_dB; in config_output()
463 s->segments[i].x *= M_LN10 / 20; in config_output()
[all …]

12345678910>>...16