Home
last modified time | relevance | path

Searched refs:distance (Results 1 – 16 of 16) 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/teeui/test/example_config/
DREADME65 …"native-test-flag": "--powerButtonTop=<distance from the top of the power button to the top of the…
68 …"native-test-flag": "--powerButtonBottom=<distance from the bottom of the power button to the top …
71 …"native-test-flag": "--volUpButtonTop=<distance from the top of the UP volume button to the top of…
74 …"native-test-flag": "--volUpButtonBottom=<distance from the bottom of the UP power button to the t…
/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/chre/chre_api/include/chre_api/chre/
Dwifi.h645 uint32_t distance; member
/system/update_engine/payload_generator/
Ddelta_diff_utils.cc261 int distance = LevenshteinDistance(new_file_name, pair.first); in GetOldFile() local
262 if (distance < min_distance) { in GetOldFile()
263 min_distance = distance; in GetOldFile()
/system/core/init/
Dinit_test.cpp173 ASSERT_EQ(1, std::distance(service_list.begin(), service_list.end())); in TEST()
/system/libvintf/
Dcheck_vintf.cpp292 if (std::distance(args.begin(), args.end()) > 1) { in getRuntimeInfo()
527 if (std::distance(rootdirs.begin(), rootdirs.end()) > 1) { in main()
/system/memory/libmeminfo/
Dsysmeminfo.cpp76 auto index = std::distance(tags.begin(), it); in ReadMemInfo()
/system/core/fs_mgr/liblp/
Dutility.cpp275 partition.group_index = std::distance(new_group_ptrs.begin(), it); in UpdateMetadataForInPlaceSnapshot()
/system/extras/verity/
Dhash_tree_builder.cpp276 << std::distance(level_blocks.begin(), iter); in CheckHashTree()
/system/tools/aidl/
Daidl_checkapi.cpp218 size_t old_index = std::distance(old_fields.begin(), found); in are_compatible_parcelables()
/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.h366 auto size = std::distance(first, last); in hidl_vec()