/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; 145 if (values.count("num_warm_loops") > 0) { 146 bench->set_num_loops(values["num_warm_loops"].int_value); 148 if (values 66 processBandwidthOptions(int argc, char** argv, option_t options[], arg_t *values) argument 212 processThreadArgs(int argc, char** argv, option_t options[], arg_t *values) argument 297 arg_t values; local 337 arg_t values; local 375 arg_t values; local [all...] |
/system/tools/hidl/ |
H A D | Annotation.cpp | 28 std::vector<std::string> *values) 29 : mName(name), mValues(values) {} 32 std::vector<ConstantExpression *> *values) 35 for(ConstantExpression *ce : *values) { 49 CHECK_EQ(mValues->size(), 1u) << mName << " requires one values but has multiple"; 119 const std::vector<std::string> *values = param->getValues(); local 120 if (values->size() > 1) { 124 out << StringHelper::JoinStrings(*values, ", "); 126 if (values->size() > 1) { 27 AnnotationParam(const std::string &name, std::vector<std::string> *values) argument 31 AnnotationParam(const std::string &name, std::vector<ConstantExpression *> *values) argument
|
H A D | Annotation.h | 33 std::vector<std::string> *values); 35 std::vector<ConstantExpression *> *values);
|
H A D | EnumType.cpp | 39 const std::vector<EnumValue *> &EnumType::values() const { function in class:android::EnumType 51 if(!type->values().empty()) { 52 prev = type->values().back(); 111 for(EnumValue *v : type->values()) { 172 for (const auto &entry : type->values()) { 176 CHECK(!value.empty()); // use autofilled values for c++. 305 for (EnumValue *value : values()) { 334 for (EnumValue *value : values()) { 369 for (const auto &entry : type->values()) { 378 CHECK(!value.empty()); // use autofilled values fo [all...] |
/system/core/libunwindstack/include/unwindstack/ |
H A D | DwarfLocation.h | 38 uint64_t values[2]; member in struct:unwindstack::DwarfLocation
|
/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 | 137 values vals; 180 values vals; 208 values vals;
|
/system/core/libunwindstack/tests/ |
H A D | MemoryFake.h | 55 void SetMemory(uint64_t addr, std::vector<uint8_t> values) { argument 56 SetMemory(addr, values.data(), values.size());
|
H A D | DwarfCfaTest.cpp | 48 // These two values should be different to distinguish between 112 ASSERT_EQ(32U, location->second.values[0]); 127 ASSERT_EQ(1056U, location->second.values[0]); 143 ASSERT_EQ(2U, location->second.values[0]); 158 ASSERT_EQ(2306U, location->second.values[0]); 174 ASSERT_EQ(0x80U, location->second.values[0]); 190 ASSERT_EQ(static_cast<uint64_t>(-8), location->second.values[0]); 210 cie_loc_regs[2] = {.type = DWARF_LOCATION_REGISTER, .values = {0, 0}}; 241 cie_loc_regs[258] = {.type = DWARF_LOCATION_REGISTER, .values = {0, 0}}; 374 loc_regs[127] = {.type = DWARF_LOCATION_REGISTER, .values [all...] |
/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:
|
/system/core/adf/libadfhwc/include/adfhwc/ |
H A D | adfhwc.h | 126 uint32_t config, const uint32_t *attributes, int32_t *values); 134 uint32_t config, const uint32_t *attributes, int32_t *values);
|
/system/sepolicy/tests/ |
H A D | sepolicy_tests.py | 33 def take_action(self, action, dest, opt, value, values, parser): 35 values.ensure_value(dest, []).append(value) 37 Option.take_action(self, action, dest, opt, value, values, parser)
|
H A D | treble_sepolicy_tests.py | 269 def take_action(self, action, dest, opt, value, values, parser): 271 values.ensure_value(dest, []).append(value) 273 Option.take_action(self, action, dest, opt, value, values, parser) 333 for t in Tests.values():
|
/system/core/toolbox/ |
H A D | generate-input.h-labels.py | 76 def Dump(struct_name, values): 78 for value in values:
|
/system/core/libunwindstack/ |
H A D | DwarfCfa.cpp | 75 .values = {static_cast<uint64_t>(signed_offset)}}; 328 (*loc_regs)[reg] = {.type = DWARF_LOCATION_OFFSET, .values = {operands_[1]}}; 367 (*loc_regs)[reg] = {.type = DWARF_LOCATION_REGISTER, .values = {reg_dst}}; 390 (*loc_regs)[CFA_REG] = {.type = DWARF_LOCATION_REGISTER, .values = {operands_[0], operands_[1]}}; 403 cfa_location->second.values[0] = operands_[0]; 416 cfa_location->second.values[1] = operands_[0]; 423 .values = {operands_[0], memory_->cur_offset()}}; 431 .values = {operands_[1], memory_->cur_offset()}}; 439 (*loc_regs)[reg] = {.type = DWARF_LOCATION_OFFSET, .values = {static_cast<uint64_t>(value)}}; 447 .values [all...] |
H A D | DwarfSection.cpp | 74 uint64_t start = loc.values[1]; 75 uint64_t end = start + loc.values[0]; 117 if (loc->values[0] >= cur_regs->total_regs()) { 124 if (regs->sp_reg() == loc->values[0] && loc_regs.count(regs->sp_reg()) == 0) { 127 cfa = (*cur_regs)[loc->values[0]]; 129 cfa += loc->values[1]; 171 if (!regular_memory->Read(cfa + loc->values[0], &(*cur_regs)[reg], sizeof(AddressType))) { 177 (*cur_regs)[reg] = cfa + loc->values[0]; 180 uint16_t cur_reg = loc->values[0]; 196 (*cur_regs)[reg] = (*cur_regs)[cur_reg] + loc->values[ [all...] |
/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/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/update_engine/scripts/update_payload/ |
H A D | test_utils.py | 149 def _AddValuesToRepeatedField(repeated_field, values, write_func): 150 """Adds values to a repeated message field.""" 151 if values: 152 for val in values: 157 def _AddExtents(extents_field, values): 160 extents_field, values, PayloadGenerator._WriteExtent)
|
/system/core/adf/libadfhwc/ |
H A D | adfhwc.cpp | 146 uint32_t config, const uint32_t *attributes, int32_t *values) 162 values[i] = adf_display_attribute(data, dev->display_configs[config], 197 uint32_t config, const uint32_t *attributes, int32_t *values) 213 values[i] = adf_display_attribute_hwc2(data, 145 adf_getDisplayAttributes(struct adf_hwc_helper *dev, int disp, uint32_t config, const uint32_t *attributes, int32_t *values) argument 196 adf_getDisplayAttributes_hwc2(struct adf_hwc_helper *dev, int disp, uint32_t config, const uint32_t *attributes, int32_t *values) argument
|
/system/extras/simpleperf/scripts/ |
H A D | pprof_proto_generator.py | 178 self.values = {} 184 self.values[id] = self.values.get(id, 0) + value 186 def add_values(self, values): 187 for id in values.keys(): 188 value = values[id] 442 exist_sample.add_values(sample.values) 511 values = [0] * sample_type_count 512 for id in sample.values.keys(): 513 values[i [all...] |
/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 | 304 for f in files.values(): 315 for f in files.values(): 331 size = sum([ f.size for f in files.values() ])
|
/system/chre/apps/chqts/src/general_test/ |
H A D | basic_sensor_tests.cc | 49 checkFloat(data->readings[i].values[j], extremeLow, extremeHigh);
|