Home
last modified time | relevance | path

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

1234567

/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/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.cc186 const Value* value = scope_->GetValue(variables::kSources, true); in FillSources()
199 const Value* value = scope_->GetValue(variables::kPublic, true); in FillPublic()
231 const Value* value = scope_->GetValue(variables::kData, true); in FillData()
287 if (!scope_->GetValue(variables::kDataDeps, false)) { in FillDependencies()
326 const Value* value = scope_->GetValue(variables::kTestonly, true); in FillTestonly()
336 const Value* value = scope_->GetValue(variables::kAssertNoDeps, true); in FillAssertNoDeps()
346 const Value* value = scope_->GetValue(variables::kOutputs, true); in FillOutputs()
383 const Value* value = scope_->GetValue(variables::kCheckIncludes, true); in FillCheckIncludes()
393 const Value* value = scope_->GetValue(variables::kOutputExtension, true); in FillOutputExtension()
435 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()
Dscope_unittest.cc19 const Value* value = scope->GetValue(name); in HasStringValueEqualTo()
110 const Value* found_value = new_scope.GetValue("v"); in TEST()
169 EXPECT_TRUE(new_scope.GetValue(private_var_name)); in TEST()
183 EXPECT_FALSE(new_scope.GetValue(private_var_name)); in TEST()
258 EXPECT_TRUE(result->GetValue("on_root")); // Value should be copied. in TEST()
300 EXPECT_TRUE(mutable_scope2.GetValue(kOnConst, true)); in TEST()
333 EXPECT_TRUE(setup.scope()->GetValue("a")); in TEST()
334 EXPECT_FALSE(setup.scope()->GetValue("_b")); in TEST()
Dsetup.cc408 dotfile_scope_.GetValue("ohos_components_support", true); in FillOhosComponentsInfo()
824 const Value* value = dotfile_scope_.GetValue("script_executable", true); in FillPythonPath()
908 dotfile_scope_.GetValue("secondary_source", true); in FillOtherConfig()
919 dotfile_scope_.GetValue("build_file_extension", true); in FillOtherConfig()
938 dotfile_scope_.GetValue("ninja_required_version", true); in FillOtherConfig()
963 if (dotfile_scope_.GetValue("root", true)) { in FillOtherConfig()
968 const Value* root_value = dotfile_scope_.GetValue("root", true); in FillOtherConfig()
988 dotfile_scope_.GetValue("buildconfig", true); in FillOtherConfig()
1004 dotfile_scope_.GetValue("check_targets", true); in FillOtherConfig()
1016 dotfile_scope_.GetValue("no_check_targets", true); in FillOtherConfig()
[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/
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/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/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/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-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-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/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 …]
/third_party/node/deps/v8/include/cppgc/
Dpersistent.h31 const void* GetValue() const { return raw_; } in GetValue() function
80 SetNode(WeaknessPolicy::GetPersistentRegion(GetValue()) in PersistentBase()
194 return static_cast<T*>(const_cast<void*>(GetValue())); in Get()
201 WeaknessPolicy::GetPersistentRegion(GetValue()).FreeNode(GetNode()); in Clear()
233 return GetValue() != nullptr && GetValue() != kSentinelPointer; in IsValid()
244 WeaknessPolicy::GetPersistentRegion(GetValue()).FreeNode(GetNode()); in Assign()
249 SetNode(WeaknessPolicy::GetPersistentRegion(GetValue()) in Assign()
256 WeaknessPolicy::GetPersistentRegion(GetValue()).FreeNode(GetNode()); in ClearFromGC()
264 return static_cast<T*>(const_cast<void*>(GetValue())); in GetFromGC()
/third_party/node/test/js-native-api/test_properties/
Dtest_properties.c8 static napi_value GetValue(napi_env env, napi_callback_info info) { in GetValue() function
101 { "readwriteAccessor1", 0, 0, GetValue, SetValue, 0, napi_default, 0}, in Init()
102 { "readwriteAccessor2", 0, 0, GetValue, SetValue, 0, napi_writable, 0}, in Init()
103 { "readonlyAccessor1", 0, 0, GetValue, NULL, 0, napi_default, 0}, in Init()
104 { "readonlyAccessor2", 0, 0, GetValue, NULL, 0, napi_writable, 0}, in Init()

1234567