Home
last modified time | relevance | path

Searched refs:expect_size (Results 1 – 11 of 11) sorted by relevance

/external/vboot_reference/tests/
Dvb20_verify_fw.c91 uint32_t expect_size; in hash_body() local
101 rv = vb2api_init_hash(ctx, VB2_HASH_TAG_FW_BODY, &expect_size); in hash_body()
105 printf("Expect %d bytes of body...\n", expect_size); in hash_body()
108 while (expect_size) { in hash_body()
110 if (size > expect_size) in hash_body()
111 size = expect_size; in hash_body()
123 expect_size -= size; in hash_body()
/external/OpenCL-CTS/test_conformance/api/
Dtest_sub_group_dispatch.cpp138 size_t expect_size = kernel_max_subgroup_size * i; in test_sub_group_dispatch() local
147 if (ret_ndrange1d != expect_size) in test_sub_group_dispatch()
149 …_KERNEL_LOCAL_SIZE_FOR_SUB_GROUP_COUNT! (Expected %d, got %d)\n", (int)expect_size, (int)ret_ndran… in test_sub_group_dispatch()
169 if (ret_ndrange2d_flattened != expect_size || in test_sub_group_dispatch()
172 …_KERNEL_LOCAL_SIZE_FOR_SUB_GROUP_COUNT! (Expected %d, got %d)\n", (int)expect_size, (int)ret_ndran… in test_sub_group_dispatch()
192 if (ret_ndrange3d_flattened != expect_size || in test_sub_group_dispatch()
196 …_KERNEL_LOCAL_SIZE_FOR_SUB_GROUP_COUNT! (Expected %d, got %d)\n", (int)expect_size, (int)ret_ndran… in test_sub_group_dispatch()
/external/cronet/buildtools/third_party/libc++/trunk/test/libcxx/language.support/support.dynamic/
Dlibcpp_deallocate.sh.cpp73 bool expect_size(int n) const { in expect_size() function
164 assert(stats.expect_size(with_size_val)); in test_libcpp_dealloc()
180 assert(stats.expect_size(with_size_val)); in test_libcpp_dealloc()
227 assert(stats.expect_size(sizeof(int))); in test_allocator_and_new_match()
233 assert(stats.expect_size(sizeof(AlignedType))); in test_allocator_and_new_match()
241 assert(stats.expect_size(sizeof(int))); in test_allocator_and_new_match()
/external/libcxx/test/libcxx/language.support/support.dynamic/
Dlibcpp_deallocate.sh.cpp80 bool expect_size(int n) const { in expect_size() function
167 assert(stats.expect_size(with_size_val)); in test_libcpp_dealloc()
183 assert(stats.expect_size(with_size_val)); in test_libcpp_dealloc()
230 assert(stats.expect_size(sizeof(int))); in test_allocator_and_new_match()
236 assert(stats.expect_size(sizeof(AlignedType))); in test_allocator_and_new_match()
244 assert(stats.expect_size(sizeof(int))); in test_allocator_and_new_match()
/external/mesa3d/src/mesa/main/
Dtexcompress_cpal.c114 unsigned w, h, expect_size; in _mesa_cpal_compressed_size() local
124 expect_size = info->palette_size * info->size; in _mesa_cpal_compressed_size()
134 expect_size += (w * h + 1) / 2; in _mesa_cpal_compressed_size()
136 expect_size += w * h; in _mesa_cpal_compressed_size()
139 return expect_size; in _mesa_cpal_compressed_size()
/external/dtc/tests/
Dutilfdt_test.c20 static void check(const char *fmt, int expect_type, int expect_size) in check() argument
30 if (expect_size != size) in check()
32 expect_size, size); in check()
/external/virglrenderer/server/
Drender_client.c246 size_t expect_size; member
255 NAME] = { .expect_size = sizeof(struct render_client_op_##name##_request), \
280 if (entry->expect_size != req_size) { in render_client_dispatch()
Drender_context.c298 size_t expect_size; member
310 NAME] = { .expect_size = sizeof(struct render_context_op_##name##_request), \
344 if (entry->expect_size != req_size || entry->max_fd_count < req_fd_count) { in render_context_dispatch()
/external/vboot_reference/host/arch/x86/lib/
Dcrossystem_arch.c312 int expect_size; in VbSharedDataRead() local
321 expect_size = VB_SHARED_DATA_HEADER_SIZE_V1; in VbSharedDataRead()
324 expect_size = sizeof(VbSharedDataHeader); in VbSharedDataRead()
327 if (got_size < expect_size) { in VbSharedDataRead()
/external/vboot_reference/host/arch/x86_64/lib/
Dcrossystem_arch.c312 int expect_size; in VbSharedDataRead() local
321 expect_size = VB_SHARED_DATA_HEADER_SIZE_V1; in VbSharedDataRead()
324 expect_size = sizeof(VbSharedDataHeader); in VbSharedDataRead()
327 if (got_size < expect_size) { in VbSharedDataRead()
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dbtf.c7549 int test_size, expect_size; in do_test_dedup() local
7554 expect_size = btf_type_size(expect_type); in do_test_dedup()
7556 if (CHECK(test_size != expect_size, in do_test_dedup()
7558 i, test_size, expect_size)) { in do_test_dedup()