/external/webkit/LayoutTests/fast/url/ |
D | segments-from-data-url-expected.txt | 6 PASS segments('http://user:pass@foo:21/bar;par?b#c') is '["http:","foo","21","/bar;par","?b","#c"]' 7 PASS segments('http:foo.com') is '["http:","foo.com","","/","",""]' 8 PASS segments('\t :foo.com \n') is '[":","","","","",""]' 9 PASS segments(' foo.com ') is '[":","","","","",""]' 10 PASS segments('a:\t foo.com') is '["a:","",""," foo.com","",""]' 11 PASS segments('http://f:21/ b ? d # e ') is '["http:","f","21","/%20b%20","?%20d%20","# e"]' 12 PASS segments('http://f:/c') is '["http:","f","","/c","",""]' 13 PASS segments('http://f:0/c') is '["http:","f","0","/c","",""]' 14 PASS segments('http://f:00000000000000/c') is '["http:","f","0","/c","",""]' 15 FAIL segments('http://f:00000000000000000000080/c') should be ["http:","f","0","/c","",""]. Was ["h… [all …]
|
D | segments-expected.txt | 6 PASS segments('http://user:pass@foo:21/bar;par?b#c') is '["http:","foo","21","/bar;par","?b","#c"]' 7 PASS segments('http:foo.com') is '["http:","example.org","","/foo/foo.com","",""]' 8 PASS segments('\t :foo.com \n') is '["http:","example.org","","/foo/:foo.com","",""]' 9 PASS segments(' foo.com ') is '["http:","example.org","","/foo/foo.com","",""]' 10 PASS segments('a:\t foo.com') is '["a:","",""," foo.com","",""]' 11 PASS segments('http://f:21/ b ? d # e ') is '["http:","f","21","/%20b%20","?%20d%20","# e"]' 12 PASS segments('http://f:/c') is '["http:","f","","/c","",""]' 13 PASS segments('http://f:0/c') is '["http:","f","0","/c","",""]' 14 PASS segments('http://f:00000000000000/c') is '["http:","f","0","/c","",""]' 15 FAIL segments('http://f:00000000000000000000080/c') should be ["http:","f","0","/c","",""]. Was ["h… [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLProgram.cpp | 375 ShaderCodeSegments* segments, in append_varying() argument 378 segments->fVSOutputs.push_back(); in append_varying() 379 segments->fVSOutputs.back().setType(type); in append_varying() 380 segments->fVSOutputs.back().setTypeModifier( in append_varying() 382 segments->fVSOutputs.back().accessName()->printf("v%s", name); in append_varying() 384 *vsOutName = segments->fVSOutputs.back().getName().c_str(); in append_varying() 388 if (segments->fUsesGS) { in append_varying() 391 segments->fGSInputs.push_back(); in append_varying() 392 segments->fGSInputs.back().setType(type); in append_varying() 393 segments->fGSInputs.back().setTypeModifier( in append_varying() [all …]
|
D | GrGLProgram.h | 359 ShaderCodeSegments* segments, 363 ShaderCodeSegments* segments) const; 370 ShaderCodeSegments* segments) const; 373 const ShaderCodeSegments& segments,
|
/external/skia/src/gpu/ |
D | GrAAConvexPathRenderer.cpp | 49 void center_of_mass(const SegmentArray& segments, SkPoint* c) { in center_of_mass() argument 53 int count = segments.count(); in center_of_mass() 59 p0 = segments[0].endPt(); in center_of_mass() 65 pj = segments[1].endPt() - p0; in center_of_mass() 68 const SkPoint pj = segments[i + 1].endPt() - p0; in center_of_mass() 83 const SkPoint& pt = segments[i].endPt(); in center_of_mass() 101 void compute_vectors(SegmentArray* segments, in compute_vectors() argument 106 center_of_mass(*segments, fanPt); in compute_vectors() 107 int count = segments->count(); in compute_vectors() 121 const Segment& sega = (*segments)[a]; in compute_vectors() [all …]
|
/external/elfutils/src/ |
D | findtextrel.c | 48 struct segments struct 99 static void check_rel (size_t nsegments, struct segments segments[nsegments], 314 struct segments *segments in process_file() local 315 = (struct segments *) malloc (nsegments_max * sizeof (segments[0])); in process_file() 316 if (segments == NULL) in process_file() 337 segments in process_file() 338 = (struct segments *) realloc (segments, in process_file() 340 * sizeof (segments[0])); in process_file() 341 if (segments == NULL) in process_file() 351 segments[nsegments].from = phdr->p_vaddr; in process_file() [all …]
|
/external/skia/src/utils/ |
D | SkUnitMappers.cpp | 10 SkDiscreteMapper::SkDiscreteMapper(int segments) { in SkDiscreteMapper() argument 11 if (segments < 2) { in SkDiscreteMapper() 15 if (segments > 0xFFFF) { in SkDiscreteMapper() 16 segments = 0xFFFF; in SkDiscreteMapper() 18 fSegments = segments; in SkDiscreteMapper() 19 fScale = SK_Fract1 / (segments - 1); in SkDiscreteMapper()
|
/external/libxslt/libxslt/ |
D | attrvt.c | 51 void *segments[MAX_AVT_SEG]; member 102 if (avt->segments[i] != NULL) in xsltFreeAttrVT() 103 xmlFree((xmlChar *) avt->segments[i]); in xsltFreeAttrVT() 105 xmlXPathFreeCompExpr((xmlXPathCompExprPtr) avt->segments[i]); in xsltFreeAttrVT() 108 xmlXPathFreeCompExpr((xmlXPathCompExprPtr) avt->segments[i]); in xsltFreeAttrVT() 110 if (avt->segments[i] != NULL) in xsltFreeAttrVT() 111 xmlFree((xmlChar *) avt->segments[i]); in xsltFreeAttrVT() 154 memset(&avt->segments[avt->nb_seg], 0, MAX_AVT_SEG*sizeof(void *)); in xsltSetAttrVTsegment() 157 avt->segments[avt->nb_seg++] = val; in xsltSetAttrVTsegment() 371 ret = xmlStrcat(ret, (const xmlChar *) cur->segments[i]); in xsltEvalAVT() [all …]
|
/external/sonivox/jet_tools/JetCreator/ |
D | JetDebug.py | 43 def DumpSegments1(segments): argument 44 for segment in segments: 56 def DumpSegments(segments): argument 57 for segment in segments:
|
D | JetFile.py | 303 segments = [] 360 …segments.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 …]
|
/external/freetype/src/autofit/ |
D | afwarp.c | 78 AF_Segment segments, in af_warper_compute_line_best() argument 122 FT_Pos len = segments[nn].max_coord - segments[nn].min_coord; in af_warper_compute_line_best() 123 FT_Pos y0 = FT_MulFix( segments[nn].pos, scale ) + delta; in af_warper_compute_line_best() 179 AF_Segment segments; in af_warper_compute() local 200 segments = axis->segments; in af_warper_compute() 225 X1 = X2 = segments[0].pos; in af_warper_compute() 228 FT_Int X = segments[nn].pos; in af_warper_compute() 349 segments, num_segments ); in af_warper_compute()
|
D | afhints.c | 52 if ( FT_RENEW_ARRAY( axis->segments, old_max, new_max ) ) in af_axis_hints_new_segment() 58 segment = axis->segments + axis->num_segments++; in af_axis_hints_new_segment() 249 AF_Segment segments = axis->segments; in af_glyph_hints_dump_segments() local 250 AF_Segment limit = segments + axis->num_segments; in af_glyph_hints_dump_segments() 259 for ( seg = segments; seg < limit; seg++ ) in af_glyph_hints_dump_segments() 262 seg - segments, in af_glyph_hints_dump_segments() 266 AF_INDEX_NUM( seg->link, segments ), in af_glyph_hints_dump_segments() 267 AF_INDEX_NUM( seg->serif, segments ), in af_glyph_hints_dump_segments() 332 seg = &axis->segments[idx]; in af_glyph_hints_get_segment_offset() 536 FT_FREE( axis->segments ); in af_glyph_hints_done() [all …]
|
D | aflatin2.c | 118 seg = axhints->segments; in af_latin2_metrics_init_widths() 851 AF_Segment segments = axis->segments; in af_latin2_hints_compute_segments() local 852 AF_Segment segments_end = segments + axis->num_segments; in af_latin2_hints_compute_segments() 855 for ( segment = segments; segment < segments_end; segment++ ) in af_latin2_hints_compute_segments() 899 AF_Segment segments = axis->segments; in af_latin2_hints_compute_segments() local 905 if ( segments[ii].dir > 0 ) in af_latin2_hints_compute_segments() 909 if ( segments[jj].dir < 0 ) in af_latin2_hints_compute_segments() 913 tmp = segments[ii]; in af_latin2_hints_compute_segments() 914 segments[ii] = segments[jj]; in af_latin2_hints_compute_segments() 915 segments[jj] = tmp; in af_latin2_hints_compute_segments() [all …]
|
/external/opencv/cvaux/src/ |
D | cvbgfg_common.cpp | 48 CV_IMPL void cvRefineForegroundMaskBySegm( CvSeq* segments, CvBGStatModel* bg_model ) in cvRefineForegroundMaskBySegm() argument 52 for( ; segments; segments = ((CvSeq*)segments)->h_next ) in cvRefineForegroundMaskBySegm() 54 CvSeq seq = *segments; in cvRefineForegroundMaskBySegm()
|
/external/icu4c/i18n/ |
D | rbt_rule.cpp | 65 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()
|
/external/webp/src/enc/ |
D | config.c | 39 config->segments = 4; in WebPConfigInitInternal() 70 config->segments = 2; in WebPConfigInitInternal() 89 if (config->segments < 1 || config->segments > 4) in WebPValidateConfig()
|
/external/webkit/Source/WebCore/inspector/front-end/ |
D | SummaryBar.js | 137 _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/guava/guava-tests/test/com/google/common/cache/ |
D | CacheTesting.java | 132 for (Segment segment : map.segments) { in drainRecencyQueues() 154 for (LocalCache.Segment segment : cchm.segments) { in drainReferenceQueues() 171 for (Segment<?, ?> segment : map.segments) { in getTotalSegmentSize() 190 for (Segment<?, ?> segment : cchm.segments) { in checkValidState() 220 for (Segment<?, ?> segment : cchm.segments) { in checkExpiration() 282 for (Segment<?, ?> segment : map.segments) { 301 for (Segment segment : map.segments) { 331 for (Segment<?, ?> segment : cchm.segments) { 344 for (Segment<?, ?> segment : cchm.segments) { 383 Segment<?, ?> segment = cchm.segments[0]; [all …]
|
D | CacheBuilderTest.java | 91 assertEquals(4, map.segments.length); in testInitialCapacity_small() 92 assertEquals(2, map.segments[0].table.length()); in testInitialCapacity_small() 93 assertEquals(2, map.segments[1].table.length()); in testInitialCapacity_small() 94 assertEquals(2, map.segments[2].table.length()); in testInitialCapacity_small() 95 assertEquals(2, map.segments[3].table.length()); in testInitialCapacity_small() 105 assertEquals(4, map.segments.length); in testInitialCapacity_smallest() 107 assertEquals(1, map.segments[0].table.length()); in testInitialCapacity_smallest() 108 assertEquals(1, map.segments[1].table.length()); in testInitialCapacity_smallest() 109 assertEquals(1, map.segments[2].table.length()); in testInitialCapacity_smallest() 110 assertEquals(1, map.segments[3].table.length()); in testInitialCapacity_smallest() [all …]
|
/external/icu4c/layout/ |
D | SegmentSingleProcessor.cpp | 38 const LookupSegment *segments = segmentSingleLookupTable->segments; in process() local 44 … const LookupSegment *lookupSegment = segmentSingleLookupTable->lookupSegment(segments, thisGlyph); in process()
|
D | SegmentArrayProcessor.cpp | 38 const LookupSegment *segments = segmentArrayLookupTable->segments; in process() local 44 … const LookupSegment *lookupSegment = segmentArrayLookupTable->lookupSegment(segments, thisGlyph); in process()
|
D | LookupTables.h | 57 const LookupSegment *lookupSegment(const LookupSegment *segments, LEGlyphID glyph) const; 69 LookupSegment segments[ANY_NUMBER]; member 74 LookupSegment segments[ANY_NUMBER]; member
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | CollisionSystem.java | 206 boolean hit = testBoxAgainstList(mCollisionTiles[tileIndex].segments, in testBox() 431 protected static boolean testSegmentAgainstList(FixedSizeArray<LineSegment> segments, in testSegmentAgainstList() argument 440 final int count = segments.getCount(); in testSegmentAgainstList() 441 final Object[] segmentArray = segments.getArray(); in testSegmentAgainstList() 475 protected static boolean testBoxAgainstList(FixedSizeArray<LineSegment> segments, in testBoxAgainstList() argument 481 final int count = segments.getCount(); in testBoxAgainstList() 482 final Object[] segmentArray = segments.getArray(); in testBoxAgainstList() 655 … boolean foundHit = testSegmentAgainstList(tile.segments, mTileSpaceStart, mTileSpaceEnd, in visit() 842 public FixedSizeArray<LineSegment> segments; field in CollisionSystem.CollisionTile 846 segments = new FixedSizeArray<LineSegment>(maxSegments); in CollisionTile() [all …]
|
/external/webkit/Source/WebKit2/Platform/ |
D | Region.cpp | 282 Vector<int> segments; in shapeOperation() local 301 segments.append(x); in shapeOperation() 308 segments.appendRange(s1, segments1End); in shapeOperation() 310 segments.appendRange(s2, segments2End); in shapeOperation() 313 if (!segments.isEmpty() || !result.isEmpty()) in shapeOperation() 314 result.appendSpan(y, segments.data(), segments.data() + segments.size()); in shapeOperation()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MapMakerInternalMapTest.java | 96 assertEquals(4, map.segments.length); in testDefaults() 98 assertEquals(16 / map.segments.length, map.segments[0].table.length()); in testDefaults() 160 assertEquals(segmentCount, map.segments.length); in checkConcurrencyLevel() 201 for (int i = 0; i < map.segments.length; i++) { in checkInitialCapacity() 202 assertEquals(segmentSize, map.segments[i].table.length()); in checkInitialCapacity() 237 for (int i = 0; i < map.segments.length; i++) { in checkMaximumSize() 238 totalCapacity += map.segments[i].maxSegmentSize; in checkMaximumSize() 383 Segment<Object, Object> segment = map.segments[0]; in testRemovalListener_collected() 519 Segment<Object, Object> segment = map.segments[0]; in testSegmentGetAndContains() 594 Segment<Object, Object> segment = map.segments[0]; in testSegmentReplaceValue() [all …]
|