Home
last modified time | relevance | path

Searched refs:classify (Results 1 – 25 of 94) sorted by relevance

1234

/external/libcxx/test/std/numerics/complex.number/complex.ops/
Dcomplex_times_complex.pass.cpp48 switch (classify(testcases[i])) in test_edges()
51 switch (classify(testcases[j])) in test_edges()
54 assert(classify(r) == zero); in test_edges()
57 assert(classify(r) == zero); in test_edges()
60 assert(classify(r) == NaN); in test_edges()
63 assert(classify(r) == NaN); in test_edges()
66 assert(classify(r) == NaN); in test_edges()
71 switch (classify(testcases[j])) in test_edges()
74 assert(classify(r) == zero); in test_edges()
77 assert(classify(r) == non_zero); in test_edges()
[all …]
Dcomplex_divide_complex.pass.cpp46 switch (classify(testcases[i])) in test_edges()
49 switch (classify(testcases[j])) in test_edges()
52 assert(classify(r) == NaN); in test_edges()
55 assert(classify(r) == zero); in test_edges()
58 assert(classify(r) == zero); in test_edges()
61 assert(classify(r) == NaN); in test_edges()
64 assert(classify(r) == NaN); in test_edges()
69 switch (classify(testcases[j])) in test_edges()
72 assert(classify(r) == inf); in test_edges()
75 assert(classify(r) == non_zero); in test_edges()
[all …]
/external/compiler-rt/test/builtins/Unit/
Ddivdc3_test.c27 classify(double _Complex x) in classify() function
63 switch (classify(dividend)) in test__divdc3()
66 switch (classify(divisor)) in test__divdc3()
69 if (classify(r) != NaN) in test__divdc3()
73 if (classify(r) != zero) in test__divdc3()
77 if (classify(r) != zero) in test__divdc3()
81 if (classify(r) != NaN) in test__divdc3()
85 if (classify(r) != NaN) in test__divdc3()
91 switch (classify(divisor)) in test__divdc3()
94 if (classify(r) != inf) in test__divdc3()
[all …]
Dmultc3_test.c30 classify(long double _Complex x) in classify() function
66 switch (classify(dividend)) in test__multc3()
69 switch (classify(divisor)) in test__multc3()
72 if (classify(r) != zero) in test__multc3()
76 if (classify(r) != zero) in test__multc3()
80 if (classify(r) != NaN) in test__multc3()
84 if (classify(r) != NaN) in test__multc3()
88 if (classify(r) != NaN) in test__multc3()
94 switch (classify(divisor)) in test__multc3()
97 if (classify(r) != zero) in test__multc3()
[all …]
Ddivsc3_test.c27 classify(float _Complex x) in classify() function
63 switch (classify(dividend)) in test__divsc3()
66 switch (classify(divisor)) in test__divsc3()
69 if (classify(r) != NaN) in test__divsc3()
73 if (classify(r) != zero) in test__divsc3()
77 if (classify(r) != zero) in test__divsc3()
81 if (classify(r) != NaN) in test__divsc3()
85 if (classify(r) != NaN) in test__divsc3()
91 switch (classify(divisor)) in test__divsc3()
94 if (classify(r) != inf) in test__divsc3()
[all …]
Dmulxc3_test.c29 classify(long double _Complex x) in classify() function
65 switch (classify(dividend)) in test__mulxc3()
68 switch (classify(divisor)) in test__mulxc3()
71 if (classify(r) != zero) in test__mulxc3()
75 if (classify(r) != zero) in test__mulxc3()
79 if (classify(r) != NaN) in test__mulxc3()
83 if (classify(r) != NaN) in test__mulxc3()
87 if (classify(r) != NaN) in test__mulxc3()
93 switch (classify(divisor)) in test__mulxc3()
96 if (classify(r) != zero) in test__mulxc3()
[all …]
Dmulsc3_test.c27 classify(float _Complex x) in classify() function
63 switch (classify(dividend)) in test__mulsc3()
66 switch (classify(divisor)) in test__mulsc3()
69 if (classify(r) != zero) in test__mulsc3()
73 if (classify(r) != zero) in test__mulsc3()
77 if (classify(r) != NaN) in test__mulsc3()
81 if (classify(r) != NaN) in test__mulsc3()
85 if (classify(r) != NaN) in test__mulsc3()
91 switch (classify(divisor)) in test__mulsc3()
94 if (classify(r) != zero) in test__mulsc3()
[all …]
Ddivxc3_test.c29 classify(long double _Complex x) in classify() function
65 switch (classify(dividend)) in test__divxc3()
68 switch (classify(divisor)) in test__divxc3()
71 if (classify(r) != NaN) in test__divxc3()
75 if (classify(r) != zero) in test__divxc3()
79 if (classify(r) != zero) in test__divxc3()
83 if (classify(r) != NaN) in test__divxc3()
87 if (classify(r) != NaN) in test__divxc3()
93 switch (classify(divisor)) in test__divxc3()
96 if (classify(r) != inf) in test__divxc3()
[all …]
Dmuldc3_test.c27 classify(double _Complex x) in classify() function
63 switch (classify(dividend)) in test__muldc3()
66 switch (classify(divisor)) in test__muldc3()
69 if (classify(r) != zero) in test__muldc3()
73 if (classify(r) != zero) in test__muldc3()
77 if (classify(r) != NaN) in test__muldc3()
81 if (classify(r) != NaN) in test__muldc3()
85 if (classify(r) != NaN) in test__muldc3()
91 switch (classify(divisor)) in test__muldc3()
94 if (classify(r) != zero) in test__muldc3()
[all …]
Ddivtc3_test.c28 classify(long double _Complex x) in classify() function
65 switch (classify(dividend)) in test__divtc3()
68 switch (classify(divisor)) in test__divtc3()
71 if (classify(r) != NaN) in test__divtc3()
75 if (classify(r) != zero) in test__divtc3()
79 if (classify(r) != zero) in test__divtc3()
83 if (classify(r) != NaN) in test__divtc3()
87 if (classify(r) != NaN) in test__divtc3()
93 switch (classify(divisor)) in test__divtc3()
96 if (classify(r) != inf) in test__divtc3()
[all …]
/external/fonttools/Tests/misc/
DclassifyTools_test.py3 from fontTools.misc.classifyTools import classify
7 assert classify([]) == ([], {})
8 assert classify([[]]) == ([], {})
9 assert classify([[], []]) == ([], {})
10 assert classify([[1]]) == ([{1}], {1: {1}})
11 assert classify([[1,2]]) == ([{1, 2}], {1: {1, 2}, 2: {1, 2}})
12 assert classify([[1],[2]]) == ([{1}, {2}], {1: {1}, 2: {2}})
13 assert classify([[1,2],[2]]) == ([{1}, {2}], {1: {1}, 2: {2}})
14 assert classify([[1,2],[2,4]]) == (
16 assert classify([[1,2],[2,4,5]]) == (
[all …]
/external/libcxx/test/std/numerics/complex.number/complex.value.ops/
Dpolar.pass.cpp55 switch (classify(r)) in test_edges()
58 if (std::signbit(r) || classify(theta) == inf || classify(theta) == NaN) in test_edges()
60 int c = classify(z); in test_edges()
69 if (std::signbit(r) || classify(theta) == inf || classify(theta) == NaN) in test_edges()
71 int c = classify(z); in test_edges()
82 int c = classify(z); in test_edges()
87 assert(classify(z) == inf); in test_edges()
88 if (classify(theta) != NaN && classify(theta) != inf) in test_edges()
90 assert(classify(real(z)) != NaN); in test_edges()
91 assert(classify(imag(z)) != NaN); in test_edges()
[all …]
Dproj.pass.cpp44 switch (classify(testcases[i])) in test_edges()
59 assert(classify(r) == classify(testcases[i])); in test_edges()
/external/guava/guava/src/com/google/common/collect/
DComparisonChain.java73 return classify(left.compareTo(right));
79 return classify(comparator.compare(left, right));
84 return classify(Ints.compare(left, right));
89 return classify(Longs.compare(left, right));
94 return classify(Float.compare(left, right));
99 return classify(Double.compare(left, right));
104 return classify(Booleans.compare(right, left)); // reversed
109 return classify(Booleans.compare(left, right));
112 ComparisonChain classify(int result) {
/external/guava/android/guava/src/com/google/common/collect/
DComparisonChain.java73 return classify(left.compareTo(right));
79 return classify(comparator.compare(left, right));
84 return classify(Ints.compare(left, right));
89 return classify(Longs.compare(left, right));
94 return classify(Float.compare(left, right));
99 return classify(Double.compare(left, right));
104 return classify(Booleans.compare(right, left)); // reversed
109 return classify(Booleans.compare(left, right));
112 ComparisonChain classify(int result) {
/external/clang/lib/Analysis/
DUninitializedValues.cpp322 void classify(const Expr *E, Class C);
361 void ClassifyRefs::classify(const Expr *E, Class C) { in classify() function in ClassifyRefs
365 classify(CO->getTrueExpr(), C); in classify()
366 classify(CO->getFalseExpr(), C); in classify()
372 classify(BCO->getFalseExpr(), C); in classify()
377 classify(OVE->getSourceExpr(), C); in classify()
384 classify(ME->getBase(), C); in classify()
393 classify(BO->getLHS(), C); in classify()
396 classify(BO->getRHS(), C); in classify()
424 classify(BO->getLHS(), Use); in VisitBinaryOperator()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DRoundRectangle.java179 private Zone classify( in classify() method in RoundRectangle
212 Zone x0class = classify(x, x0, maxLeftCornerWidth, x1, maxRightCornerWidth); in intersects()
213 Zone x1class = classify(x + w, x0, maxLeftCornerWidth, x1, maxRightCornerWidth); in intersects()
214 Zone y0class = classify(y, y0, maxUpperCornerHeight, y1, maxLowerCornerHeight); in intersects()
215 Zone y1class = classify(y + h, y0, maxUpperCornerHeight, y1, maxLowerCornerHeight); in intersects()
/external/iproute2/examples/diffserv/
DREADME41 *classify:
74 classify based on the DSCPs and use the policer ids to decide tagging
77 *classify on ingress:
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfpMath.java120 if (result[0].classify() == Dfp.INFINITE || result[0].equals(result[1])) { in splitMult()
330 if (a.classify() == Dfp.INFINITE) { in log()
552 … if (y.classify() == Dfp.FINITE && y.rint().equals(y) && !y.remainder(two).equals(zero)) { in pow()
576 if (x.greaterThan(one) && y.classify() == Dfp.INFINITE) { in pow()
584 if (x.lessThan(one) && y.classify() == Dfp.INFINITE) { in pow()
592 if (x.equals(one) && y.classify() == Dfp.INFINITE) { in pow()
597 if (x.classify() == Dfp.INFINITE) { in pow()
601 … if (y.classify() == Dfp.FINITE && y.rint().equals(y) && !y.remainder(two).equals(zero)) { in pow()
/external/python/cpython3/Tools/scripts/
Dabitype.py14 def classify(): function
191 c = classify()
/external/python/cpython3/Lib/lib2to3/pgen2/
Dparse.py119 ilabel = self.classify(type, value, context)
164 def classify(self, type, value, context): member in Parser
/external/python/cpython2/Lib/lib2to3/pgen2/
Dparse.py116 ilabel = self.classify(type, value, context)
161 def classify(self, type, value, context): member in Parser
/external/icu/android_icu4j/src/main/java/android/icu/text/
DBidiClassifier.java90 public int classify(int c) { in classify() method in BidiClassifier
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBidiClassifier.java94 public int classify(int c) { in classify() method in BidiClassifier
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DTestClassOverride.java73 public int classify(int c) { in classify() method in TestClassOverride.CustomClassifier
76 : c >= nEntries ? super.classify(c) in classify()

1234