Home
last modified time | relevance | path

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

/bionic/linker/
Dlinker_utils.cpp122 size_t needle_len = strlen(needle); in file_is_in_dir() local
124 return strncmp(haystack, needle, needle_len) == 0 && in file_is_in_dir()
125 haystack[needle_len] == '/' && in file_is_in_dir()
126 strchr(haystack + needle_len + 1, '/') == nullptr; in file_is_in_dir()
132 size_t needle_len = strlen(needle); in file_is_under_dir() local
134 return strncmp(haystack, needle, needle_len) == 0 && in file_is_under_dir()
135 haystack[needle_len] == '/'; in file_is_under_dir()