/external/autotest/server/ |
D | server_job_unittest.py | 71 self.assertEqual(manager.is_valid(10, "MSGTYPE"), True) 77 self.assertEqual(manager.is_valid(20, "MSGTYPE"), True) 83 self.assertEqual(manager.is_valid(5, "MSGTYPE"), True) 84 self.assertEqual(manager.is_valid(15, "MSGTYPE"), False) 91 self.assertEqual(manager.is_valid(15, "MSGTYPE"), False) 92 self.assertEqual(manager.is_valid(25, "MSGTYPE"), True) 97 self.assertEqual(manager.is_valid(15, "MSGTYPE"), True) 99 self.assertEqual(manager.is_valid(15, "MSGTYPE"), False) 107 self.assertEqual(manager.is_valid(15, "MSGTYPE"), False) 108 self.assertEqual(manager.is_valid(25, "MSGTYPE"), False) [all …]
|
/external/libmojo/ipc/ |
D | ipc_mojo_param_traits.cc | 14 GetParamSize(sizer, p.is_valid()); in GetSize() 15 if (p.is_valid()) in GetSize() 21 WriteParam(m, p.is_valid()); in Write() 22 if (p.is_valid()) in Write() 29 bool is_valid; in Read() local 30 if (!ReadParam(m, iter, &is_valid)) in Read() 32 if (!is_valid) in Read() 38 DCHECK(handle.is_valid()); in Read()
|
/external/libmojo/mojo/public/cpp/system/tests/ |
D | core_unittest.cc | 42 EXPECT_FALSE(h0.is_valid()); in TEST() 47 EXPECT_TRUE(h1.is_valid()); in TEST() 50 EXPECT_TRUE(h1.is_valid()); in TEST() 54 EXPECT_TRUE(h0.is_valid()); in TEST() 55 EXPECT_FALSE(h1.is_valid()); in TEST() 60 EXPECT_TRUE(h0.is_valid()); in TEST() 62 EXPECT_TRUE(h1.is_valid()); in TEST() 134 EXPECT_FALSE(MakeScopedHandle(Handle()).is_valid()); in TEST() 135 EXPECT_FALSE(MakeScopedHandle(MessagePipeHandle()).is_valid()); in TEST() 136 EXPECT_FALSE(MakeScopedHandle(DataPipeProducerHandle()).is_valid()); in TEST() [all …]
|
/external/libmojo/mojo/edk/test/ |
D | multiprocess_test_helper_unittest.cc | 53 EXPECT_TRUE(helper.server_platform_handle.is_valid()); in TEST_F() 60 CHECK(MultiprocessTestHelper::client_platform_handle.is_valid()); in MOJO_MULTIPROCESS_TEST_CHILD_MAIN() 73 EXPECT_TRUE(helper.server_platform_handle.is_valid()); in TEST_F() 96 CHECK(MultiprocessTestHelper::client_platform_handle.is_valid()); in MOJO_MULTIPROCESS_TEST_CHILD_MAIN() 120 EXPECT_TRUE(helper.server_platform_handle.is_valid()); in TEST_F() 126 ASSERT_TRUE(MultiprocessTestHelper::client_platform_handle.is_valid()); in MOJO_MULTIPROCESS_TEST_CHILD_TEST() 133 EXPECT_TRUE(helper.server_platform_handle.is_valid()); in TEST_F() 139 ASSERT_FALSE(MultiprocessTestHelper::client_platform_handle.is_valid()) in MOJO_MULTIPROCESS_TEST_CHILD_TEST() 149 EXPECT_TRUE(helper.server_platform_handle.is_valid()); in TEST_F() 155 EXPECT_FALSE(MultiprocessTestHelper::client_platform_handle.is_valid()) in MOJO_MULTIPROCESS_TEST_CHILD_TEST()
|
/external/v8/src/interpreter/ |
D | bytecode-peephole-optimizer.cc | 80 DCHECK(node->bytecode() != Bytecode::kNop || node->source_info().is_valid()); in SetLast() 114 return (!last_.source_info().is_valid() || in CanElideLastBasedOnSourcePosition() 115 !current->source_info().is_valid()); in CanElideLastBasedOnSourcePosition() 126 if (last->source_info().is_valid()) { in TransformLdaSmiBinaryOpToBinaryOpWithSmi() 138 if (last->source_info().is_valid()) { in TransformLdaZeroBinaryOpToBinaryOpWithZero() 152 if (last->source_info().is_valid()) { in TransformEqualityWithNullOrUndefined() 182 if (node->source_info().is_valid()) { in UpdateLastIfSourceInfoPresentAction() 192 if (node->source_info().is_valid()) { in ElideCurrentAction() 220 if (last()->source_info().is_valid()) { in ElideLastAction() 246 if (!node->source_info().is_valid() || !last()->source_info().is_valid()) { in TransformLdaSmiBinaryOpToBinaryOpWithSmiAction() [all …]
|
/external/libmojo/mojo/edk/system/ |
D | platform_handle_dispatcher_unittest.cc | 38 ASSERT_TRUE(h.is_valid()); in TEST() 42 EXPECT_FALSE(h.is_valid()); in TEST() 46 EXPECT_TRUE(h.is_valid()); in TEST() 49 EXPECT_FALSE(h.is_valid()); in TEST() 60 EXPECT_FALSE(h.is_valid()); in TEST() 94 EXPECT_TRUE(handles->at(0).is_valid()); in TEST() 97 EXPECT_FALSE(handle.is_valid()); in TEST() 106 EXPECT_FALSE(handles->at(0).is_valid()); in TEST()
|
D | options_validation_unittest.cc | 36 EXPECT_TRUE(reader.is_valid()); in TEST() 45 EXPECT_TRUE(reader.is_valid()); in TEST() 55 EXPECT_TRUE(reader.is_valid()); in TEST() 65 EXPECT_TRUE(reader.is_valid()); in TEST() 75 EXPECT_TRUE(reader.is_valid()); in TEST() 87 EXPECT_FALSE(reader.is_valid()) << i; in TEST()
|
D | options_validation.h | 45 bool is_valid() const { return !!options_; } in is_valid() function 48 DCHECK(is_valid()); in options() 56 DCHECK(is_valid()); in HasMember()
|
/external/drm_hwcomposer/ |
D | drmframebuffer.h | 37 bool is_valid() { in is_valid() function 56 if (is_valid()) { in Allocate() 72 return is_valid(); in Allocate() 76 if (!is_valid()) in Clear() 88 if (!is_valid()) in WaitReleased()
|
/external/pdfium/third_party/base/numerics/ |
D | safe_math.h | 133 return state_.is_valid() && in IsValid() 242 state_.is_valid() && Wrapper<U>::is_valid(rhs)); in Max() 257 state_.is_valid() && Wrapper<U>::is_valid(rhs)); in Min() 266 SafeUnsignedAbs(state_.value()), state_.is_valid()); in UnsignedAbs() 299 bool is_valid = in MathOp() local 300 Wrapper<L>::is_valid(lhs) && Wrapper<R>::is_valid(rhs) && in MathOp() 302 return CheckedNumeric<T>(result, is_valid); in MathOp() 310 bool is_valid = state_.is_valid() && Wrapper<R>::is_valid(rhs) && in MathOp() local 312 *this = CheckedNumeric<T>(result, is_valid); in MathOp() 320 constexpr CheckedNumeric(Src value, bool is_valid) in CheckedNumeric() argument [all …]
|
D | safe_math_impl.h | 91 bool is_valid = IsValueInRangeForNumericType<Promotion>(x) && 97 is_valid &= CheckedAddImpl(static_cast<Promotion>(x), 101 return is_valid && IsValueInRangeForNumericType<V>(presult); 142 bool is_valid = IsValueInRangeForNumericType<Promotion>(x) && 148 is_valid &= CheckedSubImpl(static_cast<Promotion>(x), 152 return is_valid && IsValueInRangeForNumericType<V>(presult); 211 bool is_valid = IsValueInRangeForNumericType<Promotion>(x) && 217 is_valid &= CheckedMulImpl(static_cast<Promotion>(x), 221 return is_valid && IsValueInRangeForNumericType<V>(presult); 256 bool is_valid = IsValueInRangeForNumericType<Promotion>(x) && [all …]
|
/external/libtextclassifier/lang_id/ |
D | lang-id.cc | 140 if (!network_->is_valid()) { in Initialize() 199 if (!is_valid()) { in ScoreLanguages() 223 bool is_valid() const { return valid_; } in is_valid() function in libtextclassifier::nlp_core::lang_id::LangIdImpl 262 if (!network_params_->is_valid()) { in ParseNetworkParams() 351 if (!pimpl_->is_valid()) { in LangId() 360 if (!pimpl_->is_valid()) { in LangId() 370 if (!pimpl_->is_valid()) { in LangId() 396 bool LangId::is_valid() const { return pimpl_->is_valid(); } in is_valid() function in libtextclassifier::nlp_core::lang_id::LangId
|
/external/libmojo/mojo/public/cpp/bindings/ |
D | associated_interface_ptr_info.h | 45 bool is_valid() const { return handle_.is_valid(); } in is_valid() function 64 return !is_valid() && !other.is_valid(); in Equals()
|
/external/libmojo/mojo/public/cpp/bindings/lib/ |
D | interface_ptr_state.h | 100 DCHECK(!handle_.is_valid()); in Bind() 102 DCHECK(info.is_valid()); in Bind() 118 bool is_bound() const { return handle_.is_valid() || router_; } in is_bound() 153 if (!handle_.is_valid()) in ConfigureProxyIfNecessary() 248 DCHECK(!handle_.is_valid()); in Bind() 250 DCHECK(info.is_valid()); in Bind() 270 bool is_bound() const { return handle_.is_valid() || endpoint_client_; } in is_bound() 309 if (!handle_.is_valid()) in ConfigureProxyIfNecessary()
|
D | serialization_context.cc | 20 if (handle.is_valid()) { in ~SerializedHandleVector() 29 if (!handle.is_valid()) { in AddHandle() 41 if (!encoded_handle.is_valid()) in TakeHandle()
|
/external/v8/src/parsing/ |
D | expression-classifier.h | 115 V8_INLINE bool is_valid(unsigned productions) const { in is_valid() function 124 return is_valid(ExpressionProduction); in is_valid_expression() 128 return is_valid(FormalParameterInitializerProduction); in is_valid_formal_parameter_initializer() 132 return is_valid(BindingPatternProduction); in is_valid_binding_pattern() 136 return is_valid(AssignmentPatternProduction); in is_valid_assignment_pattern() 140 return is_valid(ArrowFormalParametersProduction); in is_valid_arrow_formal_parameters() 144 return is_valid(DistinctFormalParametersProduction); in is_valid_formal_parameter_list_without_duplicates() 150 return is_valid(StrictModeFormalParametersProduction); in is_valid_strict_mode_formal_parameters() 154 return is_valid(LetPatternProduction); in is_valid_let_pattern() 158 return is_valid(AsyncArrowFormalParametersProduction); in is_valid_async_arrow_formal_parameters()
|
/external/libmojo/mojo/message_pump/ |
D | handle_watcher_unittest.cc | 163 ASSERT_TRUE(test_pipe.handle0.is_valid()); in TEST_P() 184 ASSERT_TRUE(test_pipe1.handle0.is_valid()); in TEST_P() 185 ASSERT_TRUE(test_pipe2.handle0.is_valid()); in TEST_P() 186 ASSERT_TRUE(test_pipe3.handle0.is_valid()); in TEST_P() 247 ASSERT_TRUE(test_pipe1.handle0.is_valid()); in TEST_P() 248 ASSERT_TRUE(test_pipe2.handle0.is_valid()); in TEST_P() 297 ASSERT_TRUE(test_pipe.handle0.is_valid()); in TEST_P() 319 ASSERT_TRUE(test_pipe1.handle0.is_valid()); in TEST_P() 320 ASSERT_TRUE(test_pipe2.handle0.is_valid()); in TEST_P() 321 ASSERT_TRUE(test_pipe3.handle0.is_valid()); in TEST_P() [all …]
|
/external/v8/src/ |
D | safepoint-table.h | 23 DCHECK(is_valid()); in SafepointEntry() 26 bool is_valid() const { return bits_ != NULL; } in is_valid() function 38 DCHECK(is_valid()); in deoptimization_index() 58 DCHECK(is_valid()); in argument_count() 63 DCHECK(is_valid()); in has_doubles() 68 DCHECK(is_valid()); in bits()
|
/external/libmojo/mojo/public/cpp/system/ |
D | message.h | 33 bool is_valid() const { return value_ != kInvalidMessageHandleValue; } in is_valid() function 40 DCHECK(is_valid()); in Close() 71 DCHECK(message.is_valid()); in GetMessageBuffer() 77 DCHECK(message.is_valid()); in NotifyBadMessage()
|
D | message_pipe.h | 142 DCHECK(handle0.is_valid()); in MessagePipe() 143 DCHECK(handle1.is_valid()); in MessagePipe() 149 DCHECK(handle0.is_valid()); in MessagePipe() 150 DCHECK(handle1.is_valid()); in MessagePipe()
|
D | handle.h | 121 bool is_valid() const { return handle_.is_valid(); } in is_valid() function 129 if (handle_.is_valid()) in CloseIfNecessary() 160 bool is_valid() const { return value_ != kInvalidHandleValue; } in is_valid() function 167 DCHECK(is_valid()); in Close()
|
/external/skia/src/core/ |
D | SkMallocPixelRef.cpp | 37 static bool is_valid(const SkImageInfo& info) { in is_valid() function 50 if (!is_valid(info)) { in MakeDirect() 60 if (!is_valid(info)) { in MakeUsing() 116 if (!is_valid(info)) { in MakeWithProc() 129 if (!is_valid(info)) { in MakeWithData()
|
/external/v8/src/ast/ |
D | context-slot-cache.h | 62 DCHECK(ModeField::is_valid(mode)); in Value() 63 DCHECK(InitField::is_valid(init_flag)); in Value() 64 DCHECK(MaybeAssignedField::is_valid(maybe_assigned_flag)); in Value() 65 DCHECK(IndexField::is_valid(index)); in Value()
|
/external/libmojo/mojo/edk/embedder/ |
D | platform_channel_utils_posix.cc | 58 DCHECK(h.is_valid()); in PlatformChannelWrite() 73 DCHECK(h.is_valid()); in PlatformChannelWritev() 109 DCHECK(platform_handles[i].is_valid()); in PlatformChannelSendmsgWithHandles() 136 DCHECK(handles[i].is_valid()); in PlatformChannelSendHandles() 188 DCHECK(platform_handles->back().is_valid()); in PlatformChannelRecvmsg()
|
/external/libmojo/mojo/public/cpp/bindings/tests/ |
D | handle_passing_unittest.cc | 81 if (pipe.is_valid()) in DoStuff() 85 if (request->pipe.is_valid()) { in DoStuff() 89 EXPECT_TRUE(request->pipe.is_valid()); in DoStuff() 111 ASSERT_TRUE(pipe.is_valid()); in DoStuff2() 173 if (response->pipe.is_valid()) { in DoStuff() 178 EXPECT_TRUE(response->pipe.is_valid()); in DoStuff() 184 EXPECT_TRUE(p.is_valid()); in DoStuff() 185 EXPECT_FALSE(response->pipe.is_valid()); in DoStuff()
|