Home
last modified time | relevance | path

Searched refs:getValue (Results 1 – 25 of 1080) sorted by relevance

12345678910>>...44

/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DAnyTest.java47 assertTrue(container.getValue().is(TestAllTypes.class)); in testAnyGeneratedApi()
48 assertFalse(container.getValue().is(TestAny.class)); in testAnyGeneratedApi()
50 TestAllTypes result = container.getValue().unpack(TestAllTypes.class); in testAnyGeneratedApi()
56 container.getValue().unpack(TestAny.class); in testAnyGeneratedApi()
67 container.getValue().unpack(TestAllTypes.class); in testAnyGeneratedApi()
82 "xxx.com/" + TestAllTypes.getDescriptor().getFullName(), container.getValue().getTypeUrl()); in testCustomTypeUrls()
84 assertTrue(container.getValue().is(TestAllTypes.class)); in testCustomTypeUrls()
85 assertFalse(container.getValue().is(TestAny.class)); in testCustomTypeUrls()
87 TestAllTypes result = container.getValue().unpack(TestAllTypes.class); in testCustomTypeUrls()
93 "yyy.com/" + TestAllTypes.getDescriptor().getFullName(), container.getValue().getTypeUrl()); in testCustomTypeUrls()
[all …]
DLazyFieldLiteTest.java50 assertEquals(message, lazyField.getValue(TestAllTypes.getDefaultInstance())); in testGetValue()
52 assertNotEqual(message, lazyField.getValue(TestAllTypes.getDefaultInstance())); in testGetValue()
58 assertEquals(message, lazyField.getValue(TestAllExtensions.getDefaultInstance())); in testGetValueEx()
60 assertNotEqual(message, lazyField.getValue(TestAllExtensions.getDefaultInstance())); in testGetValueEx()
67 assertNotEqual(message, lazyField.getValue(TestAllTypes.getDefaultInstance())); in testSetValue()
68 message = lazyField.getValue(TestAllTypes.getDefaultInstance()); in testSetValue()
70 assertEquals(message, lazyField.getValue(TestAllTypes.getDefaultInstance())); in testSetValue()
77 assertNotEqual(message, lazyField.getValue(TestAllExtensions.getDefaultInstance())); in testSetValueEx()
78 MessageLite value = lazyField.getValue(TestAllExtensions.getDefaultInstance()); in testSetValueEx()
80 assertEquals(value, lazyField.getValue(TestAllExtensions.getDefaultInstance())); in testSetValueEx()
[all …]
DWrappersLiteOfMethodTest.java51 assertTrue(2.333 == message.getFieldDouble().getValue()); in testOf()
52 assertTrue(2.333f == message.getFieldFloat().getValue()); in testOf()
53 assertTrue(2333 == message.getFieldInt32().getValue()); in testOf()
54 assertTrue(23333333333333L == message.getFieldInt64().getValue()); in testOf()
55 assertTrue(2333 == message.getFieldUint32().getValue()); in testOf()
56 assertTrue(23333333333333L == message.getFieldUint64().getValue()); in testOf()
57 assertTrue(true == message.getFieldBool().getValue()); in testOf()
58 assertTrue(message.getFieldString().getValue().equals("23333")); in testOf()
59 assertTrue(message.getFieldBytes().getValue().toStringUtf8().equals("233")); in testOf()
DWrappersOfMethodTest.java51 assertTrue(2.333 == message.getFieldDouble().getValue()); in testOf()
52 assertTrue(2.333f == message.getFieldFloat().getValue()); in testOf()
53 assertTrue(2333 == message.getFieldInt32().getValue()); in testOf()
54 assertTrue(23333333333333L == message.getFieldInt64().getValue()); in testOf()
55 assertTrue(2333 == message.getFieldUint32().getValue()); in testOf()
56 assertTrue(23333333333333L == message.getFieldUint64().getValue()); in testOf()
57 assertTrue(true == message.getFieldBool().getValue()); in testOf()
58 assertTrue(message.getFieldString().getValue().equals("23333")); in testOf()
59 assertTrue(message.getFieldBytes().getValue().toStringUtf8().equals("233")); in testOf()
DLazyFieldTest.java47 lazyField.getValue(); in testHashCode()
58 lazyField.getValue(); in testHashCodeEx()
68 assertEquals(message, lazyField.getValue()); in testGetValue()
70 assertNotEqual(message, lazyField.getValue()); in testGetValue()
76 assertEquals(message, lazyField.getValue()); in testGetValueEx()
78 assertNotEqual(message, lazyField.getValue()); in testGetValueEx()
87 assertFalse(message.equals(lazyField.getValue())); in testEqualsObject()
97 assertFalse(message.equals(lazyField.getValue())); in testEqualsObjectEx()
/third_party/vk-gl-cts/framework/common/
DtcuEither.cpp71 int getValue (void) const in getValue() function in tcu::__anon4c4e619e0111::TestClassWithConstructor
202 TCU_CHECK(either.getFirst().getValue() == testObject.getValue()); in Either_selfTest()
203 TCU_CHECK(either.get<TestClassWithConstructor>().getValue() == testObject.getValue()); in Either_selfTest()
217 TCU_CHECK(either.getSecond().getValue() == testObject.getValue()); in Either_selfTest()
218 TCU_CHECK(either.get<TestClassWithConstructor>().getValue() == testObject.getValue()); in Either_selfTest()
235 TCU_CHECK(either.getFirst().getValue() == testObject.getValue()); in Either_selfTest()
236 TCU_CHECK(either.get<TestClassWithConstructor>().getValue() == testObject.getValue()); in Either_selfTest()
253 TCU_CHECK(either.getSecond().getValue() == testObject.getValue()); in Either_selfTest()
254 TCU_CHECK(either.get<TestClassWithConstructor>().getValue() == testObject.getValue()); in Either_selfTest()
272 TCU_CHECK(either.getFirst().getValue() == testObject.getValue()); in Either_selfTest()
[all …]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DExtensionSchemaLite.java307 (List<Double>) extension.getValue(), in serializeExtension()
314 (List<Float>) extension.getValue(), in serializeExtension()
321 (List<Long>) extension.getValue(), in serializeExtension()
328 (List<Long>) extension.getValue(), in serializeExtension()
335 (List<Integer>) extension.getValue(), in serializeExtension()
342 (List<Long>) extension.getValue(), in serializeExtension()
349 (List<Integer>) extension.getValue(), in serializeExtension()
356 (List<Boolean>) extension.getValue(), in serializeExtension()
362 descriptor.getNumber(), (List<ByteString>) extension.getValue(), writer); in serializeExtension()
367 (List<Integer>) extension.getValue(), in serializeExtension()
[all …]
DExtensionSchemaFull.java321 (List<Double>) extension.getValue(), in serializeExtension()
328 (List<Float>) extension.getValue(), in serializeExtension()
335 (List<Long>) extension.getValue(), in serializeExtension()
342 (List<Long>) extension.getValue(), in serializeExtension()
349 (List<Integer>) extension.getValue(), in serializeExtension()
356 (List<Long>) extension.getValue(), in serializeExtension()
363 (List<Integer>) extension.getValue(), in serializeExtension()
370 (List<Boolean>) extension.getValue(), in serializeExtension()
376 descriptor.getNumber(), (List<ByteString>) extension.getValue(), writer); in serializeExtension()
381 (List<Integer>) extension.getValue(), in serializeExtension()
[all …]
DLazyField.java66 public MessageLite getValue() { in getValue() method in LazyField
67 return getValue(defaultInstance); in getValue()
72 return getValue().hashCode(); in hashCode()
77 return getValue().equals(obj); in equals()
82 return getValue().toString(); in toString()
104 public Object getValue() { in getValue() method in LazyField.LazyEntry
105 LazyField field = entry.getValue(); in getValue()
109 return field.getValue(); in getValue()
113 return entry.getValue(); in getField()
123 return entry.getValue().setValue((MessageLite) value); in setValue()
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsVertexArrayTests.hpp246 inline Type getValue (void) const { return m_value; } in getValue() function in deqp::gls::GLValue::WrappedType
248 …dType<Type>& other) const { return WrappedType<Type>::create((Type)(m_value + other.getValue())); } in operator +()
249 …dType<Type>& other) const { return WrappedType<Type>::create((Type)(m_value * other.getValue())); } in operator *()
250 …dType<Type>& other) const { return WrappedType<Type>::create((Type)(m_value / other.getValue())); } in operator /()
251 …dType<Type>& other) const { return WrappedType<Type>::create((Type)(m_value % other.getValue())); } in operator %()
252 …dType<Type>& other) const { return WrappedType<Type>::create((Type)(m_value - other.getValue())); } in operator -()
254 …Type>& operator+= (const WrappedType<Type>& other) { m_value += other.getValue(); return *this; } in operator +=()
255 …Type>& operator*= (const WrappedType<Type>& other) { m_value *= other.getValue(); return *this; } in operator *=()
256 …Type>& operator/= (const WrappedType<Type>& other) { m_value /= other.getValue(); return *this; } in operator /=()
257 …Type>& operator-= (const WrappedType<Type>& other) { m_value -= other.getValue(); return *this; } in operator -=()
[all …]
/third_party/vk-gl-cts/framework/randomshaders/
DrsgExpression.hpp61 virtual ExecConstValueAccess getValue (void) const = DE_NULL;
77 ExecConstValueAccess getValue (void) const { return m_valueAccess; } in getValue() function in rsg::VariableAccess
119 …ExecConstValueAccess getValue (void) const { return m_value.getValue(VariableType::getScalarTyp… in getValue() function in rsg::FloatLiteral
137 …ExecConstValueAccess getValue (void) const { return m_value.getValue(VariableType::getScalarTyp… in getValue() function in rsg::IntLiteral
156 …ExecConstValueAccess getValue (void) const { return m_value.getValue(VariableType::getScalarTyp… in getValue() function in rsg::BoolLiteral
174 ExecConstValueAccess getValue (void) const { return m_value.getValue(m_valueRange.getType()); } in getValue() function in rsg::ConstructorOp
199 ExecConstValueAccess getValue (void) const { return m_value.getValue(m_valueRange.getType()); } in getValue() function in rsg::AssignOp
222 ExecConstValueAccess getValue (void) const { return m_child->getValue(); } in getValue() function in rsg::ParenOp
241 …ExecConstValueAccess getValue (void) const { return m_value.getValue(m_outValueRange.getTyp… in getValue() function in rsg::SwizzleOp
263 ExecConstValueAccess getValue (void) const { return m_value.getValue(m_valueType); } in getValue() function in rsg::TexLookup
DrsgExecutionContext.cpp35 ExecValueAccess ExecMaskStorage::getValue (void) in getValue() function in rsg::ExecMaskStorage
40 ExecConstValueAccess ExecMaskStorage::getValue (void) const in getValue() function in rsg::ExecMaskStorage
51 pushExecutionMask(initVal.getValue()); in ExecutionContext()
61 ExecValueAccess ExecutionContext::getValue (const Variable* variable) in getValue() function in rsg::ExecutionContext
71 return storage->getValue(variable->getType()); in getValue()
78 int samplerNdx = samplerVal->getValue(sampler->getType()).asInt(0); in getSampler2D()
87 int samplerNdx = samplerVal->getValue(sampler->getType()).asInt(0); in getSamplerCube()
95 ExecValueAccess newValue = tmp.getValue(); in andExecutionMask()
107 tmp.getValue() = value.value(); in pushExecutionMask()
118 return m_execMaskStack[m_execMaskStack.size()-1].getValue(); in getExecutionMask()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfStringPool.cpp50 if (!MapEntry.getValue().isIndexed()) in getIndexedEntry()
51 MapEntry.getValue().Index = NumIndexedStrings++; in getIndexedEntry()
94 return A->getValue().Offset < B->getValue().Offset; in emit()
98 assert(ShouldCreateSymbols == static_cast<bool>(Entry->getValue().Symbol) && in emit()
103 Asm.OutStreamer->EmitLabel(Entry->getValue().Symbol); in emit()
107 Twine(Entry->getValue().Offset)); in emit()
118 if (Entry.getValue().isIndexed()) in emit()
119 Entries[Entry.getValue().Index] = &Entry; in emit()
126 Asm.emitDwarfStringOffset(Entry->getValue()); in emit()
128 Asm.OutStreamer->EmitIntValue(Entry->getValue().Offset, size); in emit()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/PBQP/
DCostAllocator.h41 const ValueT &getValue() const { return Value; } in getValue() function
62 return getHashValue(P->getValue()); in getHashValue()
66 return getHashValue(P->getValue()); in getHashValue()
78 return isEqual(C, P->getValue()); in isEqual()
84 return isEqual(P1->getValue(), P2); in isEqual()
95 template <typename ValueKeyT> PoolRef getValue(ValueKeyT ValueKey) { in getValue() function
99 return PoolRef((*I)->shared_from_this(), &(*I)->getValue()); in getValue()
103 return PoolRef(std::move(P), &P->getValue()); in getValue()
119 return VectorPool.getValue(std::move(v)); in getVector()
123 return MatrixPool.getValue(std::move(m)); in getMatrix()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DOptional.h72 T &getValue() LLVM_LVALUE_FUNCTION noexcept { in getValue() function
76 T const &getValue() const LLVM_LVALUE_FUNCTION noexcept { in getValue() function
81 T &&getValue() && noexcept { in getValue() function
172 T &getValue() LLVM_LVALUE_FUNCTION noexcept { in getValue() function
176 T const &getValue() const LLVM_LVALUE_FUNCTION noexcept { in getValue() function
181 T &&getValue() && noexcept { in getValue() function
253 const T *getPointer() const { return &Storage.getValue(); } in getPointer()
254 T *getPointer() { return &Storage.getValue(); } in getPointer()
255 const T &getValue() const LLVM_LVALUE_FUNCTION { return Storage.getValue(); } in getValue() function
256 T &getValue() LLVM_LVALUE_FUNCTION { return Storage.getValue(); } in getValue() function
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DSwitchLoweringUtils.cpp23 const APInt &LowCase = Clusters[First].Low->getValue(); in getJumpTableRange()
24 const APInt &HighCase = Clusters[Last].High->getValue(); in getJumpTableRange()
54 assert(Clusters[i - 1].High->getValue().slt(Clusters[i].Low->getValue())); in findJumpTables()
72 const APInt &Hi = Clusters[i].High->getValue(); in findJumpTables()
73 const APInt &Lo = Clusters[i].Low->getValue(); in findJumpTables()
206 const APInt &Low = Clusters[I].Low->getValue(); in buildJumpTable()
207 const APInt &High = Clusters[I].High->getValue(); in buildJumpTable()
211 const APInt &PreviousHigh = Clusters[I - 1].High->getValue(); in buildJumpTable()
225 Clusters[First].Low->getValue(), in buildJumpTable()
226 Clusters[Last].High->getValue(), *DL)) { in buildJumpTable()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSymbolRewriter.cpp305 Value = dyn_cast<yaml::MappingNode>(Entry.getValue()); in parseEntry()
307 YS.printError(Entry.getValue(), "rewrite descriptor must be a map"); in parseEntry()
311 RewriteType = Key->getValue(KeyStorage); in parseEntry()
345 Value = dyn_cast<yaml::ScalarNode>(Field.getValue()); in parseRewriteFunctionDescriptor()
347 YS.printError(Field.getValue(), "descriptor value must be a scalar"); in parseRewriteFunctionDescriptor()
351 KeyValue = Key->getValue(KeyStorage); in parseRewriteFunctionDescriptor()
355 Source = Value->getValue(ValueStorage); in parseRewriteFunctionDescriptor()
361 Target = Value->getValue(ValueStorage); in parseRewriteFunctionDescriptor()
363 Transform = Value->getValue(ValueStorage); in parseRewriteFunctionDescriptor()
367 Undecorated = Value->getValue(ValueStorage); in parseRewriteFunctionDescriptor()
[all …]
/third_party/typescript/tests/baselines/reference/
DimplicitAnyCastedValue.symbols52 getValue = null; // this should be an error
53 >getValue : Symbol(C1.getValue, Decl(implicitAnyCastedValue.ts, 24, 10))
58 return <any>this.getValue; // this should not be an error
59 >this.getValue : Symbol(C1.getValue, Decl(implicitAnyCastedValue.ts, 24, 10))
61 >getValue : Symbol(C1.getValue, Decl(implicitAnyCastedValue.ts, 24, 10))
67 return this.getValue; // this should not be an error
68 >this.getValue : Symbol(C1.getValue, Decl(implicitAnyCastedValue.ts, 24, 10))
70 >getValue : Symbol(C1.getValue, Decl(implicitAnyCastedValue.ts, 24, 10))
DprivateNameComputedPropertyName3(target=esnext).types18 getValue(x) {
19 >getValue : (x: any) => any
56 console.log(new Foo("NAME").getValue(100));
57 >console.log(new Foo("NAME").getValue(100)) : void
61 >new Foo("NAME").getValue(100) : error
62 >new Foo("NAME").getValue : (x: any) => any
66 >getValue : (x: any) => any
DprivateNameComputedPropertyName3(target=es2015).types18 getValue(x) {
19 >getValue : (x: any) => any
56 console.log(new Foo("NAME").getValue(100));
57 >console.log(new Foo("NAME").getValue(100)) : void
61 >new Foo("NAME").getValue(100) : error
62 >new Foo("NAME").getValue : (x: any) => any
66 >getValue : (x: any) => any
DprivateNameComputedPropertyName3(target=es2015).symbols17 getValue(x) {
18 >getValue : Symbol(Foo.getValue, Decl(privateNameComputedPropertyName3.ts, 5, 5))
50 console.log(new Foo("NAME").getValue(100));
54 >new Foo("NAME").getValue : Symbol(Foo.getValue, Decl(privateNameComputedPropertyName3.ts, 5, 5))
56 >getValue : Symbol(Foo.getValue, Decl(privateNameComputedPropertyName3.ts, 5, 5))
DprivateNameComputedPropertyName3(target=esnext).symbols17 getValue(x) {
18 >getValue : Symbol(Foo.getValue, Decl(privateNameComputedPropertyName3.ts, 5, 5))
50 console.log(new Foo("NAME").getValue(100));
54 >new Foo("NAME").getValue : Symbol(Foo.getValue, Decl(privateNameComputedPropertyName3.ts, 5, 5))
56 >getValue : Symbol(Foo.getValue, Decl(privateNameComputedPropertyName3.ts, 5, 5))
DimplicitAnyCastedValue.js27 getValue = null; // this should be an error field in C1
30 return <any>this.getValue; // this should not be an error
34 return this.getValue; // this should not be an error
110 this.getValue = null; // this should be an error
114 return this.getValue; // this should not be an error
121 return this.getValue; // this should not be an error
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/
Dconfig_test.dart26 expect(config.getValue('foo'), null);
28 expect(config.getValue('foo'), 'bar');
33 expect(config.getValue('foo'), null);
35 expect(config.getValue('foo'), true);
46 expect(config.getValue('foo'), null);
48 expect(config.getValue('foo'), 'bar');
51 expect(config.getValue('foo'), null);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DRecord.cpp323 return IntInit::get(getValue()); in convertInitializerTo()
382 Result |= static_cast<int64_t>(Bit->getValue()) << i; in convertInitializerTo()
483 int64_t Val = getValue(); in convertInitializerTo()
489 int64_t Value = getValue(); in convertInitializerTo()
546 return CodeInit::get(getValue(), SMLoc()); in convertInitializerTo()
555 return StringInit::get(getValue()); in convertInitializerTo()
738 D = CurRec->getRecords().getDef(Name->getValue()); in Fold()
743 Name->getValue() + "'\n"); in Fold()
789 return IntInit::get(LHSs->getValue().empty()); in Fold()
863 SmallString<80> Concat(I0->getValue()); in ConcatStringInits()
[all …]

12345678910>>...44