Home
last modified time | relevance | path

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

/third_party/mesa3d/src/util/
Dblob_test.c54 expect_equal(uint64_t expected, uint64_t actual, const char *test) in expect_equal() function
176 expect_equal(uint32_test, blob_read_uint32(&reader), in test_write_and_read_functions()
178 expect_equal(uint32_overwrite, blob_read_uint32(&reader), in test_write_and_read_functions()
180 expect_equal(uint64_test, blob_read_uint64(&reader), in test_write_and_read_functions()
182 expect_equal((intptr_t) &blob, blob_read_intptr(&reader), in test_write_and_read_functions()
187 expect_equal(reader.end - reader.data, reader.current - reader.data, in test_write_and_read_functions()
189 expect_equal(false, reader.overrun, "read_does_not_overrun"); in test_write_and_read_functions()
228 expect_equal(2 * delta, blob.size - last, "aligned write of intptr"); in test_alignment()
239 expect_equal((intptr_t) &blob, blob_read_intptr(&reader), in test_alignment()
245 expect_equal((intptr_t) &blob, blob_read_intptr(&reader), in test_alignment()
[all …]
/third_party/mesa3d/src/util/tests/cache/
Dcache_test.c65 expect_equal(uint64_t actual, uint64_t expected, const char *test) in expect_equal() function
267 expect_equal(err, 0, "Removing " CACHE_TEST_TMP); in test_disk_cache_create()
319 expect_equal(size, 0, "disk_cache_get with non-existent item (size)"); in test_put_and_get()
329 expect_equal(size, sizeof(blob), "disk_cache_get of existing item (size)"); in test_put_and_get()
342 expect_equal(size, sizeof(string), "2nd disk_cache_get of existing item (size)"); in test_put_and_get()
386 expect_equal(size, 1024, "3rd disk_cache_get of existing item (size)"); in test_put_and_get()
408 expect_equal(count, 1, "disk_cache_put eviction with MAX_SIZE=1K"); in test_put_and_get()
434 expect_equal(count, 3, "no eviction before overflow with MAX_SIZE=1M"); in test_put_and_get()
467 expect_equal(count, 1, "eviction after overflow with MAX_SIZE=1M"); in test_put_and_get()
494 expect_equal(result, 0, "disk_cache_has_key before key added"); in test_put_key_and_get_key()
[all …]
/third_party/musl/libc-test/src/functional/
Dtest-malloc-stats-common.h82 static int expect_equal(long long amt, long long value, const char *amt_name) in expect_equal() function
105 result &= expect_equal( in validate_total_allocated()
114 int result = expect_equal(total_stats->total_allocated_memory, 0, "allocated memory"); in validate_all_freed()
115 result &= expect_equal(total_stats->total_mmapped_memory, 0, "mmapped memory"); in validate_all_freed()
116 result &= expect_equal(total_stats->mmapped_regions, 0, "mmapped regions"); in validate_all_freed()
Dtest-malloc-info-stats-print.h164 result &= expect_equal(stats->mmapped_regions, 1, "mmapped regions"); in validate_allocated_size()
/third_party/ltp/tools/sparse/sparse-src/
Dparse.c2624 int expect_equal = 0; in single_initializer() local
2646 expect_equal = 1; in single_initializer()
2662 expect_equal = 1; in single_initializer()
2667 if (nested && !expect_equal) { in single_initializer()
2671 expect_equal = 1; in single_initializer()
2673 if (expect_equal) in single_initializer()
/third_party/skia/tests/
DSkSLDSLTest.cpp142 static void expect_equal(skiatest::Reporter* r, int lineNumber, T& input, const char* expected) { in expect_equal() function
151 static void expect_equal(skiatest::Reporter* r, int lineNumber, T&& dsl, const char* expected) { in expect_equal() function
153 return expect_equal(r, lineNumber, dsl, expected); in expect_equal()
156 #define EXPECT_EQUAL(a, b) expect_equal(r, __LINE__, (a), (b))