Home
last modified time | relevance | path

Searched refs:GetField (Results 1 – 25 of 54) 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.py111 experiment_name = global_settings.GetField('name')
112 board = global_settings.GetField('board')
113 remote = global_settings.GetField('remote')
122 chromeos_root = global_settings.GetField('chromeos_root')
123 rm_chroot_tmp = global_settings.GetField('rm_chroot_tmp')
124 perf_args = global_settings.GetField('perf_args')
125 acquire_timeout = global_settings.GetField('acquire_timeout')
126 cache_dir = global_settings.GetField('cache_dir')
127 cache_only = global_settings.GetField('cache_only')
128 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/contrib/lite/testing/
Dmessage_test.cc51 const std::string& GetField(const std::string& key) const { in GetField() function in tflite::testing::__anond0851f940111::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/flatbuffers/include/flatbuffers/
Dreflection_generated.h104 return static_cast<BaseType>(GetField<int8_t>(VT_BASE_TYPE, 0)); in base_type()
107 return static_cast<BaseType>(GetField<int8_t>(VT_ELEMENT, 0)); in element()
110 return GetField<int32_t>(VT_INDEX, -1); in index()
237 return GetField<int64_t>(VT_VALUE, 0); in value()
349 return GetField<uint8_t>(VT_IS_UNION, 0) != 0; in is_union()
479 return GetField<uint16_t>(VT_ID, 0); in id()
482 return GetField<uint16_t>(VT_OFFSET, 0); in offset()
485 return GetField<int64_t>(VT_DEFAULT_INTEGER, 0); in default_integer()
488 return GetField<double>(VT_DEFAULT_REAL, 0.0); in default_real()
491 return GetField<uint8_t>(VT_DEPRECATED, 0) != 0; in deprecated()
[all …]
/external/libtextclassifier/
Dmodel_generated.h591 return GetField<int32_t>(VT_UNCOMPRESSED_SIZE, 0); in uncompressed_size()
671 return GetField<uint8_t>(VT_STRIP_UNPAIRED_BRACKETS, 1) != 0; in strip_unpaired_brackets()
674 return GetField<int32_t>(VT_SYMMETRY_CONTEXT_SIZE, 0); in symmetry_context_size()
677 return GetField<int32_t>(VT_BATCH_SIZE, 1024); in batch_size()
680 return GetField<uint8_t>(VT_ALWAYS_CLASSIFY_SUGGESTED_SELECTION, 0) != 0; in always_classify_suggested_selection()
761 return GetField<int32_t>(VT_PHONE_MIN_NUM_DIGITS, 7); in phone_min_num_digits()
764 return GetField<int32_t>(VT_PHONE_MAX_NUM_DIGITS, 15); in phone_max_num_digits()
767 return GetField<int32_t>(VT_ADDRESS_MIN_NUM_TOKENS, 0); in address_min_num_tokens()
770 return GetField<int32_t>(VT_MAX_NUM_TOKENS, -1); in max_num_tokens()
865 return static_cast<libtextclassifier2::ModeFlag>(GetField<int32_t>(VT_ENABLED_MODES, 7)); in enabled_modes()
[all …]
/external/flatbuffers/tests/
Dmonster_test_generated.h427 return static_cast<Color>(GetField<int8_t>(VT_COLOR, 2));
495 return GetField<int64_t>(VT_VAL, 0);
501 return GetField<uint16_t>(VT_COUNT, 0);
669 return GetField<int16_t>(VT_MANA, 150);
675 return GetField<int16_t>(VT_HP, 100);
699 return static_cast<Color>(GetField<int8_t>(VT_COLOR, 8));
705 return static_cast<Any>(GetField<uint8_t>(VT_TEST_TYPE, 0));
769 return GetField<uint8_t>(VT_TESTBOOL, 0) != 0;
775 return GetField<int32_t>(VT_TESTHASHS32_FNV1, 0);
781 return GetField<uint32_t>(VT_TESTHASHU32_FNV1, 0);
[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()
Dgenerated_message_reflection.cc361 &GetField<ArenaStringPtr>(message, field).Get(default_ptr); in SpaceUsed()
539 temp_##TYPE = GetField<TYPE>(*message1, field1); \ in SwapOneofField()
571 SetField<TYPE>(message1, field2, GetField<TYPE>(*message2, field2)); \ in SwapOneofField()
1077 return GetField<TYPE>(message, field); \
1153 return GetField<ArenaStringPtr>(message, field).Get(default_ptr); in DEFINE_PRIMITIVE_ACCESSORS()
1175 return GetField<ArenaStringPtr>(message, field).Get(default_ptr); in GetStringReference()
1306 value = GetField<int>(message, field); in GetEnumValue()
2037 return GetField<ArenaStringPtr>(message, field).Get( in HasBit()
2165 inline const Type& GeneratedMessageReflection::GetField( in GetField() function in google::protobuf::internal::GeneratedMessageReflection
/external/tensorflow/tensorflow/contrib/lite/schema/
Dschema_generated.h1243 return static_cast<TensorType>(GetField<int8_t>(VT_TYPE, 0));
1246 return GetField<uint32_t>(VT_BUFFER, 0);
1358 return static_cast<Padding>(GetField<int8_t>(VT_PADDING, 0));
1361 return GetField<int32_t>(VT_STRIDE_W, 0);
1364 return GetField<int32_t>(VT_STRIDE_H, 0);
1367 return static_cast<ActivationFunctionType>(GetField<int8_t>(VT_FUSED_ACTIVATION_FUNCTION, 0));
1454 return static_cast<Padding>(GetField<int8_t>(VT_PADDING, 0));
1457 return GetField<int32_t>(VT_STRIDE_W, 0);
1460 return GetField<int32_t>(VT_STRIDE_H, 0);
1463 return GetField<int32_t>(VT_FILTER_WIDTH, 0);
[all …]
/external/v8/src/compiler/
Descape-analysis.cc166 Node* GetField(size_t offset) { return fields_[offset]; } in GetField() function in v8::internal::compiler::VirtualObject
353 : objects_.front()->GetField(pos); in GetFields()
356 Node* field = obj->GetField(pos); in GetFields()
447 Node* rep = GetField(i); in MergeFields()
495 if (!initialMerge && GetField(i) == nullptr) continue; in MergeFrom()
498 changed = changed || GetField(i) != field; in MergeFrom()
508 if (GetField(i) != nullptr) { in MergeFrom()
1502 Node* value = object->GetField(offset); in ProcessLoadField()
1534 Node* value = object->GetField(offset); in ProcessLoadElement()
1590 if (object->GetField(offset) != val) { in ProcessStoreField()
[all …]
/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/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;
Dcpdf_actionfields.cpp75 CPDF_Object* CPDF_ActionFields::GetField(size_t iIndex) const { in GetField() function in CPDF_ActionFields
/external/flatbuffers/src/
Didl_gen_text.cpp163 reinterpret_cast<const Struct *>(table)->GetField<T>(fd.value.offset) : in GenField()
164 table->GetField<T>(fd.value.offset, 0), fd.value.type, indent, nullptr, in GenField()
253 table->GetField<uint8_t>(fd.value.offset, 0)); in GenStruct()
/external/v8/src/debug/
Dliveedit.h222 Handle<Object> GetField(int field_position) { in GetField() function
228 Handle<Object> res = GetField(field_position); in GetSmiValueField()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DTypeExtensions.cs63 FieldInfo field = type.GetField( name ); in getField()
/external/flatbuffers/samples/
Dmonster_generated.h206 return GetField<int16_t>(VT_MANA, 150);
212 return GetField<int16_t>(VT_HP, 100);
230 return static_cast<Color>(GetField<int8_t>(VT_COLOR, 2));
242 return static_cast<Equipment>(GetField<uint8_t>(VT_EQUIPPED_TYPE, 0));
398 return GetField<int16_t>(VT_DAMAGE, 0);
/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()

123