Home
last modified time | relevance | path

Searched refs:GetField (Results 1 – 25 of 60) sorted by relevance

123

/external/toolchain-utils/crosperf/
Dsettings_factory_unittest.py22 self.assertEqual(res.GetField('test_name'), '')
23 self.assertEqual(res.GetField('test_args'), '')
24 self.assertEqual(res.GetField('iterations'), 0)
25 self.assertEqual(res.GetField('suite'), '')
35 self.assertEqual(res.GetField('chromeos_image'), '')
36 self.assertEqual(res.GetField('autotest_path'), '')
37 self.assertEqual(res.GetField('chromeos_root'), '')
38 self.assertEqual(res.GetField('remote'), None)
39 self.assertEqual(res.GetField('image_args'), '')
40 self.assertEqual(res.GetField('cache_dir'), '')
[all …]
Dexperiment_factory.py107 experiment_name = global_settings.GetField('name')
108 board = global_settings.GetField('board')
109 remote = global_settings.GetField('remote')
118 chromeos_root = global_settings.GetField('chromeos_root')
119 rm_chroot_tmp = global_settings.GetField('rm_chroot_tmp')
120 perf_args = global_settings.GetField('perf_args')
121 acquire_timeout = global_settings.GetField('acquire_timeout')
122 cache_dir = global_settings.GetField('cache_dir')
123 cache_only = global_settings.GetField('cache_only')
124 config.AddConfig('no_email', global_settings.GetField('no_email'))
[all …]
Dexperiment_file_unittest.py94 self.assertEqual(global_settings.GetField('remote'), ['chromeos-alex3'])
96 global_settings.GetField('perf_args'), 'record -a -e cycles')
100 self.assertEqual(benchmark_settings[0].GetField('iterations'), 3)
105 self.assertEqual(label_settings[0].GetField('chromeos_image'),
107 self.assertEqual(label_settings[1].GetField('remote'), ['chromeos-lumpy1'])
108 self.assertEqual(label_settings[0].GetField('remote'), ['chromeos-alex3'])
114 self.assertEqual(global_settings.GetField('remote'), ['chromeos-alex3'])
119 self.assertEqual(benchmark_settings[0].GetField('iterations'), 3)
121 self.assertEqual(benchmark_settings[1].GetField('iterations'), 2)
Dsettings_unittest.py99 self.assertRaises(Exception, self.settings.GetField, 'iterations')
109 self.assertRaises(Exception, self.settings.GetField, 'iterations')
113 res = self.settings.GetField('iterations')
121 self.assertEqual(parent_settings.GetField('chromeos_root'), '')
122 self.assertEqual(label_settings.GetField('chromeos_root'), '')
127 self.assertEqual(parent_settings.GetField('chromeos_root'), '/tmp/chromeos')
128 self.assertEqual(label_settings.GetField('chromeos_root'), '')
130 self.assertEqual(label_settings.GetField('chromeos_root'), '/tmp/chromeos')
147 res = self.settings.GetField('email')
151 res = self.settings.GetField('email')
Dsettings.py39 def GetField(self, name): member in Settings
55 self.fields[name].Set(self.parent.GetField(name), parse=False)
61 self.fields[name].Set(settings.GetField(name), parse=False)
Dcrosperf_unittest.py59 self.assertTrue(settings.GetField('rerun'))
63 self.assertFalse(settings.GetField('rerun'))
Dcrosperf.py110 if not experiment_file.GetGlobalSettings().GetField('name'):
116 json_report = experiment_file.GetGlobalSettings().GetField('json_report')
/external/protobuf/python/google/protobuf/internal/
Dunknown_fields_test.py161 def GetField(self, name): member in UnknownFieldsAccessorsTest
174 value = self.GetField('optional_nested_enum')
179 value = self.GetField('repeated_nested_enum')
184 value = self.GetField('optional_int32')
189 value = self.GetField('optional_fixed32')
194 value = self.GetField('optional_fixed64')
199 value = self.GetField('optional_string')
204 value = self.GetField('optionalgroup')
272 def GetField(self, name): member in UnknownEnumValuesTest
300 value = self.GetField('optional_nested_enum')
[all …]
/external/tensorflow/tensorflow/lite/testing/
Dmessage_test.cc51 const std::string& GetField(const std::string& key) const { in GetField() function in tflite::testing::__anon8311c2f70111::TestMessage
69 EXPECT_EQ(message.GetField("d"), "4"); in TEST()
76 EXPECT_EQ(x->GetField("a"), "1"); in TEST()
77 EXPECT_EQ(x->GetField("b"), "2"); in TEST()
86 EXPECT_EQ(z->GetField("c"), "3"); in TEST()
/external/libtextclassifier/utils/
Dlua-utils.cc96 return GetField(schema, type, table, state); in GetFieldCallback()
99 int LuaEnvironment::GetField(const reflection::Schema *schema, in GetField() function in libtextclassifier3::LuaEnvironment
113 lua_pushboolean(state, table->GetField<uint8_t>( in GetField()
117 lua_pushinteger(state, table->GetField<int32>(field->offset(), in GetField()
121 lua_pushinteger(state, table->GetField<int64>(field->offset(), in GetField()
125 lua_pushnumber(state, table->GetField<float>(field->offset(), in GetField()
129 lua_pushnumber(state, table->GetField<double>(field->offset(), in GetField()
Dflatbuffers.cc361 Set<bool>(field, from->GetField<uint8_t>(field->offset(), in MergeFrom()
365 Set<int32>(field, from->GetField<int32>(field->offset(), in MergeFrom()
369 Set<int64>(field, from->GetField<int64>(field->offset(), in MergeFrom()
373 Set<float>(field, from->GetField<float>(field->offset(), in MergeFrom()
377 Set<double>(field, from->GetField<double>(field->offset(), in MergeFrom()
/external/flatbuffers/tests/
Dmonster_extra_generated.h60 return GetField<float>(VT_TESTF_NAN, std::numeric_limits<float>::quiet_NaN()); in testf_nan()
66 return GetField<float>(VT_TESTF_PINF, std::numeric_limits<float>::infinity()); in testf_pinf()
72 return GetField<float>(VT_TESTF_NINF, -std::numeric_limits<float>::infinity()); in testf_ninf()
78 return GetField<double>(VT_TESTD_NAN, std::numeric_limits<double>::quiet_NaN()); in testd_nan()
84 return GetField<double>(VT_TESTD_PINF, std::numeric_limits<double>::infinity()); in testd_pinf()
90 return GetField<double>(VT_TESTD_NINF, -std::numeric_limits<double>::infinity()); in testd_ninf()
Dmonster_test_generated.h791 return static_cast<Color>(GetField<int8_t>(VT_COLOR, 2));
869 return GetField<int64_t>(VT_VAL, 0);
875 return GetField<uint16_t>(VT_COUNT, 0);
966 return GetField<uint64_t>(VT_ID, 0);
1193 return GetField<int16_t>(VT_MANA, 150);
1199 return GetField<int16_t>(VT_HP, 100);
1223 return static_cast<Color>(GetField<int8_t>(VT_COLOR, 8));
1229 return static_cast<Any>(GetField<uint8_t>(VT_TEST_TYPE, 0));
1292 return GetField<uint8_t>(VT_TESTBOOL, 0) != 0;
1298 return GetField<int32_t>(VT_TESTHASHS32_FNV1, 0);
[all …]
/external/tensorflow/tensorflow/core/framework/
Dtensor_util.h84 static RepeatedFieldType& GetField(const TensorProto& proto) { \
204 size_t raw_size = FieldHelper::GetField(proto).size();
216 CopyHelper<T>::ToArray(FieldHelper::GetField(proto).begin() + index,
217 FieldHelper::GetField(proto).begin() + index + 1,
231 CopyHelper<T>::ToArray(FieldHelper::GetField(proto).begin(),
232 FieldHelper::GetField(proto).end(), dst);
/external/flatbuffers/include/flatbuffers/
Dreflection_generated.h109 return static_cast<BaseType>(GetField<int8_t>(VT_BASE_TYPE, 0)); in base_type()
112 return static_cast<BaseType>(GetField<int8_t>(VT_ELEMENT, 0)); in element()
115 return GetField<int32_t>(VT_INDEX, -1); in index()
245 return GetField<int64_t>(VT_VALUE, 0); in value()
365 return GetField<uint8_t>(VT_IS_UNION, 0) != 0; in is_union()
499 return GetField<uint16_t>(VT_ID, 0); in id()
502 return GetField<uint16_t>(VT_OFFSET, 0); in offset()
505 return GetField<int64_t>(VT_DEFAULT_INTEGER, 0); in default_integer()
508 return GetField<double>(VT_DEFAULT_REAL, 0.0); in default_real()
511 return GetField<uint8_t>(VT_DEPRECATED, 0) != 0; in deprecated()
[all …]
/external/protobuf/src/google/protobuf/
Dunknown_field_set_unittest.cc69 const UnknownField* GetField(const string& name) { in GetField() function in google::protobuf::UnknownFieldSetTest
141 const UnknownField* field = GetField("optional_int32"); in TEST_F()
149 const UnknownField* field = GetField("optional_fixed32"); in TEST_F()
157 const UnknownField* field = GetField("optional_fixed64"); in TEST_F()
165 const UnknownField* field = GetField("optional_string"); in TEST_F()
173 const UnknownField* field = GetField("optionalgroup"); in TEST_F()
/external/junit/src/main/java/org/junit/runner/
DResult.java172 private SerializedForm(ObjectInputStream.GetField fields) throws IOException { in SerializedForm()
192 ObjectInputStream.GetField fields = s.readFields(); in deserialize()
/external/tensorflow/tensorflow/lite/schema/
Dschema_generated.h2521 return static_cast<QuantizationDetails>(GetField<uint8_t>(VT_DETAILS_TYPE, 0));
2531 return GetField<int32_t>(VT_QUANTIZED_DIMENSION, 0);
2665 return static_cast<TensorType>(GetField<int8_t>(VT_TYPE, 0));
2668 return GetField<uint32_t>(VT_BUFFER, 0);
2677 return GetField<uint8_t>(VT_IS_VARIABLE, 0) != 0;
2797 return static_cast<Padding>(GetField<int8_t>(VT_PADDING, 0));
2800 return GetField<int32_t>(VT_STRIDE_W, 0);
2803 return GetField<int32_t>(VT_STRIDE_H, 0);
2806 return static_cast<ActivationFunctionType>(GetField<int8_t>(VT_FUSED_ACTIVATION_FUNCTION, 0));
2809 return GetField<int32_t>(VT_DILATION_W_FACTOR, 1);
[all …]
/external/pdfium/core/fpdfdoc/
Dcpdf_interform.cpp404 CPDF_FormField* GetField() const { return m_pField.get(); } in GetField() function in CFieldTree::Node
447 CPDF_FormField* GetField(const WideString& full_name);
518 CPDF_FormField* CFieldTree::GetField(const WideString& full_name) { in GetField() function in CFieldTree
534 return pNode ? pNode->GetField() : nullptr; in GetField()
794 CPDF_FormField* CPDF_InterForm::GetField(uint32_t index, in GetField() function in CPDF_InterForm
809 return m_pFieldTree->GetField(csWName); in GetFieldByDict()
1002 pField = m_pFieldTree->GetField(csWName); in AddTerminalField()
1204 CPDF_FormField* pField = m_pFieldTree->GetField(name); in FDF_ImportField()
Dcpdf_actionfields.h26 CPDF_Object* GetField(size_t iIndex) const;
/external/flatbuffers/src/
Didl_gen_text.cpp165 fixed ? reinterpret_cast<const Struct *>(table)->GetField<T>( in GenField()
167 : table->GetField<T>(fd.value.offset, GetFieldDefault<T>(fd)), in GenField()
254 table->GetField<uint8_t>(fd.value.offset, 0)); in GenStruct()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-rc/
DResourceFileWriter.cpp1462 auto GetField = [&](VersionInfoFixed::VersionInfoFixedType Type) { in writeVersionInfoBody() local
1469 auto FileVer = GetField(VersionInfoFixed::FtFileVersion); in writeVersionInfoBody()
1475 auto ProdVer = GetField(VersionInfoFixed::FtProductVersion); in writeVersionInfoBody()
1482 FixedInfo.FileFlagsMask = GetField(VersionInfoFixed::FtFileFlagsMask)[0]; in writeVersionInfoBody()
1483 FixedInfo.FileFlags = GetField(VersionInfoFixed::FtFileFlags)[0]; in writeVersionInfoBody()
1484 FixedInfo.FileOS = GetField(VersionInfoFixed::FtFileOS)[0]; in writeVersionInfoBody()
1485 FixedInfo.FileType = GetField(VersionInfoFixed::FtFileType)[0]; in writeVersionInfoBody()
1486 FixedInfo.FileSubtype = GetField(VersionInfoFixed::FtFileSubtype)[0]; in writeVersionInfoBody()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DTypeExtensions.cs63 FieldInfo field = type.GetField( name ); in getField()
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitcodeHeader.cpp271 NaClBitcodeHeaderField *NaClBitcodeHeader::GetField(size_t index) const { in GetField() function in NaClBitcodeHeader
310 NaClBitcodeHeaderField *Field = GetField(i); in InstallFields()
/external/flatbuffers/samples/
Dmonster_generated.h256 return GetField<int16_t>(VT_MANA, 150);
262 return GetField<int16_t>(VT_HP, 100);
280 return static_cast<Color>(GetField<int8_t>(VT_COLOR, 2));
292 return static_cast<Equipment>(GetField<uint8_t>(VT_EQUIPPED_TYPE, 0));
460 return GetField<int16_t>(VT_DAMAGE, 0);

123