Searched refs:slash (Results 1 - 25 of 64) sorted by relevance

123

/external/e2fsprogs/util/
H A Dlibecho.c42 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/
H A Dprogname.c46 const char *slash; local
59 slash = strrchr (argv0, '/');
60 base = (slash != NULL ? slash + 1 : argv0);
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DContentLanguage.java133 final int slash = languageTag.indexOf('-');
134 if (slash>=0) {
135 this.locale = new Locale(languageTag.substring(0,slash), languageTag.substring(slash+1) );
H A DProtocol.java105 int slash = name_and_version.indexOf('/');
106 if (slash>0) {
107 this.protocolName = name_and_version.substring(0,slash);
108 this.protocolVersion = name_and_version.substring( slash+1 );
H A DStatusLine.java172 boolean slash = false;
175 slash = false;
176 if (slash) {
183 slash = true;
H A DRequestLine.java147 boolean slash = false;
151 if (slash) {
158 slash = true;
/external/webkit/Source/WebCore/platform/
H A DLinkHash.cpp103 size_t slash = firstSlash;
105 size_t previousSlash = slash ? reverseFind(path.data(), path.size(), '/', slash - 1) : notFound;
108 path[slash] = 0;
109 path[slash + 1] = 0;
110 path[slash + 2] = 0;
112 for (size_t i = previousSlash; i < slash + 3; ++i)
115 slash += 3;
116 } while ((slash = findSlashDotDotSlash(path.data(), path.size(), slash)) !
126 size_t slash = firstSlash; local
140 size_t slash = firstSlash; local
[all...]
/external/nist-sip/java/gov/nist/javax/sip/stack/
H A DHopImpl.java101 int slash = hop.indexOf('/',colon);
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/
H A DSDL_qtopia_main.cc21 int slash = appname.findRev("/"); local
22 if(slash != -1) { appname = appname.mid(slash+1); }
/external/linux-tools-perf/util/
H A Dexec_cmd.c27 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/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
H A DSerializationStressTest5.java156 String slash = System.getProperty("file.separator");
157 String begTarget = slash + "java" + slash;
164 fileName = fileName.replace(slash.charAt(0), '.');
289 String slash = System.getProperty("file.separator");
291 if (!javaHome.endsWith(slash))
292 javaHome += slash;
294 String[] wanted = { "java" + slash + "io", "java" + slash + "lang",
295 "java" + slash
[all...]
/external/libppp/src/
H A Dauth.c167 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
346 const char *slash; local
[all...]
/external/blktrace/btt/
H A Dtrace.c81 char *slash = strchr(iop->pdu, '/'); local
82 if (slash)
83 *slash = '\0';
/external/chromium/net/tools/dump_cache/
H A Durl_to_filename_encoder.h52 // 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/webkit/LayoutTests/http/tests/resources/
H A DportabilityLayer.php7 // slash on all system (see comment at http://us.php.net/sys_get_temp_dir), we don't
8 // append a trailing slash, and expect callers to append one when needed.
/external/iproute2/tc/
H A Df_fw.c45 char *slash; local
46 if ((slash = strchr(handle, '/')) != NULL)
47 *slash = '\0';
52 if (slash) {
53 if (get_u32(&mask, slash+1, 0)) {
H A Dtc_util.c172 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/llvm/lib/Support/Unix/
H A DPath.inc377 // Find the last slash
378 std::string::size_type slash = path.rfind('/');
379 if (slash == std::string::npos)
380 slash = 0;
382 slash++;
385 if (dot == std::string::npos || dot < slash)
386 return StringRef(path).substr(slash);
388 return StringRef(path).substr(slash, dot - slash);
393 // Find the last slash
[all...]
/external/iptables/extensions/
H A Dlibip6t_icmp6.c119 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);
H A Dlibipt_icmp.c143 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);
/external/ipsec-tools/src/libipsec/
H A Dpolicy_token.l78 slash \/
146 {slash} { return(SLASH); }
/external/chromium/third_party/libjingle/source/talk/xmpp/
H A Djid.cc54 // First find the slash and slice of that part
55 size_t slash = jid_string.find('/'); local
56 std::string resource_name = (slash == std::string::npos ? STR_EMPTY :
57 jid_string.substr(slash + 1));
63 if (at < slash && at != std::string::npos) {
72 ( slash == std::string::npos
74 : slash - domain_begin);
/external/clang/lib/Basic/
H A DOperatorPrecedence.cpp69 case tok::slash:
/external/smack/src/org/xbill/DNS/
H A DAPLRecord.java194 int slash = s.indexOf('/', colon);
195 if (slash < 0)
199 String addressString = s.substring(colon + 1, slash);
200 String prefixString = s.substring(slash + 1);
/external/iproute2/ip/
H A Diprule.c281 char *slash; local
284 if ((slash = strchr(*argv, '/')) != NULL)
285 *slash = '\0';
289 if (slash) {
290 if (get_u32(&fwmask, slash+1, 0))
291 invarg("fwmask value is invalid\n", slash+1);

Completed in 707 milliseconds

123