Home
last modified time | relevance | path

Searched refs:kInvalidHandleValue (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/mojo/public/cpp/system/tests/
Dcore_unittest.cc39 EXPECT_EQ(MOJO_HANDLE_INVALID, kInvalidHandleValue); in TEST()
42 EXPECT_EQ(kInvalidHandleValue, h0.value()); in TEST()
43 EXPECT_EQ(kInvalidHandleValue, *h0.mutable_value()); in TEST()
104 EXPECT_EQ(kInvalidHandleValue, h.get().value()); in TEST()
110 EXPECT_EQ(kInvalidHandleValue, h.get().value()); in TEST()
149 MojoHandle hv0 = kInvalidHandleValue; in TEST()
244 EXPECT_NE(kInvalidHandleValue, handles[0]); in TEST()
264 EXPECT_NE(kInvalidHandleValue, read_handles[0]->value()); in TEST()
317 EXPECT_NE(kInvalidHandleValue, h3_value); in TEST()
359 EXPECT_NE(kInvalidHandleValue, h3_value); in TEST()
/external/libchrome/mojo/public/cpp/system/
Dhandle.h152 const MojoHandle kInvalidHandleValue = MOJO_HANDLE_INVALID; variable
157 Handle() : value_(kInvalidHandleValue) {} in Handle()
167 bool is_valid() const { return value_ != kInvalidHandleValue; } in is_valid()
169 explicit operator bool() const { return value_ != kInvalidHandleValue; }
Dsimple_watcher.cc165 handle_.set_value(kInvalidHandleValue); in Watch()
189 handle_.set_value(kInvalidHandleValue); in Cancel()
264 handle_.set_value(kInvalidHandleValue); in OnHandleReady()