OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:isDirSeparator
(Results
1 - 3
of
3
) sorted by null
/external/qemu/android/base/files/
PathUtils.h
44
static bool
isDirSeparator
(int ch, HostType hostType);
47
static inline bool
isDirSeparator
(int ch) {
48
return
isDirSeparator
(ch, HOST_TYPE);
PathUtils.cpp
20
bool PathUtils::
isDirSeparator
(int ch, HostType hostType) {
48
} else if (
isDirSeparator
(path[0], hostType)) {
50
if (
isDirSeparator
(path[1], hostType)) {
52
while (path[result] && !
isDirSeparator
(path[result], HOST_WIN32))
56
if (result && path[result] &&
isDirSeparator
(path[result], HOST_WIN32))
71
return
isDirSeparator
(path[prefixSize - 1], HOST_WIN32);
87
while (*p && !
isDirSeparator
(*p, hostType))
PathUtils_unittest.cpp
26
TEST(PathUtils,
isDirSeparator
) {
41
PathUtils::
isDirSeparator
(ch, kHostPosix))
44
PathUtils::
isDirSeparator
(ch, kHostWin32))
47
PathUtils::
isDirSeparator
(ch))
Completed in 548 milliseconds