Searched refs:distance (Results 1 – 12 of 12) sorted by relevance
/system/keymaster/include/keymaster/ |
D | serializable.h | 234 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()
|
D | List.h | 185 return size_t(distance(begin(), end())); in size() 273 ptrdiff_t distance( in distance() function
|
/system/tools/aidl/tests/ |
D | test_util.cpp | 32 using std::distance; 138 while (frontier != output.crend() && distance(it, frontier) <= 3) { in PrintDiff()
|
/system/core/libutils/include/utils/ |
D | List.h | 187 return size_t(distance(begin(), end())); in size() 275 ptrdiff_t distance( in distance() function
|
/system/chre/chre_api/legacy/v1_2/chre/ |
D | wifi.h | 645 uint32_t distance; member
|
/system/core/init/ |
D | init_test.cpp | 128 ASSERT_EQ(1, std::distance(service_list.begin(), service_list.end())); in TEST()
|
/system/chre/chre_api/include/chre_api/chre/ |
D | wifi.h | 645 uint32_t distance; member
|
/system/core/libmeminfo/ |
D | sysmeminfo.cpp | 76 auto index = std::distance(tags.begin(), it); in ReadMemInfo()
|
/system/update_engine/payload_generator/ |
D | delta_diff_utils.cc | 359 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/ |
D | hash_tree_builder.cpp | 268 << std::distance(level_blocks.begin(), iter); in CheckHashTree()
|
/system/chre/util/tests/ |
D | array_queue_test.cc | 471 typename traits::difference_type diff = std::distance(q.begin(), q.end()); in TEST()
|
/system/libhidl/base/include/hidl/ |
D | HidlSupport.h | 362 auto size = std::distance(first, last); in hidl_vec()
|