/external/tensorflow/tensorflow/core/lib/monitoring/ |
D | collection_registry_test.cc | 142 ASSERT_EQ(2, lps.points.size()); in TEST() 143 ASSERT_EQ(2, lps.points[0]->labels.size()); in TEST() 144 EXPECT_EQ("MyLabel0", lps.points[0]->labels[0].name); in TEST() 145 EXPECT_EQ("Label00", lps.points[0]->labels[0].value); in TEST() 146 EXPECT_EQ("MyLabel1", lps.points[0]->labels[1].name); in TEST() 147 EXPECT_EQ("Label10", lps.points[0]->labels[1].value); in TEST() 148 EXPECT_EQ(ValueType::kInt64, lps.points[0]->value_type); in TEST() 149 EXPECT_EQ(42, lps.points[0]->int64_value); in TEST() 150 EXPECT_LT(0, lps.points[0]->start_timestamp_millis); in TEST() 151 EXPECT_LT(0, lps.points[0]->end_timestamp_millis); in TEST() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/ |
D | GaussianParametersGuesser.java | 79 private double[] basicGuess(WeightedObservedPoint[] points) { in basicGuess() argument 80 Arrays.sort(points, createWeightedObservedPointComparator()); in basicGuess() 83 int minYIdx = findMinY(points); in basicGuess() 84 params[0] = points[minYIdx].getY(); in basicGuess() 86 int maxYIdx = findMaxY(points); in basicGuess() 87 params[1] = points[maxYIdx].getY(); in basicGuess() 88 params[2] = points[maxYIdx].getX(); in basicGuess() 93 double fwhmX1 = interpolateXAtY(points, maxYIdx, -1, halfY); in basicGuess() 94 double fwhmX2 = interpolateXAtY(points, maxYIdx, +1, halfY); in basicGuess() 97 fwhmApprox = points[points.length - 1].getX() - points[0].getX(); in basicGuess() [all …]
|
/external/fonttools/Lib/fontTools/pens/ |
D | basePen.py | 58 def curveTo(self, *points): argument 79 def qCurveTo(self, *points): argument 128 def curveTo(self, *points): argument 131 def qCurveTo(self, *points): argument 226 def curveTo(self, *points): argument 227 n = len(points) - 1 # 'n' is the number of control points 234 self._curveToOne(*points) 235 self.__currentPoint = points[-1] 245 for pt1, pt2, pt3 in decomposeSuperBezierSegment(points): 249 self.qCurveTo(*points) [all …]
|
D | transformPen.py | 34 def curveTo(self, *points): argument 35 self._outPen.curveTo(*self._transformPoints(points)) 37 def qCurveTo(self, *points): argument 38 if points[-1] is None: 39 points = self._transformPoints(points[:-1]) + [None] 41 points = self._transformPoints(points) 42 self._outPen.qCurveTo(*points) 44 def _transformPoints(self, points): argument 47 for pt in points:
|
/external/skqp/bench/ |
D | HairlinePathBench.cpp | 26 static const int points[] = { variable 90 int size = SK_ARRAY_COUNT(points); in makePath() 101 path->moveTo(SkIntToScalar(points[base1] + xTrans), in makePath() 102 SkIntToScalar(points[base1+1] + yTrans)); in makePath() 103 path->lineTo(SkIntToScalar(points[base2] + xTrans), in makePath() 104 SkIntToScalar(points[base2+1] + yTrans)); in makePath() 105 path->lineTo(SkIntToScalar(points[base3] + xTrans), in makePath() 106 SkIntToScalar(points[base3+1] + yTrans)); in makePath() 122 int size = SK_ARRAY_COUNT(points); in makePath() 133 path->moveTo(SkIntToScalar(points[base1] + xTrans), in makePath() [all …]
|
/external/skia/bench/ |
D | HairlinePathBench.cpp | 26 static const int points[] = { variable 90 int size = SK_ARRAY_COUNT(points); in makePath() 101 path->moveTo(SkIntToScalar(points[base1] + xTrans), in makePath() 102 SkIntToScalar(points[base1+1] + yTrans)); in makePath() 103 path->lineTo(SkIntToScalar(points[base2] + xTrans), in makePath() 104 SkIntToScalar(points[base2+1] + yTrans)); in makePath() 105 path->lineTo(SkIntToScalar(points[base3] + xTrans), in makePath() 106 SkIntToScalar(points[base3+1] + yTrans)); in makePath() 122 int size = SK_ARRAY_COUNT(points); in makePath() 133 path->moveTo(SkIntToScalar(points[base1] + xTrans), in makePath() [all …]
|
/external/mesa3d/src/glx/ |
D | eval.c | 41 const GLfloat * points, GLubyte * pc) in __glFillMap1f() argument 45 __GLX_PUT_FLOAT_ARRAY(0, points, order * k); in __glFillMap1f() 51 __GLX_PUT_FLOAT_ARRAY(0, points, k); in __glFillMap1f() 52 points += stride; in __glFillMap1f() 60 const GLdouble * points, GLubyte * pc) in __glFillMap1d() argument 64 __GLX_PUT_DOUBLE_ARRAY(0, points, order * k); in __glFillMap1d() 69 __GLX_PUT_DOUBLE_ARRAY(0, points, k); in __glFillMap1d() 70 points += stride; in __glFillMap1d() 79 const GLfloat * points, GLfloat * data) in __glFillMap2f() argument 85 __GLX_MEM_COPY(data, points, majorOrder * majorStride * in __glFillMap2f() [all …]
|
/external/freetype/src/tools/ftfuzzer/ |
D | rasterfuzzer.cc | 82 FT_Vector* points = reinterpret_cast<FT_Vector*>( in LLVMFuzzerTestOneInput() local 94 if ( points[i].x == LONG_MIN ) in LLVMFuzzerTestOneInput() 95 points[i].x = 0; in LLVMFuzzerTestOneInput() 96 else if ( points[i].x < 0 ) in LLVMFuzzerTestOneInput() 97 points[i].x = -( -points[i].x & 0xFFFFFF ) - 1; in LLVMFuzzerTestOneInput() 99 points[i].x = ( points[i].x & 0xFFFFFF ) + 1; in LLVMFuzzerTestOneInput() 101 if ( points[i].y == LONG_MIN ) in LLVMFuzzerTestOneInput() 102 points[i].y = 0; in LLVMFuzzerTestOneInput() 103 else if ( points[i].y < 0 ) in LLVMFuzzerTestOneInput() 104 points[i].y = -( -points[i].y & 0xFFFFFF ) - 1; in LLVMFuzzerTestOneInput() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/unicode/ |
D | confusablesWholeScript.txt | 26 # Total code points: 7 38 # Total code points: 7 52 # Total code points: 9 64 # Total code points: 7 76 # Total code points: 7 88 # Total code points: 7 100 # Total code points: 7 116 # Total code points: 11 128 # Total code points: 7 140 # Total code points: 7 [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/unicode/ |
D | confusablesWholeScript.txt | 26 # Total code points: 7 38 # Total code points: 7 52 # Total code points: 9 64 # Total code points: 7 76 # Total code points: 7 88 # Total code points: 7 100 # Total code points: 7 116 # Total code points: 11 128 # Total code points: 7 140 # Total code points: 7 [all …]
|
/external/icu/icu4c/source/data/unidata/ |
D | confusablesWholeScript.txt | 26 # Total code points: 7 38 # Total code points: 7 52 # Total code points: 9 64 # Total code points: 7 76 # Total code points: 7 88 # Total code points: 7 100 # Total code points: 7 116 # Total code points: 11 128 # Total code points: 7 140 # Total code points: 7 [all …]
|
/external/skia/src/utils/ |
D | SkParsePath.cpp | 80 SkPoint points[3]; in FromSVGString() local 112 data = find_points(data, points, 1, relative, &c); in FromSVGString() 113 path.moveTo(points[0]); in FromSVGString() 116 c = points[0]; in FromSVGString() 119 data = find_points(data, points, 1, relative, &c); in FromSVGString() 120 path.lineTo(points[0]); in FromSVGString() 121 c = points[0]; in FromSVGString() 136 data = find_points(data, points, 3, relative, &c); in FromSVGString() 139 data = find_points(data, &points[1], 2, relative, &c); in FromSVGString() 140 points[0] = c; in FromSVGString() [all …]
|
/external/skqp/src/utils/ |
D | SkParsePath.cpp | 80 SkPoint points[3]; in FromSVGString() local 112 data = find_points(data, points, 1, relative, &c); in FromSVGString() 113 path.moveTo(points[0]); in FromSVGString() 116 c = points[0]; in FromSVGString() 119 data = find_points(data, points, 1, relative, &c); in FromSVGString() 120 path.lineTo(points[0]); in FromSVGString() 121 c = points[0]; in FromSVGString() 136 data = find_points(data, points, 3, relative, &c); in FromSVGString() 139 data = find_points(data, &points[1], 2, relative, &c); in FromSVGString() 140 points[0] = c; in FromSVGString() [all …]
|
/external/skia/tests/ |
D | PathCoverageTest.cpp | 39 static inline int estimate_distance(const SkPoint points[]) { in estimate_distance() argument 40 return cheap_distance(points[1].fX * 2 - points[2].fX - points[0].fX, in estimate_distance() 41 points[1].fY * 2 - points[2].fY - points[0].fY); in estimate_distance() 44 static inline SkScalar compute_distance(const SkPoint points[]) { in compute_distance() argument 45 return SkPointPriv::DistanceToLineSegmentBetween(points[1], points[0], points[2]); in compute_distance() 69 static uint32_t quadraticPointCount_EE(const SkPoint points[]) { in quadraticPointCount_EE() argument 70 int distance = estimate_distance(points); in quadraticPointCount_EE() 74 static uint32_t quadraticPointCount_EC(const SkPoint points[], SkScalar tol) { in quadraticPointCount_EC() argument 75 int distance = estimate_distance(points); in quadraticPointCount_EC() 79 static uint32_t quadraticPointCount_CE(const SkPoint points[]) { in quadraticPointCount_CE() argument [all …]
|
/external/skqp/tests/ |
D | PathCoverageTest.cpp | 39 static inline int estimate_distance(const SkPoint points[]) { in estimate_distance() argument 40 return cheap_distance(points[1].fX * 2 - points[2].fX - points[0].fX, in estimate_distance() 41 points[1].fY * 2 - points[2].fY - points[0].fY); in estimate_distance() 44 static inline SkScalar compute_distance(const SkPoint points[]) { in compute_distance() argument 45 return SkPointPriv::DistanceToLineSegmentBetween(points[1], points[0], points[2]); in compute_distance() 69 static uint32_t quadraticPointCount_EE(const SkPoint points[]) { in quadraticPointCount_EE() argument 70 int distance = estimate_distance(points); in quadraticPointCount_EE() 74 static uint32_t quadraticPointCount_EC(const SkPoint points[], SkScalar tol) { in quadraticPointCount_EC() argument 75 int distance = estimate_distance(points); in quadraticPointCount_EC() 79 static uint32_t quadraticPointCount_CE(const SkPoint points[]) { in quadraticPointCount_CE() argument [all …]
|
/external/autotest/client/site_tests/firmware_TouchMTB/geometry/ |
D | two_farthest_clusters.py | 18 def get_two_farthest_points(points): argument 24 if len(points) <= 1: 25 return points 28 for p1 in points: 29 for p2 in points: 38 def get_two_farthest_clusters(points): argument 49 if len(points) <= 1: 50 return (points, []) 52 fp1, fp2 = get_two_farthest_points(points) 58 for p in points: [all …]
|
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/paths/ |
D | CatmullRom.java | 10 public float compute(float t, float[] points, int pointsCnt) { in compute() argument 18 return catmullRomSpline(points[0], points[0], points[1], points[2], t); in compute() 22 …return catmullRomSpline(points[pointsCnt-3], points[pointsCnt-2], points[pointsCnt-1], points[poin… in compute() 25 …return catmullRomSpline(points[segment-1], points[segment], points[segment+1], points[segment+2], … in compute()
|
/external/ImageMagick/PerlMagick/demo/ |
D | piddle.pl | 16 $image->Draw(primitive=>'line',points=>"$i,0 $i,300",stroke=>"#ccf"); 17 $image->Draw(primitive=>'line',points=>"0,$i 300,$i",stroke=>"#ccf"); 23 strokewidth=>4,points=>'30,30 100,100 10,10'); 27 $image->Draw(primitive=>'bezier',points=>'20,20, 100,50, 50,100, 160,160', 32 $image->Draw(primitive=>'line',points=>"10,200 20,190",stroke=>red); 37 points=>"170,70 200,70"); 39 points=>'M170,70 v-30 a30,30 0 0,0 -30,30 z'); 41 points=>"170,70 200,70"); 46 points=>"160,120 130,190 210,145 110,145 190,190 160,120",stroke=>red, 51 $image->Draw(primitive=>'line',points=>'200,260 200,200',stroke=>yellow, [all …]
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/ |
D | kmeans_test.py | 75 points=None, argument 80 points = points if points is not None else self.points 81 num_points = points.shape[0] 87 x = constant_op.constant(points) 148 self.points, _, self.scores = make_random_points(self.true_centers, 203 points, true_assignments, true_offsets = make_random_points( 208 batch_size=num_points, points=points, num_epochs=1))) 213 input_fn=lambda: (constant_op.constant(points), None), steps=1) 218 input_fn=lambda: (constant_op.constant(points), None)) 221 np.sum(np.square(points), axis=1, [all …]
|
/external/tensorflow/tensorflow/contrib/factorization/python/ops/ |
D | kmeans_test.py | 73 points=None, argument 78 points = points if points is not None else self.points 79 num_points = points.shape[0] 85 x = constant_op.constant(points) 146 self.points, _, self.scores = make_random_points(self.true_centers, 198 points, true_assignments, true_offsets = make_random_points( 200 input_fn = self.input_fn(batch_size=num_points, points=points, num_epochs=1) 206 score = kmeans.score(input_fn=lambda: (constant_op.constant(points), None)) 213 np.sum(np.square(points), axis=1, keepdims=True) - 214 2 * np.dot(points, np.transpose(clusters)) + np.transpose( [all …]
|
/external/guice/core/test/com/google/inject/spi/ |
D | InjectionPointTest.java | 244 Set<InjectionPoint> points; in testOverrideBehavior() local 246 points = InjectionPoint.forInstanceMethodsAndFields(Super.class); in testOverrideBehavior() 247 assertEquals(points.toString(), 6, points.size()); in testOverrideBehavior() 248 assertPoints(points, Super.class, "atInject", "gInject", "privateAtAndPublicG", in testOverrideBehavior() 251 points = InjectionPoint.forInstanceMethodsAndFields(Sub.class); in testOverrideBehavior() 252 assertEquals(points.toString(), 7, points.size()); in testOverrideBehavior() 255 assertPoints(points, Super.class, "privateAtAndPublicG", "privateGAndPublicAt", "gInject"); in testOverrideBehavior() 258 assertPoints(points, Sub.class, "privateAtAndPublicG", "privateGAndPublicAt", in testOverrideBehavior() 261 points = InjectionPoint.forInstanceMethodsAndFields(SubSub.class); in testOverrideBehavior() 262 assertEquals(points.toString(), 6, points.size()); in testOverrideBehavior() [all …]
|
/external/valgrind/memcheck/tests/solaris/ |
D | scalar_spawn.stderr.exp | 19 Syscall param spawn(path) points to unaddressable byte(s) 23 Syscall param spawn(attrs->ksa_version) points to unaddressable byte(s) 27 Syscall param spawn(attrs->ksa_size) points to unaddressable byte(s) 31 Syscall param spawn(attrs->ksa_attr_off) points to unaddressable byte(s) 35 Syscall param spawn(attrs->ksa_path_off) points to unaddressable byte(s) 39 Syscall param spawn(attrs->ksa_shell_off) points to unaddressable byte(s) 43 Syscall param spawn(argenv) points to unaddressable byte(s) 62 Syscall param spawn(path) points to unaddressable byte(s) 66 Syscall param spawn(attrs->ksa_version) points to uninitialised byte(s) 70 Syscall param spawn(attrs->ksa_size) points to uninitialised byte(s) [all …]
|
D | name_service_door.stderr.exp-amd64 | 4 Syscall param door_call(".../name_service_door", nss_pheader->nsc_callnumber) points to uninitialis… 10 Syscall param door_call(".../name_service_door", nss_pheader->p_version) points to unaddressable by… 16 Syscall param door_call(".../name_service_door", nss_pheader->dbd_off) points to unaddressable byte… 20 Syscall param door_call(".../name_service_door", nss_pheader->dbd_len) points to unaddressable byte… 24 Syscall param door_call(".../name_service_door", nss_pheader->key_off) points to unaddressable byte… 28 Syscall param door_call(".../name_service_door", nss_pheader->key_len) points to unaddressable byte… 32 Syscall param door_call(".../name_service_door", nss_pheader->data_off) points to unaddressable byt… 36 Syscall param door_call(".../name_service_door", nss_pheader->data_len) points to unaddressable byt… 40 Syscall param door_call(".../name_service_door", nss_pheader->pbufsiz) points to unaddressable byte… 44 Syscall param door_call(".../name_service_door", pbuf) points to unaddressable byte(s) [all …]
|
D | name_service_door.stderr.exp-x86 | 4 Syscall param door_call(".../name_service_door", nss_pheader->nsc_callnumber) points to uninitialis… 10 Syscall param door_call(".../name_service_door", nss_pheader->p_version) points to unaddressable by… 16 Syscall param door_call(".../name_service_door", nss_pheader->dbd_off) points to unaddressable byte… 20 Syscall param door_call(".../name_service_door", nss_pheader->dbd_len) points to unaddressable byte… 24 Syscall param door_call(".../name_service_door", nss_pheader->key_off) points to unaddressable byte… 28 Syscall param door_call(".../name_service_door", nss_pheader->key_len) points to unaddressable byte… 32 Syscall param door_call(".../name_service_door", nss_pheader->data_off) points to unaddressable byt… 36 Syscall param door_call(".../name_service_door", nss_pheader->data_len) points to unaddressable byt… 40 Syscall param door_call(".../name_service_door", nss_pheader->pbufsiz) points to unaddressable byte… 47 Syscall param door_call(".../name_service_door", nss_pheader->nsc_callnumber) points to uninitialis… [all …]
|
/external/ImageMagick/Magick++/demo/ |
D | piddle.cpp | 72 std::vector<Magick::Coordinate> points; in main() local 73 points.push_back(Coordinate(20,20)); in main() 74 points.push_back(Coordinate(100,50)); in main() 75 points.push_back(Coordinate(50,100)); in main() 76 points.push_back(Coordinate(160,160)); in main() 77 drawList.push_back(DrawableBezier(points)); in main() 120 std::vector<Magick::Coordinate> points; in main() local 121 points.push_back(Coordinate(160,120)); in main() 122 points.push_back(Coordinate(130,190)); in main() 123 points.push_back(Coordinate(210,145)); in main() [all …]
|