Home
last modified time | relevance | path

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

12

/external/guava/src/com/google/common/collect/
DCustomConcurrentHashMap.java589 final Segment[] segments; field in CustomConcurrentHashMap.Impl
612 this.segments = newSegmentArray(segmentCount); in Impl()
627 for (int i = 0; i < this.segments.length; ++i) { in Impl()
628 this.segments[i] = new Segment(segmentSize); in Impl()
689 return segments[(hash >>> segmentShift) & segmentMask]; in segmentFor()
1228 final Segment[] segments = this.segments; in isEmpty() local
1238 int[] mc = new int[segments.length]; in isEmpty()
1240 for (int i = 0; i < segments.length; ++i) { in isEmpty()
1241 if (segments[i].count != 0) { in isEmpty()
1244 mcsum += mc[i] = segments[i].modCount; in isEmpty()
[all …]
/external/skia/src/utils/
DSkUnitMappers.cpp3 SkDiscreteMapper::SkDiscreteMapper(int segments) in SkDiscreteMapper() argument
5 if (segments < 2) in SkDiscreteMapper()
12 if (segments > 0xFFFF) in SkDiscreteMapper()
13 segments = 0xFFFF; in SkDiscreteMapper()
14 fSegments = segments; in SkDiscreteMapper()
15 fScale = SK_Fract1 / (segments - 1); in SkDiscreteMapper()
/external/sonivox/jet_tools/JetCreator/
DJetFile.py303 segments = []
360segments.append(JetSegment(segname, filename, start, end, length, output, quantize, jetevents, dls…
363 self.segments = segments
364 if not len(segments):
392 JINF_NUM_SMF_CHUNKS, len(self.segments),
428 for segment in self.segments:
508 for segment in self.segments:
519 for segment in self.segments:
526 for segment in self.segments:
535 for segment in self.segments:
[all …]
DJetDebug.py43 def DumpSegments1(segments): argument
44 for segment in segments:
56 def DumpSegments(segments): argument
57 for segment in segments:
DJetCreator.py269 segments = self.jet_file.GetSegments()
271 self.SegSort(segments, "segname")
273 self.SegSort(segments, "filename")
275 self.SegSort(segments, "dlsfile")
277 self.SegSort(segments, "start")
279 self.SegSort(segments, "end")
281 self.SegSort(segments, "quantize")
283 self.SegSort(segments, "transpose")
285 self.SegSort(segments, "repeat")
287 self.SegSort(segments, "mute_flags")
[all …]
DJetCreatorhlp.dat40 seglist = The list of segments display here. You may add, revise, or delete segments using the but…
101 seglist = The list of segments in the JET file display here. Double click on a segment to add it t…
103 queuelist = The currently queued segments display here. Each segment displays its current run stat…
/external/freetype/src/autofit/
Dafwarp.c53 AF_Segment segments, in af_warper_compute_line_best() argument
97 FT_Pos len = segments[nn].max_coord - segments[nn].min_coord; in af_warper_compute_line_best()
98 FT_Pos y0 = FT_MulFix( segments[nn].pos, scale ) + delta; in af_warper_compute_line_best()
150 AF_Segment segments; in af_warper_compute() local
171 segments = axis->segments; in af_warper_compute()
196 X1 = X2 = segments[0].pos; in af_warper_compute()
199 FT_Int X = segments[nn].pos; in af_warper_compute()
314 segments, num_segments ); in af_warper_compute()
Dafhints.c50 if ( FT_RENEW_ARRAY( axis->segments, old_max, new_max ) ) in af_axis_hints_new_segment()
56 segment = axis->segments + axis->num_segments++; in af_axis_hints_new_segment()
235 AF_Segment segments = axis->segments; in af_glyph_hints_dump_segments() local
236 AF_Segment limit = segments + axis->num_segments; in af_glyph_hints_dump_segments()
245 for ( seg = segments; seg < limit; seg++ ) in af_glyph_hints_dump_segments()
248 seg - segments, in af_glyph_hints_dump_segments()
252 AF_INDEX_NUM( seg->link, segments ), in af_glyph_hints_dump_segments()
253 AF_INDEX_NUM( seg->serif, segments ), in af_glyph_hints_dump_segments()
409 FT_FREE( axis->segments ); in af_glyph_hints_done()
679 AF_Segment segments = axis->segments; in af_glyph_hints_align_edge_points() local
[all …]
Dafcjk.c121 AF_Segment segments = axis->segments; in af_cjk_hints_compute_segments() local
122 AF_Segment segment_limit = segments + axis->num_segments; in af_cjk_hints_compute_segments()
133 for ( seg = segments; seg < segment_limit; seg++ ) in af_cjk_hints_compute_segments()
165 AF_Segment segments = axis->segments; in af_cjk_hints_link_segments() local
166 AF_Segment segment_limit = segments + axis->num_segments; in af_cjk_hints_link_segments()
180 for ( seg1 = segments; seg1 < segment_limit; seg1++ ) in af_cjk_hints_link_segments()
189 for ( seg2 = segments; seg2 < segment_limit; seg2++ ) in af_cjk_hints_link_segments()
246 for ( seg1 = segments; seg1 < segment_limit; seg1++ ) in af_cjk_hints_link_segments()
255 for ( seg2 = segments; seg2 < segment_limit; seg2++ ) in af_cjk_hints_link_segments()
277 for ( seg = segments; seg < segment_limit; seg++ ) in af_cjk_hints_link_segments()
[all …]
Daflatin2.c107 seg = axhints->segments; in af_latin2_metrics_init_widths()
835 AF_Segment segments = axis->segments; in af_latin2_hints_compute_segments() local
836 AF_Segment segments_end = segments + axis->num_segments; in af_latin2_hints_compute_segments()
839 for ( segment = segments; segment < segments_end; segment++ ) in af_latin2_hints_compute_segments()
883 AF_Segment segments = axis->segments; in af_latin2_hints_compute_segments() local
889 if ( segments[ii].dir > 0 ) in af_latin2_hints_compute_segments()
893 if ( segments[jj].dir < 0 ) in af_latin2_hints_compute_segments()
897 tmp = segments[ii]; in af_latin2_hints_compute_segments()
898 segments[ii] = segments[jj]; in af_latin2_hints_compute_segments()
899 segments[jj] = tmp; in af_latin2_hints_compute_segments()
[all …]
Daflatin.c100 seg = axhints->segments; in af_latin_metrics_init_widths()
824 AF_Segment segments = axis->segments; in af_latin_hints_compute_segments() local
825 AF_Segment segments_end = segments + axis->num_segments; in af_latin_hints_compute_segments()
828 for ( segment = segments; segment < segments_end; segment++ ) in af_latin_hints_compute_segments()
882 AF_Segment segments = axis->segments; in af_latin_hints_link_segments() local
883 AF_Segment segment_limit = segments + axis->num_segments; in af_latin_hints_link_segments()
895 for ( seg1 = segments; seg1 < segment_limit; seg1++ ) in af_latin_hints_link_segments()
902 for ( seg2 = segments; seg2 < segment_limit; seg2++ ) in af_latin_hints_link_segments()
947 for ( seg1 = segments; seg1 < segment_limit; seg1++ ) in af_latin_hints_link_segments()
972 AF_Segment segments = axis->segments; in af_latin_hints_compute_edges() local
[all …]
/external/icu4c/i18n/
Drbt_rule.cpp65 segments(0), in TransliterationRule()
104 this->segments = segs; in TransliterationRule()
172 segments = NULL; in TransliterationRule()
175 segments = (UnicodeFunctor **)uprv_malloc(other.segmentsCount * sizeof(UnicodeFunctor *)); in TransliterationRule()
176 uprv_memcpy(segments, other.segments, other.segmentsCount*sizeof(segments[0])); in TransliterationRule()
192 uprv_free(segments); in ~TransliterationRule()
361 if (segments != NULL) { in matchAndReplace()
363 ((StringMatcher*) segments[i])->resetMatch(); in matchAndReplace()
Dmsgfmt.cpp602 UnicodeString segments[4]; in applyPattern() local
627 segments[0] += ch; in applyPattern()
637 segments[0] += ch; in applyPattern()
643 segments[part] += ch; in applyPattern()
656 segments[3] += ch; in applyPattern()
666 segments[part] += ch; in applyPattern()
670 makeFormat(formatNumber, segments, parseError,ec); in applyPattern()
676 segments[1].remove(); in applyPattern()
677 segments[2].remove(); in applyPattern()
678 segments[3].remove(); in applyPattern()
[all …]
/external/chromium/third_party/icu/source/i18n/
Drbt_rule.cpp65 segments(0), in TransliterationRule()
104 this->segments = segs; in TransliterationRule()
172 segments = NULL; in TransliterationRule()
175 segments = (UnicodeFunctor **)uprv_malloc(other.segmentsCount * sizeof(UnicodeFunctor *)); in TransliterationRule()
176 uprv_memcpy(segments, other.segments, other.segmentsCount*sizeof(segments[0])); in TransliterationRule()
192 uprv_free(segments); in ~TransliterationRule()
361 if (segments != NULL) { in matchAndReplace()
363 ((StringMatcher*) segments[i])->resetMatch(); in matchAndReplace()
Dmsgfmt.cpp593 UnicodeString segments[4]; in applyPattern() local
618 segments[0] += ch; in applyPattern()
628 segments[0] += ch; in applyPattern()
634 segments[part] += ch; in applyPattern()
647 segments[3] += ch; in applyPattern()
657 segments[part] += ch; in applyPattern()
661 makeFormat(formatNumber, segments, parseError,ec); in applyPattern()
666 segments[1].remove(); in applyPattern()
667 segments[2].remove(); in applyPattern()
668 segments[3].remove(); in applyPattern()
[all …]
/external/webkit/WebCore/inspector/front-end/
DSummaryBar.js137 _drawSummaryGraph: function(segments) argument
139 if (!segments || !segments.length) {
140 segments = [{color: "white", value: 1}];
147 for (var i = 0; i < segments.length; ++i)
148 total += segments[i].value;
151 …var percents = segments.map(function(s) { return Math.max(Math.round(100 * s.value / total), 1) });
248 for (var i = 0; i < segments.length; ++i) {
250 ctx.fillStyle = segments[i].color;
/external/icu4c/layout/
DSegmentSingleProcessor.cpp38 const LookupSegment *segments = segmentSingleLookupTable->segments; in process() local
44 … const LookupSegment *lookupSegment = segmentSingleLookupTable->lookupSegment(segments, thisGlyph); in process()
DLookupTables.h57 const LookupSegment *lookupSegment(const LookupSegment *segments, LEGlyphID glyph) const;
69 LookupSegment segments[ANY_NUMBER]; member
74 LookupSegment segments[ANY_NUMBER]; member
DSegmentArrayProcessor.cpp38 const LookupSegment *segments = segmentArrayLookupTable->segments; in process() local
44 … const LookupSegment *lookupSegment = segmentArrayLookupTable->lookupSegment(segments, thisGlyph); in process()
DLookupTables.cpp27 const LookupSegment *BinarySearchLookupTable::lookupSegment(const LookupSegment *segments, LEGlyphI… in lookupSegment() argument
33 const LookupSegment *entry = segments; in lookupSegment()
/external/webkit/WebCore/platform/graphics/wince/
DPlatformPathWince.cpp39 static void quadCurve(int segments, Vector<PathPoint>& pts, const PathPoint* control) in quadCurve() argument
41 const float step = 1.0 / segments; in quadCurve()
53 pts.resize(offset + segments); in quadCurve()
58 for (int i = 1; i < segments; ++i) { in quadCurve()
74 pts[offset + segments - 1] = pp; in quadCurve()
77 static inline void bezier(int segments, Vector<PathPoint>& pts, const PathPoint* control) in bezier() argument
79 const float step = 1.0 / segments; in bezier()
93 pts.resize(offset + segments); in bezier()
98 for (int i = 1; i < segments; ++i) { in bezier()
117 pts[offset + segments - 1] = pp; in bezier()
/external/webkit/WebCore/platform/
DSharedBuffer.cpp232 unsigned segments = m_segments.size(); in getSomeData() local
234 ASSERT(segment < segments); in getSomeData()
238 return segment == segments - 1 ? segmentedSize - position : segmentSize - positionInSegment; in getSomeData()
/external/kernel-headers/original/linux/
Dkexec.h96 struct kexec_segment __user *segments,
101 struct compat_kexec_segment __user *segments,
/external/e2fsprogs/intl/
Dloadmsgcat.c1139 const struct segment_pair *p = sysdep_string->segments; in _nl_load_domain()
1142 for (p = sysdep_string->segments;; p++) in _nl_load_domain()
1218 sysdep_string->segments; in _nl_load_domain()
1222 for (p = sysdep_string->segments;; p++) in _nl_load_domain()
1259 sysdep_string->segments; in _nl_load_domain()
1283 for (p = sysdep_string->segments;; p++) in _nl_load_domain()
/external/skia/include/utils/
DSkUnitMappers.h26 SkDiscreteMapper(int segments);

12