/system/extras/simpleperf/ |
H A D | cmd_list.cpp | 71 std::vector<std::string> names; local 74 names.push_back(item.first); 79 names.push_back(arg); 89 for (auto& name : names) {
|
H A D | command.cpp | 65 std::vector<std::string> names; local 67 names.push_back(pair.first); 69 return names;
|
/system/tools/aidl/tests/ |
H A D | aidl_test_client_primitives.cpp | 163 vector<String16> names = { local 174 status = s->GetOtherTestService(names[i], &got); 212 if (ret != names[i]) { 229 if (ret != names[2 - i]) {
|
/system/tools/hidl/ |
H A D | Scope.cpp | 59 std::vector<std::string> names = fqName.names(); local 60 CHECK_GT(names.size(), 0u); 61 auto it = mTypeIndexByName.find(names[0]); 68 if (names.size() == 1) { 72 // more than one names, but the first name is not a scope 77 names.erase(names.begin()); 78 FQName innerName(names);
|
/system/core/bootstat/ |
H A D | boot_event_record_store_test.cpp | 160 std::vector<std::string> names; local 163 names.push_back(i->first); 167 EXPECT_THAT(names, UnorderedElementsAreArray(EXPECTED_NAMES));
|
/system/core/cpio/ |
H A D | mkbootfs.c | 175 char** names = malloc(size * sizeof(char*)); local 176 if (names == NULL) { 177 fprintf(stderr, "failed to allocate dir names array (size %d)\n", size); 190 names = realloc(names, size * sizeof(char*)); 191 if (names == NULL) { 192 fprintf(stderr, "failed to reallocate dir names array (size %d)\n", 197 names[entries] = strdup(de->d_name); 198 if (names[entries] == NULL) { 206 qsort(names, entrie [all...] |
/system/core/liblog/ |
H A D | pmsg_reader.c | 288 struct names { struct 294 } * names; local 407 names = node_to_item(node, struct names, node); 408 if (!strcmp(names->name, msg + sizeof(prio)) && 409 (names->id == transp.logMsg.entry.lid) && (names->prio == *msg)) { 420 names = calloc(1, sizeof(*names) + len); 421 if (!names) { [all...] |
/system/tools/aidl/ |
H A D | aidl.cpp | 425 set<string> names; local 428 if (names.count(int_constant->GetName()) > 0) { 433 names.insert(int_constant->GetName()); 439 if (names.count(string_constant->GetName()) > 0) { 444 names.insert(string_constant->GetName());
|
/system/tools/hidl/utils/ |
H A D | FQName.cpp | 94 FQName::FQName(const std::vector<std::string> &names) argument 97 setTo(StringHelper::JoinStrings(names, ".")); 233 std::vector<std::string> FQName::names() const { function in class:android::FQName 310 CHECK(names().size() == 1) << "Must be a top level type";
|
/system/extras/perfprofd/quipper/base/ |
H A D | logging.h | 132 // Note: the log severities are used to index into the array of names, 251 std::string* MakeCheckOpString(const t1& v1, const t2& v2, const char* names) { argument 253 ss << names << " (" << v1 << " vs. " << v2 << ")"; 263 const int&, const int&, const char* names); 266 const unsigned long&, const unsigned long&, const char* names); 269 const unsigned long&, const unsigned int&, const char* names); 272 const unsigned int&, const unsigned long&, const char* names); 285 const char* names) { \ 287 else return MakeCheckOpString(v1, v2, names); \ 289 inline std::string* Check##name##Impl(int v1, int v2, const char* names) { \ [all...] |
/system/chre/platform/shared/include/chre/platform/shared/ |
H A D | host_messages_generated.h | 48 static const char *names[] = { local 59 return names;
|
/system/core/adb/ |
H A D | transport.cpp | 766 auto names = android::base::Split(features_string, {kFeatureStringDelimiter}); local 767 return FeatureSet(names.begin(), names.end());
|
/system/chre/external/flatbuffers/include/flatbuffers/ |
H A D | flatbuffers.h | 1856 // names must be NULL terminated. 1857 inline int LookupEnum(const char **names, const char *name) { argument 1858 for (const char **p = names; *p; p++) 1860 return static_cast<int>(p - names);
|
/system/chre/host/common/include/chre_host/ |
H A D | host_messages_generated.h | 57 static const char *names[] = { local 68 return names;
|