Home
last modified time | relevance | path

Searched refs:HasValue (Results 1 – 25 of 69) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/PDB/
DStringTableBuilderTest.cpp68 EXPECT_THAT_EXPECTED(Table.getStringForID(FooID), HasValue("foo")); in TEST_F()
69 EXPECT_THAT_EXPECTED(Table.getStringForID(BarID), HasValue("bar")); in TEST_F()
70 EXPECT_THAT_EXPECTED(Table.getStringForID(BazID), HasValue("baz")); in TEST_F()
71 EXPECT_THAT_EXPECTED(Table.getStringForID(BuzzID), HasValue("buzz")); in TEST_F()
72 EXPECT_THAT_EXPECTED(Table.getStringForID(BazzID), HasValue("bazz")); in TEST_F()
73 EXPECT_THAT_EXPECTED(Table.getStringForID(BarrID), HasValue("barr")); in TEST_F()
75 EXPECT_THAT_EXPECTED(Table.getIDForString("foo"), HasValue(FooID)); in TEST_F()
76 EXPECT_THAT_EXPECTED(Table.getIDForString("bar"), HasValue(BarID)); in TEST_F()
77 EXPECT_THAT_EXPECTED(Table.getIDForString("baz"), HasValue(BazID)); in TEST_F()
78 EXPECT_THAT_EXPECTED(Table.getIDForString("buzz"), HasValue(BuzzID)); in TEST_F()
[all …]
/external/v8/src/compiler/
Dnode-matchers.h62 bool HasValue() const { return has_value_; } in HasValue() function
64 DCHECK(HasValue()); in Value()
119 return this->HasValue() && this->Value() == value; in Is()
122 return this->HasValue() && low <= this->Value() && this->Value() <= high; in IsInRange()
125 return this->HasValue() && (this->Value() % n) == 0; in IsMultipleOf()
128 return this->HasValue() && this->Value() > 0 && in IsPowerOf2()
132 return this->HasValue() && this->Value() < 0 && in IsNegativePowerOf2()
135 bool IsNegative() const { return this->HasValue() && this->Value() < 0; } in IsNegative()
157 return this->HasValue() && this->Value() == value; in Is()
160 return this->HasValue() && low <= this->Value() && this->Value() <= high; in IsInRange()
[all …]
Dmachine-operator-reducer.cc291 if (m.left().IsWord32Sar() && m.right().HasValue()) { in Reduce()
293 if (mleft.right().HasValue()) { in Reduce()
470 if (m.HasValue()) return ReplaceFloat64(base::ieee754::acos(m.Value())); in Reduce()
475 if (m.HasValue()) return ReplaceFloat64(base::ieee754::acosh(m.Value())); in Reduce()
480 if (m.HasValue()) return ReplaceFloat64(base::ieee754::asin(m.Value())); in Reduce()
485 if (m.HasValue()) return ReplaceFloat64(base::ieee754::asinh(m.Value())); in Reduce()
490 if (m.HasValue()) return ReplaceFloat64(base::ieee754::atan(m.Value())); in Reduce()
495 if (m.HasValue()) return ReplaceFloat64(base::ieee754::atanh(m.Value())); in Reduce()
514 if (m.HasValue()) return ReplaceFloat64(base::ieee754::cbrt(m.Value())); in Reduce()
519 if (m.HasValue()) return ReplaceFloat64(base::ieee754::cos(m.Value())); in Reduce()
[all …]
Dsimplified-operator-reducer.cc23 if (m.HasValue()) { in DecideObjectIsSmi()
64 if (m.HasValue()) { in Reduce()
72 if (m.HasValue()) return ReplaceNumber(m.Value()); in Reduce()
79 if (m.HasValue()) return ReplaceNumber(m.Value()); in Reduce()
88 if (m.HasValue()) return ReplaceFloat64(m.Value()); in Reduce()
103 if (m.HasValue()) return ReplaceInt32(DoubleToInt32(m.Value())); in Reduce()
114 if (m.HasValue()) return ReplaceUint32(DoubleToUint32(m.Value())); in Reduce()
123 if (m.HasValue()) return ReplaceNumber(FastUI2D(m.Value())); in Reduce()
128 if (m.HasValue()) return ReplaceInt32(DoubleToInt32(m.Value())); in Reduce()
140 if (m.HasValue() && IsInt32Double(m.Value())) { in Reduce()
[all …]
Dcontrol-flow-optimizer.cc79 if (!m.right().HasValue()) return false; in TryBuildSwitch()
104 if (!m1.right().HasValue()) break; in TryBuildSwitch()
Dnode-properties.cc370 if (m.HasValue()) { in InferReceiverMaps()
415 if (mtarget.HasValue() && mnewtarget.HasValue() && in InferReceiverMaps()
443 if (m.HasValue()) { in InferReceiverMaps()
/external/webrtc/webrtc/base/
Dwin32regkey_unittest.cc207 EXPECT_TRUE(r_key.HasValue(kValNameInt)); in RegKeyNonStaticFunctionsTest()
224 EXPECT_FALSE(r_key.HasValue(kValNameInt)); in RegKeyNonStaticFunctionsTest()
230 EXPECT_TRUE(r_key.HasValue(kValNameInt64)); in RegKeyNonStaticFunctionsTest()
240 EXPECT_FALSE(r_key.HasValue(kValNameInt64)); in RegKeyNonStaticFunctionsTest()
246 EXPECT_TRUE(r_key.HasValue(kValNameStr)); in RegKeyNonStaticFunctionsTest()
265 EXPECT_FALSE(r_key.HasValue(kValNameInt)); in RegKeyNonStaticFunctionsTest()
273 EXPECT_TRUE(r_key.HasValue(kValNameBinary)); in RegKeyNonStaticFunctionsTest()
294 EXPECT_FALSE(r_key.HasValue(kValNameBinary)); in RegKeyNonStaticFunctionsTest()
388 EXPECT_TRUE(RegKey::HasValue(kFullRkey1, kValNameInt)); in RegKeyStaticFunctionsTest()
402 EXPECT_FALSE(RegKey::HasValue(kFullRkey1, kValNameInt)); in RegKeyStaticFunctionsTest()
[all …]
Dwin32regkey.h64 bool HasValue(const wchar_t* value_name) const;
153 static bool HasValue(const wchar_t* full_key_name, const wchar_t* value_name);
/external/deqp-deps/SPIRV-Tools/source/comp/
Dmarkv_codec.cpp293 if (multi_mtf_.HasValue(GetMtfIdGeneratedByOpcode(SpvOpTypeFloat), in ProcessCurInstruction()
296 } else if (multi_mtf_.HasValue(GetMtfIdGeneratedByOpcode(SpvOpTypeInt), in ProcessCurInstruction()
299 } else if (multi_mtf_.HasValue(GetMtfIdGeneratedByOpcode(SpvOpTypeBool), in ProcessCurInstruction()
321 if (multi_mtf_.HasValue(kMtfTypeFloatScalarOrVector, inst_.type_id)) { in ProcessCurInstruction()
325 if (multi_mtf_.HasValue(kMtfTypeIntScalarOrVector, inst_.type_id)) in ProcessCurInstruction()
328 if (multi_mtf_.HasValue(kMtfTypeBoolScalarOrVector, inst_.type_id)) in ProcessCurInstruction()
331 if (multi_mtf_.HasValue(kMtfTypeComposite, inst_.type_id)) in ProcessCurInstruction()
363 if (multi_mtf_.HasValue(kMtfTypeComposite, data_type)) in ProcessCurInstruction()
586 if (multi_mtf_.HasValue(kMtfTypeFloatScalarOrVector, composite_type)) in GetRuleBasedMtf()
588 if (multi_mtf_.HasValue(kMtfTypeIntScalarOrVector, composite_type)) in GetRuleBasedMtf()
[all …]
Dmove_to_front.h88 bool HasValue(uint32_t value) const;
353 bool HasValue(uint64_t mtf, uint32_t value) { in HasValue() function
354 return GetMtf(mtf).HasValue(value); in HasValue()
/external/swiftshader/third_party/SPIRV-Tools/source/comp/
Dmarkv_codec.cpp293 if (multi_mtf_.HasValue(GetMtfIdGeneratedByOpcode(SpvOpTypeFloat), in ProcessCurInstruction()
296 } else if (multi_mtf_.HasValue(GetMtfIdGeneratedByOpcode(SpvOpTypeInt), in ProcessCurInstruction()
299 } else if (multi_mtf_.HasValue(GetMtfIdGeneratedByOpcode(SpvOpTypeBool), in ProcessCurInstruction()
321 if (multi_mtf_.HasValue(kMtfTypeFloatScalarOrVector, inst_.type_id)) { in ProcessCurInstruction()
325 if (multi_mtf_.HasValue(kMtfTypeIntScalarOrVector, inst_.type_id)) in ProcessCurInstruction()
328 if (multi_mtf_.HasValue(kMtfTypeBoolScalarOrVector, inst_.type_id)) in ProcessCurInstruction()
331 if (multi_mtf_.HasValue(kMtfTypeComposite, inst_.type_id)) in ProcessCurInstruction()
363 if (multi_mtf_.HasValue(kMtfTypeComposite, data_type)) in ProcessCurInstruction()
586 if (multi_mtf_.HasValue(kMtfTypeFloatScalarOrVector, composite_type)) in GetRuleBasedMtf()
588 if (multi_mtf_.HasValue(kMtfTypeIntScalarOrVector, composite_type)) in GetRuleBasedMtf()
[all …]
Dmove_to_front.h88 bool HasValue(uint32_t value) const;
353 bool HasValue(uint64_t mtf, uint32_t value) { in HasValue() function
354 return GetMtf(mtf).HasValue(value); in HasValue()
/external/autotest/frontend/client/src/autotest/afe/
DIRadioButton.java4 import com.google.gwt.user.client.ui.HasValue;
7 public interface IRadioButton extends HasValue<Boolean>, HasText {
DICheckBox.java6 import com.google.gwt.user.client.ui.HasValue;
8 public interface ICheckBox extends HasText, HasValue<Boolean>, HasClickHandlers {
DHostSelectorDisplay.java11 import com.google.gwt.user.client.ui.HasValue;
102 public HasValue<Boolean> getAllowOneTimeHostsField() { in getAllowOneTimeHostsField()
/external/clang/test/SemaTemplate/
Ddefault-arguments-cxx0x.cpp20 struct HasValue { struct
26 int &ir = f1(HasValue()); in g1() argument
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DAsyncCallServer.cs132 … byte[] payload = optionalWrite.HasValue ? UnsafeSerialize(optionalWrite.Value.Response) : null; in SendStatusFromServerAsync()
133 … var writeFlags = optionalWrite.HasValue ? optionalWrite.Value.WriteFlags : default(WriteFlags); in SendStatusFromServerAsync()
149 if (optionalWrite.HasValue) in SendStatusFromServerAsync()
DAsyncCall.cs370 …GrpcPreconditions.CheckState(finishedStatus.HasValue, "Status can only be accessed once the call h… in GetStatus()
383 …GrpcPreconditions.CheckState(finishedStatus.HasValue, "Trailers can only be accessed once the call… in GetTrailers()
433 if (finishedStatus.HasValue) in CheckSendAllowedOrEarlyResult()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DErrorTest.cpp807 EXPECT_THAT_EXPECTED(Expected<int>(0), HasValue(0)); in TEST()
810 HasValue(0)), in TEST()
814 EXPECT_THAT_EXPECTED(Expected<int>(1), HasValue(0)), in TEST()
821 EXPECT_THAT_EXPECTED(Expected<int &>(a), HasValue(testing::Eq(1))); in TEST()
823 EXPECT_THAT_EXPECTED(Expected<int>(1), HasValue(testing::Gt(0))); in TEST()
825 EXPECT_THAT_EXPECTED(Expected<int>(0), HasValue(testing::Gt(1))), in TEST()
830 HasValue(testing::Gt(1))), in TEST()
/external/v8/src/compiler/mips64/
Dinstruction-selector-mips64.cc507 m.right().HasValue()) { in VisitWord32And()
518 if (mleft.right().HasValue()) { in VisitWord32And()
536 if (m.right().HasValue()) { in VisitWord32And()
557 m.right().HasValue()) { in VisitWord64And()
568 if (mleft.right().HasValue()) { in VisitWord64And()
590 if (m.right().HasValue()) { in VisitWord64And()
623 if (!mleft.right().HasValue()) { in VisitWord32Xor()
647 if (!mleft.right().HasValue()) { in VisitWord64Xor()
674 if (mleft.right().HasValue()) { in VisitWord32Shl()
699 if (m.left().IsWord32And() && m.right().HasValue()) { in VisitWord32Shr()
[all …]
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_emulate_loops.c47 int HasValue; member
104 value->HasValue = 1; in update_const_value()
218 counter_value.HasValue = 0; in try_unroll_loop()
224 if(!counter_value.HasValue){ in try_unroll_loop()
/external/v8/src/compiler/mips/
Dinstruction-selector-mips.cc69 if (!m.HasValue()) return false; in CanBeImmediate()
401 m.right().HasValue()) { in VisitWord32And()
412 if (mleft.right().HasValue()) { in VisitWord32And()
434 if (m.right().HasValue()) { in VisitWord32And()
460 if (!mleft.right().HasValue()) { in VisitWord32Xor()
487 if (mleft.right().HasValue()) { in VisitWord32Shl()
512 if (m.left().IsWord32And() && m.right().HasValue()) { in VisitWord32Shr()
515 if (mleft.right().HasValue() && mleft.right().Value() != 0) { in VisitWord32Shr()
540 if (m.right().HasValue() && mleft.right().HasValue()) { in VisitWord32Sar()
604 if (m.HasValue()) { in VisitWord32PairShift()
[all …]
/external/grpc-grpc/src/csharp/Grpc.Core/
DGrpcEnvironment.cs408 if (customThreadPoolSize.HasValue) in GetThreadPoolSizeOrDefault()
420 if (customCompletionQueueCount.HasValue) in GetCompletionQueueCountOrDefault()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dwarfdump/
Dllvm-dwarfdump.cpp41 bool HasValue = false; member
56 Val.HasValue = false; in parse()
62 Val.HasValue = true; in parse()
579 if (Dump##ENUM_NAME.HasValue) { \ in main()
/external/v8/src/compiler/arm64/
Dinstruction-selector-arm64.cc508 if (m.right().HasValue() && (m.right().Value() < 0) && in VisitAddSub()
525 if (m->right().HasValue() && m->right().Value() >= 3) { in LeftShiftForReducedMultiply()
566 if (m.HasValue() && g.IsIntegerConstant(index)) { in EmitLoad()
856 m.right().HasValue()) { in VisitWord32And()
868 if (mleft.right().HasValue()) { in VisitWord32And()
897 m.right().HasValue()) { in VisitWord64And()
909 if (mleft.right().HasValue()) { in VisitWord64And()
972 if (mleft.right().HasValue()) { in VisitWord32Shl()
1028 if (mleft.right().HasValue() && m.right().HasValue() && in TryEmitBitfieldExtract32()
1051 if (m.left().IsWord32And() && m.right().HasValue()) { in VisitWord32Shr()
[all …]

123