/system/extras/tests/memtest/ |
H A D | bandwidth.cpp | 67 arg_t *values) { 80 (*values)[name].int_value = strtol(argv[++i], NULL, 0); 82 (*values)[name].char_value = argv[++i]; 92 BandwidthBenchmark *createBandwidthBenchmarkObject(arg_t values) { argument 95 const char *name = values["type"].char_value; 97 if (values.count("size") > 0) { 98 size = values["size"].int_value; 144 if (values.count("num_warm_loops") > 0) { 145 bench->set_num_loops(values["num_warm_loops"].int_value); 147 if (values 66 processBandwidthOptions(int argc, char** argv, option_t options[], arg_t *values) argument 211 processThreadArgs(int argc, char** argv, option_t options[], arg_t *values) argument 296 arg_t values; local 334 arg_t values; local 370 arg_t values; local [all...] |
/system/extras/tests/net_test/ |
H A D | cstruct.py | 104 def _SetValues(self, values): 105 super(CStruct, self).__setattr__("_values", list(values)) 109 values = list(struct.unpack(self._format, data)) 110 for index, value in enumerate(values): 112 values[index] = self._nested[index](value) 113 self._SetValues(values) 115 def __init__(self, values): 117 if isinstance(values, str): 118 if len(values) < self._length: 120 (self._name, self._length, len(values))) [all...] |
/system/connectivity/shill/ |
H A D | property_store_unittest.cc | 338 bool values[] = {true, true}; local 339 store.RegisterWriteOnlyBool(keys[0], &values[0]); 340 store.RegisterBool(keys[1], &values[1]); 345 EXPECT_TRUE(values[1] == it.value()); 355 EXPECT_EQ(values[1], test_value); 359 int16_t values[] = {127, 128}; local 360 store.RegisterWriteOnlyInt16(keys[0], &values[0]); 361 store.RegisterInt16(keys[1], &values[1]); 366 EXPECT_EQ(values[1], it.value()); 376 EXPECT_EQ(values[ 380 int32_t values[] = {127, 128}; local 401 string values[] = {"noooo", "yesss"}; local 422 Stringmap values[2]; local 446 Stringmaps values[2]; local 474 Strings values[2]; local 501 uint8_t values[] = {127, 128}; local 522 uint16_t values[] = {127, 128}; local [all...] |
H A D | property_store.h | 69 bool GetStringmapProperty(const std::string& name, Stringmap* values, 71 bool GetStringmapsProperty(const std::string& name, Stringmaps* values, 73 bool GetStringsProperty(const std::string& name, Strings* values, 121 const std::map<std::string, std::string>& values, 126 const std::vector<std::map<std::string, std::string>>& values, 130 const std::vector<std::string>& values,
|
H A D | property_store.cc | 277 Stringmap* values, 279 return GetProperty(name, values, error, stringmap_properties_, 284 Stringmaps* values, 286 return GetProperty(name, values, error, stringmaps_properties_, 291 Strings* values, 293 return GetProperty(name, values, error, strings_properties_, "a string list"); 365 const map<string, string>& values, 367 return SetProperty(name, values, error, &stringmap_properties_, 373 const vector<map<string, string>>& values, 375 return SetProperty(name, values, erro 276 GetStringmapProperty(const string& name, Stringmap* values, Error* error) const argument 283 GetStringmapsProperty(const string& name, Stringmaps* values, Error* error) const argument 290 GetStringsProperty(const string& name, Strings* values, Error* error) const argument 364 SetStringmapProperty(const string& name, const map<string, string>& values, Error* error) argument 371 SetStringmapsProperty( const string& name, const vector<map<string, string>>& values, Error* error) argument 379 SetStringsProperty(const string& name, const vector<string>& values, Error* error) argument [all...] |
/system/extras/perfprofd/ |
H A D | configreader.h | 60 typedef struct { unsigned minv, maxv; } values; typedef in class:ConfigReader 61 std::map<std::string, values> u_info;
|
H A D | configreader.cc | 136 values vals; 179 values vals; 207 values vals;
|
/system/media/camera/docs/ |
H A D | metadata_helpers_test.py | 75 enum_calculate_value_string(list(enum.values)[idx])) 77 plain_enum = Enum(parent=None, values=['ON', 'OFF']) 83 labeled_enum = Enum(parent=None, values=['A', 'B', 'C'], ids={ 94 values=['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H'],
|
H A D | CameraMetadataEnums.mako | 21 * The enum values below this point are generated from metadata 29 // Enumeration values for ${target_class}#${entry.name | jkey_identifier} 32 % for value in entry.enum.values:
|
H A D | camera_metadata_tags.mako | 72 * before the section _END tag to preserve existing enumeration values. In 100 % for val in entry.enum.values:
|
H A D | CameraMetadataKeys.mako | 47 % for value in entry.enum.values:
|
H A D | metadata_model.py | 157 def _dictionary_by_name(values): 159 for i in values: 360 kind: a string. Possible values are "static", "dynamic", "controls" 871 kind._namespaces = new_ins_dict.values() 872 kind._entries = new_ent_dict.values() 1012 values: A sequence of EnumValue children. 1016 def __init__(self, parent, values, ids={}, deprecateds=[], 1021 for val in values ] 1027 def values(self): member in class:Enum 1032 return bool(any(i for i in self.values i [all...] |
/system/core/toolbox/ |
H A D | generate-input.h-labels.py | 75 def Dump(struct_name, values): 77 for value in values:
|
/system/core/init/ |
H A D | perfboot.py | 78 # CPU temperature values per product used to decide interval 262 """Gets values that matches |tag| from |record|.""" 269 values = get_values(record, tag) 270 if not values: 272 return values[-1] 277 # First, count the number of the values of each tag. 285 # Some record might lack values for some tags due to unanticipated 291 # Then creates labels for the data. If there are multiple values for one 292 # tag, labels for these values are numbered except the first one as 297 # The corresponding values ar [all...] |
/system/core/adf/libadfhwc/include/adfhwc/ |
H A D | adfhwc.h | 125 uint32_t config, const uint32_t *attributes, int32_t *values);
|
/system/core/mkbootimg/ |
H A D | mkbootimg | 85 def __call__(self, parser, namespace, values, option_string=None): 86 if len(values) > self.maxlen: 88 format(self.maxlen, len(values))) 89 setattr(namespace, self.dest, values)
|
/system/weaved/common/ |
H A D | binder_utils.h | 21 #include <base/values.h>
|
/system/tpm/attestation/common/ |
H A D | proto_print.py | 85 values: A list of enum value names. 95 self.values = [] 103 self.values.append(value_name) 312 for value_name in enum.values:
|
/system/vold/bench/ |
H A D | benchgen.py | 299 for f in files.values(): 310 for f in files.values(): 326 size = sum([ f.size for f in files.values() ])
|
/system/extras/simpleperf/ |
H A D | report.py | 190 values=[ 213 id = tree.insert(id, 'end', None, values=[s], open=child_open,
|
/system/keymaster/ |
H A D | android_keymaster_test_utils.h | 288 bool ResponseContains(const std::vector<T>& expected, const T* values, size_t len) { argument 290 std::is_permutation(values, values + len, expected.begin()); 293 template <typename T> bool ResponseContains(T expected, const T* values, size_t len) { argument 294 return (len == 1 && *values == expected);
|
/system/core/libutils/tests/ |
H A D | LruCache_test.cpp | 131 void assertInstanceCount(ssize_t keys, ssize_t values) { argument 132 if (keys != ComplexKey::instanceCount || values != ComplexValue::instanceCount) { 133 FAIL() << "Expected " << keys << " keys and " << values << " values " 135 << ComplexValue::instanceCount << " values";
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/ |
H A D | event.h | 107 struct sample_read_value * values; member in struct:sample_read::__anon1752::__anon1753
|
/system/webservd/libwebserv/ |
H A D | response.cc | 21 #include <base/values.h>
|
/system/webservd/webservd/ |
H A D | config.cc | 20 #include <base/values.h>
|