Searched refs:names (Results 1 - 24 of 24) sorted by relevance

/system/core/liblog/
H A Dpmsg_reader.c288 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/core/cpio/
H A Dmkbootfs.c175 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/extras/simpleperf/
H A Dcmd_list.cpp133 std::vector<std::string> names; local
136 names.push_back(item.first);
141 names.push_back(arg);
154 for (auto& name : names) {
H A Dcommand.cpp68 std::vector<std::string> names; local
70 names.push_back(pair.first);
72 return names;
/system/tools/hidl/
H A DScope.cpp59 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());
79 CHECK(FQName::parse(StringHelper::JoinStrings(names, "."), &innerName));
H A DCompoundType.cpp73 std::unordered_set<std::string> names; local
76 if (names.find(field->name()) != names.end()) {
81 names.insert(field->name());
H A Dmain.cpp111 const auto names = fqName.names(); local
112 return names.size() > 0 && names[0] == "types";
/system/tools/aidl/tests/
H A Daidl_test_client_primitives.cpp163 vector<String16> names = { local
174 status = s->GetOtherTestService(names[i], &got);
212 if (ret != names[i]) {
229 if (ret != names[2 - i]) {
/system/libvintf/
H A DHalManifest.cpp117 std::set<std::string> names{};
119 names.insert(hal.first);
121 return names;
125 std::set<std::string> names{};
126 forEachInstance([&names](const ManifestInstance& e) {
127 names.insert(toFQNameString(e.interface(), e.version()));
130 return names;
426 // Alternative to forEachInstance if you just need a set of instance names instead.
/system/media/camera/docs/
H A Dmetadata_validate.py77 def find_parent_by_name(element, names):
80 in names.
98 matching_parents = [i.name for i in element.parents if i.name in names]
/system/core/bootstat/
H A Dboot_event_record_store_test.cpp164 std::vector<std::string> names; local
167 names.push_back(i->first);
171 EXPECT_THAT(names, UnorderedElementsAreArray(EXPECTED_NAMES));
/system/tools/hidl/utils/include/hidl-util/
H A DFQName.h82 // FQName::name() will return "IFoo.bar.baz". FQName::names() will return
86 std::vector<std::string> names() const;
101 // Interface names start with 'I'
/system/security/keystore/
H A Dkeystore_main.cpp41 * each file stores one key-value pair. Keys are encoded in file names, and
67 Wrapper::WrappedIKeymasterDevice::descriptor, [&](const hidl_vec<hidl_string>& names) {
98 for (auto& n : names) {
/system/tools/aidl/
H A Daidl.cpp425 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/core/storaged/
H A Dstoraged_uid_monitor.cpp136 std::vector<std::string> names; local
137 binder::Status status = package_mgr->getNamesForUids(uids, &names);
145 if (!names[i].empty()) {
146 *uid_names[i] = names[i];
/system/core/libziparchive/
H A Dzip_archive_test.cc124 std::vector<std::string> names; local
129 names.push_back(std::string(reinterpret_cast<const char*>(name.name), name.name_length));
136 // Assert that the names are as expected.
137 std::sort(names.begin(), names.end());
138 ASSERT_EQ(expected_names_sorted, names);
/system/core/libbacktrace/
H A Dbacktrace_test.cpp1771 std::vector<std::string> names;
1772 // Loop through the frames, and save the function names.
1776 frame = names.size() + 1;
1778 names.push_back(frame_iter->func_name);
1792 ASSERT_LE(frame + 2, names.size()) << DumpFrames(backtrace.get());
1795 ASSERT_EQ("test_signal_action", names[0]) << DumpFrames(backtrace.get());
1797 ASSERT_EQ("test_signal_handler", names[0]) << DumpFrames(backtrace.get());
1799 ASSERT_EQ("test_level_three", names[frame]) << DumpFrames(backtrace.get());
1800 ASSERT_EQ("test_level_two", names[frame + 1]) << DumpFrames(backtrace.get());
1801 ASSERT_EQ("test_level_one", names[fram
[all...]
/system/extras/boottime_tools/io_analysis/
H A Dcheck_file_read.py219 def handle_merged_req(self, time, offsets, lens, names, is_read):
220 self.fevent.add_merged_access(is_read, time, offsets, lens, names)
/system/core/adb/
H A Dtransport.cpp900 auto names = android::base::Split(features_string, {kFeatureStringDelimiter}); local
901 return FeatureSet(names.begin(), names.end());
/system/chre/external/flatbuffers/include/flatbuffers/
H A Dflatbuffers.h1857 // names must be NULL terminated.
1858 inline int LookupEnum(const char **names, const char *name) { argument
1859 for (const char **p = names; *p; p++)
1861 return static_cast<int>(p - names);
/system/tools/hidl/utils/
H A DFQName.cpp246 std::vector<std::string> FQName::names() const { function in class:android::FQName
/system/chre/platform/shared/include/chre/platform/shared/
H A Dhost_messages_generated.h78 static const char *names[] = { local
99 return names;
/system/chre/host/common/include/chre_host/
H A Dhost_messages_generated.h97 static const char *names[] = { local
118 return names;
/system/sepolicy/
H A DAndroid.mk131 # $(1): the set of contexts file names.

Completed in 450 milliseconds