Home
last modified time | relevance | path

Searched refs:GetValue (Results 1 - 25 of 136) sorted by relevance

123456

/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/
H A DFieldAccessTest.cs44 public void GetValue() in GetValue() method in Google.Protobuf.Reflection.FieldAccessTest
48 Assert.AreEqual(message.SingleBool, fields[TestAllTypes.SingleBoolFieldNumber].Accessor.GetValue(message)); in GetValue()
49 Assert.AreEqual(message.SingleBytes, fields[TestAllTypes.SingleBytesFieldNumber].Accessor.GetValue(message)); in GetValue()
50 Assert.AreEqual(message.SingleDouble, fields[TestAllTypes.SingleDoubleFieldNumber].Accessor.GetValue(message)); in GetValue()
51 Assert.AreEqual(message.SingleFixed32, fields[TestAllTypes.SingleFixed32FieldNumber].Accessor.GetValue(message)); in GetValue()
52 Assert.AreEqual(message.SingleFixed64, fields[TestAllTypes.SingleFixed64FieldNumber].Accessor.GetValue(message)); in GetValue()
53 Assert.AreEqual(message.SingleFloat, fields[TestAllTypes.SingleFloatFieldNumber].Accessor.GetValue(message)); in GetValue()
54 Assert.AreEqual(message.SingleForeignEnum, fields[TestAllTypes.SingleForeignEnumFieldNumber].Accessor.GetValue(message)); in GetValue()
55 Assert.AreEqual(message.SingleForeignMessage, fields[TestAllTypes.SingleForeignMessageFieldNumber].Accessor.GetValue(message)); in GetValue()
56 Assert.AreEqual(message.SingleImportEnum, fields[TestAllTypes.SingleImportEnumFieldNumber].Accessor.GetValue(messag in GetValue()
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
H A DFieldAccessTest.cs48 public void GetValue() in GetValue() method in Google.Protobuf.Reflection.FieldAccessTest
52 Assert.AreEqual(message.SingleBool, fields[TestProtos.TestAllTypes.SingleBoolFieldNumber].Accessor.GetValue(message)); in GetValue()
53 Assert.AreEqual(message.SingleBytes, fields[TestProtos.TestAllTypes.SingleBytesFieldNumber].Accessor.GetValue(message)); in GetValue()
54 Assert.AreEqual(message.SingleDouble, fields[TestProtos.TestAllTypes.SingleDoubleFieldNumber].Accessor.GetValue(message)); in GetValue()
55 Assert.AreEqual(message.SingleFixed32, fields[TestProtos.TestAllTypes.SingleFixed32FieldNumber].Accessor.GetValue(message)); in GetValue()
56 Assert.AreEqual(message.SingleFixed64, fields[TestProtos.TestAllTypes.SingleFixed64FieldNumber].Accessor.GetValue(message)); in GetValue()
57 Assert.AreEqual(message.SingleFloat, fields[TestProtos.TestAllTypes.SingleFloatFieldNumber].Accessor.GetValue(message)); in GetValue()
58 Assert.AreEqual(message.SingleForeignEnum, fields[TestProtos.TestAllTypes.SingleForeignEnumFieldNumber].Accessor.GetValue(message)); in GetValue()
59 Assert.AreEqual(message.SingleForeignMessage, fields[TestProtos.TestAllTypes.SingleForeignMessageFieldNumber].Accessor.GetValue(message)); in GetValue()
60 Assert.AreEqual(message.SingleImportEnum, fields[TestProtos.TestAllTypes.SingleImportEnumFieldNumber].Accessor.GetValue(messag in GetValue()
[all...]
/third_party/gn/src/gn/
H A 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(" in TEST()
[all...]
H A 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()
H A Dbinary_target_generator.cc121 Err(scope_->GetValue(variables::kSources, true)->list_value()[i], in FillSources()
135 const Value* value = scope_->GetValue(variables::kCompleteStaticLib, true); in FillCompleteStaticLib()
146 const Value* value = scope_->GetValue(variables::kFriend, true); in FillFriends()
156 const Value* value = scope_->GetValue(variables::kOutputName, true); in FillOutputName()
166 const Value* value = scope_->GetValue(variables::kOutputPrefixOverride, true); in FillOutputPrefixOverride()
176 const Value* value = scope_->GetValue(variables::kOutputDir, true); in FillOutputDir()
200 scope_->GetValue(variables::kAllowCircularIncludesFrom, true); in FillAllowCircularIncludesFrom()
240 const Value* value = scope_->GetValue(variables::kPool, true); in FillPool()
261 if (scope_->GetValue(variables::kRustCrateRoot, false)) { in ValidateSources()
H A Daction_target_generator.cc115 const Value* value = scope_->GetValue(variables::kScript, true); in FillScript()
132 const Value* value = scope_->GetValue(variables::kArgs, true); in FillScriptArgs()
147 const Value* value = scope_->GetValue(variables::kResponseFileContents, true); in FillResponseFileContents()
162 const Value* value = scope_->GetValue(variables::kDepfile, true); in FillDepfile()
177 const Value* value = scope_->GetValue(variables::kMnemonic, true); in FillMnemonic()
200 const Value* value = scope_->GetValue(variables::kPool, true); in FillPool()
252 const Value* value = scope_->GetValue(variables::kInputs, true); in FillInputs()
H A Dtarget_generator.cc184 const Value* value = scope_->GetValue(variables::kSources, true); in FillSources()
197 const Value* value = scope_->GetValue(variables::kPublic, true); in FillPublic()
229 const Value* value = scope_->GetValue(variables::kData, true); in FillData()
285 if (!scope_->GetValue(variables::kDataDeps, false)) { in FillDependencies()
324 const Value* value = scope_->GetValue(variables::kTestonly, true); in FillTestonly()
334 const Value* value = scope_->GetValue(variables::kAssertNoDeps, true); in FillAssertNoDeps()
344 const Value* value = scope_->GetValue(variables::kOutputs, true); in FillOutputs()
381 const Value* value = scope_->GetValue(variables::kCheckIncludes, true); in FillCheckIncludes()
391 const Value* value = scope_->GetValue(variables::kOutputExtension, true); in FillOutputExtension()
433 const Value* value = scope_->GetValue(var_nam in FillGenericConfigs()
[all...]
H A Dcreate_bundle_target_generator.cc28 const Value* value = scope->GetValue(name, true); in GetValueFromScope()
32 value = scope->GetValue(old_name, true); in GetValueFromScope()
115 const Value* value = scope_->GetValue(name, true); in FillBundleDir()
173 const Value* value = scope_->GetValue(variables::kProductType, true); in FillProductType()
185 const Value* value = scope_->GetValue(variables::kPartialInfoPlist, true); in FillPartialInfoPlist()
209 scope_->GetValue(variables::kXcodeTestApplicationName, true); in FillXcodeTestApplicationName()
322 const Value* value = scope_->GetValue(variables::kBundleDepsFilter, true); in FillBundleDepsFilter()
344 const Value* value = scope_->GetValue(variables::kXcassetCompilerFlags, true); in FillXcassetCompilerFlags()
355 const Value* value = scope_->GetValue(variables::kTransparent, true); in FillTransparent()
H A 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()
H A 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()
H A Dsetup.cc444 dotfile_scope_.GetValue("ohos_components_support", true);
872 const Value* value = dotfile_scope_.GetValue("script_executable", true);
957 dotfile_scope_.GetValue("secondary_source", true);
968 dotfile_scope_.GetValue("build_file_extension", true);
987 dotfile_scope_.GetValue("ninja_required_version", true);
1012 if (dotfile_scope_.GetValue("root", true)) {
1017 const Value* root_value = dotfile_scope_.GetValue("root", true);
1054 (void)dotfile_scope_.GetValue("root_patterns", true);
1057 dotfile_scope_.GetValue("root_patterns", true);
1090 dotfile_scope_.GetValue("buildconfi
[all...]
H A Drust_values_generator.cc69 const Value* value = scope_->GetValue(variables::kRustCrateName, true); in FillCrateName()
83 const Value* value = scope_->GetValue(variables::kRustCrateType, true); in FillCrateType()
133 const Value* value = scope_->GetValue(variables::kRustCrateRoot, true); in FillCrateRoot()
167 const Value* value = scope_->GetValue(variables::kRustAliasedDeps, true); in FillAliasedDeps()
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
H A 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, EmptyParameters); in TryGetPrimitiveValue()
289 var values = (IList)typeInfo.GetDeclaredMethod(nameof(RepeatedExtensionValue<T>.GetValue)).Invoke(extensionValue, EmptyParameters); in TryGetPrimitiveValue()
/third_party/protobuf/csharp/src/Google.Protobuf/
H A DJsonFormatter.cs224 var value = accessor.GetValue(message); in WriteMessageFields()
467 value = 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 long 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 long seconds = (long) value.Descriptor.Fields[Duration.SecondsFieldNumber].Accessor.GetValue(value); in WriteDuration()
532 var paths = (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 ByteString data = (ByteString) value.Descriptor.Fields[Any.ValueFieldNumber].Accessor.GetValue(valu in WriteAny()
[all...]
H A 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/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/
H A DWrappersTest.cs222 Assert.AreEqual("x", fields[TestWellKnownTypes.StringFieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
223 Assert.AreEqual(ByteString.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 Assert.AreEqual(12.5f, fields[TestWellKnownTypes.FloatFieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
226 Assert.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(messag in Reflection_SingleValues()
[all...]
/third_party/node/test/js-native-api/test_properties/
H A 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()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
H A DWrappersTest.cs229 Assert.AreEqual("x", fields[TestWellKnownTypes.StringFieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
230 Assert.AreEqual(ByteString.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 Assert.AreEqual(12.5f, fields[TestWellKnownTypes.FloatFieldFieldNumber].Accessor.GetValue(message)); in Reflection_SingleValues()
233 Assert.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(messag in Reflection_SingleValues()
[all...]
/third_party/node/deps/v8/include/v8-include/cppgc/
H A Dpersistent.h28 const void* GetValue() const { return raw_; } in GetValue() function in cppgc::internal::PersistentBase
77 SetNode(WeaknessPolicy::GetPersistentRegion(GetValue()) in BasicPersistent()
194 return static_cast<T*>(const_cast<void*>(GetValue())); in Get()
201 WeaknessPolicy::GetPersistentRegion(GetValue()).FreeNode(GetNode()); in Clear()
232 return GetValue() != nullptr && GetValue() != kSentinelPointer; in IsValid()
243 WeaknessPolicy::GetPersistentRegion(GetValue()).FreeNode(GetNode()); in Assign()
248 SetNode(WeaknessPolicy::GetPersistentRegion(GetValue()) in Assign()
255 WeaknessPolicy::GetPersistentRegion(GetValue()).FreeNode(GetNode()); in ClearFromGC()
263 return static_cast<T*>(const_cast<void*>(GetValue())); in GetFromGC()
[all...]
/third_party/node/deps/v8/include/cppgc/
H A Dpersistent.h31 const void* GetValue() const { return raw_; } in GetValue() function in cppgc::internal::PersistentBase
80 SetNode(WeaknessPolicy::GetPersistentRegion(GetValue()) in BasicPersistent()
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()
[all...]
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/
H A Dprotocol_core_test.cc42 const std::string& GetValue() const { return value_; } in GetValue() function in v8_crdtp::__anon15268::TestTypeBasic
67 EXPECT_THAT(obj2->GetValue(), Eq("foo")); in TEST()
81 double GetValue() const { return value_; } in GetValue() function in v8_crdtp::__anon15268::TestTypeBasicDouble
114 EXPECT_THAT(obj->GetValue(), Eq(42)); in TEST()
182 EXPECT_THAT(obj2->GetTestTypeBasicField()->GetValue(), Eq("bazzzz")); in TEST()
347 EXPECT_THAT(obj2->GetTestTypeBasicArray()->front()->GetValue(), Eq("bazzzz")); in TEST_F()
420 EXPECT_THAT(obj2->GetTestTypeBasicField()->GetValue(), Eq("bar")); in TEST()
466 EXPECT_THAT(basic_val.GetValue(), Eq("bazzzz")); in TEST()
472 ASSERT_EQ((*maybe_parsed)->GetValue(), "bazzzz"); in TEST()
/third_party/node/test/js-native-api/test_constructor/
H A Dtest_constructor.c101 static napi_value GetValue(napi_env env, napi_callback_info info) { in GetValue() function
177 { "readwriteAccessor1", NULL, NULL, GetValue, SetValue, NULL, napi_default, in Init()
179 { "readwriteAccessor2", NULL, NULL, GetValue, SetValue, NULL, in Init()
181 { "readonlyAccessor1", NULL, NULL, GetValue, NULL, NULL, napi_default, in Init()
183 { "readonlyAccessor2", NULL, NULL, GetValue, NULL, NULL, napi_writable, in Init()
/third_party/protobuf/src/google/protobuf/
H A Dgenerated_enum_util.cc49 int GetValue(const EnumEntry* enums, int i, int target) { in GetValue() function
73 return GetValue(enums, a, value) < GetValue(enums, b, value); in LookUpEnumName()
/third_party/node/deps/v8/src/objects/
H A Ddescriptor-array-inl.h153 return GetValue(cage_base, descriptor_number).cast<Object>(); in GetStrongValue()
164 MaybeObject DescriptorArray::GetValue(InternalIndex descriptor_number) { in GetValue() function in v8::internal::DescriptorArray
166 return GetValue(cage_base, descriptor_number); in GetValue()
169 MaybeObject DescriptorArray::GetValue(PtrComprCageBase cage_base, in GetValue() function in v8::internal::DescriptorArray
203 MaybeObject wrapped_type = GetValue(cage_base, descriptor_number); in GetFieldType()
216 MaybeObject value = *desc->GetValue(); in Set()
/third_party/node/src/
H A Daliased_buffer.h89 return aliased_buffer_->GetValue(index_); in operator NativeT()
93 const NativeT current = aliased_buffer_->GetValue(index_); in operator +=()
103 const NativeT current = aliased_buffer_->GetValue(index_); in operator -=()
128 * through the GetValue/SetValue/operator[] methods
145 inline const NativeT GetValue(const size_t index) const;
148 * Effectively, a synonym for GetValue/SetValue

Completed in 14 milliseconds

123456