Home
last modified time | relevance | path

Searched refs:field (Results 1 – 25 of 61) sorted by relevance

123

/system/extras/showmap/
Dshowmap.cpp91 char field[64]; in parse_field() local
94 if (sscanf(line, "%63s %n", field, &len) == 1 in parse_field()
95 && *field && field[strlen(field) - 1] == ':') { in parse_field()
98 if (!strcmp(field, "Size:")) { in parse_field()
100 } else if (!strcmp(field, "Rss:")) { in parse_field()
102 } else if (!strcmp(field, "Pss:")) { in parse_field()
104 } else if (!strcmp(field, "Shared_Clean:")) { in parse_field()
106 } else if (!strcmp(field, "Shared_Dirty:")) { in parse_field()
108 } else if (!strcmp(field, "Private_Clean:")) { in parse_field()
110 } else if (!strcmp(field, "Private_Dirty:")) { in parse_field()
[all …]
/system/extras/iotop/
Diotop.cpp56 static Sorter GetSorter(const std::string field) { in GetSorter() argument
58 static auto comparator = [](auto& lhs, auto& rhs, auto field, bool ascending) -> bool { in GetSorter() argument
59 auto a = (lhs.*field)(); in GetSorter()
60 auto b = (rhs.*field)(); in GetSorter()
70 auto make_sorter = [](auto field, bool ascending) { in GetSorter() argument
73 auto bound_comparator = std::bind(comparator, _1, _2, field, ascending); in GetSorter()
93 auto it = sorters.find(field); in GetSorter()
/system/tpm/trunks/generator/
Dgenerator.py663 return set([field[0] for field in self.fields])
708 for field in self.fields:
709 out_file.write(self._STRUCTURE_FIELD % {'type': field[0],
710 'name': field[1]})
743 for field in self.fields:
744 if self._ARRAY_FIELD_RE.search(field[1]):
745 self._OutputArrayField(out_file, field, self._SERIALIZE_FIELD_ARRAY)
746 elif self._UNION_TYPE_RE.search(field[0]):
747 self._OutputUnionField(out_file, field,
750 out_file.write(self._SERIALIZE_FIELD % {'type': field[0],
[all …]
/system/tpm/attestation/common/
Dproto_print.py373 for field in message.fields:
374 if field.repeated:
375 value_get = repeated_field_get % {'name': field.name}
378 value_get = singular_field_get % {'name': field.name}
380 if field.type_ in formats:
381 value_format = formats[field.type_] % {'value': value_get}
384 impl_file.write(field_code % {'name': field.name,
Dattestation_ca.proto134 // SignedData message, in which the data field is the serialized Challenge
135 // message, and the signature field is the signature of the data field signed
150 // SignedData message, in which the data field is the serialized
151 // ChallengeResponse message, and the signature field is the signature of the
152 // data field signed by the client using the key being challenged. The
169 // ChallengeResponse.encrypted_key_info.encrypted_data field. This message holds
Dinterface.proto42 // this field is not set or is the empty string, the key will be accessible
46 // this field specifies the origin. For most profiles this is not required.
127 // particular user. If this field is not set or is the empty
Dcommon.proto61 // Source data which was originally used to extend the PCR. If this field
84 // The signature of the data field.
/system/update_engine/payload_generator/
Dgraph_utils.cc105 void DumpExtents(const T& field, int prepend_space_count) { in DumpExtents() argument
107 for (int i = 0, e = field.size(); i != e; ++i) { in DumpExtents()
108 LOG(INFO) << header << "(" << GetElement(field, i).start_block() << ", " in DumpExtents()
109 << GetElement(field, i).num_blocks() << ")"; in DumpExtents()
/system/bt/vendor_libs/test_vendor_lib/src/
Ddual_mode_controller.cc68 bool ParseUint8t(const base::StringPiece& value, uint8_t* field) { in ParseUint8t() argument
69 *field = std::stoi(value.as_string()); in ParseUint8t()
73 bool ParseUint16t(const base::StringPiece& value, uint16_t* field) { in ParseUint16t() argument
74 *field = std::stoi(value.as_string()); in ParseUint16t()
79 std::vector<uint8_t>* field) { in ParseUint8tVector() argument
81 field->push_back(c - '0'); in ParseUint8tVector()
538 #define REGISTER_UINT8_T(field_name, field) \ in RegisterJSONConverter() argument
540 field_name, &DualModeController::Properties::field, &ParseUint8t); in RegisterJSONConverter()
541 #define REGISTER_UINT16_T(field_name, field) \ in RegisterJSONConverter() argument
543 field_name, &DualModeController::Properties::field, &ParseUint16t); in RegisterJSONConverter()
/system/core/metricsd/uploader/proto/
Dhistogram_event.proto42 // If the min field is omitted, its value is assumed to be equal to max - 1.
43 // If the max field is omitted, its value is assumed to be equal to the next
45 // histogram should always include the max field.
50 // This field was intended to provide extra redundancy to detect corrupted
/system/keymaster/
DAndroid.mk89 LOCAL_CLANG_CFLAGS += -Wno-error=unused-const-variable -Wno-error=unused-private-field
94 LOCAL_CLANG_CFLAGS += -Wno-error=unused-private-field
126 LOCAL_CLANG_CFLAGS += -Wno-error=unused-const-variable -Wno-error=unused-private-field
169 LOCAL_CLANG_CFLAGS += -Wno-error=unused-const-variable -Wno-error=unused-private-field
/system/extras/librank/
Dlibrank.c57 #define declare_sort(field) \ argument
58 static int sort_by_ ## field (const void *a, const void *b)
478 #define create_sort(field, compfn) \ argument
479 static int sort_by_ ## field (const void *a, const void *b) { \
481 (*((struct mapping_info**)a))->usage.field, \
482 (*((struct mapping_info**)b))->usage.field \
/system/extras/procrank/
Dprocrank.c39 #define declare_sort(field) \ argument
40 static int sort_by_ ## field (const void *a, const void *b)
538 #define create_sort(field, compfn) \ argument
539 static int sort_by_ ## field (const void *a, const void *b) { \
541 (*((struct proc_info**)a))->usage.field, \
542 (*((struct proc_info**)b))->usage.field \
/system/extras/zram-perf/
DAndroid.mk6 LOCAL_CFLAGS += -g -Wall -Werror -std=c++11 -Wno-missing-field-initializers -Wno-sign-compare -Wno-…
/system/core/libsync/tests/
DAndroid.mk22 LOCAL_CFLAGS += -g -Wall -Werror -std=gnu++11 -Wno-missing-field-initializers -Wno-sign-compare
/system/extras/memcpy-perf/
DAndroid.mk6 LOCAL_CFLAGS += -g -Wall -Werror -std=c++11 -Wno-missing-field-initializers -Wno-sign-compare -O3
/system/extras/boot_control_copy/
DAndroid.mk7 LOCAL_CFLAGS := -Wall -Wno-missing-field-initializers -Wno-unused-parameter
/system/core/gatekeeperd/tests/
DAndroid.mk22 LOCAL_CFLAGS += -g -Wall -Werror -std=gnu++11 -Wno-missing-field-initializers
/system/extras/mmap-perf/
DAndroid.mk26 LOCAL_CFLAGS += -g -Wall -Werror -std=c++11 -Wno-missing-field-initializers -Wno-sign-compare -O3
/system/gatekeeper/tests/
DAndroid.mk22 LOCAL_CFLAGS += -g -Wall -Werror -std=gnu++11 -Wno-missing-field-initializers
/system/core/libion/tests/
DAndroid.mk21 LOCAL_CFLAGS += -g -Wall -Werror -std=gnu++11 -Wno-missing-field-initializers
/system/extras/alloc-stress/
DAndroid.mk6 LOCAL_CFLAGS += -g -Wall -Werror -std=gnu++11 -Wno-missing-field-initializers -Wno-sign-compare
/system/tools/aidl/
Dast_cpp.cpp90 for (const auto& field : fields_) { in Write() local
91 if (field.value.empty()) { in Write()
92 to->Write(" %s,\n", field.key.c_str()); in Write()
94 to->Write(" %s = %s,\n", field.key.c_str(), field.value.c_str()); in Write()
/system/core/libnativebridge/
Dnative_bridge.cc325 static void SetCpuAbi(JNIEnv* env, jclass build_class, const char* field, const char* value) { in SetCpuAbi() argument
327 jfieldID field_id = env->GetStaticFieldID(build_class, field, "Ljava/lang/String;"); in SetCpuAbi()
330 ALOGW("Could not find %s field.", field); in SetCpuAbi()
/system/bt/doc/
Dpower_management.md51 the `spec_idx` field to index into `bta_dm_pm_spec` array to determine which
148 triggers `bta_dm_pm_btm_status`, with the timeout field set to TRUE. HCI
174 `prev_low` field is set, calls `bta_dm_pm_ssr` to re-send SSR params,
180 previous low power mode in the peer device's `prev_low` field.
182 `info` field's `BTA_DM_DI_USE_SSR` bit, depending on the value of
184 - If the status is `BTM_PM_STS_SNIFF` and the info field has the
188 device info field.

123