/external/chromium_org/mojo/embedder/ |
D | embedder_unittest.cc | 132 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 142 MOJO_RESULT_OK, in TEST_F() 148 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 158 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(server_mp)); in TEST_F() 159 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(client_mp)); in TEST_F() 188 EXPECT_EQ(MOJO_RESULT_OK, MojoCreateMessagePipe(nullptr, &h0, &h1)); in TEST_F() 192 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 202 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 213 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 223 MOJO_RESULT_OK, in TEST_F() [all …]
|
/external/chromium_org/mojo/system/ |
D | local_data_pipe_unittest.cc | 29 MOJO_RESULT_OK, in TEST() 45 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 60 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 75 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 91 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 108 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 126 EXPECT_EQ(MOJO_RESULT_OK, dp->ConsumerQueryData(MakeUserPointer(&num_bytes))); in TEST() 145 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 154 EXPECT_EQ(MOJO_RESULT_OK, dp->ConsumerQueryData(MakeUserPointer(&num_bytes))); in TEST() 162 MOJO_RESULT_OK, in TEST() [all …]
|
D | shared_buffer_dispatcher_unittest.cc | 36 EXPECT_EQ(MOJO_RESULT_OK, in RevalidateCreateOptions() 61 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 80 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 118 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 130 MOJO_RESULT_OK, in TEST_F() 140 MOJO_RESULT_OK, in TEST_F() 147 EXPECT_EQ(MOJO_RESULT_OK, dispatcher->Close()); in TEST_F() 157 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 167 MOJO_RESULT_OK, in TEST_F() 175 MOJO_RESULT_OK, in TEST_F() [all …]
|
D | core_unittest.cc | 44 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 55 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 63 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 186 EXPECT_EQ(MOJO_RESULT_OK, core()->Close(h)); in TEST_F() 205 EXPECT_EQ(MOJO_RESULT_OK, core()->Close(h)); in TEST_F() 367 EXPECT_EQ(MOJO_RESULT_OK, core()->Close(handles[0])); in TEST_F() 368 EXPECT_EQ(MOJO_RESULT_OK, core()->Close(handles[1])); in TEST_F() 395 EXPECT_NE(MOJO_RESULT_OK, in TEST_F() 494 EXPECT_EQ(MOJO_RESULT_OK, core()->Close(h2)); in TEST_F() 496 EXPECT_EQ(MOJO_RESULT_OK, core()->Close(h)); in TEST_F() [all …]
|
D | remote_message_pipe_unittest.cc | 202 MOJO_RESULT_OK, in TEST_F() 206 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 214 EXPECT_EQ(MOJO_RESULT_OK, waiter.Wait(MOJO_DEADLINE_INDEFINITE, &context)); in TEST_F() 224 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 238 MOJO_RESULT_OK, in TEST_F() 241 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 248 EXPECT_EQ(MOJO_RESULT_OK, waiter.Wait(MOJO_DEADLINE_INDEFINITE, &context)); in TEST_F() 258 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 278 if (result == MOJO_RESULT_OK) { in TEST_F() 321 MOJO_RESULT_OK, in TEST_F() [all …]
|
D | message_pipe_dispatcher_unittest.cc | 67 ASSERT_EQ(MOJO_RESULT_OK, in TEST() 70 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 76 EXPECT_EQ(MOJO_RESULT_OK, w.Wait(MOJO_DEADLINE_INDEFINITE, &context)); in TEST() 100 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 111 ASSERT_EQ(MOJO_RESULT_OK, in TEST() 124 ASSERT_EQ(MOJO_RESULT_OK, in TEST() 138 EXPECT_EQ(MOJO_RESULT_OK, d0->Close()); in TEST() 139 EXPECT_EQ(MOJO_RESULT_OK, d1->Close()); in TEST() 164 EXPECT_EQ(MOJO_RESULT_OK, d0->Close()); in TEST() 165 EXPECT_EQ(MOJO_RESULT_OK, d1->Close()); in TEST() [all …]
|
D | simple_dispatcher_unittest.cc | 116 ASSERT_EQ(MOJO_RESULT_OK, in TEST() 120 EXPECT_EQ(MOJO_RESULT_OK, w.Wait(MOJO_DEADLINE_INDEFINITE, &context)); in TEST() 132 ASSERT_EQ(MOJO_RESULT_OK, in TEST() 136 EXPECT_EQ(MOJO_RESULT_OK, w.Wait(0, &context)); in TEST() 148 ASSERT_EQ(MOJO_RESULT_OK, in TEST() 152 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 165 ASSERT_EQ(MOJO_RESULT_OK, in TEST() 180 ASSERT_EQ(MOJO_RESULT_OK, in TEST() 194 EXPECT_EQ(MOJO_RESULT_OK, d->Close()); in TEST() 220 ASSERT_EQ(MOJO_RESULT_OK, in TEST() [all …]
|
D | multiprocess_message_pipe_unittest.cc | 62 if (result != MOJO_RESULT_OK) { in MOJO_MULTIPROCESS_TEST_CHILD_MAIN() 81 MOJO_RESULT_OK); in MOJO_MULTIPROCESS_TEST_CHILD_MAIN() 96 MOJO_RESULT_OK); in MOJO_MULTIPROCESS_TEST_CHILD_MAIN() 112 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 120 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 136 MOJO_RESULT_OK); in TEST_F() 159 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 168 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 177 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 193 MOJO_RESULT_OK); in TEST_F() [all …]
|
D | message_pipe_unittest.cc | 67 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 78 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 102 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 110 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 149 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 164 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 188 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 212 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 246 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 280 EXPECT_EQ(MOJO_RESULT_OK, in TEST() [all …]
|
D | core.cc | 112 if (result != MOJO_RESULT_OK) in Close() 190 if (result != MOJO_RESULT_OK) in CreateMessagePipe() 217 return MOJO_RESULT_OK; in CreateMessagePipe() 271 if (result != MOJO_RESULT_OK) in WriteMessage() 285 if (rv == MOJO_RESULT_OK) { in WriteMessage() 318 DCHECK_EQ(rv, MOJO_RESULT_OK); in ReadMessage() 340 if (rv == MOJO_RESULT_OK) in ReadMessage() 358 if (result != MOJO_RESULT_OK) in CreateDataPipe() 387 return MOJO_RESULT_OK; in CreateDataPipe() 465 if (result != MOJO_RESULT_OK) in CreateSharedBuffer() [all …]
|
D | data_pipe.cc | 37 return MOJO_RESULT_OK; in ValidateCreateOptions() 44 return MOJO_RESULT_OK; in ValidateCreateOptions() 53 return MOJO_RESULT_OK; in ValidateCreateOptions() 68 return MOJO_RESULT_OK; in ValidateCreateOptions() 76 return MOJO_RESULT_OK; in ValidateCreateOptions() 117 return MOJO_RESULT_OK; // Nothing to do. in ProducerWriteData() 153 if (rv != MOJO_RESULT_OK) in ProducerBeginWriteData() 160 return MOJO_RESULT_OK; in ProducerBeginWriteData() 223 return MOJO_RESULT_OK; in ProducerAddWaiter() 275 return MOJO_RESULT_OK; // Nothing to do. in ConsumerReadData() [all …]
|
D | shared_buffer_dispatcher.cc | 45 return MOJO_RESULT_OK; in ValidateCreateOptions() 52 return MOJO_RESULT_OK; in ValidateCreateOptions() 61 return MOJO_RESULT_OK; in ValidateCreateOptions() 81 return MOJO_RESULT_OK; in Create() 160 return MOJO_RESULT_OK; in ValidateDuplicateOptions() 168 return MOJO_RESULT_OK; in ValidateDuplicateOptions() 177 return MOJO_RESULT_OK; in ValidateDuplicateOptions() 202 if (result != MOJO_RESULT_OK) in DuplicateBufferHandleImplNoLock() 206 return MOJO_RESULT_OK; in DuplicateBufferHandleImplNoLock() 232 return MOJO_RESULT_OK; in MapBufferImplNoLock()
|
D | message_pipe_perftest.cc | 55 MOJO_RESULT_OK); in WriteWaitThenRead() 58 MOJO_RESULT_OK); in WriteWaitThenRead() 66 MOJO_RESULT_OK); in WriteWaitThenRead() 76 MOJO_RESULT_OK); in SendQuitMessage() 124 if (result != MOJO_RESULT_OK) { in MOJO_MULTIPROCESS_TEST_CHILD_MAIN() 136 MOJO_RESULT_OK); in MOJO_MULTIPROCESS_TEST_CHILD_MAIN() 147 MOJO_RESULT_OK); in MOJO_MULTIPROCESS_TEST_CHILD_MAIN()
|
D | data_pipe_unittest.cc | 36 EXPECT_EQ(MOJO_RESULT_OK, in RevalidateCreateOptions() 63 MOJO_RESULT_OK, in TEST() 75 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 97 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 114 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 136 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 157 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 177 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 200 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 221 EXPECT_EQ(MOJO_RESULT_OK, in TEST() [all …]
|
D | local_data_pipe.cc | 101 return MOJO_RESULT_OK; in ProducerWriteDataImplNoLock() 142 return MOJO_RESULT_OK; in ProducerBeginWriteDataImplNoLock() 152 return MOJO_RESULT_OK; in ProducerEndWriteDataImplNoLock() 212 return MOJO_RESULT_OK; in ConsumerReadDataImplNoLock() 240 return MOJO_RESULT_OK; in ConsumerDiscardDataImplNoLock() 247 return MOJO_RESULT_OK; in ConsumerQueryDataImplNoLock() 272 return MOJO_RESULT_OK; in ConsumerBeginReadDataImplNoLock() 281 return MOJO_RESULT_OK; in ConsumerEndReadDataImplNoLock()
|
D | waiter_unittest.cc | 106 thread.waiter()->Awake(MOJO_RESULT_OK, 1); in TEST() 108 EXPECT_EQ(MOJO_RESULT_OK, result); in TEST() 167 thread.waiter()->Awake(MOJO_RESULT_OK, 5); in TEST() 169 EXPECT_EQ(MOJO_RESULT_OK, result); in TEST() 254 thread.waiter()->Awake(MOJO_RESULT_OK, 1); in TEST() 257 EXPECT_EQ(MOJO_RESULT_OK, result); in TEST() 266 thread.waiter()->Awake(MOJO_RESULT_OK, 4); in TEST() 291 thread.waiter()->Awake(MOJO_RESULT_OK, 8); in TEST()
|
/external/chromium_org/mojo/public/c/system/tests/ |
D | core_unittest.cc | 87 EXPECT_EQ(MOJO_RESULT_OK, MojoCreateMessagePipe(NULL, &h0, &h1)); in TEST() 96 EXPECT_EQ(MOJO_RESULT_OK, MojoWait(h0, MOJO_HANDLE_SIGNAL_WRITABLE, 0)); in TEST() 109 MOJO_RESULT_OK, in TEST() 115 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 121 MOJO_RESULT_OK, in TEST() 132 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h0)); in TEST() 140 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h1)); in TEST() 162 EXPECT_EQ(MOJO_RESULT_OK, MojoCreateDataPipe(NULL, &hp, &hc)); in TEST() 171 EXPECT_EQ(MOJO_RESULT_OK, MojoWait(hp, MOJO_HANDLE_SIGNAL_WRITABLE, 0)); in TEST() 189 MOJO_RESULT_OK, in TEST() [all …]
|
D | core_perftest.cc | 42 if (result == MOJO_RESULT_OK) { in Run() 79 if (result == MOJO_RESULT_OK) { in Run() 87 if (result == MOJO_RESULT_OK) { in Run() 123 assert(result == MOJO_RESULT_OK); in MessagePipe_CreateAndClose() 125 assert(result == MOJO_RESULT_OK); in MessagePipe_CreateAndClose() 127 assert(result == MOJO_RESULT_OK); in MessagePipe_CreateAndClose() 139 assert(result == MOJO_RESULT_OK); in MessagePipe_WriteAndRead() 147 assert(result == MOJO_RESULT_OK); in MessagePipe_WriteAndRead() 170 assert(result == MOJO_RESULT_OK); in DoMessagePipeThreadedTest() 195 assert(result == MOJO_RESULT_OK); in DoMessagePipeThreadedTest() [all …]
|
D | core_unittest_pure_c.c | 54 EXPECT_NE(MOJO_RESULT_OK, MojoClose(handle0)); in MinimalCTest() 61 EXPECT_EQ(MOJO_RESULT_OK, MojoCreateMessagePipe(NULL, &handle0, &handle1)); in MinimalCTest() 67 EXPECT_EQ(MOJO_RESULT_OK, in MinimalCTest() 76 MOJO_RESULT_OK, in MinimalCTest() 80 EXPECT_EQ(MOJO_RESULT_OK, in MinimalCTest() 90 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(handle0)); in MinimalCTest() 91 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(handle1)); in MinimalCTest()
|
/external/chromium_org/mojo/public/cpp/system/tests/ |
D | core_unittest.cc | 200 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 205 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 210 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 226 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 238 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 247 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 255 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 269 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 277 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 309 EXPECT_EQ(MOJO_RESULT_OK, in TEST() [all …]
|
/external/chromium_org/ipc/mojo/ |
D | ipc_channel_mojo_readers.cc | 109 if (write_result != MOJO_RESULT_OK) { in OnMessageReceived() 142 if (read_result != MOJO_RESULT_OK) { in Send() 155 if (MOJO_RESULT_OK != write_result) { in Send() 200 if (result != MOJO_RESULT_OK) { in Connect() 216 if (MOJO_RESULT_OK != create_result) { in SendHelloRequest() 230 if (MOJO_RESULT_OK != write_result) { in SendHelloRequest() 237 return MOJO_RESULT_OK; in SendHelloRequest() 253 return MOJO_RESULT_OK; in RespondHelloResponse() 258 if (result != MOJO_RESULT_OK) in OnMessageReceived() 293 if (MOJO_RESULT_OK != write_result) { in RespondHelloRequest() [all …]
|
/external/chromium_org/mojo/public/cpp/bindings/lib/ |
D | connector.cc | 57 if (rv != MOJO_RESULT_OK) { in WaitForIncomingMessage() 62 return (rv == MOJO_RESULT_OK); in WaitForIncomingMessage() 85 case MOJO_RESULT_OK: in Accept() 127 if (result != MOJO_RESULT_OK) { in OnHandleReady() 168 if (rv != MOJO_RESULT_OK || in ReadSingleMessage()
|
/external/chromium_org/mojo/public/cpp/test_support/lib/ |
D | test_utils.cc | 21 return rv == MOJO_RESULT_OK; in WriteTextMessage() 42 if (rv != MOJO_RESULT_OK) in ReadTextMessage() 58 return rv == MOJO_RESULT_OK; in ReadTextMessage() 64 return rv == MOJO_RESULT_OK; in DiscardMessage()
|
/external/chromium_org/mojo/public/cpp/environment/tests/ |
D | async_waiter_unittest.cc | 20 TestAsyncWaitCallback() : result_count_(0), last_result_(MOJO_RESULT_OK) { in TestAsyncWaitCallback() 79 EXPECT_EQ(MOJO_RESULT_OK, callback.last_result()); in TEST_F() 100 EXPECT_EQ(MOJO_RESULT_OK, callback1.last_result()); in TEST_F() 102 EXPECT_EQ(MOJO_RESULT_OK, callback2.last_result()); in TEST_F()
|
/external/chromium_org/device/serial/ |
D | data_sink_receiver.cc | 145 if (result != MOJO_RESULT_OK) { in OnDoneWaiting() 153 if (result == MOJO_RESULT_OK) { in OnDoneWaiting() 166 if (result != MOJO_RESULT_OK) { in OnDoneWaiting() 194 if (result != MOJO_RESULT_OK) { in DoneInternal() 299 if (result != MOJO_RESULT_OK) in Flush() 303 return bytes_to_flush_ == 0 ? MOJO_RESULT_OK : MOJO_RESULT_SHOULD_WAIT; in Flush()
|