Home
last modified time | relevance | path

Searched refs:loop (Results 1 – 19 of 19) sorted by relevance

/system/extras/simpleperf/runtest/
Dfunction_indirect_recursive.cpp3 void FunctionRecursiveTwo(int loop);
5 void FunctionRecursiveOne(int loop) { in FunctionRecursiveOne() argument
8 if (loop >= 0) { in FunctionRecursiveOne()
9 FunctionRecursiveTwo(loop); in FunctionRecursiveOne()
13 void FunctionRecursiveTwo(int loop) { in FunctionRecursiveTwo() argument
16 if (loop > 0) { in FunctionRecursiveTwo()
17 FunctionRecursiveOne(loop - 1); in FunctionRecursiveTwo()
Dfunction_recursive.cpp3 void FunctionRecursive(int loop) { in FunctionRecursive() argument
6 if (loop > 0) { in FunctionRecursive()
7 FunctionRecursive(loop - 1); in FunctionRecursive()
/system/update_engine/payload_consumer/
Dpostinstall_runner_action_unittest.cc241 ScopedLoopbackDeviceBinder loop(postinstall_image_, false, nullptr); in TEST_F() local
242 RunPosinstallAction(loop.dev(), kPostinstallDefaultScript, false); in TEST_F()
251 ScopedLoopbackDeviceBinder loop(postinstall_image_, false, nullptr); in TEST_F() local
252 RunPosinstallAction(loop.dev(), "bin/postinst_link", false); in TEST_F()
257 ScopedLoopbackDeviceBinder loop(postinstall_image_, false, nullptr); in TEST_F() local
259 RunPosinstallAction(loop.dev(), "bin/postinst_example", true); in TEST_F()
280 ScopedLoopbackDeviceBinder loop(postinstall_image_, false, nullptr); in TEST_F() local
281 RunPosinstallAction(loop.dev(), "bin/postinst_fail1", false); in TEST_F()
288 ScopedLoopbackDeviceBinder loop(postinstall_image_, false, nullptr); in TEST_F() local
289 RunPosinstallAction(loop.dev(), "bin/postinst_fail3", false); in TEST_F()
[all …]
Ddownload_action_unittest.cc131 brillo::FakeMessageLoop loop(nullptr); in TestWithData() local
132 loop.SetAsCurrent(); in TestWithData()
191 loop.PostTask(FROM_HERE, in TestWithData()
193 loop.Run(); in TestWithData()
194 EXPECT_FALSE(loop.PendingTasks()); in TestWithData()
260 brillo::FakeMessageLoop loop(nullptr); in TestTerminateEarly() local
261 loop.SetAsCurrent(); in TestTerminateEarly()
297 loop.PostTask(FROM_HERE, in TestTerminateEarly()
299 loop.Run(); in TestTerminateEarly()
300 EXPECT_FALSE(loop.PendingTasks()); in TestTerminateEarly()
[all …]
/system/core/libpixelflinger/codeflinger/
Ddisassem.c577 int loop; in disasm_print_reglist() local
585 for (loop = 0; loop < 17; ++loop) { in disasm_print_reglist()
587 if (loop == 16 || !(insn & (1 << loop))) { in disasm_print_reglist()
592 if (start == loop - 1) in disasm_print_reglist()
595 di->di_printf("r%d-r%d", start, loop - 1); in disasm_print_reglist()
599 if (insn & (1 << loop)) in disasm_print_reglist()
600 start = loop; in disasm_print_reglist()
/system/bt/vendor_libs/test_vendor_lib/test/
Dhci_transport_unittest.cc108 base::MessageLoopForIO* loop = in StartWatchingOnThread() local
110 ASSERT_TRUE(loop); in StartWatchingOnThread()
111 ASSERT_TRUE(loop->WatchFileDescriptor( in StartWatchingOnThread()
/system/update_engine/
Dsideload_main.cc148 brillo::BaseMessageLoop loop(&base_loop); in ApplyUpdatePayload() local
149 loop.SetAsCurrent(); in ApplyUpdatePayload()
184 loop.Run(); in ApplyUpdatePayload()
Domaha_request_action_unittest.cc314 brillo::FakeMessageLoop loop(nullptr); in TestUpdateCheck() local
315 loop.SetAsCurrent(); in TestUpdateCheck()
357 loop.PostTask(base::Bind([&processor] { processor.StartProcessing(); })); in TestUpdateCheck()
358 LOG(INFO) << "loop.PendingTasks() = " << loop.PendingTasks(); in TestUpdateCheck()
359 loop.Run(); in TestUpdateCheck()
360 LOG(INFO) << "loop.PendingTasks() = " << loop.PendingTasks(); in TestUpdateCheck()
361 EXPECT_FALSE(loop.PendingTasks()); in TestUpdateCheck()
376 brillo::FakeMessageLoop loop(nullptr); in TestEvent() local
377 loop.SetAsCurrent(); in TestEvent()
392 loop.PostTask(base::Bind([&processor] { processor.StartProcessing(); })); in TestEvent()
[all …]
/system/core/init/
Dbuiltins.cpp424 int mode, loop, fd; in do_mount() local
435 loop = open(tmp, mode | O_CLOEXEC); in do_mount()
436 if (loop < 0) { in do_mount()
442 if (ioctl(loop, LOOP_GET_STATUS, &info) < 0 && errno == ENXIO) { in do_mount()
444 if (ioctl(loop, LOOP_SET_FD, fd) >= 0) { in do_mount()
448 ioctl(loop, LOOP_CLR_FD, 0); in do_mount()
449 close(loop); in do_mount()
453 close(loop); in do_mount()
458 close(loop); in do_mount()
/system/nativepower/example/
Dpower_example.cc46 base::MessageLoopForIO loop; in main() local
/system/update_engine/common/
Dutils_unittest.cc334 FakeMessageLoop loop(nullptr); in TEST() local
335 loop.SetAsCurrent(); in TEST()
338 EXPECT_EQ(1, brillo::MessageLoopRunMaxIterations(&loop, 100)); in TEST()
339 EXPECT_FALSE(loop.PendingTasks()); in TEST()
/system/tpm/tpm_manager/client/
Dmain.cc331 tpm_manager::ClientLoop loop; in main() local
332 return loop.Run(); in main()
/system/connectivity/shill/
DHACKING92 the event loop, name the deferred work function by adding "Task" to
138 the loop. Removal of the "const" and reference for trivial types is
/system/tpm/attestation/client/
Dmain.cc501 attestation::ClientLoop loop; in main() local
502 return loop.Run(); in main()
/system/update_engine/sample_images/
Dgenerate_images.sh220 sudo mount "${filename}" "${mntdir}" -o loop
/system/sepolicy/
Dkernel.te53 # kernel thread "loop0", used by the loop block device, for ASECs (b/17158723)
Dfile_contexts59 /dev/block/loop[0-9]* u:object_r:loop_device:s0
/system/core/adb/
DOVERVIEW.TXT26 The ADB server is really one giant multiplexing loop whose purpose is
Dprotocol.txt201 will be a select/epoll loop to handle io between various inbound and