Home
last modified time | relevance | path

Searched refs:EXPECT (Results 1 – 25 of 44) sorted by relevance

12

/external/vboot_reference/tests/
Dcgptlib_test.c212 EXPECT(GUID_EXPECTED_SIZE == sizeof(Guid)); in StructSizeTest()
213 EXPECT(GPTHEADER_EXPECTED_SIZE == sizeof(GptHeader)); in StructSizeTest()
214 EXPECT(GPTENTRY_EXPECTED_SIZE == sizeof(GptEntry)); in StructSizeTest()
226 EXPECT(GPT_SUCCESS == GptInit(gpt)); in TestBuildTestGptData()
228 EXPECT(GPT_ERROR_INVALID_SECTOR_SIZE == GptInit(gpt)); in TestBuildTestGptData()
262 EXPECT(cases[i].expected_retval == CheckParameters(gpt)); in ParameterTests()
275 EXPECT(HeaderCrc(h1) == h1->header_crc32); in HeaderCrcTest()
280 EXPECT(HeaderCrc(h1) != h1->header_crc32); in HeaderCrcTest()
285 EXPECT(HeaderCrc(h1) != h1->header_crc32); in HeaderCrcTest()
290 EXPECT(HeaderCrc(h1) == h1->header_crc32); in HeaderCrcTest()
[all …]
Dcgptlib_test.h21 #define EXPECT(expr) \ macro
Dcrc32_test.c45 EXPECT(crc32 == cases[i].crc32); in TestCrc32TestVectors()
/external/dtc/tests/
Dfdtget-runtest.sh6 EXPECT=tmp.expect.$$
7 rm -f $LOG $EXPECT
8 trap "rm -f $LOG $EXPECT" 0
11 printf '%b\n' "$expect" > $EXPECT
16 if cmp $EXPECT $LOG>/dev/null; then
21 cat $EXPECT
Dfdtput-runtest.sh12 EXPECT=tmp.expect.$$
13 rm -f $LOG $EXPECT
14 trap "rm -f $LOG $EXPECT" 0
17 echo $expect >$EXPECT
31 if cmp $EXPECT $LOG >/dev/null; then
36 cat $EXPECT
/external/flatbuffers/src/
Didl_parser.cpp62 #define EXPECT(tok) ECHECK(Expect(tok)) macro
516 EXPECT(kTokenIdentifier); in ParseNamespacing()
534 EXPECT(kTokenIdentifier); in ParseTypeIdent()
567 EXPECT(']'); in ParseType()
602 EXPECT(kTokenIdentifier); in ParseField()
603 EXPECT(':'); in ParseField()
734 EXPECT(';'); in ParseField()
766 EXPECT(','); in ParseAnyValue()
771 EXPECT(kTokenIdentifier); in ParseAnyValue()
776 EXPECT(':'); in ParseAnyValue()
[all …]
/external/vulkan-validation-layers/libs/vkjson/
Dvkjson_unittest.cc28 #define EXPECT(X) if (!(X)) \ macro
71 EXPECT(result); in main()
76 EXPECT(!memcmp(&device.properties, &device2.properties, in main()
80 EXPECT(it != device2.formats.end()); in main()
81 EXPECT(!memcmp(&kv.second, &it->second, sizeof(kv.second))); in main()
88 EXPECT(result); in main()
92 EXPECT(!memcmp(&props, &props2, sizeof(props))); in main()
/external/vulkan-validation-layers/tests/
Dvktestbinding.cpp33 …if (EXPECT(create_func(dev.handle(), __VA_ARGS__, NULL, &handle) == VK_SUCCESS)) …
44 #define EXPECT(expr) ((expr) ? true : expect_failure(STRINGIFY(expr), __FILE__, __LINE__, __FUNCTIO… macro
298 if (EXPECT(vkCreateDevice(phy_.handle(), &info, NULL, &dev) == VK_SUCCESS)) in init()
310 EXPECT(queue_node_count >= 1); in init_queues()
340 EXPECT(!queues_[GRAPHICS].empty() || !queues_[COMPUTE].empty()); in init_queues()
359 EXPECT(!formats_.empty()); in init_formats()
369 void Device::wait() { EXPECT(vkDeviceWaitIdle(handle()) == VK_SUCCESS); } in wait()
374 EXPECT(err == VK_SUCCESS || err == VK_TIMEOUT); in wait()
397 EXPECT(vkQueueSubmit(handle(), 1, &submit_info, fence.handle()) == VK_SUCCESS); in submit()
407 void Queue::wait() { EXPECT(vkQueueWaitIdle(handle()) == VK_SUCCESS); } in wait()
[all …]
/external/e2fsprogs/tests/defaults/
De_script17 if [ "$EXPECT"x = x ]; then
18 EXPECT=$SRCDIR/progs/test_data/expect.$class
34 cmp -s $EXPECT $OUT
44 diff $DIFF_OPTS $EXPECT $OUT > $test_name.failed
47 unset EXPECT OUT class instance
/external/libnetfilter_conntrack/utils/
Dexpect_flush.c14 h = nfct_open(EXPECT, 0); in main()
Dexpect_dump.c26 h = nfct_open(EXPECT, 0); in main()
Dexpect_events.c29 h = nfct_open(EXPECT, NF_NETLINK_CONNTRACK_EXP_NEW | in main()
Dexpect_delete.c39 h = nfct_open(EXPECT, 0); in main()
Dexpect_get.c51 h = nfct_open(EXPECT, 0); in main()
Dexpect_create.c115 h = nfct_open(EXPECT, 0); in main()
Dexpect_create_userspace.c120 h = nfct_open(EXPECT, 0); in main()
Dexpect_create_nat.c135 h = nfct_open(EXPECT, 0); in main()
/external/pdfium/testing/
Dgtest_mac.mm19 // to the NSObject protocol. Used to implement {ASSERT|EXPECT}_EQ().
32 // to the NSObject protocol. Used to implement {ASSERT|EXPECT}_NE().
/external/guava/guava/src/com/google/common/net/
DHttpHeaders.java78 public static final String EXPECT = "Expect"; field in HttpHeaders
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
Dcoverage.txt63 EXPECT EOVERFLOW but get not error.
/external/python/cpython2/Modules/_ctypes/libffi/testsuite/
DMakefile.in126 EXPECT = expect
398 EXPECT=$(EXPECT); export EXPECT; \
/external/libnetfilter_conntrack/include/libnetfilter_conntrack/
Dlibnetfilter_conntrack.h25 EXPECT = NFNL_SUBSYS_CTNETLINK_EXP enumerator
/external/googletest/googletest/docs/
DV1_5_AdvancedGuide.md223 If you find the default message generated by `(ASSERT|EXPECT)_PRED*` and
224 `(ASSERT|EXPECT)_(TRUE|FALSE)` unsatisfactory, or some arguments to your
236 a predicate, `(ASSERT|EXPECT)_PRED_FORMAT*` take a _predicate-formatter_
287 special cases of `(EXPECT|ASSERT)_PRED_FORMAT*`. In fact, most of them are
288 indeed defined using `(EXPECT|ASSERT)_PRED_FORMAT*`.
467 `EXPECT` variants do not.
554 …Cygwin, and Mac (the latter three are supported since v1.3.0). `(ASSERT|EXPECT)_DEATH_IF_SUPPORTE…
801 `(ASSERT|EXPECT)_NO_FATAL_FAILURE` assertions or the
1063 …ameter caused it to fail. You can stream a clarifying message into your `EXPECT`/`ASSERT` statemen…
DV1_7_AdvancedGuide.md223 If you find the default message generated by `(ASSERT|EXPECT)_PRED*` and
224 `(ASSERT|EXPECT)_(TRUE|FALSE)` unsatisfactory, or some arguments to your
236 a predicate, `(ASSERT|EXPECT)_PRED_FORMAT*` take a _predicate-formatter_
287 special cases of `(EXPECT|ASSERT)_PRED_FORMAT*`. In fact, most of them are
288 indeed defined using `(EXPECT|ASSERT)_PRED_FORMAT*`.
540 `EXPECT` variants do not.
627 …Cygwin, and Mac (the latter three are supported since v1.3.0). `(ASSERT|EXPECT)_DEATH_IF_SUPPORTE…
874 `(ASSERT|EXPECT)_NO_FATAL_FAILURE` assertions or the
1134 …ameter caused it to fail. You can stream a clarifying message into your `EXPECT`/`ASSERT` statemen…
DV1_6_AdvancedGuide.md223 If you find the default message generated by `(ASSERT|EXPECT)_PRED*` and
224 `(ASSERT|EXPECT)_(TRUE|FALSE)` unsatisfactory, or some arguments to your
236 a predicate, `(ASSERT|EXPECT)_PRED_FORMAT*` take a _predicate-formatter_
287 special cases of `(EXPECT|ASSERT)_PRED_FORMAT*`. In fact, most of them are
288 indeed defined using `(EXPECT|ASSERT)_PRED_FORMAT*`.
540 `EXPECT` variants do not.
627 …Cygwin, and Mac (the latter three are supported since v1.3.0). `(ASSERT|EXPECT)_DEATH_IF_SUPPORTE…
873 `(ASSERT|EXPECT)_NO_FATAL_FAILURE` assertions or the
1133 …ameter caused it to fail. You can stream a clarifying message into your `EXPECT`/`ASSERT` statemen…

12