/external/libchrome/mojo/core/ |
D | trap_unittest.cc | 122 EXPECT_EQ(MOJO_RESULT_OK, MojoCreateTrap(&ExpectNoNotification, nullptr, &t)); in TEST_F() 144 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(buffer_handle)); in TEST_F() 151 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(t)); in TEST_F() 167 EXPECT_EQ(MOJO_RESULT_OK, event.result); in TEST_F() 172 EXPECT_EQ(MOJO_RESULT_OK, helper.CreateTrap(&t)); in TEST_F() 173 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 177 EXPECT_EQ(MOJO_RESULT_OK, MojoArmTrap(t, nullptr, nullptr, nullptr)); in TEST_F() 202 EXPECT_EQ(MOJO_RESULT_OK, blocking_events[0].result); in TEST_F() 210 EXPECT_EQ(MOJO_RESULT_OK, MojoArmTrap(t, nullptr, nullptr, nullptr)); in TEST_F() 212 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(t)); in TEST_F() [all …]
|
D | data_pipe_unittest.cc | 55 CHECK_EQ(MOJO_RESULT_OK, MojoClose(producer_)); in ~DataPipeTest() 57 CHECK_EQ(MOJO_RESULT_OK, MojoClose(consumer_)); in ~DataPipeTest() 67 if (rv == MOJO_RESULT_OK) { in ReadEmptyMessageWithHandles() 165 ASSERT_EQ(MOJO_RESULT_OK, Create(&options)); in TEST_F() 176 ASSERT_EQ(MOJO_RESULT_OK, WriteData(&elements[0], &num_bytes)); in TEST_F() 180 ASSERT_EQ(MOJO_RESULT_OK, in TEST_F() 187 ASSERT_EQ(MOJO_RESULT_OK, ReadData(&elements[0], &num_bytes)); in TEST_F() 217 ASSERT_EQ(MOJO_RESULT_OK, in TEST_F() 219 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(producer_handle)); in TEST_F() 220 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(consumer_handle)); in TEST_F() [all …]
|
D | core_unittest.cc | 55 ASSERT_EQ(MOJO_RESULT_OK, core()->CreateMessage(nullptr, &message)); in TEST_F() 56 ASSERT_EQ(MOJO_RESULT_OK, core()->WriteMessage(h, message, nullptr)); in TEST_F() 60 ASSERT_EQ(MOJO_RESULT_OK, core()->ReadMessage(h, nullptr, &message)); in TEST_F() 62 ASSERT_EQ(MOJO_RESULT_OK, core()->ReadMessage(h, nullptr, &message)); in TEST_F() 95 ASSERT_EQ(MOJO_RESULT_OK, core()->Close(h)); in TEST_F() 110 ASSERT_EQ(MOJO_RESULT_OK, core()->Close(h)); in TEST_F() 138 ASSERT_EQ(MOJO_RESULT_OK, core()->Close(h)); in TEST_F() 146 ASSERT_EQ(MOJO_RESULT_OK, core()->CreateMessagePipe(nullptr, &h[0], &h[1])); in TEST_F() 155 EXPECT_EQ(MOJO_RESULT_OK, core()->QueryHandleSignalsState(h[0], &hss[0])); in TEST_F() 156 EXPECT_EQ(MOJO_RESULT_OK, core()->QueryHandleSignalsState(h[1], &hss[1])); in TEST_F() [all …]
|
D | signals_unittest.cc | 37 EXPECT_EQ(MOJO_RESULT_OK, MojoQueryHandleSignalsState(a, &state)); in TEST_F() 45 EXPECT_EQ(MOJO_RESULT_OK, MojoQueryHandleSignalsState(b, &state)); in TEST_F() 54 EXPECT_EQ(MOJO_RESULT_OK, WaitForSignals(b, MOJO_HANDLE_SIGNAL_READABLE)); in TEST_F() 56 EXPECT_EQ(MOJO_RESULT_OK, MojoQueryHandleSignalsState(b, &state)); in TEST_F() 67 EXPECT_EQ(MOJO_RESULT_OK, MojoQueryHandleSignalsState(b, &state)); in TEST_F() 75 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(a)); in TEST_F() 77 EXPECT_EQ(MOJO_RESULT_OK, WaitForSignals(b, MOJO_HANDLE_SIGNAL_PEER_CLOSED)); in TEST_F() 79 EXPECT_EQ(MOJO_RESULT_OK, MojoQueryHandleSignalsState(b, &state)); in TEST_F() 91 EXPECT_EQ(MOJO_RESULT_OK, MojoQueryHandleSignalsState(a, &state)); in TEST_F() 95 EXPECT_EQ(MOJO_RESULT_OK, MojoQueryHandleSignalsState(b, &state)); in TEST_F() [all …]
|
D | message_pipe_unittest.cc | 36 CHECK_EQ(MOJO_RESULT_OK, MojoCreateMessagePipe(nullptr, &pipe0_, &pipe1_)); in MessagePipeTest() 41 CHECK_EQ(MOJO_RESULT_OK, MojoClose(pipe0_)); in ~MessagePipeTest() 43 CHECK_EQ(MOJO_RESULT_OK, MojoClose(pipe1_)); in ~MessagePipeTest() 61 if (rv != MOJO_RESULT_OK) in ReadMessage() 72 CHECK_EQ(MOJO_RESULT_OK, rv); in ReadMessage() 77 CHECK_EQ(MOJO_RESULT_OK, MojoDestroyMessage(message_handle)); in ReadMessage() 90 ASSERT_EQ(MOJO_RESULT_OK, in TEST_F() 129 ASSERT_EQ(MOJO_RESULT_OK, WriteMessage(pipe1_, buffer, sizeof(buffer[0]))); in TEST_F() 132 ASSERT_EQ(MOJO_RESULT_OK, in TEST_F() 139 ASSERT_EQ(MOJO_RESULT_OK, ReadMessage(pipe0_, buffer, &buffer_size)); in TEST_F() [all …]
|
D | shared_buffer_dispatcher_unittest.cc | 40 EXPECT_EQ(MOJO_RESULT_OK, SharedBufferDispatcher::ValidateCreateOptions( in RevalidateCreateOptions() 60 EXPECT_EQ(MOJO_RESULT_OK, SharedBufferDispatcher::ValidateCreateOptions( in TEST_F() 78 EXPECT_EQ(MOJO_RESULT_OK, SharedBufferDispatcher::ValidateCreateOptions( in TEST_F() 113 EXPECT_EQ(MOJO_RESULT_OK, SharedBufferDispatcher::Create( in TEST_F() 121 EXPECT_EQ(MOJO_RESULT_OK, dispatcher->MapBuffer(0, 100, &mapping1)); in TEST_F() 129 EXPECT_EQ(MOJO_RESULT_OK, dispatcher->MapBuffer(50, 50, &mapping2)); in TEST_F() 135 EXPECT_EQ(MOJO_RESULT_OK, dispatcher->Close()); in TEST_F() 148 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 158 EXPECT_EQ(MOJO_RESULT_OK, dispatcher->MapBuffer(0, 100, &mapping1)); in TEST_F() 166 EXPECT_EQ(MOJO_RESULT_OK, dispatcher->MapBuffer(50, 50, &mapping2)); in TEST_F() [all …]
|
D | message_unittest.cc | 38 DCHECK_EQ(MOJO_RESULT_OK, rv); in MakeMessageHandle() 44 DCHECK_EQ(MOJO_RESULT_OK, rv); in MakeMessageHandle() 56 DCHECK_EQ(MOJO_RESULT_OK, rv); in UnwrapMessageHandle() 58 DCHECK_EQ(MOJO_RESULT_OK, rv); in UnwrapMessageHandle() 88 DCHECK_EQ(MOJO_RESULT_OK, rv); in SerializeMessageContext() 181 ASSERT_EQ(MOJO_RESULT_OK, MojoCreateMessage(nullptr, &message_handle)); in TEST_F() 182 ASSERT_EQ(MOJO_RESULT_OK, MojoSetMessageContext(message_handle, 0, nullptr, in TEST_F() 184 ASSERT_EQ(MOJO_RESULT_OK, MojoDestroyMessage(message_handle)); in TEST_F() 196 MOJO_RESULT_OK, in TEST_F() 199 EXPECT_EQ(MOJO_RESULT_OK, WaitForSignals(b, MOJO_HANDLE_SIGNAL_READABLE)); in TEST_F() [all …]
|
D | quota_unittest.cc | 18 if (event->result == MOJO_RESULT_OK) in QuotaExceededEventHandler() 76 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 83 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 87 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 97 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 110 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 117 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 121 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 131 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 146 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() [all …]
|
D | invitation_unittest.cc | 96 EXPECT_EQ(MOJO_RESULT_OK, MojoCreateInvitation(nullptr, &invitation)); in TEST_F() 97 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(invitation)); in TEST_F() 102 EXPECT_EQ(MOJO_RESULT_OK, MojoCreateInvitation(&options, &invitation)); in TEST_F() 103 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(invitation)); in TEST_F() 117 EXPECT_EQ(MOJO_RESULT_OK, MojoCreateInvitation(nullptr, &invitation)); in TEST_F() 211 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(invitation)); in TEST_F() 216 EXPECT_EQ(MOJO_RESULT_OK, MojoCreateInvitation(nullptr, &invitation)); in TEST_F() 219 EXPECT_EQ(MOJO_RESULT_OK, MojoAttachMessagePipeToInvitation( in TEST_F() 224 EXPECT_EQ(MOJO_RESULT_OK, MojoExtractMessagePipeFromInvitation( in TEST_F() 228 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(invitation)); in TEST_F() [all …]
|
D | mojo_core_unittest.cc | 15 EXPECT_EQ(MOJO_RESULT_OK, MojoCreateMessagePipe(nullptr, &a, &b)); in TEST() 18 EXPECT_EQ(MOJO_RESULT_OK, MojoCreateMessage(nullptr, &m)); in TEST() 19 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 21 EXPECT_EQ(MOJO_RESULT_OK, MojoWriteMessage(a, m, nullptr)); in TEST() 25 EXPECT_EQ(MOJO_RESULT_OK, MojoQueryHandleSignalsState(b, &state)); in TEST() 28 EXPECT_EQ(MOJO_RESULT_OK, MojoReadMessage(b, nullptr, &m)); in TEST() 31 EXPECT_EQ(MOJO_RESULT_OK, MojoGetMessageContext(m, nullptr, &context)); in TEST() 34 EXPECT_EQ(MOJO_RESULT_OK, MojoDestroyMessage(m)); in TEST() 35 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(b)); in TEST() 36 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(a)); in TEST()
|
D | embedder_unittest.cc | 53 if (result != MOJO_RESULT_OK) in CreateSharedBufferFromRegion() 57 return MOJO_RESULT_OK; in CreateSharedBufferFromRegion() 69 return MOJO_RESULT_OK; in ExtractRegionFromSharedBuffer() 90 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(server_mp)); in TEST_F() 91 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(client_mp)); in TEST_F() 119 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(server_mp2)); in TEST_F() 120 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(client_mp2)); in TEST_F() 121 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(server_mp)); in TEST_F() 122 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(client_mp)); in TEST_F() 164 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(server_mp)); in TEST_F() [all …]
|
D | multiprocess_message_pipe_unittest.cc | 57 if (rv != MOJO_RESULT_OK) in MojoReadMessage() 74 return MOJO_RESULT_OK; in MojoReadMessage() 140 if (result != MOJO_RESULT_OK) { in DEFINE_TEST_CLIENT_WITH_PIPE() 155 MOJO_RESULT_OK); in DEFINE_TEST_CLIENT_WITH_PIPE() 168 MOJO_RESULT_OK); in DEFINE_TEST_CLIENT_WITH_PIPE() 178 MOJO_RESULT_OK, in TEST_P() 183 ASSERT_EQ(MOJO_RESULT_OK, in TEST_P() 195 MOJO_RESULT_OK); in TEST_P() 204 MOJO_RESULT_OK); in TEST_P() 214 ASSERT_EQ(MOJO_RESULT_OK, in TEST_P() [all …]
|
D | message_pipe_perftest.cc | 47 MOJO_RESULT_OK); in WriteWaitThenRead() 50 MOJO_RESULT_OK); in WriteWaitThenRead() 53 MOJO_RESULT_OK); in WriteWaitThenRead() 60 MOJO_RESULT_OK); in SendQuitMessage() 99 if (result != MOJO_RESULT_OK) { in RunPingPongClient() 106 MOJO_RESULT_OK); in RunPingPongClient() 115 MOJO_RESULT_OK); in RunPingPongClient()
|
D | core.cc | 258 if (rv != MOJO_RESULT_OK) in AcquireDispatchersForTransit() 297 if (rv != MOJO_RESULT_OK) in Close() 301 return MOJO_RESULT_OK; in Close() 312 return MOJO_RESULT_OK; in QueryHandleSignalsState() 327 return MOJO_RESULT_OK; in CreateTrap() 387 return MOJO_RESULT_OK; in CreateMessage() 396 return MOJO_RESULT_OK; in DestroyMessage() 428 if (rv != MOJO_RESULT_OK) in AppendMessageData() 442 return MOJO_RESULT_OK; in AppendMessageData() 476 return MOJO_RESULT_OK; in GetMessageData() [all …]
|
D | shared_buffer_dispatcher.cc | 61 return MOJO_RESULT_OK; in ValidateCreateOptions() 68 return MOJO_RESULT_OK; in ValidateCreateOptions() 77 return MOJO_RESULT_OK; in ValidateCreateOptions() 105 return MOJO_RESULT_OK; in Create() 116 return MOJO_RESULT_OK; in CreateFromPlatformSharedMemoryRegion() 212 return MOJO_RESULT_OK; in Close() 220 if (result != MOJO_RESULT_OK) in DuplicateBufferHandle() 269 return MOJO_RESULT_OK; in DuplicateBufferHandle() 296 return MOJO_RESULT_OK; in MapBuffer() 306 return MOJO_RESULT_OK; in GetBufferInfo() [all …]
|
/external/libchrome/mojo/public/c/system/tests/ |
D | core_api_unittest.cc | 82 EXPECT_EQ(MOJO_RESULT_OK, MojoCreateMessagePipe(nullptr, &h0, &h1)); in TEST() 88 EXPECT_EQ(MOJO_RESULT_OK, MojoQueryHandleSignalsState(h0, &state)); in TEST() 98 EXPECT_EQ(MOJO_RESULT_OK, MojoCreateMessage(nullptr, &message)); in TEST() 99 EXPECT_EQ(MOJO_RESULT_OK, MojoSetMessageContext(message, kTestMessageContext, in TEST() 101 EXPECT_EQ(MOJO_RESULT_OK, MojoWriteMessage(h1, message, nullptr)); in TEST() 108 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 116 EXPECT_EQ(MOJO_RESULT_OK, MojoReadMessage(h0, nullptr, &message)); in TEST() 118 EXPECT_EQ(MOJO_RESULT_OK, MojoGetMessageContext(message, nullptr, &context)); in TEST() 119 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 121 EXPECT_EQ(MOJO_RESULT_OK, MojoDestroyMessage(message)); in TEST() [all …]
|
D | core_unittest_pure_c.c | 50 EXPECT_NE(MOJO_RESULT_OK, MojoClose(handle0)); in MinimalCTest() 56 EXPECT_EQ(MOJO_RESULT_OK, MojoCreateMessagePipe(NULL, &handle0, &handle1)); in MinimalCTest() 59 EXPECT_EQ(MOJO_RESULT_OK, MojoCreateMessage(NULL, &message)); in MinimalCTest() 60 EXPECT_EQ(MOJO_RESULT_OK, in MinimalCTest() 62 EXPECT_EQ(MOJO_RESULT_OK, MojoWriteMessage(handle0, message, NULL)); in MinimalCTest() 63 EXPECT_EQ(MOJO_RESULT_OK, MojoReadMessage(handle1, NULL, &message)); in MinimalCTest() 66 EXPECT_EQ(MOJO_RESULT_OK, MojoGetMessageContext(message, NULL, &context)); in MinimalCTest() 67 EXPECT_EQ(MOJO_RESULT_OK, in MinimalCTest() 70 EXPECT_EQ(MOJO_RESULT_OK, MojoDestroyMessage(message)); in MinimalCTest() 72 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(handle0)); in MinimalCTest() [all …]
|
D | core_perftest.cc | 45 if (result == MOJO_RESULT_OK) { in Run() 83 if (result == MOJO_RESULT_OK) { in Run() 90 if (result == MOJO_RESULT_OK) { in Run() 126 assert(result == MOJO_RESULT_OK); in MessagePipe_CreateAndClose() 128 assert(result == MOJO_RESULT_OK); in MessagePipe_CreateAndClose() 130 assert(result == MOJO_RESULT_OK); in MessagePipe_CreateAndClose() 139 assert(result == MOJO_RESULT_OK); in MessagePipe_WriteAndRead() 143 assert(result == MOJO_RESULT_OK); in MessagePipe_WriteAndRead() 166 assert(result == MOJO_RESULT_OK); in DoMessagePipeThreadedTest() 191 assert(result == MOJO_RESULT_OK); in DoMessagePipeThreadedTest() [all …]
|
/external/libchrome/mojo/public/cpp/system/tests/ |
D | simple_watcher_unittest.cc | 56 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() 59 EXPECT_EQ(MOJO_RESULT_OK, result); in TEST_F() 65 EXPECT_EQ(MOJO_RESULT_OK, WriteMessageRaw(a.get(), "hello", 5, nullptr, 0, in TEST_F() 81 MOJO_RESULT_OK, in TEST_F() 96 case MOJO_RESULT_OK: in TEST_F() 108 EXPECT_EQ(MOJO_RESULT_OK, rc); in TEST_F() 111 EXPECT_EQ(MOJO_RESULT_OK, pipe.producer_handle->WriteData( in TEST_F() 141 MOJO_RESULT_OK, in TEST_F() 148 EXPECT_EQ(MOJO_RESULT_OK, WriteMessageRaw(a.get(), "hello", 5, nullptr, 0, in TEST_F() 163 EXPECT_EQ(MOJO_RESULT_OK, in TEST_F() [all …]
|
D | core_unittest.cc | 180 EXPECT_EQ(MOJO_RESULT_OK, rv); in TEST() 214 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 219 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 225 EXPECT_EQ(MOJO_RESULT_OK, ReadMessageRaw(h1.get(), &bytes, nullptr, in TEST() 237 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 247 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 254 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 260 EXPECT_EQ(MOJO_RESULT_OK, ReadMessageRaw(h0.get(), &bytes, &read_handles, in TEST() 271 EXPECT_EQ(MOJO_RESULT_OK, in TEST() 277 EXPECT_EQ(MOJO_RESULT_OK, in TEST() [all …]
|
D | wait_set_unittest.cc | 30 CHECK_EQ(MOJO_RESULT_OK, rv); in WriteMessage() 37 CHECK_EQ(MOJO_RESULT_OK, rv); in ReadMessage() 74 EXPECT_EQ(MOJO_RESULT_OK, ready_results[0]); in TEST_F() 91 EXPECT_EQ(MOJO_RESULT_OK, ready_results[0]); in TEST_F() 106 EXPECT_EQ(MOJO_RESULT_OK, ready_results[0]); in TEST_F() 107 EXPECT_EQ(MOJO_RESULT_OK, ready_results[1]); in TEST_F() 118 EXPECT_EQ(MOJO_RESULT_OK, ready_results[0]); in TEST_F() 121 EXPECT_EQ(MOJO_RESULT_OK, wait_set.RemoveHandle(ready_handles[0])); in TEST_F() 129 EXPECT_EQ(MOJO_RESULT_OK, ready_results[0]); in TEST_F() 131 EXPECT_EQ(MOJO_RESULT_OK, wait_set.RemoveHandle(ready_handles[0])); in TEST_F() [all …]
|
/external/libchrome/mojo/core/test/ |
D | mojo_test_base.cc | 97 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(h)); in CloseHandle() 115 MOJO_RESULT_OK); in WriteMessageWithHandles() 128 CHECK_EQ(WaitForSignals(mp, MOJO_HANDLE_SIGNAL_READABLE), MOJO_RESULT_OK); in ReadMessageWithHandles() 132 CHECK_EQ(MOJO_RESULT_OK, in ReadMessageWithHandles() 145 CHECK_EQ(WaitForSignals(mp, MOJO_HANDLE_SIGNAL_READABLE), MOJO_RESULT_OK); in ReadMessageWithOptionalHandle() 149 CHECK_EQ(MOJO_RESULT_OK, in ReadMessageWithOptionalHandle() 170 CHECK_EQ(WaitForSignals(mp, MOJO_HANDLE_SIGNAL_READABLE), MOJO_RESULT_OK); in ReadMessage() 174 CHECK_EQ(MOJO_RESULT_OK, in ReadMessage() 200 EXPECT_EQ(MojoCreateSharedBuffer(size, nullptr, &h), MOJO_RESULT_OK); in CreateBuffer() 212 EXPECT_EQ(MOJO_RESULT_OK, in DuplicateBuffer() [all …]
|
/external/libchrome/mojo/public/cpp/system/ |
D | string_data_pipe_producer.cc | 37 result = MOJO_RESULT_OK; in WriteDataToProducerHandle() 39 } else if (result != MOJO_RESULT_OK) { in WriteDataToProducerHandle() 46 DCHECK_EQ(MOJO_RESULT_OK, end_result); in WriteDataToProducerHandle() 79 if (result == MOJO_RESULT_OK && size == data.size()) { in Write() 82 weak_factory_.GetWeakPtr(), MOJO_RESULT_OK)); in Write() 109 if (ready_result == MOJO_RESULT_OK) { in OnProducerHandleReady() 112 if (write_result != MOJO_RESULT_OK) in OnProducerHandleReady() 130 std::move(callback_).Run(MOJO_RESULT_OK); in OnProducerHandleReady()
|
D | message_pipe.cc | 19 DCHECK_EQ(MOJO_RESULT_OK, rv); in WriteMessageRaw() 30 if (rv != MOJO_RESULT_OK) in WriteMessageRaw() 50 if (rv != MOJO_RESULT_OK) in ReadMessageRaw() 54 if (rv != MOJO_RESULT_OK && rv != MOJO_RESULT_FAILED_PRECONDITION) in ReadMessageRaw() 82 if (rv != MOJO_RESULT_OK) in ReadMessageRaw() 85 return MOJO_RESULT_OK; in ReadMessageRaw()
|
D | data_pipe_utils.cc | 23 if (result == MOJO_RESULT_OK) { in BlockingCopyHelper() 26 if (bytes_written < num_bytes || result != MOJO_RESULT_OK) in BlockingCopyHelper() 30 if (result != MOJO_RESULT_OK) { in BlockingCopyHelper() 73 if (result == MOJO_RESULT_OK) { in BlockingCopyFromString() 84 if (result != MOJO_RESULT_OK) { in BlockingCopyFromString()
|