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

/frameworks/compile/slang/
H A Dslang_rs_reflect_utils.cpp34 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 local
[all...]
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
H A DSharedStorageAgent.java64 int slash = relpath.indexOf('/');
65 if (slash > 0) {
67 int i = Integer.parseInt(relpath.substring(0, slash));
69 outFile = new File(mVolumes[i].getPath(), relpath.substring(slash + 1));
75 if (DEBUG) Slog.w(TAG, "Bad volume number token: " + relpath.substring(0, slash));
/frameworks/base/voip/java/android/net/sip/
H A DSimpleSessionDescription.java410 int slash = parts[2].indexOf('/');
411 return (slash < 0) ? parts[2] : parts[2].substring(0, slash);
/frameworks/native/cmds/dumpstate/
H A Dutils.c304 /* skip initial slash */
395 char *slash = strrchr(anr_traces_dir, '/'); local
396 if (slash != NULL) {
397 *slash = '\0';
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DDelegateMethodAdapter2.java195 int slash = mClassName.lastIndexOf('/');
197 if (dol != -1 && dol > slash && dol == mClassName.indexOf('$')) {
/frameworks/base/core/java/android/webkit/
H A DBrowserFrame.java729 int slash = url.indexOf('/');
730 int dot = url.indexOf('.', slash);
731 if (slash == -1 || dot == -1) {
735 String subClassName = url.substring(0, slash);
736 String fieldName = url.substring(slash + 1, dot);
/frameworks/base/tools/aidl/
H A Daidl.cpp644 const char* slash = "\\"; local
647 slash = "";
656 fprintf(to, " %s %s\n", options.inputFileName.c_str(), slash);
660 slash = "";
663 fprintf(to, " %s %s\n", import->filename, slash);
/frameworks/base/services/java/com/android/server/
H A DWallpaperManagerService.java1196 int slash = resName.lastIndexOf('/');
1197 if (slash > 0) {
1198 ident = resName.substring(slash+1);
1202 if (colon > 0 && slash > 0 && (slash-colon) > 1) {
1203 type = resName.substring(colon+1, slash);
H A DBackupManagerService.java3884 int slash = info.path.indexOf('/');
3885 if (slash < 0) throw new IOException("Illegal semantic path in " + info.path);
3886 info.packageName = info.path.substring(0, slash);
3887 info.path = info.path.substring(slash+1);
3891 slash = info.path.indexOf('/');
3892 if (slash < 0) throw new IOException("Illegal semantic path in non-manifest " + info.path);
3893 info.domain = info.path.substring(0, slash);
3905 info.path = info.path.substring(slash + 1);

Completed in 566 milliseconds