/system/update_engine/payload_generator/ |
H A D | graph_utils.cc | 105 void DumpExtents(const T& field, int prepend_space_count) { argument 107 for (int i = 0, e = field.size(); i != e; ++i) { 108 LOG(INFO) << header << "(" << GetElement(field, i).start_block() << ", " 109 << GetElement(field, i).num_blocks() << ")";
|
/system/extras/iotop/ |
H A D | iotop.cpp | 56 static Sorter GetSorter(const std::string field) { argument 58 static auto comparator = [](auto& lhs, auto& rhs, auto field, bool ascending) -> bool { 59 auto a = (lhs.*field)(); 60 auto b = (rhs.*field)(); 62 // Sort by selected field 70 auto make_sorter = [](auto field, bool ascending) { 71 // Make closure for comparator on a specific field 73 auto bound_comparator = std::bind(comparator, _1, _2, field, ascending); 93 auto it = sorters.find(field);
|
/system/extras/showmap/ |
H A D | showmap.cpp | 91 char field[64]; local 94 if (sscanf(line, "%63s %n", field, &len) == 1 95 && *field && field[strlen(field) - 1] == ':') { 98 if (!strcmp(field, "Size:")) { 100 } else if (!strcmp(field, "Rss:")) { 102 } else if (!strcmp(field, "Pss:")) { 104 } else if (!strcmp(field, "Shared_Clean:")) { 106 } else if (!strcmp(field, "Shared_Dirt [all...] |
/system/core/libnativebridge/ |
H A D | native_bridge.cc | 325 static void SetCpuAbi(JNIEnv* env, jclass build_class, const char* field, const char* value) { argument 327 jfieldID field_id = env->GetStaticFieldID(build_class, field, "Ljava/lang/String;"); 330 ALOGW("Could not find %s field.", field);
|
/system/bt/service/client/ |
H A D | main.cpp | 247 void PrintFieldAndValue(const string& field, const string& value) { argument 248 cout << COLOR_BOLDWHITE << field << ": " << COLOR_BOLDYELLOW << value 252 void PrintFieldAndBoolValue(const string& field, bool value) { argument 253 PrintFieldAndValue(field, (value ? "true" : "false"));
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
H A D | dual_mode_controller.cc | 68 bool ParseUint8t(const base::StringPiece& value, uint8_t* field) { argument 69 *field = std::stoi(value.as_string()); 73 bool ParseUint16t(const base::StringPiece& value, uint16_t* field) { argument 74 *field = std::stoi(value.as_string()); 79 std::vector<uint8_t>* field) { 81 field->push_back(c - '0'); 538 #define REGISTER_UINT8_T(field_name, field) \ 540 field_name, &DualModeController::Properties::field, &ParseUint8t); 541 #define REGISTER_UINT16_T(field_name, field) \ 543 field_name, &DualModeController::Properties::field, 78 ParseUint8tVector(const base::StringPiece& value, std::vector<uint8_t>* field) argument [all...] |
/system/connectivity/shill/dbus/ |
H A D | chromeos_supplicant_interface_proxy.cc | 217 const string& field, 220 << " network: " << network << " field: " << field << " value: " << value; 223 field, 216 NetworkReply(const string& network, const string& field, const string& value) argument
|
/system/extras/perfprofd/quipper/ |
H A D | perf_reader.cc | 49 // The type of the number of nodes field in NUMA topology. 114 // If field points to the start of a bitfield padded to len bytes, this 118 void SwapBitfieldOfBits(u8* field, size_t len) { argument 120 field[i] = ReverseByte(field[i]); 155 // Passing "" to |build_id| or |filename| will leave the corresponding field 161 // |header.misc| field of new events. 971 // the struct definition. Check against perf_event_attr's |size| field.
|
/system/vold/ |
H A D | cryptfs.c | 3457 * Test if key is part of the multi-entry (field, index) sequence. Return non-zero if key is in the 3460 static int match_multi_entry(const char *key, const char *field, unsigned index) { argument 3463 field_len = strlen(field); 3466 // The first key in a multi-entry field is just the filedname itself. 3467 if (!strcmp(key, field)) { 3471 // Match key against "%s_%d" % (field, index) 3476 if (strncmp(key, field, field_len)) { 3477 // If the key does not begin with field, it's not a match. 3487 * Delete entry/entries from persist_data. If the entries are part of a multi-segment field, all 3490 * PERSIST_DEL_KEY_ERROR_NO_FIELD if the field doe [all...] |