Home
last modified time | relevance | path

Searched refs:MOJO_RESULT_OK (Results 1 – 25 of 87) sorted by relevance

1234

/external/libchrome/mojo/core/
Dtrap_unittest.cc122 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 …]
Ddata_pipe_unittest.cc55 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 …]
Dcore_unittest.cc55 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 …]
Dsignals_unittest.cc37 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 …]
Dmessage_pipe_unittest.cc36 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 …]
Dshared_buffer_dispatcher_unittest.cc40 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 …]
Dmessage_unittest.cc38 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 …]
Dquota_unittest.cc18 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 …]
Dinvitation_unittest.cc96 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 …]
Dmojo_core_unittest.cc15 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()
Dembedder_unittest.cc53 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 …]
Dmultiprocess_message_pipe_unittest.cc57 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 …]
Dmessage_pipe_perftest.cc47 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()
Dcore.cc258 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 …]
Dshared_buffer_dispatcher.cc61 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/
Dcore_api_unittest.cc82 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 …]
Dcore_unittest_pure_c.c50 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 …]
Dcore_perftest.cc45 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/
Dsimple_watcher_unittest.cc56 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 …]
Dcore_unittest.cc180 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 …]
Dwait_set_unittest.cc30 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/
Dmojo_test_base.cc97 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/
Dstring_data_pipe_producer.cc37 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()
Dmessage_pipe.cc19 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()
Ddata_pipe_utils.cc23 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()

1234