Searched refs:expect_equal (Results 1 - 4 of 4) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/tests/
H A Dblob_test.c54 expect_equal(uint64_t expected, uint64_t actual, const char *test) function in typeref:typename:void
176 expect_equal(uint32_test, blob_read_uint32(&reader),
178 expect_equal(uint32_overwrite, blob_read_uint32(&reader),
180 expect_equal(uint64_test, blob_read_uint64(&reader),
182 expect_equal((intptr_t) &blob, blob_read_intptr(&reader),
187 expect_equal(reader.end - reader.data, reader.current - reader.data,
189 expect_equal(false, reader.overrun, "read_does_not_overrun");
228 expect_equal(2 * delta, blob.size - last, "aligned write of intptr");
239 expect_equal((intptr_t) &blob, blob_read_intptr(&reader),
245 expect_equal((intptr_
[all...]
H A Dcache_test.c56 expect_equal(uint64_t actual, uint64_t expected, const char *test) function in typeref:typename:void
245 expect_equal(err, 0, "Removing " CACHE_TEST_TMP);
284 expect_equal(size, 0, "disk_cache_get with non-existent item (size)");
296 expect_equal(size, sizeof(blob), "disk_cache_get of existing item (size)");
311 expect_equal(size, sizeof(string), "2nd disk_cache_get of existing item (size)");
354 expect_equal(size, 1024, "3rd disk_cache_get of existing item (size)");
376 expect_equal(count, 1, "disk_cache_put eviction with MAX_SIZE=1K");
405 expect_equal(count, 3, "no eviction before overflow with MAX_SIZE=1M");
440 expect_equal(count, 1, "eviction after overflow with MAX_SIZE=1M");
463 expect_equal(resul
[all...]
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dblob_test.c54 expect_equal(uint64_t expected, uint64_t actual, const char *test) function in typeref:typename:void
176 expect_equal(uint32_test, blob_read_uint32(&reader),
178 expect_equal(uint32_overwrite, blob_read_uint32(&reader),
180 expect_equal(uint64_test, blob_read_uint64(&reader),
182 expect_equal((intptr_t) &blob, blob_read_intptr(&reader),
187 expect_equal(reader.end - reader.data, reader.current - reader.data,
189 expect_equal(false, reader.overrun, "read_does_not_overrun");
228 expect_equal(2 * delta, blob.size - last, "aligned write of intptr");
239 expect_equal((intptr_t) &blob, blob_read_intptr(&reader),
245 expect_equal((intptr_
[all...]
/xsrc/external/mit/MesaLib/dist/src/util/tests/cache/
H A Dcache_test.c65 expect_equal(uint64_t actual, uint64_t expected, const char *test) function in typeref:typename:void
267 expect_equal(err, 0, "Removing " CACHE_TEST_TMP);
319 expect_equal(size, 0, "disk_cache_get with non-existent item (size)");
329 expect_equal(size, sizeof(blob), "disk_cache_get of existing item (size)");
342 expect_equal(size, sizeof(string), "2nd disk_cache_get of existing item (size)");
386 expect_equal(size, 1024, "3rd disk_cache_get of existing item (size)");
408 expect_equal(count, 1, "disk_cache_put eviction with MAX_SIZE=1K");
434 expect_equal(count, 3, "no eviction before overflow with MAX_SIZE=1M");
467 expect_equal(count, 1, "eviction after overflow with MAX_SIZE=1M");
494 expect_equal(resul
[all...]

Completed in 5 milliseconds