Searched refs:ISSLASH (Results 1 - 25 of 41) sorted by relevance

12

/haiku-fatelf/src/bin/patch/
H A Dbasename.c26 #ifndef ISSLASH
27 # define ISSLASH(C) ((C) == '/') macro
44 if (ISSLASH (*p))
51 if (*base == '\0' && ISSLASH (*name) && all_slashes)
/haiku-fatelf/src/bin/coreutils/lib/
H A Dbasename-lgpl.c36 while (ISSLASH (*base))
41 if (ISSLASH (*p))
63 for (len = strlen (name); 1 < len && ISSLASH (name[len - 1]); len--)
67 && ISSLASH (name[0]) && ISSLASH (name[1]) && ! name[2])
71 && len == prefix_len && ISSLASH (name[prefix_len]))
H A Ddirname-lgpl.c40 && ISSLASH (file[prefix_length]))
41 : (ISSLASH (file[0])
43 && ISSLASH (file[1]) && ! ISSLASH (file[2])
50 if (! ISSLASH (file[length - 1]))
77 && file[2] != '\0' && ! ISSLASH (file[2])));
H A Ddirname.h29 # ifndef ISSLASH
30 # define ISSLASH(C) ((C) == DIRECTORY_SEPARATOR) macro
55 # define IS_ABSOLUTE_FILE_NAME(F) ISSLASH ((F)[FILE_SYSTEM_PREFIX_LEN (F)])
58 (ISSLASH ((F)[0]) || 0 < FILE_SYSTEM_PREFIX_LEN (F))
H A Drmdir.c40 while (len && ISSLASH (dir[len - 1]))
42 if (len && dir[len - 1] == '.' && (1 == len || ISSLASH (dir[len - 2])))
H A Dunlink.c38 if (len && ISSLASH (name[len - 1]))
71 while (len && ISSLASH (short_name[len - 1]))
H A Dbasename.c40 if (ISSLASH (base[length]))
H A Dmkancesdirs.c91 if (ISSLASH (*p))
93 if (! ISSLASH (c))
96 else if (ISSLASH (c) && *p && sep)
H A Dstat.c57 if (ISSLASH (name[len - 1]))
84 if (ISSLASH (fixed_name[len - 1]))
87 while (len && ISSLASH (fixed_name[len - 1]))
H A Dfilenamecat-lgpl.c40 for (f += FILE_SYSTEM_PREFIX_LEN (f); ISSLASH (*f); f++)
66 size_t needs_separator = (dirbaselen && ! ISSLASH (dirbase[dirbaselen - 1]));
H A Dunlinkat.c48 if (len && ISSLASH (name[len - 1]))
65 while (len && ISSLASH (short_name[len - 1]))
H A Dlocalcharset.c90 # define ISSLASH(C) ((C) == '/' || (C) == '\\') macro
97 #ifndef ISSLASH
98 # define ISSLASH(C) ((C) == DIRECTORY_SEPARATOR) macro
144 int add_slash = (dir_len > 0 && !ISSLASH (dir[dir_len - 1]));
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Ddirname.c40 && ISSLASH (file[prefix_length]))
41 : (ISSLASH (file[0])
43 && ISSLASH (file[1]) && ! ISSLASH (file[2])
50 if (! ISSLASH (file[length - 1]))
77 && file[2] != '\0' && ! ISSLASH (file[2])));
H A Dbasename.c38 while (ISSLASH (*base))
43 if (ISSLASH (*p))
86 if (ISSLASH (base[length]))
116 for (len = strlen (name); 1 < len && ISSLASH (name[len - 1]); len--)
120 && ISSLASH (name[0]) && ISSLASH (name[1]) && ! name[2])
124 && len == prefix_len && ISSLASH (name[prefix_len]))
H A Ddirname.h28 # ifndef ISSLASH
29 # define ISSLASH(C) ((C) == DIRECTORY_SEPARATOR) macro
54 # define IS_ABSOLUTE_FILE_NAME(F) ISSLASH ((F)[FILE_SYSTEM_PREFIX_LEN (F)])
57 (ISSLASH ((F)[0]) || 0 < FILE_SYSTEM_PREFIX_LEN (F))
H A Dfilenamecat.c41 for (f += FILE_SYSTEM_PREFIX_LEN (f); ISSLASH (*f); f++)
67 size_t needs_separator = (dirbaselen && ! ISSLASH (dirbase[dirbaselen - 1]));
H A Dlocalcharset.c74 # define ISSLASH(C) ((C) == '/' || (C) == '\\') macro
81 #ifndef ISSLASH
82 # define ISSLASH(C) ((C) == DIRECTORY_SEPARATOR) macro
129 int add_slash = (dir_len > 0 && !ISSLASH (dir[dir_len - 1]));
/haiku-fatelf/src/bin/diffutils/lib/
H A Dbasename.c43 if (ISSLASH (*p))
47 while (ISSLASH (*p));
53 if (ISSLASH (*base))
75 for (len = strlen (name); 1 < len && ISSLASH (name[len - 1]); len--)
H A Ddirname.h32 # ifndef ISSLASH
33 # define ISSLASH(C) ((C) == DIRECTORY_SEPARATOR) macro
/haiku-fatelf/src/bin/bash/lib/intl/
H A Drelocatable.c68 ISSLASH(C) tests whether C is a directory separator character.
73 # define ISSLASH(C) ((C) == '/' || (C) == '\\') macro
82 # define ISSLASH(C) ((C) == '/') macro
193 if (ISSLASH (*p))
225 if (ISSLASH (*rpi) || ISSLASH (*cpi))
227 if (ISSLASH (*rpi) && ISSLASH (*cpi))
419 if (ISSLASH (pathname[orig_prefix_len]))
H A Dlocalcharset.c79 # define ISSLASH(C) ((C) == '/' || (C) == '\\') macro
86 #ifndef ISSLASH
87 # define ISSLASH(C) ((C) == DIRECTORY_SEPARATOR) macro
128 int add_slash = (dir_len > 0 && !ISSLASH (dir[dir_len - 1]));
/haiku-fatelf/src/bin/diffutils/
H A Dconfig.h399 # define ISSLASH(C) ((C) == '/' || (C) == '\\') macro
401 # define ISSLASH(C) ((C) == '/') macro
/haiku-fatelf/src/bin/gawk/intl/
H A Drelocatable.c67 ISSLASH(C) tests whether C is a directory separator character.
72 # define ISSLASH(C) ((C) == '/' || (C) == '\\') macro
81 # define ISSLASH(C) ((C) == '/') macro
192 if (ISSLASH (*p))
224 if (ISSLASH (*rpi) || ISSLASH (*cpi))
226 if (ISSLASH (*rpi) && ISSLASH (*cpi))
418 if (ISSLASH (pathname[orig_prefix_len]))
H A Dlocalcharset.c78 # define ISSLASH(C) ((C) == '/' || (C) == '\\') macro
85 #ifndef ISSLASH
86 # define ISSLASH(C) ((C) == DIRECTORY_SEPARATOR) macro
127 int add_slash = (dir_len > 0 && !ISSLASH (dir[dir_len - 1]));
/haiku-fatelf/src/bin/network/wget/lib/
H A Dlocalcharset.c80 # define ISSLASH(C) ((C) == '/' || (C) == '\\') macro
87 #ifndef ISSLASH
88 # define ISSLASH(C) ((C) == DIRECTORY_SEPARATOR) macro
135 int add_slash = (dir_len > 0 && !ISSLASH (dir[dir_len - 1]));

Completed in 273 milliseconds

12