Home
last modified time | relevance | path

Searched refs:path_len (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/cmds/installd/
Dutils.cpp1025 const size_t path_len = strlen(path); in get_path_from_string() local
1026 if (path_len <= 0) { in get_path_from_string()
1035 if (path[path_len - 1] == '/') { in get_path_from_string()
1043 rec->len = path_len; in get_path_from_string()
1049 size_t dst_size = path_len + 2; in get_path_from_string()
/frameworks/base/core/jni/
Dcom_android_internal_os_Zygote.cpp266 size_t path_len = strlen(path); in UnmountTree() local
279 if (strncmp(mentry->mnt_dir, path, path_len) == 0) { in UnmountTree()
/frameworks/native/cmds/dumpstate/
Dutils.cpp411 size_t path_len = strlen(path); in _dump_file_from_fd() local
412 if ((path_len < 6 || memcmp(path, "/proc/", 6)) && in _dump_file_from_fd()
413 (path_len < 5 || memcmp(path, "/sys/", 5)) && in _dump_file_from_fd()
414 (path_len < 3 || memcmp(path, "/d/", 3)) && in _dump_file_from_fd()