Searched refs:find (Results 1 - 20 of 20) sorted by relevance

/system/keymaster/
H A Dgoogle_keymaster_test_utils.h46 int pos = set.find(tag);
54 while ((pos = set.find(tag, pos)) != -1)
62 int pos = set.find(tag);
69 while ((pos = set.find(tag, pos)) != -1)
77 int pos = set.find(tag);
83 int pos = set.find(tag);
90 return set.find(tag) != -1;
H A Dauthorization_set.cpp106 int AuthorizationSet::find(keymaster_tag_t tag, int begin) const { function in class:keymaster::AuthorizationSet
447 int pos = find(tag);
460 pos = find(tag, pos);
471 int pos = find(tag);
484 pos = find(tag, pos);
495 int pos = find(tag);
504 int pos = find(tag);
513 int pos = find(tag);
H A Dauthorization_set_test.cpp79 int pos = set.find(TAG_ALGORITHM);
84 pos = set.find(TAG_MAC_LENGTH);
111 int pos = set.find(TAG_PURPOSE);
116 pos = set.find(TAG_PURPOSE, pos);
120 EXPECT_EQ(-1, set.find(TAG_PURPOSE, pos));
171 int pos = deserialized.find(TAG_APPLICATION_ID);
208 int pos = deserialized.find(TAG_APPLICATION_ID);
/system/netd/server/
H A DNetwork.cpp33 return mInterfaces.find(interface) != mInterfaces.end();
H A DNetworkController.cpp167 ALOGE("cannot find previously set default network with netId %u", mDefaultNetId);
451 mProtectableUsers.find(uid) != mProtectableUsers.end();
472 auto iter = mNetworks.find(netId);
489 auto iter = mUsers.find(uid);
516 mProtectableUsers.find(uid) == mProtectableUsers.end()) {
562 ALOGE("cannot find previously set default network with netId %u", mDefaultNetId);
H A DRouteController.cpp131 auto iter = interfaceToTable.find(interface);
133 ALOGE("cannot find interface %s", interface);
375 // If an interface was specified, find the ifindex.
379 ALOGE("cannot find interface %s", interface);
577 // If a packet with a VPN's netId doesn't find a route in the VPN's routing table, it's allowed to
/system/core/libutils/tests/
H A DBasicHashtable_test.cpp128 static ssize_t find(BasicHashtable<TKey, key_value_pair_t<TKey, TValue> >& h, function in namespace:android
130 return h.find(index, hash_type(key), key);
136 ssize_t index = find(h, -1, key);
216 ssize_t index = find(h, -1, 8);
222 ASSERT_EQ(index, find(h, -1, 8));
226 index = find(h, index, 8);
232 index = find(h, -1, 8);
241 ssize_t index = find(h, -1, int(i));
247 ASSERT_EQ(index, find(h, -1, int(i)));
251 index = find(
[all...]
/system/core/libutils/
H A DPropertyMap.cpp190 if (valueToken.find("\\", 0) >= 0 || valueToken.find("\"", 0) >= 0) {
H A DString8.cpp400 ssize_t String8::find(const char* other, size_t start) const function in class:android::String8
412 ssize_t index = find(other);
422 ssize_t next = find(other, index + skip);
587 // find the last dot
H A DBasicHashtable.cpp113 ssize_t BasicHashtableImpl::find(ssize_t index, hash_t hash, function in class:android::BasicHashtableImpl
/system/media/camera/docs/
H A Dmetadata_validate.py210 matching_entry = soup.find(find_entry)
213 error_msg = ("Did not find corresponding clone entry '%s' " + \
248 container_tag = entry.find(entry_container)
H A Dmetadata_parser_xml.py223 notes = value.find('notes')
243 array = entry.find('array')
250 tupl = entry.find('tuple')
H A Dmetadata_helpers.py75 # find uniquely named entries (w/o recursing through inner namespaces)
645 return csym(what[what.find('.') + 1:])
660 return cname[cname.find('_') + 1:] + '_' + enum_value.name
913 candidate2b = "%s.%s.%s" % (outer_namespace.name, section1, section2[:section2.find('\n')])
930 candidate3b = "%s%s" % (candidate2, section3[:section3.find('\n')])
/system/core/include/utils/
H A DBasicHashtable.h33 // may need to seek further along the chain to find the entry.
69 ssize_t find(ssize_t index, hash_t hash, const void* __restrict__ key) const;
276 * find the first matching entry.
280 inline ssize_t find(ssize_t index, hash_t hash, const TKey& key) const { function in class:android::BasicHashtable
281 return BasicHashtableImpl::find(index, hash, &key);
302 * to continue iterating over the hashtable using next() or find().
H A DLruCache.h129 ssize_t index = mTable->find(-1, hash, key);
146 ssize_t index = mTable->find(-1, hash, key);
165 ssize_t index = mTable->find(-1, hash, key);
H A DString8.h131 ssize_t find(const char* other, size_t start = 0) const;
293 return find(other) >= 0;
/system/core/healthd/
H A DAndroid.mk69 $(foreach _img, $(call find-subdir-subdir-files, "images", "*.png"), \
/system/keymaster/include/keymaster/
H A Dauthorization_set.h105 int find(keymaster_tag_t tag, int begin = -1) const;
/system/core/libsync/tests/
H A Dsync_test.cpp578 auto itr = fenceMap.find(timelineOffset);
/system/media/camera/tests/
H A Dcamera_metadata_tests.cpp1004 // Test unsorted find
1040 // Test sorted find
1051 std::find(tags.begin(), tags.end(), ANDROID_LENS_FOCUS_DISTANCE)

Completed in 1019 milliseconds