/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/bison/lib/ |
progname.c | 46 const char *slash; local 59 slash = strrchr (argv0, '/'); 60 base = (slash != NULL ? slash + 1 : argv0);
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
ContentLanguage.java | 133 final int slash = languageTag.indexOf('-'); 134 if (slash>=0) { 135 this.locale = new Locale(languageTag.substring(0,slash), languageTag.substring(slash+1) ); 132 final int slash = languageTag.indexOf('-'); local
|
Protocol.java | 72 .append(SLASH) 74 .append(SLASH) 105 int slash = name_and_version.indexOf('/'); local 106 if (slash>0) { 107 this.protocolName = name_and_version.substring(0,slash); 108 this.protocolVersion = name_and_version.substring( slash+1 );
|
StatusLine.java | 172 boolean slash = false; 175 slash = false; 176 if (slash) { 183 slash = true;
|
RequestLine.java | 147 boolean slash = false; 151 if (slash) { 158 slash = true;
|
/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/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/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/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;
|
/bionic/libc/unistd/ |
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 == '/'))) 245 if (!**string || (slash && (**string == '/'))) 261 /* Refuse to advance over trailing slash or nulls 263 if (!**string || !**pattern || (slash && ((**string == '/') || (**pattern == '/')))) 277 const int slash = !!(flags & FNM_PATHNAME); local 302 if (slash && escape && (*pattern == '\\') && (pattern[1] == '/')) 304 if (slash && (*pattern == '/') && (*string == '/')) [all...] |
/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_org/chrome/common/favicon/ |
favicon_url_parser.cc | 55 size_t slash = path.find("/", parsed_index); local 56 if (slash == std::string::npos) 65 size_str = path.substr(parsed_index, slash - parsed_index); 69 slash - scale_delimiter - 1); 94 parsed_index = slash + 1;
|
/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/libppp/src/ |
auth.c | 167 const char *slash; local 193 if ((slash = strrchr(name, '\\')) != NULL && slash[1]) { 195 name = slash + 1; 212 const char *slash; local 262 if ((slash = strrchr(name, '\\')) != NULL && slash[1]) { 264 name = slash + 1; 295 const char *slash; local 318 if ((slash = strrchr(name, '\\')) != NULL && slash[1]) 346 const char *slash; local [all...] |
/external/blktrace/btt/ |
trace.c | 81 char *slash = strchr(iop->pdu, '/'); local 82 if (slash) 83 *slash = '\0';
|
/external/chromium/net/tools/dump_cache/ |
url_to_filename_encoder.h | 52 // 3a) If the segment is empty, escape the second slash. i.e. if it was 138 const std::string slash("/"); 140 ReplaceAll(&filename, backslash, slash); 197 const std::string slash("/"); 199 ReplaceAll(path, slash, backslash);
|
/external/chromium_org/net/tools/dump_cache/ |
url_to_filename_encoder.h | 52 // 3a) If the segment is empty, escape the second slash. i.e. if it was 137 const std::string slash("/"); 139 ReplaceAll(&filename, backslash, slash); 196 const std::string slash("/"); 198 ReplaceAll(path, slash, backslash);
|
/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)) {
|
tc_util.c | 172 char * slash = strchr(str, '/'); local 174 if (slash) 175 *slash = 0; 180 if (slash) { 184 if (get_integer(&cell, slash+1, 0)) 186 *slash = '/'; 310 char * slash = strchr(str, '/'); local 312 if (slash) 313 *slash = 0; 318 if (slash) { [all...] |
/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);
|
libipt_icmp.c | 143 char *slash; local 148 slash = strchr(buffer, '/'); 150 if (slash) 151 *slash = '\0'; 157 if (slash) { 158 if (!xtables_strtoui(slash+1, NULL, &number, 0, UINT8_MAX)) 161 slash+1);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldFileTest.java | 38 private String slash = File.separator; field in class:OldFileTest 81 if (!dirName.regionMatches((dirName.length() - 1), slash, 0, 1)) 82 dirName += slash; 116 if (!userDir.regionMatches((userDir.length() - 1), slash, 0, 1)) 117 userDir += slash; 173 assertTrue("Test 1: URL does not end with slash.", 214 if (!userDir.regionMatches((userDir.length() - 1), slash, 0, 1)) 215 userDir += slash;
|
/external/ipsec-tools/src/libipsec/ |
policy_token.l | 78 slash \/ 146 {slash} { return(SLASH); }
|
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
jid.cc | 48 // First find the slash and slice off that part 49 size_t slash = jid_string.find('/'); 50 resource_name_ = (slash == std::string::npos ? STR_EMPTY : 51 jid_string.substr(slash + 1)); 56 if (at < slash && at != std::string::npos) { 64 size_t domain_length = (slash == std::string::npos) ? 65 (jid_string.length() - domain_begin) : (slash - domain_begin);
|