Home
last modified time | relevance | path

Searched refs:distance (Results 1 – 12 of 12) sorted by relevance

/system/keymaster/include/keymaster/
Dserializable.h234 bool advance_read(int distance) { in advance_read() argument
235 if (static_cast<size_t>(read_position_ + distance) <= write_position_) { in advance_read()
236 read_position_ += distance; in advance_read()
242 bool advance_write(int distance) { in advance_write() argument
243 if (static_cast<size_t>(write_position_ + distance) <= buffer_size_) { in advance_write()
244 write_position_ += distance; in advance_write()
DList.h185 return size_t(distance(begin(), end())); in size()
273 ptrdiff_t distance( in distance() function
/system/tools/aidl/tests/
Dtest_util.cpp32 using std::distance;
138 while (frontier != output.crend() && distance(it, frontier) <= 3) { in PrintDiff()
/system/core/libutils/include/utils/
DList.h187 return size_t(distance(begin(), end())); in size()
275 ptrdiff_t distance( in distance() function
/system/chre/chre_api/legacy/v1_2/chre/
Dwifi.h645 uint32_t distance; member
/system/core/init/
Dinit_test.cpp128 ASSERT_EQ(1, std::distance(service_list.begin(), service_list.end())); in TEST()
/system/chre/chre_api/include/chre_api/chre/
Dwifi.h645 uint32_t distance; member
/system/core/libmeminfo/
Dsysmeminfo.cpp76 auto index = std::distance(tags.begin(), it); in ReadMemInfo()
/system/update_engine/payload_generator/
Ddelta_diff_utils.cc359 int distance = LevenshteinDistance(new_file_name, pair.first); in GetOldFile() local
360 if (distance < min_distance) { in GetOldFile()
361 min_distance = distance; in GetOldFile()
/system/extras/verity/
Dhash_tree_builder.cpp268 << std::distance(level_blocks.begin(), iter); in CheckHashTree()
/system/chre/util/tests/
Darray_queue_test.cc471 typename traits::difference_type diff = std::distance(q.begin(), q.end()); in TEST()
/system/libhidl/base/include/hidl/
DHidlSupport.h362 auto size = std::distance(first, last); in hidl_vec()