Searched refs:kInvalidHandleValue (Results 1 – 3 of 3) sorted by relevance
39 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()
152 const MojoHandle kInvalidHandleValue = MOJO_HANDLE_INVALID; variable157 Handle() : value_(kInvalidHandleValue) {} in Handle()167 bool is_valid() const { return value_ != kInvalidHandleValue; } in is_valid()169 explicit operator bool() const { return value_ != kInvalidHandleValue; }
165 handle_.set_value(kInvalidHandleValue); in Watch()189 handle_.set_value(kInvalidHandleValue); in Cancel()264 handle_.set_value(kInvalidHandleValue); in OnHandleReady()