/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/linux-tools-perf/perf-3.12.0/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;
|
/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.])
|
/frameworks/compile/slang/ |
slang_rs_reflect_utils.cpp | 36 const char *slash = dot - 1; local 37 while (slash >= fileName) { 38 if (*slash == OS_PATH_SEPARATOR) { 41 if ((*slash == '.') && (*dot == 0)) { 42 dot = slash; 44 --slash; 46 ++slash; 47 return string(slash, dot - slash); 70 const char *slash = dot - 1 local [all...] |
/external/compiler-rt/test/asan/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 everything 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 | 52 // slash). Returns std::string::npos if not found. Returns path.size() if the 62 // Returns the offset of the character following the last slash, or 63 // 0 if no slash was found. Returns path.size() if the path ends with a slash. 68 // file name (following the last slash, including the extension). Note that the 75 // Removes everything after the last slash. The last slash, if any, will be 79 // Returns if the given character is a slash. This allows both slashes and 86 // Returns true if the given path ends with a slash. 92 // directory name of the given path, including the last slash. Note that th [all...] |
function_get_path_info.cc | 72 // Trim slash since this function doesn't return trailing slashes. The 121 " The substring after the last slash in the path, including the name\n" 122 " and extension. If the input ends in a slash, the empty string will\n" 136 " The substring following the last period following the last slash,\n" 142 " The directory portion of the name, not including the slash.\n" 147 " The result will never end in a slash, so if the resulting\n" 149 " will be appended such that it is always legal to append a slash\n" 154 " given file, not including a trailing slash.\n" 159 " given file, not including a trailing slash.\n"
|
ninja_helper.h | 27 // Ends in a slash. 30 // Ends in a slash. 64 // "../.."). It has no terminating slash.
|
/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/chromium_org/mojo/public/cpp/environment/lib/ |
logging.cc | 15 // follows the last slash or backslash in |s|, or is |s| if no slash or
|
/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);
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
realpath.c | 76 // Parent directory, find previous slash in resolved_path. 82 // Moved to the root. Keep the slash. 88 // Append a slash if not at root.
|
/external/jarjar/src/main/com/tonicsystems/jarjar/util/ |
AntJarProcessor.java | 82 int slash = file.lastIndexOf('/'); local 83 if (slash >= 0) { 84 String dir = file.substring(0, slash);
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
fnmatch.c | 151 const int slash = !!(flags & FNM_PATHNAME); local 187 if (slash && (**pattern == '/')) 208 * or ranges containing a slash in FNM_PATHNAME mode pattern 211 if (!**pattern || (slash && (**pattern == '/'))) 250 if (!**string || (slash && (**string == '/'))) 268 /* Refuse to advance over trailing slash or nulls 270 if (!**string || !**pattern || (slash && ((**string == '/') || (**pattern == '/')))) 284 const int slash = !!(flags & FNM_PATHNAME); local 309 if (slash && escape && (*pattern == '\\') && (pattern[1] == '/')) 311 if (slash && (*pattern == '/') && (*string == '/')) [all...] |