Home
last modified time | relevance | path

Searched refs:MOJO_HANDLE_INVALID (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/mojo/system/
Dcore_impl.cc97 if (handle == MOJO_HANDLE_INVALID) in Close()
157 if (h0 == MOJO_HANDLE_INVALID) in CreateMessagePipe()
161 if (h1 == MOJO_HANDLE_INVALID) { in CreateMessagePipe()
380 if (producer_handle == MOJO_HANDLE_INVALID) in CreateDataPipe()
384 if (consumer_handle == MOJO_HANDLE_INVALID) { in CreateDataPipe()
467 : next_handle_(MOJO_HANDLE_INVALID + 1) { in CoreImpl()
476 if (handle == MOJO_HANDLE_INVALID) in GetDispatcher()
491 DCHECK_NE(next_handle_, MOJO_HANDLE_INVALID); in AddDispatcherNoLock()
494 return MOJO_HANDLE_INVALID; in AddDispatcherNoLock()
500 if (next_handle_ == MOJO_HANDLE_INVALID) in AddDispatcherNoLock()
[all …]
Dcore_impl_unittest.cc37 EXPECT_NE(h, MOJO_HANDLE_INVALID); in TEST_F()
126 EXPECT_EQ(MOJO_RESULT_INVALID_ARGUMENT, core()->Close(MOJO_HANDLE_INVALID)); in TEST_F()
142 core()->Wait(MOJO_HANDLE_INVALID, MOJO_WAIT_FLAG_EVERYTHING, in TEST_F()
151 MojoHandle handles[2] = { MOJO_HANDLE_INVALID, MOJO_HANDLE_INVALID }; in TEST_F()
202 core()->WriteMessage(MOJO_HANDLE_INVALID, NULL, 0, NULL, 0, in TEST_F()
207 MojoHandle handles[2] = { MOJO_HANDLE_INVALID, MOJO_HANDLE_INVALID }; in TEST_F()
296 core()->ReadMessage(MOJO_HANDLE_INVALID, NULL, NULL, NULL, NULL, in TEST_F()
330 EXPECT_NE(h[0], MOJO_HANDLE_INVALID); in TEST_F()
331 EXPECT_NE(h[1], MOJO_HANDLE_INVALID); in TEST_F()
503 EXPECT_NE(h_received, MOJO_HANDLE_INVALID); in TEST_F()
/external/chromium_org/mojo/public/tests/
Dsystem_core_unittest.cc29 EXPECT_EQ(MOJO_RESULT_INVALID_ARGUMENT, MojoClose(MOJO_HANDLE_INVALID)); in TEST()
31 MojoWait(MOJO_HANDLE_INVALID, MOJO_WAIT_FLAG_EVERYTHING, 1000000)); in TEST()
32 h_0 = MOJO_HANDLE_INVALID; in TEST()
Dsystem_core_cpp_unittest.cc24 EXPECT_EQ(MOJO_HANDLE_INVALID, kInvalidHandleValue); in TEST()
/external/chromium_org/mojo/public/system/
Dcore_cpp.h77 const MojoHandle kInvalidHandleValue = MOJO_HANDLE_INVALID;
82 Handle() : value_(MOJO_HANDLE_INVALID) {} in Handle()
93 return value_ != MOJO_HANDLE_INVALID; in is_valid()
Dcore.h30 const MojoHandle MOJO_HANDLE_INVALID = 0; variable
32 #define MOJO_HANDLE_INVALID ((MojoHandle) 0) macro
/external/chromium_org/mojo/apps/js/bindings/
Dcore.cc25 MojoHandle handle_0 = MOJO_HANDLE_INVALID; in CreateMessagePipe()
26 MojoHandle handle_1 = MOJO_HANDLE_INVALID; in CreateMessagePipe()