Searched refs:expected (Results 51 - 75 of 76) sorted by relevance

1234

/fuchsia/zircon/system/utest/property/
H A Dproperty.c393 const uintptr_t expected = 0xfeedfacefeedface; local
395 uintptr_t gs_storage = expected;
401 ASSERT_EQ(read_gs(), expected, ""); local
/fuchsia/zircon/system/dev/nand/nandpart/test/
H A Daml-bad-block-test.cpp252 fbl::Vector<uint32_t> expected) {
257 ASSERT_EQ(bad_blocks.size(), expected.size());
259 reinterpret_cast<uint8_t*>(expected.get()),
260 expected.size() * sizeof(uint32_t), "");
/fuchsia/zircon/system/dev/usb/dwc3/
H A Ddwc3.h165 void dwc3_wait_bits(volatile uint32_t* ptr, uint32_t bits, uint32_t expected);
H A Ddwc3.c32 void dwc3_wait_bits(volatile uint32_t* ptr, uint32_t bits, uint32_t expected) { argument
34 while ((value & bits) != expected) {
/fuchsia/zircon/system/uapp/iochk/
H A Diochk.cpp164 uint64_t expected = kBlockHeader | (static_cast<uint64_t>(block_idx) << 32); local
168 if (buf[idx] != expected) {
170 "block_idx=%d offset=%zu expected=0x%016lx val=0x%016lx\n",
171 block_idx, idx, expected, buf[idx]);
175 expected = rand64(&data_gen);
434 // The expected number of random pages we need to hit all of them is
/fuchsia/zircon/system/utest/cobalt-client/
H A Dhistogram_test.cpp64 fidl::VectorView<HistogramBucket> expected) {
66 ASSERT_EQ(actual.count(), expected.count());
70 for (size_t j = 0; j < expected.count(); ++j) {
71 HistogramBucket& expected_bucket = expected[j];
182 // Each thread increses each bucket by 2 * bucket_index, so the expected amount for each bucket
305 // each bucket of the BaseHistogram should be the expected value.
407 // Verify that the data stored through public API, matches the expected values.
413 // Sanity-Check that the internal representation also matches the expected values.
547 // Verify each bucket has the exact value as the expected histogram,
620 // Verify each bucket has the exact value as the expected histogra
63 HistEventValuesEq(fidl::VectorView<HistogramBucket> actual, fidl::VectorView<HistogramBucket> expected) argument
[all...]
/fuchsia/zircon/system/utest/fbl/
H A Dalgorithm_tests.cpp334 T expected = static_cast<T>(300); local
335 EXPECT_EQ(fbl::gcd(val441, val48), expected); local
382 T expected = static_cast<T>(3528000); local
383 EXPECT_EQ(fbl::lcm(val441, val24), expected); local
/fuchsia/zircon/kernel/dev/pcie/
H A Dpcie_bus_driver.cpp132 bool PcieBusDriver::AdvanceState(State expected, State next) { argument
135 if (state_ != expected) {
139 static_cast<uint>(expected),
/fuchsia/zircon/scripts/
H A Dzircon.elf-gdb.py786 # Verify it works as expected
791 expected = relocated + (load_start - base_address)
792 if code_start != expected:
794 % (expected, code_start))
/fuchsia/zircon/system/dev/nand/broker/test/
H A Dbroker-test.cpp75 bool CheckPattern(uint8_t expected, int start, int num_pages, const void* memory);
167 bool NandDevice::CheckPattern(uint8_t expected, int start, int num_pages, const void* memory) { argument
170 if (buffer[i] != expected) {
/fuchsia/zircon/system/dev/misc/tpm/
H A Dtpm-proto.cpp262 static zx_status_t CheckExpectedState(zx_status_t status, bool actual, bool expected) { argument
266 if (actual != expected) {
/fuchsia/zircon/kernel/dev/pcie/include/dev/
H A Dpcie_bus_driver.h224 bool AdvanceState(State expected, State next);
/fuchsia/zircon/kernel/lib/heap/cmpctmalloc/
H A Dcmpctmalloc.c634 unsigned expected = (ROUNDUP(i, 8) >> 3) - 1; local
635 ASSERT(bucket == expected);
656 unsigned expected = bucket_base + ROUNDUP(i, j) / j; local
657 ASSERT(bucket == expected);
690 // first allocation then the test may not work as expected (the memory
730 // If things work as expected the new allocation is at the start of an OS
733 // the middle of an OS allocation, and our test won't work as expected, so
/fuchsia/zircon/system/dev/usb/xhci/
H A Dxhci.c386 void xhci_wait_bits(volatile uint32_t* ptr, uint32_t bits, uint32_t expected) { argument
388 while ((value & bits) != expected) {
394 void xhci_wait_bits64(volatile uint64_t* ptr, uint64_t bits, uint64_t expected) { argument
396 while ((value & bits) != expected) {
H A Dxdc.c77 static void xdc_wait_bits(volatile uint32_t* ptr, uint32_t bits, uint32_t expected) { argument
79 while ((value & bits) != expected) {
/fuchsia/zircon/third_party/uapp/dash/src/bltin/
H A Dprintf.c439 warnx("%s: expected numeric value", s);
/fuchsia/zircon/system/core/virtcon/
H A Dtextcon-test.cpp252 const char *expected = local
258 EXPECT_EQ(strcmp(snapshot.ComparisonString().get(), expected), 0, "");
/fuchsia/zircon/system/dev/input/pc-ps2/
H A Di8042.c324 int expected = (command >> 8) & 0xf; local
326 for (i = 0; i < expected; i++) {
337 return retval ? retval : expected;
/fuchsia/zircon/system/utest/debugger/
H A Ddebugger.cpp196 bool expect_debugger_attached_eq(zx_handle_t inferior, bool expected, const char* msg) { argument
200 ASSERT_EQ(info.debugger_attached, expected, msg);
260 // Verify that the fault is at the PC we expected.
905 // The following signals are expected here. Note that
939 // Verify that the fault is at the PC we expected.
/fuchsia/zircon/system/utest/trace-reader/
H A Drecords_tests.cpp702 auto expected = fbl::StringPrintf("Blob(name: %s, size: %zu)",
704 EXPECT_STR_EQ(expected.c_str(), r.ToString().c_str());
/fuchsia/zircon/system/dev/usb/dwc2/
H A Ddwc2.c366 static zx_status_t wait_bits(volatile uint32_t* ptr, uint32_t bits, uint32_t expected) { argument
368 if ((*ptr & bits) == expected) {
/fuchsia/zircon/third_party/tools/android/avb/
H A Davbtool255 This number is expected to be in big-endian, e.g. with the most
451 raw_data_to_sign: Data to sign (bytearray or str expected).
548 # is OK since 'avbtool verify_image' is not expected to run on the
1718 sys.stderr.write('No expected chain partition for partition {}. Use '
1719 '--expected_chain_partition to specify expected '
1740 'expected data'.format(self.partition_name))
3814 'expected at runtime.',
/fuchsia/zircon/system/ulib/minfs/
H A Dvnode.cpp826 // caller is expected to prevent unlink of "." or ".."
1661 size_t expected = DirentSize(1) + DirentSize(2); local
1662 if ((status = vn->WriteExactInternal(state.get(), bdata, expected, 0)) != ZX_OK) {
/fuchsia/zircon/system/utest/core/vmar/
H A Dvmar.cpp45 zx_status_t expected = (bitmap & 1) ? ZX_OK : ZX_ERR_NO_MEMORY; local
46 if (zx_process_read_memory(process, base + i * PAGE_SIZE, buf, 1, &len) != expected) {
1983 // And crossing the boundary works as expected.
/fuchsia/zircon/system/utest/fuzz-utils/
H A Dfuzzer.cpp117 fbl::String expected; local

Completed in 246 milliseconds

1234