/external/bison/lib/ |
progname.c | 46 const char *slash; local 59 slash = strrchr (argv0, '/'); 60 base = (slash != NULL ? slash + 1 : argv0);
|
/external/blktrace/btt/ |
trace.c | 81 char *slash = strchr(iop->pdu, '/'); local 82 if (slash) 83 *slash = '\0';
|
/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/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/chromium_org/chrome/common/favicon/ |
favicon_url_parser.cc | 54 size_t slash = path.find("/", parsed_index); local 55 if (slash == std::string::npos) 64 size_str = path.substr(parsed_index, slash - parsed_index); 68 slash - scale_delimiter - 1); 92 parsed_index = slash + 1;
|
/external/chromium_org/third_party/openmax_dl/dl/sp/src/test/ |
test_util.c | 24 char* slash = strrchr(argv0, '/'); local 26 return slash ? slash + 1 : argv0;
|
/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)) {
|
/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 );
|
/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...] |
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
favicon_webui_handler.cc | 87 size_t slash = path.find("/", prefix.length()); local 88 path = path.substr(slash + 1);
|
/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);
|
/external/jarjar/src/main/com/tonicsystems/jarjar/ |
PackageRemapper.java | 62 int slash = s.lastIndexOf('/'); local 64 if (slash < 0) { 68 end = s.substring(slash + 1); 69 s = s.substring(0, slash + 1) + RESOURCE_SUFFIX;
|
/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/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/net/tools/dump_cache/ |
url_to_filename_encoder.cc | 120 // Note: instead of outputing an empty segment, we let the second slash 281 char slash = '\\'; local 283 char slash = '/'; 285 output.append(&slash, 1);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
intel_regions.c | 91 char *p = strings[i], *slash = strings[i]; local 94 slash = p; 98 DBG("%s:", slash);
|
/external/iproute2/ip/ |
iprule.c | 294 char *slash; local 297 if ((slash = strchr(*argv, '/')) != NULL) 298 *slash = '\0'; 302 if (slash) { 303 if (get_u32(&fwmask, slash+1, 0)) 304 invarg("fwmask value is invalid\n", slash+1);
|
/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);
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_regions.c | 91 char *p = strings[i], *slash = strings[i]; local 94 slash = p; 98 DBG("%s:", slash);
|
/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));
|
/system/netd/server/ |
NetdConstants.cpp | 183 const char *slash = strchr(prefix, '/'); local 184 const char *prefixlenString = slash + 1; 185 if (!slash || !*prefixlenString) 200 std::string addressString(prefix, slash - prefix);
|
/art/compiler/utils/ |
assembler_thumb_test.cc | 92 size_t slash = toolsdir.rfind('/'); local 93 if (slash == std::string::npos) { 96 toolsdir = toolsdir.substr(0, slash-1); [all...] |
/external/chromium_org/chrome/browser/supervised_user/ |
supervised_user_interstitial.cc | 50 size_t slash = result.rfind('/'); local 51 if (slash != std::string::npos) 52 result.insert(slash, "/s" + base::IntToString(size));
|