Home
last modified time | relevance | path

Searched refs:GetValue (Results 1 – 25 of 179) sorted by relevance

12345678

/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/
DFieldAccessTest.cs44 public void GetValue() in GetValue() method in Google.Protobuf.Reflection.FieldAccessTest
48 …reEqual(message.SingleBool, fields[TestAllTypes.SingleBoolFieldNumber].Accessor.GetValue(message)); in GetValue()
49 …Equal(message.SingleBytes, fields[TestAllTypes.SingleBytesFieldNumber].Accessor.GetValue(message)); in GetValue()
50 …ual(message.SingleDouble, fields[TestAllTypes.SingleDoubleFieldNumber].Accessor.GetValue(message)); in GetValue()
51 …l(message.SingleFixed32, fields[TestAllTypes.SingleFixed32FieldNumber].Accessor.GetValue(message)); in GetValue()
52 …l(message.SingleFixed64, fields[TestAllTypes.SingleFixed64FieldNumber].Accessor.GetValue(message)); in GetValue()
53 …Equal(message.SingleFloat, fields[TestAllTypes.SingleFloatFieldNumber].Accessor.GetValue(message)); in GetValue()
54 …e.SingleForeignEnum, fields[TestAllTypes.SingleForeignEnumFieldNumber].Accessor.GetValue(message)); in GetValue()
55 …leForeignMessage, fields[TestAllTypes.SingleForeignMessageFieldNumber].Accessor.GetValue(message)); in GetValue()
56 …age.SingleImportEnum, fields[TestAllTypes.SingleImportEnumFieldNumber].Accessor.GetValue(message)); in GetValue()
[all …]
/third_party/cef/libcef/common/test/
Dtranslator_test_impl.cc17 int GetValue() override { return value_; } in GetValue() function in CefTranslatorTestRefPtrLibraryImpl
45 int GetValue() override { return value_; } in GetValue() function in CefTranslatorTestRefPtrLibraryChildImpl
82 int GetValue() override { return value_; } in GetValue() function in CefTranslatorTestRefPtrLibraryChildChildImpl
122 int GetValue() override { return value_; } in GetValue() function in CefTranslatorTestScopedLibraryImpl
148 int GetValue() override { return value_; } in GetValue() function in CefTranslatorTestScopedLibraryChildImpl
183 int GetValue() override { return value_; } in GetValue() function in CefTranslatorTestScopedLibraryChildChildImpl
391 return val->GetValue(); in SetRefPtrLibrary()
401 return val->GetValue(); in SetChildRefPtrLibrary()
418 return val[0]->GetValue() == val1 && val[1]->GetValue() == val2; in SetRefPtrLibraryList()
437 return val->GetValue(); in SetRefPtrClient()
[all …]
/third_party/gn/src/gn/
Dargs_unittest.cc58 EXPECT_EQ(nullptr, setup.scope()->GetValue("a")); in TEST()
59 EXPECT_EQ(nullptr, setup.scope()->GetValue("b")); in TEST()
63 ASSERT_NE(nullptr, setup.scope()->GetValue("current_os")); in TEST()
64 EXPECT_EQ(Value(nullptr, "myos"), *setup.scope()->GetValue("current_os")); in TEST()
72 ASSERT_NE(nullptr, setup.scope()->GetValue("a")); in TEST()
73 EXPECT_EQ(Value(nullptr, "avalue"), *setup.scope()->GetValue("a")); in TEST()
75 ASSERT_NE(nullptr, setup.scope()->GetValue("b")); in TEST()
76 EXPECT_EQ(Value(nullptr, "bvalue"), *setup.scope()->GetValue("b")); in TEST()
79 ASSERT_NE(nullptr, setup.scope()->GetValue("c")); in TEST()
80 EXPECT_EQ(Value(nullptr, "cvalue2"), *setup.scope()->GetValue("c")); in TEST()
Dconfig_values_generator.cc24 const Value* value = scope->GetValue(var_name, true); in GetStringList()
37 const Value* value = scope->GetValue(var_name, true); in GetDirList()
52 const Value* value = scope->GetValue(var_name, true); in GetFrameworksList()
115 const Value* inputs_value = scope_->GetValue(variables::kInputs, true); in Run()
123 const Value* libs_value = scope_->GetValue(variables::kLibs, true); in Run()
130 const Value* externs_value = scope_->GetValue(variables::kExterns, true); in Run()
144 scope_->GetValue(variables::kPrecompiledHeader, true); in Run()
162 scope_->GetValue(variables::kPrecompiledSource, true); in Run()
Dcreate_bundle_target_generator.cc83 const Value* value = scope_->GetValue(name, true); in FillBundleDir()
140 const Value* value = scope_->GetValue(variables::kProductType, true); in FillProductType()
152 const Value* value = scope_->GetValue(variables::kPartialInfoPlist, true); in FillPartialInfoPlist()
176 scope_->GetValue(variables::kXcodeTestApplicationName, true); in FillXcodeTestApplicationName()
189 const Value* value = scope_->GetValue(variables::kCodeSigningScript, true); in FillCodeSigningScript()
206 const Value* value = scope_->GetValue(variables::kCodeSigningSources, true); in FillCodeSigningSources()
229 const Value* value = scope_->GetValue(variables::kCodeSigningOutputs, true); in FillCodeSigningOutputs()
269 const Value* value = scope_->GetValue(variables::kCodeSigningArgs, true); in FillCodeSigningArgs()
288 const Value* value = scope_->GetValue(variables::kBundleDepsFilter, true); in FillBundleDepsFilter()
310 const Value* value = scope_->GetValue(variables::kXcassetCompilerFlags, true); in FillXcassetCompilerFlags()
Dbinary_target_generator.cc118 Err(scope_->GetValue(variables::kSources, true)->list_value()[i], in FillSources()
132 const Value* value = scope_->GetValue(variables::kCompleteStaticLib, true); in FillCompleteStaticLib()
143 const Value* value = scope_->GetValue(variables::kFriend, true); in FillFriends()
153 const Value* value = scope_->GetValue(variables::kOutputName, true); in FillOutputName()
163 const Value* value = scope_->GetValue(variables::kOutputPrefixOverride, true); in FillOutputPrefixOverride()
173 const Value* value = scope_->GetValue(variables::kOutputDir, true); in FillOutputDir()
197 scope_->GetValue(variables::kAllowCircularIncludesFrom, true); in FillAllowCircularIncludesFrom()
237 if (scope_->GetValue(variables::kRustCrateRoot, false)) { in ValidateSources()
Dtarget_generator.cc177 const Value* value = scope_->GetValue(variables::kSources, true); in FillSources()
190 const Value* value = scope_->GetValue(variables::kPublic, true); in FillPublic()
222 const Value* value = scope_->GetValue(variables::kData, true); in FillData()
268 if (!scope_->GetValue(variables::kDataDeps, false)) { in FillDependencies()
307 const Value* value = scope_->GetValue(variables::kTestonly, true); in FillTestonly()
317 const Value* value = scope_->GetValue(variables::kAssertNoDeps, true); in FillAssertNoDeps()
327 const Value* value = scope_->GetValue(variables::kOutputs, true); in FillOutputs()
364 const Value* value = scope_->GetValue(variables::kCheckIncludes, true); in FillCheckIncludes()
374 const Value* value = scope_->GetValue(variables::kOutputExtension, true); in FillOutputExtension()
416 const Value* value = scope_->GetValue(var_name, true); in FillGenericConfigs()
[all …]
Dinput_conversion_unittest.cc111 const Value* a_value = result.scope_value()->GetValue("a"); in TEST_F()
115 const Value* b_value = result.scope_value()->GetValue("b"); in TEST_F()
119 const Value* c_value = result.scope_value()->GetValue("c"); in TEST_F()
154 const Value* a_value = result.scope_value()->GetValue("a"); in TEST_F()
158 const Value* b_value = result.scope_value()->GetValue("b"); in TEST_F()
162 const Value* c_value = result.scope_value()->GetValue("c"); in TEST_F()
166 const Value* d_value = c_value->scope_value()->GetValue("d"); in TEST_F()
170 const Value* e_value = c_value->scope_value()->GetValue("e"); in TEST_F()
176 const Value* f_value = e_value->list_value()[0].scope_value()->GetValue("f"); in TEST_F()
Daction_target_generator.cc110 const Value* value = scope_->GetValue(variables::kScript, true); in FillScript()
127 const Value* value = scope_->GetValue(variables::kArgs, true); in FillScriptArgs()
142 const Value* value = scope_->GetValue(variables::kResponseFileContents, true); in FillResponseFileContents()
157 const Value* value = scope_->GetValue(variables::kDepfile, true); in FillDepfile()
172 const Value* value = scope_->GetValue(variables::kPool, true); in FillPool()
224 const Value* value = scope_->GetValue(variables::kInputs, true); in FillInputs()
Dgenerated_file_target_generator.cc62 const Value* value = scope_->GetValue(variables::kWriteValueContents, true); in FillContents()
86 scope_->GetValue(variables::kWriteOutputConversion, true); in FillOutputConversion()
100 const Value* value = scope_->GetValue(variables::kRebase, true); in FillRebase()
122 const Value* value = scope_->GetValue(variables::kDataKeys, true); in FillDataKeys()
142 const Value* value = scope_->GetValue(variables::kWalkKeys, true); in FillWalkKeys()
/third_party/cef/tests/ceftests/
Dtranslator_unittest.cc179 EXPECT_EQ(kTestVal, test_obj->GetValue()); in TEST()
182 EXPECT_EQ(kTestVal, test_obj->GetValue()); in TEST()
187 EXPECT_EQ(kTestVal2, test_obj2->GetValue()); in TEST()
190 EXPECT_EQ(kTestVal2, test_obj2->GetValue()); in TEST()
206 EXPECT_EQ(kTestVal, test_obj->GetValue()); in TEST()
210 EXPECT_EQ(kTestVal, test_obj->GetValue()); in TEST()
215 obj->SetChildRefPtrLibraryAndReturnParent(test_obj)->GetValue()); in TEST()
221 EXPECT_EQ(kTestVal, test_obj2->GetValue()); in TEST()
226 EXPECT_EQ(kTestVal, test_obj2->GetValue()); in TEST()
232 obj->SetChildRefPtrLibraryAndReturnParent(test_obj2)->GetValue()); in TEST()
[all …]
Dxml_reader_unittest.cc53 ASSERT_EQ(reader->GetValue(), "my_value"); in TEST()
101 ASSERT_EQ(reader->GetValue(), "value A"); in TEST()
127 ASSERT_EQ(reader->GetValue(), " my comment "); in TEST()
166 ASSERT_EQ(reader->GetValue(), "value B1"); in TEST()
201 ASSERT_EQ(reader->GetValue(), "some <br/> data"); in TEST()
238 ASSERT_EQ(reader->GetValue(), "EB Value"); in TEST()
289 ASSERT_EQ(reader->GetValue(), "this is"); in TEST()
305 ASSERT_EQ(reader->GetValue(), " mixed content "); in TEST()
314 ASSERT_EQ(reader->GetValue(), "EA Value"); in TEST()
380 ASSERT_EQ(reader->GetValue(), "value C1"); in TEST()
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DFieldAccessTest.cs48 public void GetValue() in GetValue() method in Google.Protobuf.Reflection.FieldAccessTest
52 …sage.SingleBool, fields[TestProtos.TestAllTypes.SingleBoolFieldNumber].Accessor.GetValue(message)); in GetValue()
53 …ge.SingleBytes, fields[TestProtos.TestAllTypes.SingleBytesFieldNumber].Accessor.GetValue(message)); in GetValue()
54 ….SingleDouble, fields[TestProtos.TestAllTypes.SingleDoubleFieldNumber].Accessor.GetValue(message)); in GetValue()
55 …ingleFixed32, fields[TestProtos.TestAllTypes.SingleFixed32FieldNumber].Accessor.GetValue(message)); in GetValue()
56 …ingleFixed64, fields[TestProtos.TestAllTypes.SingleFixed64FieldNumber].Accessor.GetValue(message)); in GetValue()
57 …ge.SingleFloat, fields[TestProtos.TestAllTypes.SingleFloatFieldNumber].Accessor.GetValue(message)); in GetValue()
58 …eignEnum, fields[TestProtos.TestAllTypes.SingleForeignEnumFieldNumber].Accessor.GetValue(message)); in GetValue()
59 …ssage, fields[TestProtos.TestAllTypes.SingleForeignMessageFieldNumber].Accessor.GetValue(message)); in GetValue()
60 …mportEnum, fields[TestProtos.TestAllTypes.SingleImportEnumFieldNumber].Accessor.GetValue(message)); in GetValue()
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DCustomOptions.cs220 ByteString bytes = single.GetValue().ToByteString();
228 value = repeated.GetValue()
257 value = single.GetValue(); in TryGetPrimitiveValue()
263 if (repeated.GetValue().Count != 0) in TryGetPrimitiveValue()
265 RepeatedField<T> repeatedField = repeated.GetValue(); in TryGetPrimitiveValue()
279 …value = (T)typeInfo.GetDeclaredMethod(nameof(ExtensionValue<T>.GetValue)).Invoke(extensionValue, E… in TryGetPrimitiveValue()
289 …es = (IList)typeInfo.GetDeclaredMethod(nameof(RepeatedExtensionValue<T>.GetValue)).Invoke(extensio… in TryGetPrimitiveValue()
/third_party/protobuf/csharp/src/Google.Protobuf/
DJsonFormatter.cs224 var value = accessor.GetValue(message); in WriteMessageFields()
467 …= message.Descriptor.Fields[WrappersReflection.WrapperValueFieldNumber].Accessor.GetValue(message); in WriteWellKnownTypeValue()
495 WriteList(writer, (IList)fieldAccessor.GetValue((IMessage)value)); in WriteWellKnownTypeValue()
517 … int nanos = (int) value.Descriptor.Fields[Timestamp.NanosFieldNumber].Accessor.GetValue(value); in WriteTimestamp()
518 …ng seconds = (long) value.Descriptor.Fields[Timestamp.SecondsFieldNumber].Accessor.GetValue(value); in WriteTimestamp()
525 … int nanos = (int) value.Descriptor.Fields[Duration.NanosFieldNumber].Accessor.GetValue(value); in WriteDuration()
526 …ong seconds = (long) value.Descriptor.Fields[Duration.SecondsFieldNumber].Accessor.GetValue(value); in WriteDuration()
532 …ths = (IList<string>) value.Descriptor.Fields[FieldMask.PathsFieldNumber].Accessor.GetValue(value); in WriteFieldMask()
544 …string typeUrl = (string) value.Descriptor.Fields[Any.TypeUrlFieldNumber].Accessor.GetValue(value); in WriteAny()
545 …eString data = (ByteString) value.Descriptor.Fields[Any.ValueFieldNumber].Accessor.GetValue(value); in WriteAny()
[all …]
DFieldMaskTree.cs280 var sourceField = field.Accessor.GetValue(source); in Merge()
281 var destinationField = field.Accessor.GetValue(destination); in Merge()
309 var sourceField = (IList)field.Accessor.GetValue(source); in Merge()
310 var destinationField = (IList)field.Accessor.GetValue(destination); in Merge()
318 var sourceField = field.Accessor.GetValue(source); in Merge()
337 … var destinationValue = (IMessage)field.Accessor.GetValue(destination); in Merge()
/third_party/skia/third_party/externals/spirv-cross/shaders-msl/asm/frag/
Dempty-struct.asm.frag12 OpName %GetValue "GetValue"
13 OpName %GetValue2 "GetValue"
32 %GetValue = OpFunction %float None %5
50 %22 = OpFunctionCall %float %GetValue %emptyStruct
/third_party/skia/third_party/externals/spirv-cross/shaders-hlsl/asm/frag/
Dempty-struct.asm.frag12 OpName %GetValue "GetValue"
13 OpName %GetValue2 "GetValue"
32 %GetValue = OpFunction %float None %5
50 %22 = OpFunctionCall %float %GetValue %emptyStruct
/third_party/skia/third_party/externals/spirv-cross/shaders/asm/frag/
Dempty-struct.asm.frag12 OpName %GetValue "GetValue"
13 OpName %GetValue2 "GetValue"
32 %GetValue = OpFunction %float None %5
50 %22 = OpFunctionCall %float %GetValue %emptyStruct
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs222 …Assert.AreEqual("x", fields[TestWellKnownTypes.StringFieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
223 …ng.CopyFrom(1, 2, 3), fields[TestWellKnownTypes.BytesFieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
224 … Assert.AreEqual(true, fields[TestWellKnownTypes.BoolFieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
225 …ssert.AreEqual(12.5f, fields[TestWellKnownTypes.FloatFieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
226 …ert.AreEqual(12.25d, fields[TestWellKnownTypes.DoubleFieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
227 … Assert.AreEqual(1, fields[TestWellKnownTypes.Int32FieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
228 … Assert.AreEqual(2L, fields[TestWellKnownTypes.Int64FieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
229 … Assert.AreEqual(3U, fields[TestWellKnownTypes.Uint32FieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
230 …Assert.AreEqual(4UL, fields[TestWellKnownTypes.Uint64FieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
235 … Assert.IsNull(fields[TestWellKnownTypes.StringFieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
[all …]
/third_party/skia/third_party/externals/spirv-cross/shaders-no-opt/asm/frag/
Dempty-struct-in-struct.asm.frag13 OpName %GetValue "GetValue"
14 OpName %GetValue2 "GetValue"
35 %GetValue = OpFunction %float None %5
54 %22 = OpFunctionCall %float %GetValue %emptyStruct
/third_party/skia/third_party/externals/spirv-cross/shaders-msl-no-opt/asm/frag/
Dempty-struct-in-struct.asm.frag13 OpName %GetValue "GetValue"
14 OpName %GetValue2 "GetValue"
35 %GetValue = OpFunction %float None %5
54 %22 = OpFunctionCall %float %GetValue %emptyStruct
/third_party/skia/third_party/externals/spirv-cross/shaders-hlsl-no-opt/asm/frag/
Dempty-struct-in-struct.asm.frag13 OpName %GetValue "GetValue"
14 OpName %GetValue2 "GetValue"
35 %GetValue = OpFunction %float None %5
54 %22 = OpFunctionCall %float %GetValue %emptyStruct
/third_party/node/test/js-native-api/test_properties/
Dtest_properties.c6 static napi_value GetValue(napi_env env, napi_callback_info info) { in GetValue() function
90 { "readwriteAccessor1", 0, 0, GetValue, SetValue, 0, napi_default, 0}, in Init()
91 { "readwriteAccessor2", 0, 0, GetValue, SetValue, 0, napi_writable, 0}, in Init()
92 { "readonlyAccessor1", 0, 0, GetValue, NULL, 0, napi_default, 0}, in Init()
93 { "readonlyAccessor2", 0, 0, GetValue, NULL, 0, napi_writable, 0}, in Init()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs229 …Assert.AreEqual("x", fields[TestWellKnownTypes.StringFieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
230 …ng.CopyFrom(1, 2, 3), fields[TestWellKnownTypes.BytesFieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
231 … Assert.AreEqual(true, fields[TestWellKnownTypes.BoolFieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
232 …ssert.AreEqual(12.5f, fields[TestWellKnownTypes.FloatFieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
233 …ert.AreEqual(12.25d, fields[TestWellKnownTypes.DoubleFieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
234 … Assert.AreEqual(1, fields[TestWellKnownTypes.Int32FieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
235 … Assert.AreEqual(2L, fields[TestWellKnownTypes.Int64FieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
236 … Assert.AreEqual(3U, fields[TestWellKnownTypes.Uint32FieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
237 …Assert.AreEqual(4UL, fields[TestWellKnownTypes.Uint64FieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
242 … Assert.IsNull(fields[TestWellKnownTypes.StringFieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
[all …]

12345678