Home
last modified time | relevance | path

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

/external/coreboot/tests/lib/
Dcbfs-lookup-test.c219 &test_file_1, NULL, NULL, &test_file_int_3, in test_cbfs_map()
301 NULL, &test_file_1, &test_file_2, &test_file_int_1, in test_cbfs_cbmem_alloc()
415 &test_file_1, sizeof(test_file_1)); in test_cbfs_file_not_aligned()
478 memcpy(s->cbfs_buf, &test_file_1, sizeof(test_file_1)); in test_cbfs_file_bigger_than_rdev()
500 size_t second_file_start = ALIGN_UP(sizeof(test_file_1), CBFS_ALIGNMENT); in test_cbfs_fail_beyond_rdev()
502 memcpy(s->cbfs_buf, &test_file_1, sizeof(test_file_1)); in test_cbfs_fail_beyond_rdev()
514 assert_ptr_equal(mapping, &s->cbfs_buf[be32_to_cpu(test_file_1.header.offset)]); in test_cbfs_fail_beyond_rdev()
532 size_t second_file_start = ALIGN_UP(sizeof(test_file_1), CBFS_ALIGNMENT) + 5; in test_cbfs_unaligned_file_in_the_middle()
536 memcpy(s->cbfs_buf, &test_file_1, sizeof(test_file_1)); in test_cbfs_unaligned_file_in_the_middle()
545 assert_ptr_equal(mapping, &s->cbfs_buf[be32_to_cpu(test_file_1.header.offset)]); in test_cbfs_unaligned_file_in_the_middle()
[all …]
/external/coreboot/payloads/libpayload/tests/libcbfs/
Dcbfs-lookup-test.c329 &test_file_int_2, NULL, NULL, &test_file_1, in test_cbfs_map()
394 foffset + be32toh(test_file_1.header.offset)); in test_cbfs_map()
432 be32toh(test_file_1.header.offset)); in test_cbfs_invalid_compression_algo()
453 &test_file_1, &test_file_2, &test_file_int_1, in test_cbfs_successful_fallback_to_ro()
508 &test_file_int_2, NULL, NULL, &test_file_1, in test_cbfs_load()
534 foffset + be32toh(test_file_1.header.offset)); in test_cbfs_load()
546 &test_file_int_2, &test_file_1, NULL, in test_cbfs_map_with_mcache()
580 &test_file_int_3, &test_file_1, NULL, in test_cbfs_boot_device_read_failure()
594 foffset + be32toh(test_file_1.header.offset)); in test_cbfs_boot_device_read_failure()
609 &test_file_int_2, NULL, NULL, &test_file_1, in test_cbfs_unverified_area_map()
[all …]
/external/coreboot/tests/include/tests/lib/
Dcbfs_util.h106 extern const struct cbfs_test_file test_file_1;
/external/coreboot/payloads/libpayload/tests/include/mocks/
Dcbfs_util.h108 extern const struct cbfs_test_file test_file_1;
/external/coreboot/tests/mock/
Dcbfs_file_mock.c49 const struct cbfs_test_file test_file_1 = { variable
/external/coreboot/payloads/libpayload/tests/mocks/
Dcbfs_file_mock.c47 const struct cbfs_test_file test_file_1 = { variable
/external/tensorflow/tensorflow/lite/tools/serialization/
Dwriter_lib_test.cc607 const std::string test_file_1 = CreateFilePath("test_while_1.tflite"); in TEST_F() local
608 writer_1.Write(test_file_1); in TEST_F()
620 std::ifstream file_ifs_1(test_file_1, std::ios::in); in TEST_F()