/external/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
D | utils_neon.cc | 110 float ComputeCrossCorrelationNeon(const float* const values1, in ComputeCrossCorrelationNeon() argument 115 const float32_t* const arm_vals1 = (const float32_t* const) values1; in ComputeCrossCorrelationNeon() 132 sxy += values1[offset] * values2[offset]; in ComputeCrossCorrelationNeon() 139 ComputeCrossCorrelationCpu(values1, values2, num_vals); in ComputeCrossCorrelationNeon()
|
D | utils.h | 241 float ComputeCrossCorrelationNeon(const float* const values1, 302 inline float ComputeCrossCorrelationCpu(const float* const values1, in ComputeCrossCorrelationCpu() argument 307 sxy += values1[offset] * values2[offset]; in ComputeCrossCorrelationCpu() 316 inline float ComputeCrossCorrelation(const float* const values1, in ComputeCrossCorrelation() argument 321 (num_vals >= 8) ? ComputeCrossCorrelationNeon(values1, values2, num_vals) in ComputeCrossCorrelation() 324 ComputeCrossCorrelationCpu(values1, values2, num_vals); in ComputeCrossCorrelation()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
D | TestBoilerplate.java | 154 public static boolean verifySetsIdentical(AbstractTestLog here, Set values1, Set values2) { in verifySetsIdentical() argument 155 if (values1.equals(values2)) return true; in verifySetsIdentical() 159 temp = new TreeSet(values1); in verifySetsIdentical() 164 temp.removeAll(values1); in verifySetsIdentical()
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
D | TestBoilerplate.java | 153 public static boolean verifySetsIdentical(AbstractTestLog here, Set values1, Set values2) { in verifySetsIdentical() argument 154 if (values1.equals(values2)) return true; in verifySetsIdentical() 158 temp = new TreeSet(values1); in verifySetsIdentical() 163 temp.removeAll(values1); in verifySetsIdentical()
|
/external/google-breakpad/src/testing/test/ |
D | gmock-internal-utils_test.cc | 273 tuple<int> values1(1), in TEST() local 276 EXPECT_TRUE(TupleMatches(matchers, values1)); in TEST() 282 tuple<int, char> values1(1, 'a'), in TEST() local 287 EXPECT_TRUE(TupleMatches(matchers, values1)); in TEST() 298 values1(1, 'a', true, 2L, "hi"), in TEST() local 302 EXPECT_TRUE(TupleMatches(matchers, values1)); in TEST()
|
/external/v8/testing/gmock/test/ |
D | gmock-internal-utils_test.cc | 299 tuple<int> values1(1), in TEST() local 302 EXPECT_TRUE(TupleMatches(matchers, values1)); in TEST() 308 tuple<int, char> values1(1, 'a'), in TEST() local 313 EXPECT_TRUE(TupleMatches(matchers, values1)); in TEST() 324 values1(1, 'a', true, 2L, "hi"), in TEST() local 328 EXPECT_TRUE(TupleMatches(matchers, values1)); in TEST()
|
/external/googletest/googlemock/test/ |
D | gmock-internal-utils_test.cc | 300 tuple<int> values1(1), in TEST() local 303 EXPECT_TRUE(TupleMatches(matchers, values1)); in TEST() 309 tuple<int, char> values1(1, 'a'), in TEST() local 314 EXPECT_TRUE(TupleMatches(matchers, values1)); in TEST() 325 values1(1, 'a', true, 2L, "hi"), values2(1, 'a', true, 2L, "hello"), in TEST() local 328 EXPECT_TRUE(TupleMatches(matchers, values1)); in TEST()
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | array_elementwise_ops_test.cc | 1251 std::vector<float> values1 = {0.0f, 1.0f, 2.0f, 0.5f, -1.0f, -0.5f}; in XLA_TEST_F() local 1256 std::unique_ptr<Literal> literal1 = Literal::CreateR1<float>(values1); in XLA_TEST_F() 1265 expected[i] = std::pow(std::exp(values0[i]), values1[i]); in XLA_TEST_F() 1276 std::vector<float> values1 = {0.0f, 1.0f, 2.0f, 0.5f, -1.0f, -0.5f}; in XLA_TEST_F() local 1281 std::unique_ptr<Literal> literal1 = Literal::CreateR1<float>(values1); in XLA_TEST_F() 1290 expected[i] = std::log(std::pow(values0[i], values1[i])); in XLA_TEST_F() 1301 std::vector<float> values1 = {0.0f, 1.0f, 2.0f, 0.5f, -1.0f, -0.5f}; in XLA_TEST_F() local 1306 std::unique_ptr<Literal> literal1 = Literal::CreateR1<float>(values1); in XLA_TEST_F() 1315 expected[i] = std::exp(values0[i]) * std::exp(values1[i]); in XLA_TEST_F() 1326 std::vector<float> values1 = {0.0f, 1.0f, 2.0f, 0.5f, -1.0f, -0.5f}; in XLA_TEST_F() local [all …]
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | DescriptorsTest.java | 415 FieldDescriptor.Type[] values1 = FieldDescriptor.Type.values(); in testFieldTypeTablesMatch() local 418 assertEquals(values1.length, values2.length); in testFieldTypeTablesMatch() 420 for (int i = 0; i < values1.length; i++) { in testFieldTypeTablesMatch() 421 assertEquals(values1[i].toString(), values2[i].toString()); in testFieldTypeTablesMatch() 430 FieldDescriptor.JavaType[] values1 = FieldDescriptor.JavaType.values(); in testJavaTypeTablesMatch() local 433 assertEquals(values1.length, values2.length); in testJavaTypeTablesMatch() 435 for (int i = 0; i < values1.length; i++) { in testJavaTypeTablesMatch() 436 assertEquals(values1[i].toString(), values2[i].toString()); in testJavaTypeTablesMatch()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
D | UnicodeMapTest.java | 377 Set<String> values1 = map1.getAvailableValues(new TreeSet<String>()); in splitTestUnicodeMapGeneralCategory() local 379 if (!TestBoilerplate.verifySetsIdentical(this, values1, values2)) { in splitTestUnicodeMapGeneralCategory() 383 for (Iterator<String> it = values1.iterator(); it.hasNext();) { in splitTestUnicodeMapGeneralCategory()
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
D | UnicodeMapTest.java | 374 Set<String> values1 = map1.getAvailableValues(new TreeSet<String>()); in splitTestUnicodeMapGeneralCategory() local 376 if (!TestBoilerplate.verifySetsIdentical(this, values1, values2)) { in splitTestUnicodeMapGeneralCategory() 380 for (Iterator<String> it = values1.iterator(); it.hasNext();) { in splitTestUnicodeMapGeneralCategory()
|
/external/libxml2/ |
D | xpath.c | 6876 xmlChar **values1; in xmlXPathEqualNodeSets() local 6906 values1 = (xmlChar **) xmlMalloc(ns1->nodeNr * sizeof(xmlChar *)); in xmlXPathEqualNodeSets() 6907 if (values1 == NULL) { in xmlXPathEqualNodeSets() 6914 xmlFree(values1); in xmlXPathEqualNodeSets() 6917 memset(values1, 0, ns1->nodeNr * sizeof(xmlChar *)); in xmlXPathEqualNodeSets() 6922 xmlFree(values1); in xmlXPathEqualNodeSets() 6929 xmlFree(values1); in xmlXPathEqualNodeSets() 6946 if (values1[i] == NULL) in xmlXPathEqualNodeSets() 6947 values1[i] = xmlNodeGetContent(ns1->nodeTab[i]); in xmlXPathEqualNodeSets() 6950 ret = xmlStrEqual(values1[i], values2[j]) ^ neq; in xmlXPathEqualNodeSets() [all …]
|