Home
last modified time | relevance | path

Searched defs:state (Results 1 – 25 of 96) sorted by relevance

1234

/system/utest/perftest/
A Dhandle-creation-test.cpp24 bool ChannelCreateTest(perftest::RepeatState* state) { in ChannelCreateTest()
36 bool EventCreateTest(perftest::RepeatState* state) { in EventCreateTest()
47 bool EventPairCreateTest(perftest::RepeatState* state) { in EventPairCreateTest()
59 bool FifoCreateTest(perftest::RepeatState* state) { in FifoCreateTest()
74 bool PortCreateTest(perftest::RepeatState* state) { in PortCreateTest()
87 bool ProcessCreateTest(perftest::RepeatState* state) { in ProcessCreateTest()
104 bool ThreadCreateTest(perftest::RepeatState* state) { in ThreadCreateTest()
117 bool VmoCreateTest(perftest::RepeatState* state) { in VmoCreateTest()
A Drunner-test.cpp36 static bool NoOpTest(perftest::RepeatState* state) { in NoOpTest()
42 static bool FailingTest(perftest::RepeatState* state) { in FailingTest()
114 auto test_func = [=](perftest::RepeatState* state) { in TestBadKeepRunningCalls()
137 static bool MultistepTest(perftest::RepeatState* state) { in MultistepTest()
185 auto test_func = [&](perftest::RepeatState* state) { in TestNextStepCalledBeforeKeepRunning()
213 auto test_func = [=](perftest::RepeatState* state) { in TestBadNextStepCalls()
248 auto test_func = [&](perftest::RepeatState* state) { in TestBytesProcessedParameter()
277 auto test_func = [&](perftest::RepeatState* state) { in TestBytesProcessedParameterMultistep()
A Dmutex-test.cpp13 bool MutexLockUnlockTest(perftest::RepeatState* state) { in MutexLockUnlockTest()
A Dnull-test.cpp19 bool Null5StepTest(perftest::RepeatState* state) { in Null5StepTest()
A Dmalloc-test.cpp15 bool MallocFreeTest(perftest::RepeatState* state) { in MallocFreeTest()
A Dsleep-test.cpp24 bool SleepTest(perftest::RepeatState* state, zx_duration_t delay_ns) { in SleepTest()
/system/ulib/zircon-internal/include/lib/zircon-internal/
A Dxorshiftrand.h26 static inline uint32_t rand32(rand32_t* state) { in rand32()
34 static inline uint64_t rand64(rand64_t* state) { in rand64()
42 static inline void srand32(rand32_t* state, const char* str) { in srand32()
46 static inline void srand64(rand64_t* state, const char* str) { in srand64()
/system/utest/fs-bench/
A Dfs-bench.cpp39 bool WriteBigFile(ssize_t data_size, perftest::RepeatState* state, Fixture* fixture) { in WriteBigFile()
56 bool ReadBigFile(ssize_t data_size, perftest::RepeatState* state, Fixture* fixture) { in ReadBigFile()
98 perftest::RepeatState* state, Fixture* fixture, in PathWalkDown()
113 perftest::RepeatState* state, Fixture* fixture, in PathWalkUp()
135 bool Mkdir(perftest::RepeatState* state, Fixture* fixture) { in Mkdir()
142 bool Stat(perftest::RepeatState* state, Fixture* fixture) { in Stat()
153 bool Unlink(perftest::RepeatState* state, Fixture* fixture) { in Unlink()
192 write_test.test_fn = [](perftest::RepeatState* state, Fixture* fixture) { in RunBenchmark()
200 read_test.test_fn = [](perftest::RepeatState* state, Fixture* fixture) { in RunBenchmark()
/system/core/userboot/
A Dloader-service.c27 static void loader_config(struct loader_state* state, const char* string, size_t len) { in loader_config()
41 static zx_handle_t try_load_object(struct loader_state* state, in try_load_object()
53 static zx_handle_t load_object(struct loader_state* state, const char* name, size_t len) { in load_object()
62 static bool handle_loader_rpc(struct loader_state* state, in handle_loader_rpc()
173 struct loader_state state = { in loader_service() local
/system/ulib/fit/include/lib/fit/
A Dbridge.h227 bridge_state* state = completion_ref_.get(); in complete_ok() local
235 bridge_state* state = completion_ref_.get(); in complete_ok() local
247 bridge_state* state = completion_ref_.get(); in complete_error() local
255 bridge_state* state = completion_ref_.get(); in complete_error() local
269 bridge_state* state = completion_ref_.get(); in complete_or_abandon() local
A Dbridge_internal.h107 explicit completion_ref(bridge_state* state) in completion_ref()
153 explicit consumption_ref(bridge_state* state) in consumption_ref()
225 bridge_state* state = ref_.get(); in operator() local
232 bridge_state* state = ref_.get(); in operator() local
253 bridge_state* state = ref_.get(); in operator() local
266 bridge_state* state = new bridge_state(); in create() local
A Dscope.h128 promise_handle(state* state, promise_holder_base* promise_holder) in promise_handle() argument
131 state* state = nullptr; variable
/system/utest/fs-test-utils/
A Dperftest_test.cpp184 auto test_1 = [&calls](perftest::RepeatState* state, Fixture* fixture) { in RunTestCasesPreservesOrder()
191 auto test_2 = [&calls](perftest::RepeatState* state, Fixture* fixture) { in RunTestCasesPreservesOrder()
198 auto test_3 = [&calls](perftest::RepeatState* state, Fixture* fixture) { in RunTestCasesPreservesOrder()
234 auto test_1 = [&calls](perftest::RepeatState* state, Fixture* fixture) { in RunTestCasesPreservesOrderWithMultipleSamples()
241 auto test_2 = [&calls](perftest::RepeatState* state, Fixture* fixture) { in RunTestCasesPreservesOrderWithMultipleSamples()
248 auto test_3 = [&calls](perftest::RepeatState* state, Fixture* fixture) { in RunTestCasesPreservesOrderWithMultipleSamples()
289 auto test_1 = [](perftest::RepeatState* state, Fixture* fixture) { in RunTestCasesWritesResultsAndStatistics()
/system/uapp/backlight/
A Dmain.c37 fuchsia_hardware_backlight_State state; in main() local
66 fuchsia_hardware_backlight_State state = {.on = on, .brightness = (uint8_t)brightness}; in main() local
/system/utest/fbl/
A Dcondition_variable_tests.cpp29 } state; in WaitTest() local
35 auto state = reinterpret_cast<State*>(arg); in WaitTest() local
/system/ulib/lockdep/
A Dlock_dep.cpp26 __WEAK void SystemInitThreadLockState(ThreadLockState* state) {} in SystemInitThreadLockState()
/system/dev/usb/xhci/
A Dxhci-transfer-common.cpp19 void xhci_transfer_state_init(xhci_transfer_state_t* state, usb_request_t* req, in xhci_transfer_state_init()
51 zx_status_t xhci_queue_data_trbs(xhci_transfer_ring_t* ring, xhci_transfer_state_t* state, in xhci_queue_data_trbs()
/system/ulib/hid/include/hid/
A Dambient-light.h18 uint8_t state; member
28 uint8_t state; member
/system/ulib/runtests-utils/
A Dfuchsia-run-test.cpp117 const auto state = static_cast<LoaderServiceState*>(ctx); in LoadObject() local
132 const auto state = static_cast<LoaderServiceState*>(ctx); in LoadAbspath() local
141 const auto state = static_cast<LoaderServiceState*>(ctx); in PublishDataSink() local
147 const auto state = static_cast<LoaderServiceState*>(ctx); in Finalizer() local
209 LoaderServiceState* state = nullptr; in FuchsiaRunTest() local
/system/ulib/async/include/lib/async/
A Dreceiver.h31 async_state_t state; member
A Dtrap.h28 async_state_t state; member
A Dtask.h29 async_state_t state; member
/system/host/bootserver/
A Dtftp.c105 transport_state* state = cookie; in transport_send() local
133 transport_state* state = cookie; in transport_recv() local
174 transport_state* state = cookie; in transport_timeout_set() local
185 int transport_init(transport_state* state, uint32_t timeout_ms, struct sockaddr_in6* addr) { in transport_init()
/system/ulib/minfs/
A Dvnode.cpp138 zx_status_t VnodeMinfs::BlocksShrink(Transaction* state, blk_t start) { in BlocksShrink()
683 zx_status_t VnodeMinfs::BlockGet(Transaction* state, blk_t n, blk_t* bno) { in BlockGet()
764 zx_status_t VnodeMinfs::UnlinkChild(Transaction* state, in UnlinkChild()
1179 fbl::unique_ptr<Transaction> state; in Close() local
1288 fbl::unique_ptr<Transaction> state; in Write() local
1473 fbl::unique_ptr<Transaction> state; in Setattr() local
1650 fbl::unique_ptr<Transaction> state; in Create() local
1748 fbl::unique_ptr<Transaction> state; in Unlink() local
1774 fbl::unique_ptr<Transaction> state; in Truncate() local
1961 fbl::unique_ptr<Transaction> state; in Rename() local
[all …]
/system/ulib/inet6/
A Dnetifc.c46 static inline uint32_t rand32(rand32_t* state) { in rand32()
86 uint32_t state; member
95 static int _check_ethbuf(eth_buffer_t* ethbuf, uint32_t state) { in _check_ethbuf()
116 static void check_ethbuf(eth_buffer_t* ethbuf, uint32_t state) { in check_ethbuf()
124 static void eth_put_buffer_locked(eth_buffer_t* buf, uint32_t state) __TA_REQUIRES(eth_lock) { in eth_put_buffer_locked()

Completed in 46 milliseconds

1234