Home
last modified time | relevance | path

Searched refs:expect_equal (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/compiler/glsl/tests/
Dblob_test.c50 expect_equal(uint64_t expected, uint64_t actual, const char *test) in expect_equal() function
172 expect_equal(uint32_test, blob_read_uint32(&reader), in test_write_and_read_functions()
174 expect_equal(uint32_overwrite, blob_read_uint32(&reader), in test_write_and_read_functions()
176 expect_equal(uint64_test, blob_read_uint64(&reader), in test_write_and_read_functions()
178 expect_equal((intptr_t) &blob, blob_read_intptr(&reader), in test_write_and_read_functions()
183 expect_equal(reader.end - reader.data, reader.current - reader.data, in test_write_and_read_functions()
185 expect_equal(false, reader.overrun, "read_does_not_overrun"); in test_write_and_read_functions()
224 expect_equal(2 * delta, blob.size - last, "aligned write of intptr"); in test_alignment()
235 expect_equal((intptr_t) &blob, blob_read_intptr(&reader), in test_alignment()
241 expect_equal((intptr_t) &blob, blob_read_intptr(&reader), in test_alignment()
[all …]
Dcache_test.c56 expect_equal(uint64_t actual, uint64_t expected, const char *test) in expect_equal() function
195 expect_equal(err, 0, "Removing " CACHE_TEST_TMP); in test_disk_cache_create()
268 expect_equal(size, 0, "disk_cache_get with non-existent item (size)"); in test_put_and_get()
280 expect_equal(size, sizeof(blob), "disk_cache_get of existing item (size)"); in test_put_and_get()
295 expect_equal(size, sizeof(string), "2nd disk_cache_get of existing item (size)"); in test_put_and_get()
338 expect_equal(size, 1024, "3rd disk_cache_get of existing item (size)"); in test_put_and_get()
360 expect_equal(count, 1, "disk_cache_put eviction with MAX_SIZE=1K"); in test_put_and_get()
389 expect_equal(count, 3, "no eviction before overflow with MAX_SIZE=1M"); in test_put_and_get()
424 expect_equal(count, 1, "eviction after overflow with MAX_SIZE=1M"); in test_put_and_get()
447 expect_equal(result, 0, "disk_cache_has_key before key added"); in test_put_key_and_get_key()
[all …]
/external/eigen/test/
Dmain.h534 bool test_is_equal(const T& actual, const U& expected, bool expect_equal=true);
537 bool test_is_equal(const T& actual, const U& expected, bool expect_equal) in test_is_equal() argument
539 if ((actual==expected) == expect_equal) in test_is_equal()
544 << "\n expected " << (expect_equal ? "= " : "!=") << expected << "\n\n"; in test_is_equal()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dclient_library_test_base.cc340 auto expect_equal = [&](const Literal& actual, const string& error_message) { in ComputeAndCompareLiteralWithStatus() local
345 computation, *expected_ptr, arguments, expect_equal); in ComputeAndCompareLiteralWithStatus()
349 computation, *expected_ptr, arguments, expect_equal, shape_with_layout); in ComputeAndCompareLiteralWithStatus()
/external/llvm/test/Transforms/InstSimplify/
Dfloating-point-compare.ll17 declare void @expect_equal(i1,i1)
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstSimplify/
Dfloating-point-compare.ll185 declare void @expect_equal(i1,i1)
/external/webrtc/talk/app/webrtc/
Dwebrtcsession_unittest.cc786 bool expect_equal) { in CompareIceUfragAndPassword() argument
788 EXPECT_FALSE(expect_equal); in CompareIceUfragAndPassword()
801 EXPECT_FALSE(expect_equal); in CompareIceUfragAndPassword()
806 EXPECT_FALSE(expect_equal); in CompareIceUfragAndPassword()
810 EXPECT_TRUE(expect_equal); in CompareIceUfragAndPassword()