Home | History | Annotate | Download | only in common

Lines Matching refs:result

20     MojoResult result = BeginReadDataRaw(
22 if (result == MOJO_RESULT_OK) {
24 result = EndReadDataRaw(source.get(), num_bytes);
25 if (bytes_written < num_bytes || result != MOJO_RESULT_OK)
27 } else if (result == MOJO_RESULT_SHOULD_WAIT) {
28 result = Wait(source.get(),
32 if (result != MOJO_RESULT_OK) {
34 return result == MOJO_RESULT_FAILED_PRECONDITION;
36 } else if (result == MOJO_RESULT_FAILED_PRECONDITION) {
49 std::string* result, const void* buffer, uint32_t num_bytes) {
50 result->append(static_cast<const char*>(buffer), num_bytes);
58 std::string* result) {
59 CHECK(result);
60 result->clear();
62 base::Bind(&CopyToStringHelper, result));
72 MojoResult result =
75 if (result == MOJO_RESULT_OK) {
84 } else if (result == MOJO_RESULT_SHOULD_WAIT) {
85 result = Wait(destination.get(), MOJO_HANDLE_SIGNAL_WRITABLE,
87 if (result != MOJO_RESULT_OK) {
89 return result == MOJO_RESULT_FAILED_PRECONDITION;
93 return result == MOJO_RESULT_FAILED_PRECONDITION;