/external/chromium_org/tools/gyp/test/copies/ |
gyptest-slash.py | 8 Verifies file copies with a trailing slash in the destination directory. 14 test.run_gyp('copies-slash.gyp', chdir='src') 16 test.build('copies-slash.gyp', chdir='relocate/src') 18 test.built_file_must_match('copies-out-slash/directory/file3', 21 test.built_file_must_match('copies-out-slash/directory/file4', 24 test.built_file_must_match('copies-out-slash/directory/subdir/file5', 28 test.built_file_must_match('copies-out-slash-2/directory/file3', 31 test.built_file_must_match('copies-out-slash-2/directory/file4', 34 test.built_file_must_match('copies-out-slash-2/directory/subdir/file5',
|
/external/chromium_org/tools/gyp/test/copies/src/ |
copies-slash.gyp | 7 # A trailing slash on the destination directory should be ignored. 13 'destination': '<(PRODUCT_DIR)/copies-out-slash/', 27 'destination': '<(PRODUCT_DIR)/copies-out-slash-2/', 29 '<(PRODUCT_DIR)/copies-out-slash/directory/',
|
/external/e2fsprogs/util/ |
libecho.c | 42 char *slash; local 49 while((slash = strrchr(f, '/')) != NULL) 50 *slash = '\\'; 54 slash = strrchr(filepath, '\\'); 56 if (slash) { 57 slash++; 58 *slash = 0;
|
/external/openssh/regress/ |
sftp-glob.sh | 47 SLASH="${DIR}/g-sl\\ash" 48 ESLASH="${DIR}/g-slash\\" 55 test "x$nobs" = "x" && touch "${QSLASH}" "${ESLASH}" "${SLASH}" 67 sftp_ls "${DIR}/g-sl\\\\ash" "escaped slash" "g-sl\\ash" "" "$nobs" 68 sftp_ls "'${DIR}/g-sl\\\\ash'" "quoted slash" "g-sl\\ash" "" "$nobs" 69 sftp_ls "${DIR}/g-slash\\\\" "escaped slash at EOL" "g-slash\\" "" "$nobs" 70 sftp_ls "'${DIR}/g-slash\\\\'" "quoted slash at EOL" "g-slash\\" "" "$nobs [all...] |
/external/linux-tools-perf/util/ |
exec_cmd.c | 27 const char *slash; local 31 slash = argv0 + strlen(argv0); 33 while (argv0 <= slash && !is_dir_sep(*slash)) 34 slash--; 36 if (slash >= argv0) { 37 argv0_path = strndup(argv0, slash - argv0); 38 return argv0_path ? slash + 1 : NULL;
|
/frameworks/compile/slang/ |
slang_rs_reflect_utils.cpp | 34 const char *slash = dot - 1; local 35 while (slash >= fileName) { 36 if (*slash == OS_PATH_SEPARATOR) { 39 if ((*slash == '.') && (*dot == 0)) { 40 dot = slash; 42 --slash; 44 ++slash; 45 return string(slash, dot - slash); 68 const char *slash = dot - 1 local [all...] |
/external/bison/m4/ |
fopen.m4 | 15 dnl fopen on mingw also has the trailing slash bug. 20 dnl trailing slash. 21 AC_CACHE_CHECK([whether fopen recognizes a trailing slash], 51 [Define to 1 if fopen() fails to recognize a trailing slash.])
|
open.m4 | 16 dnl trailing slash. FreeBSD only has the problem on symlinks. 18 AC_CACHE_CHECK([whether open recognizes a trailing slash], 59 [Define to 1 if open() fails to recognize a trailing slash.])
|
/external/compiler-rt/lib/asan/lit_tests/TestCases/ |
strip_path_prefix.c | 9 // Check that paths in error report don't start with slash.
|
/external/qemu/distrib/sdl-1.2.15/src/main/qtopia/ |
SDL_qtopia_main.cc | 21 int slash = appname.findRev("/"); local 22 if(slash != -1) { appname = appname.mid(slash+1); }
|
/external/chromium_org/tools/gn/ |
source_file.h | 17 // Represents a file within the source tree. Always begins in a slash, never 23 // Takes a known absolute source file. Always begins in a slash. 31 // Returns everythign after the last slash. 45 // Returns true if this file starts with a single slash which indicates a 51 // Returns a source-absolute path starting with only one slash at the
|
filesystem_utils.h | 49 // slash). Returns std::string::npos if not found. Returns path.size() if the 59 // Returns the offset of the character following the last slash, or 60 // 0 if no slash was found. Returns path.size() if the path ends with a slash. 65 // file name (following the last slash, including the extension). Note that the 72 // Removes everything after the last slash. The last slash, if any, will be 76 // Returns true if the given path ends with a slash. 82 // directory name of the given path, including the last slash. Note that the 104 // in all other cases, this is guaranteed to end in a slash [all...] |
filesystem_utils.cc | 42 // Single dot followed by a slash. 43 *consumed_len = 2; // Consume the slash 55 // Double dot folowed by a slash. 229 // The last char of the dir will be a slash. We don't care if the input ends 230 // in a slash or not, so just compare up until there. 282 // One leading slash, this is a system-absolute path. 291 // Slash followed by a dot, see if it's something special. 306 // The previous char was a slash, remove it. 313 // ".." and continue. We need the trailing slash if there was 328 // Just find the previous slash or the beginning of input [all...] |
ninja_helper.h | 26 // Ends in a slash. 29 // Ends in a slash. 54 // "../.."). It has no terminating slash.
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
SerializationStressTest5.java | 156 String slash = System.getProperty("file.separator"); local 157 String begTarget = slash + "java" + slash; 164 fileName = fileName.replace(slash.charAt(0), '.'); 289 String slash = System.getProperty("file.separator"); local 291 if (!javaHome.endsWith(slash)) 292 javaHome += slash; 294 String[] wanted = { "java" + slash + "io", "java" + slash + "lang", 295 "java" + slash + "math", "java" + slash + "net" [all...] |
/external/chromium/googleurl/src/ |
url_canon_path.cc | 135 // Single dot followed by a slash. 136 *consumed_len = 1; // Consume the slash 149 // Double dot followed by a slash. 160 // Rewinds the output to the previous slash. It is assumed that the output 161 // ends with a slash and this doesn't count (we call this when we are 163 // slash). 165 // This will stop at the first slash (assumed to be at position 169 // It searches for a literal slash rather than including a backslash as well 172 // The output is guaranteed to end in a slash when this function completes. 180 return; // We're at the first slash, nothing to do [all...] |
/external/chromium_org/url/ |
url_canon_path.cc | 109 // Single dot followed by a slash. 110 *consumed_len = 1; // Consume the slash 123 // Double dot followed by a slash. 134 // Rewinds the output to the previous slash. It is assumed that the output 135 // ends with a slash and this doesn't count (we call this when we are 137 // slash). 139 // This will stop at the first slash (assumed to be at position 143 // It searches for a literal slash rather than including a backslash as well 146 // The output is guaranteed to end in a slash when this function completes. 154 return; // We're at the first slash, nothing to do [all...] |
/ndk/sources/host-tools/sed-4.2.1/m4/ |
rename.m4 | 9 dnl Determine whether rename works for source file names with a trailing slash. 19 AC_CACHE_CHECK([whether rename is broken with a trailing slash], 57 slash, like the one from SunOS 4.1.1_U1.])
|
/external/bison/lib/ |
stripslash.c | 23 /* Remove trailing slashes from FILE. Return true if a trailing slash 27 have different semantics according to whether a trailing slash is
|
/external/skia/tools/ |
picture_utils.h | 28 // forward slash into path. 33 // This basically just looks for a foward slash or backslash (windows
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
stripslash.c | 22 /* Remove trailing slashes from FILE. Return true if a trailing slash 26 have different semantics according to whether a trailing slash is
|
/external/iproute2/tc/ |
f_fw.c | 45 char *slash; local 46 if ((slash = strchr(handle, '/')) != NULL) 47 *slash = '\0'; 52 if (slash) { 53 if (get_u32(&mask, slash+1, 0)) {
|
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
SharedStorageAgent.java | 73 int slash = relpath.indexOf('/'); local 74 if (slash > 0) { 76 int i = Integer.parseInt(relpath.substring(0, slash)); 78 outFile = new File(mVolumes[i].getPath(), relpath.substring(slash + 1)); 84 if (DEBUG) Slog.w(TAG, "Bad volume number token: " + relpath.substring(0, slash));
|
/external/iptables/extensions/ |
libip6t_icmp6.c | 119 char *slash; local 124 slash = strchr(buffer, '/'); 126 if (slash) 127 *slash = '\0'; 133 if (slash) { 134 if (!xtables_strtoui(slash+1, NULL, &number, 0, UINT8_MAX)) 137 slash+1);
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
HopImpl.java | 101 int slash = hop.indexOf('/',colon); local 106 if (slash>0) { 107 portstr = hop.substring(colon+1,slash); 108 this.transport = hop.substring(slash+1); 119 if (slash>0) { 120 this.host = hop.substring(0,slash); 121 this.transport = hop.substring(slash+1);
|