Home
last modified time | relevance | path

Searched refs:cur_flags (Results 1 – 2 of 2) sorted by relevance

/external/perfetto/src/base/
Dpipe.cc56 int cur_flags = fcntl(*p.rd, F_GETFL, 0); in Create() local
57 PERFETTO_CHECK(cur_flags >= 0); in Create()
58 PERFETTO_CHECK(fcntl(*p.rd, F_SETFL, cur_flags | O_NONBLOCK) == 0); in Create()
62 int cur_flags = fcntl(*p.wr, F_GETFL, 0); in Create() local
63 PERFETTO_CHECK(cur_flags >= 0); in Create()
64 PERFETTO_CHECK(fcntl(*p.wr, F_SETFL, cur_flags | O_NONBLOCK) == 0); in Create()
/external/perfetto/src/profiling/memory/
Dheapprofd_end_to_end_test.cc1464 int cur_flags = fcntl(signal_pipe[0], F_GETFL, 0); in TEST_P() local
1465 PERFETTO_CHECK(cur_flags >= 0); in TEST_P()
1466 PERFETTO_CHECK(fcntl(signal_pipe[0], F_SETFL, cur_flags | O_NONBLOCK) == 0); in TEST_P()
1467 cur_flags = fcntl(signal_pipe[1], F_GETFL, 0); in TEST_P()
1468 PERFETTO_CHECK(cur_flags >= 0); in TEST_P()
1469 PERFETTO_CHECK(fcntl(signal_pipe[1], F_SETFL, cur_flags | O_NONBLOCK) == 0); in TEST_P()
1549 int cur_flags = fcntl(signal_pipe[0], F_GETFL, 0); in TEST_P() local
1550 PERFETTO_CHECK(cur_flags >= 0); in TEST_P()
1551 PERFETTO_CHECK(fcntl(signal_pipe[0], F_SETFL, cur_flags | O_NONBLOCK) == 0); in TEST_P()
1552 cur_flags = fcntl(signal_pipe[1], F_GETFL, 0); in TEST_P()
[all …]