Home
last modified time | relevance | path

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

12345678910>>...15

/external/protobuf/csharp/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 …]
/external/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 …]
/external/sonivox/jet_tools/JetCreator/
DJetDialogs.py130 def GetValue(self, fld): member in JetEdit
132 return self.ctrls[fld].GetValue()
167 self.fileName = self.je.ctrls[JetDefs.F_JFILE].GetValue()
174 self.fileName = self.je.ctrls[JetDefs.F_JFILE].GetValue()
184 if len(self.je.ctrls[JetDefs.F_JFILE].GetValue()) == 0:
188 if not FileExists(self.je.ctrls[JetDefs.F_JFILE].GetValue()):
206 def GetValue(self, fld): member in JetPreferences
207 return self.je.ctrls[fld].GetValue()
228 def GetValue(self, fld): member in JetAbout
229 return self.je.ctrls[fld].GetValue()
[all …]
DJetCreator.py426 self.jet_file.AddSegment(replicate[0], dlg.GetValue(JetDefs.F_MIDIFILE),
429 … SegmentOutputFile(dlg.GetValue(JetDefs.F_SEGNAME), self.currentJetConfigFile),
430 dlg.GetValue(JetDefs.F_QUANTIZE),
431 [], dlg.GetValue(JetDefs.F_DLSFILE),
433 dlg.GetValue(JetDefs.F_TRANSPOSE),
434 dlg.GetValue(JetDefs.F_REPEAT),
435 dlg.GetValue(JetDefs.F_MUTEFLAGS))
440 … self.jet_file.AddSegment(dlg.GetValue(JetDefs.F_SEGNAME), dlg.GetValue(JetDefs.F_MIDIFILE),
441 dlg.GetValue(JetDefs.F_START), dlg.GetValue(JetDefs.F_END),
443 … SegmentOutputFile(dlg.GetValue(JetDefs.F_SEGNAME), self.currentJetConfigFile),
[all …]
DJetCtrls.py58 def GetValue(self): member in JetSpinOneBased
59 val = wx.SpinCtrl.GetValue(self)
220 def GetValue(self): member in JetTrackCtrl
277 def GetValue(self): member in JetFileCombo
278 return StrNoneChk(self.cmb.GetValue())
336 def GetValue(self): member in JetFileText
337 return StrNoneChk(self.txt.GetValue())
440 if int(self.time[self.iCtrl].GetValue()) > self.mx[self.iCtrl]:
442 if int(self.time[self.iCtrl].GetValue()) < self.mn[self.iCtrl]:
450 if int(self.time[self.iCtrl].GetValue()) < self.mx[self.iCtrl]:
[all …]
/external/llvm-project/lldb/test/API/commands/expression/macros/
DTestMacros.py43 result.IsValid() and result.GetValue() == "100",
48 result.IsValid() and result.GetValue() == "200",
53 result.IsValid() and result.GetValue() == "1",
58 result.IsValid() and result.GetValue() == "2",
63 result.IsValid() and result.GetValue() == "3",
68 result.IsValid() and result.GetValue() == "4",
73 result.IsValid() and result.GetValue() == "100",
78 result.IsValid() and result.GetValue() == "1000",
82 self.assertTrue(result.IsValid() and result.GetValue()
87 result.IsValid() and result.GetValue() == "2",
[all …]
/external/llvm-project/lldb/test/API/functionalities/data-formatter/format-propagation/
DTestFormatPropagation.py57 self.assertEquals(X.GetValue(), "1", "X has an invalid value")
58 self.assertEquals(Y.GetValue(), "2", "Y has an invalid value")
62 X.GetValue() == "0x00000001",
65 Y.GetValue() == "0x00000002",
69 self.assertEquals(X.GetValue(), "0x00000004", "X has not become 4")
70 self.assertEquals(Y.GetValue(), "0x00000002", "Y has not stuck as hex")
73 self.assertEquals(X.GetValue(), "0x00000004", "X is still hex")
74 self.assertEquals(Y.GetValue(), "2", "Y has not been reset")
80 X.GetValue() == "0x00000004",
82 self.assertEquals(Y.GetValue(), "2", "Y is not defaulted")
/external/openscreen/discovery/dnssd/public/
Ddns_sd_txt_record_unittest.cc18 EXPECT_TRUE(txt.GetValue("KEY").is_value()); in TEST()
28 ASSERT_TRUE(txt.GetValue("key").is_value()); in TEST()
29 EXPECT_EQ(txt.GetValue("key").value().get().size(), size_t{0}); in TEST()
32 ASSERT_TRUE(txt.GetValue("key2").is_value()); in TEST()
33 EXPECT_EQ(txt.GetValue("key2").value().get().size(), size_t{0}); in TEST()
40 ASSERT_TRUE(txt.GetValue("key").is_value()); in TEST()
41 const std::vector<uint8_t>& value = txt.GetValue("key").value(); in TEST()
49 ASSERT_TRUE(txt.GetValue("key").is_value()); in TEST()
50 const std::vector<uint8_t>& value2 = txt.GetValue("key").value(); in TEST()
56 ASSERT_TRUE(txt.GetValue("key").is_value()); in TEST()
[all …]
/external/libchrome/components/policy/core/common/
Dregistry_dict_unittest.cc25 EXPECT_EQ(int_value, *test_dict.GetValue("one")); in TEST()
26 EXPECT_FALSE(test_dict.GetValue("two")); in TEST()
30 EXPECT_EQ(int_value, *test_dict.GetValue("one")); in TEST()
31 EXPECT_EQ(string_value, *test_dict.GetValue("two")); in TEST()
36 EXPECT_FALSE(test_dict.GetValue("one")); in TEST()
37 EXPECT_EQ(string_value, *test_dict.GetValue("two")); in TEST()
40 EXPECT_FALSE(test_dict.GetValue("one")); in TEST()
41 EXPECT_FALSE(test_dict.GetValue("two")); in TEST()
53 EXPECT_EQ(int_value, *test_dict.GetValue("oNe")); in TEST()
61 EXPECT_EQ(string_value, *test_dict.GetValue("one")); in TEST()
[all …]
/external/pdfium/fxjs/xfa/
Dcfxjse_formcalc_context_embeddertest.cpp18 return Execute(input) && GetValue()->IsNull(); in ExecuteExpectNull()
39 CFXJSE_Value* value = GetValue(); in TEST_F()
78 CFXJSE_Value* value = GetValue(); in TEST_F()
99 CFXJSE_Value* value = GetValue(); in TEST_F()
140 CFXJSE_Value* value = GetValue(); in TEST_F()
158 CFXJSE_Value* value = GetValue(); in TEST_F()
176 CFXJSE_Value* value = GetValue(); in TEST_F()
194 CFXJSE_Value* value = GetValue(); in TEST_F()
212 CFXJSE_Value* value = GetValue(); in TEST_F()
232 CFXJSE_Value* value = GetValue(); in TEST_F()
[all …]
/external/llvm-project/lldb/examples/scripting/
Dtree_utils.py63 if left_child_ptr.GetValue() is None:
72 if right_child_ptr.GetValue() is None:
88 if (root.GetValue is None):
91 if (int(root.GetValue(), 16) == 0):
111 if (root.GetChildAtIndex(1).GetValue() is not None) and (
112 int(root.GetChildAtIndex(1).GetValue(), 16) != 0):
117 if (root.GetChildAtIndex(2).GetValue() is not None) and (
118 int(root.GetChildAtIndex(2).GetValue(), 16) != 0):
/external/webrtc/rtc_base/experiments/
Dcpu_speed_experiment_unittest.cc42 TEST(CpuSpeedExperimentTest, GetValue) { in TEST() argument
50 EXPECT_EQ(-5, CpuSpeedExperiment::GetValue(1, *kConfigs)); in TEST()
51 EXPECT_EQ(-5, CpuSpeedExperiment::GetValue(1000, *kConfigs)); in TEST()
52 EXPECT_EQ(-10, CpuSpeedExperiment::GetValue(1000 + 1, *kConfigs)); in TEST()
53 EXPECT_EQ(-10, CpuSpeedExperiment::GetValue(2000, *kConfigs)); in TEST()
54 EXPECT_EQ(-12, CpuSpeedExperiment::GetValue(2000 + 1, *kConfigs)); in TEST()
55 EXPECT_EQ(-12, CpuSpeedExperiment::GetValue(3000, *kConfigs)); in TEST()
56 EXPECT_EQ(-16, CpuSpeedExperiment::GetValue(3000 + 1, *kConfigs)); in TEST()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_measurement.cpp57 return WideString::Format(L"%.8gmm", GetValue()); in ToString()
59 return WideString::Format(L"%.8gpt", GetValue()); in ToString()
61 return WideString::Format(L"%.8gin", GetValue()); in ToString()
63 return WideString::Format(L"%.8gcm", GetValue()); in ToString()
65 return WideString::Format(L"%.8gmp", GetValue()); in ToString()
67 return WideString::Format(L"%.8gpc", GetValue()); in ToString()
69 return WideString::Format(L"%.8gem", GetValue()); in ToString()
71 return WideString::Format(L"%.8g%%", GetValue()); in ToString()
75 return WideString::Format(L"%.8g", GetValue()); in ToString()
84 *fValue = GetValue(); in ToUnitInternal()
/external/llvm-project/lldb/source/Interpreter/
DOptionValueProperties.cpp41 lldb::OptionValueSP new_value_sp(m_properties[i].GetValue()->DeepCopy()); in OptionValueProperties()
56 property.GetValue()->SetParent(shared_from_this()); in Initialize()
106 value_sp = GetPropertyAtIndex(exe_ctx, will_modify, idx)->GetValue(); in GetValueForKey()
211 return setting->GetValue(); in GetPropertyValueAtIndex()
237 return property->GetValue()->GetAsArch(); in GetPropertyAtIndexAsOptionValueArch()
246 return property->GetValue()->GetAsLanguage(); in GetPropertyAtIndexAsOptionValueLanguage()
254 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsArgs()
273 OptionValue *value = property->GetValue().get(); in SetPropertyAtIndexFromArgs()
292 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsBoolean()
303 OptionValue *value = property->GetValue().get(); in SetPropertyAtIndexAsBoolean()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/xla/ir/
Dmlir_hlo_builder.cc107 loc_, ty, GetValue(lhs), GetValue(rhs), in ConvGeneralDilatedInternal()
125 loc_, ty, GetValue(operand), in FftInternal()
191 loc_, ty, GetValue(operand), GetValue(init_value), in ReduceWindowInternal()
218 GetValue(operand)); in BitcastConvertTypeInternal()
227 loc_, ty, GetValue(operand), GetI64ElementsAttr(permutation, &builder_)); in TransposeInternal()
236 loc_, ty, GetValue(operand), GetI64ElementsAttr(dimensions, &builder_)); in RevInternal()
270 auto op = builder_.create<mlir::mhlo::WhileOp>(loc_, ty, GetValue(init)); in WhileInternal()
282 loc_, ty, GetValue(operand), builder_.getI32IntegerAttr(exponent_bits), in ReducePrecisionInternal()
294 loc_, ty, GetValue(input), GetValue(start_indices), in GatherInternal()
308 loc_, ty, GetValue(input), GetValue(scatter_indices), GetValue(updates), in ScatterInternal()
[all …]
/external/google-breakpad/src/client/linux/minidump_writer/
Dproc_cpuinfo_reader_unittest.cc80 ASSERT_STREQ("bar", reader.GetValue()); in TEST()
108 ASSERT_STREQ("bar", reader.GetValue()); in TEST()
112 ASSERT_STREQ("tut", reader.GetValue()); in TEST()
125 ASSERT_STREQ("bar", reader.GetValue()); in TEST()
138 ASSERT_STREQ("bar", reader.GetValue()); in TEST()
151 ASSERT_STREQ("tut", reader.GetValue()); in TEST()
164 ASSERT_STREQ("bar", reader.GetValue()); in TEST()
168 ASSERT_STREQ("bar", reader.GetValue()); in TEST()
181 ASSERT_STREQ("zoo", reader.GetValue()); in TEST()
/external/openscreen/util/
Dweak_ptr_unittest.cc15 virtual int GetValue() const { return 42; } in GetValue() function in openscreen::__anon12a22b360111::SomeClass
21 int GetValue() const override { return 999; } in GetValue() function
87 EXPECT_EQ(999, (*copied2).GetValue()); in TEST()
88 EXPECT_EQ(999, copied2->GetValue()); in TEST()
97 EXPECT_EQ(999, (*assigned2).GetValue()); in TEST()
98 EXPECT_EQ(999, assigned2->GetValue()); in TEST()
143 EXPECT_EQ(999, (*moved2).GetValue()); // Result from subclass's GetValue(). in TEST()
144 EXPECT_EQ(999, moved2->GetValue()); // Result from subclass's GetValue(). in TEST()
155 (*assigned2).GetValue()); // Result from subclass's GetValue(). in TEST()
156 EXPECT_EQ(999, assigned2->GetValue()); // Result from subclass's GetValue(). in TEST()
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DCustomOptions.cs220 ByteString bytes = single.GetValue().ToByteString();
228 value = repeated.GetValue()
259 value = single.GetValue(); in TryGetPrimitiveValue()
266 if (repeated.GetValue().Count != 0) in TryGetPrimitiveValue()
268 RepeatedField<T> repeatedField = repeated.GetValue(); in TryGetPrimitiveValue()
282 …f ((bool)typeInfo.GetDeclaredProperty(nameof(ExtensionValue<T>.HasValue)).GetValue(extensionValue)) in TryGetPrimitiveValue()
284 …value = (T)typeInfo.GetDeclaredMethod(nameof(ExtensionValue<T>.GetValue)).Invoke(extensionValue, E… in TryGetPrimitiveValue()
295 …es = (IList)typeInfo.GetDeclaredMethod(nameof(RepeatedExtensionValue<T>.GetValue)).Invoke(extensio… in TryGetPrimitiveValue()
/external/webrtc/pc/
Dstats_collector_unittest.cc155 bool GetValue(const StatsReport* report, in GetValue() function
170 if (r->type() == type && GetValue(r, name, &ret)) in ExtractStatsValue()
231 if (!GetValue(report, name, &value)) { in GetValueInNthReportByType()
290 EXPECT_TRUE(GetValue(report, StatsReport::kStatsValueNameDer, &der_base64)); in CheckCertChainReports()
295 EXPECT_TRUE(GetValue(report, in CheckCertChainReports()
303 EXPECT_TRUE(GetValue(report, StatsReport::kStatsValueNameFingerprint, in CheckCertChainReports()
309 if (!GetValue(report, StatsReport::kStatsValueNameIssuerId, &issuer_id)) { in CheckCertChainReports()
322 EXPECT_TRUE(GetValue(report, StatsReport::kStatsValueNameAudioOutputLevel, in VerifyVoiceReceiverInfoReport()
325 EXPECT_TRUE(GetValue(report, StatsReport::kStatsValueNameBytesReceived, in VerifyVoiceReceiverInfoReport()
330 EXPECT_TRUE(GetValue(report, StatsReport::kStatsValueNameJitterReceived, in VerifyVoiceReceiverInfoReport()
[all …]
/external/llvm-project/lldb/test/API/lang/cpp/template/
DTestTemplateArgs.py63 self.assertEquals(expr_result.GetValue(), "1", "testpos.getArg() == 1")
79 expr_result.GetValue() == "-1",
96 self.assertEquals(f1.GetValue(), '1.5')
105 self.assertEquals(f2.GetValue(), '1.5')
108 self.assertEquals(f3.GetValue(), '2.5')
111 self.assertEquals(f4.GetValue(), '42')
134 expr_result.GetValue() == "123",
154 expr_result.GetValue() == "246",
/external/llvm-project/lldb/test/API/lang/cpp/dynamic-value/
DTestDynamicValue.py141 anotherA_static_addr = int(anotherA_static.GetValue(), 16)
145 anotherA_dynamic_addr = int(anotherA_dynamic.GetValue(), 16)
154 anotherA_m_b_val = int(anotherA_m_b_value_dynamic.GetValue(), 10)
183 anotherA_loc = int(anotherA_value.GetValue(), 16)
191 this_static_loc = int(this_static.GetValue(), 16)
198 this_dynamic_loc = int(this_dynamic.GetValue(), 16)
217 m_b_value = int(this_dynamic_m_b_value.GetValue(), 0)
246 contained_b_addr = int(contained_b.GetValue(), 16)
247 contained_b_static_addr = int(contained_b_static.GetValue(), 16)
/external/llvm-project/lldb/test/API/lang/cpp/template-specialization-type/
DTestTemplateSpecializationType.py21 self.assertEquals("42", v.GetChildAtIndex(0).GetValue())
22 self.assertEquals("21", v.GetChildAtIndex(1).GetValue())
29 self.assertEquals("42", v.GetChildAtIndex(0).GetValue())
30 self.assertEquals("21", v.GetChildAtIndex(1).GetValue())
/external/protobuf/csharp/src/Google.Protobuf/
DJsonFormatter.cs230 object value = accessor.GetValue(message); in WriteMessageFields()
462 …= message.Descriptor.Fields[WrappersReflection.WrapperValueFieldNumber].Accessor.GetValue(message); in WriteWellKnownTypeValue()
490 WriteList(writer, (IList)fieldAccessor.GetValue((IMessage)value)); in WriteWellKnownTypeValue()
512 … int nanos = (int) value.Descriptor.Fields[Timestamp.NanosFieldNumber].Accessor.GetValue(value); in WriteTimestamp()
513 …ng seconds = (long) value.Descriptor.Fields[Timestamp.SecondsFieldNumber].Accessor.GetValue(value); in WriteTimestamp()
520 … int nanos = (int) value.Descriptor.Fields[Duration.NanosFieldNumber].Accessor.GetValue(value); in WriteDuration()
521 …ong seconds = (long) value.Descriptor.Fields[Duration.SecondsFieldNumber].Accessor.GetValue(value); in WriteDuration()
527 …ths = (IList<string>) value.Descriptor.Fields[FieldMask.PathsFieldNumber].Accessor.GetValue(value); in WriteFieldMask()
539 …string typeUrl = (string) value.Descriptor.Fields[Any.TypeUrlFieldNumber].Accessor.GetValue(value); in WriteAny()
540 …eString data = (ByteString) value.Descriptor.Fields[Any.ValueFieldNumber].Accessor.GetValue(value); in WriteAny()
[all …]
/external/llvm-project/lldb/test/API/functionalities/pointer_num_children/
DTestPointerNumChildren.py21 self.assertEqual("42", result.GetChildAtIndex(0).GetChildAtIndex(0).GetValue())
22 self.assertEqual("56", result.GetChildAtIndex(0).GetChildAtIndex(1).GetValue())
27 self.assertEqual("42", result.GetChildAtIndex(0).GetChildAtIndex(0).GetValue())
28 self.assertEqual("56", result.GetChildAtIndex(0).GetChildAtIndex(1).GetValue())
/external/llvm-project/lldb/include/lldb/Utility/
DStructuredData.h105 return ((integer != nullptr) ? integer->GetValue() : fail_value);
116 return ((f != nullptr) ? f->GetValue() : fail_value);
127 return ((b != nullptr) ? b->GetValue() : fail_value);
139 return s->GetValue();
200 result = static_cast<IntType>(int_value->GetValue()); in GetItemAtIndexAsInteger()
220 result = string_value->GetValue(); in GetItemAtIndexAsString()
239 result = ConstString(string_value->GetValue()); in GetItemAtIndexAsString()
294 uint64_t GetValue() { return m_value; } in GetValue() function
311 double GetValue() { return m_value; } in GetValue() function
328 bool GetValue() { return m_value; } in GetValue() function
[all …]

12345678910>>...15