Home
last modified time | relevance | path

Searched refs:slash (Results 1 – 15 of 15) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_reflect_utils.cpp37 const char *slash = dot - 1; in GetFileNameStem() local
38 while (slash >= fileName) { in GetFileNameStem()
39 if (*slash == OS_PATH_SEPARATOR) { in GetFileNameStem()
42 if ((*slash == '.') && (*dot == 0)) { in GetFileNameStem()
43 dot = slash; in GetFileNameStem()
45 --slash; in GetFileNameStem()
47 ++slash; in GetFileNameStem()
48 return string(slash, dot - slash); in GetFileNameStem()
71 const char *slash = dot - 1; in InternalFileNameConvert() local
72 while (slash >= rsFileName) { in InternalFileNameConvert()
[all …]
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
DSharedStorageAgent.java75 int slash = relpath.indexOf('/'); in onRestoreFile() local
76 if (slash > 0) { in onRestoreFile()
78 int i = Integer.parseInt(relpath.substring(0, slash)); in onRestoreFile()
80 outFile = new File(mVolumes[i].getPath(), relpath.substring(slash + 1)); in onRestoreFile()
86 if (DEBUG) Slog.w(TAG, "Bad volume number token: " + relpath.substring(0, slash)); in onRestoreFile()
/frameworks/native/cmds/dumpstate/
Dutils.c325 char *slash = "/"; in dump_files() local
333 ++slash; in dump_files()
351 asprintf(&newpath, "%s%s%s%s", dir, slash, d->d_name, in dump_files()
632 char *slash = strrchr(anr_traces_dir, '/'); in dump_traces() local
633 if (slash != NULL) { in dump_traces()
634 *slash = '\0'; in dump_traces()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSimpleSessionDescription.java410 int slash = parts[2].indexOf('/'); in getAddress() local
411 return (slash < 0) ? parts[2] : parts[2].substring(0, slash); in getAddress()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DDelegateMethodAdapter.java195 int slash = mClassName.lastIndexOf('/'); in generateDelegateCode() local
197 if (dol != -1 && dol > slash && dol == mClassName.indexOf('$')) { in generateDelegateCode()
/frameworks/base/tools/aidl/
Daidl.cpp652 const char* slash = "\\"; local
655 slash = "";
664 fprintf(to, " %s %s\n", options.inputFileName.c_str(), slash);
668 slash = "";
671 fprintf(to, " %s %s\n", import->filename, slash);
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java1399 int slash = resName.lastIndexOf('/'); in restoreNamedResourceLocked() local
1400 if (slash > 0) { in restoreNamedResourceLocked()
1401 ident = resName.substring(slash+1); in restoreNamedResourceLocked()
1405 if (colon > 0 && slash > 0 && (slash-colon) > 1) { in restoreNamedResourceLocked()
1406 type = resName.substring(colon+1, slash); in restoreNamedResourceLocked()
/frameworks/base/docs/html/training/wearables/data-layer/
Ddata-items.jd26 <li><b>Path</b> - A unique string that must start with a forward slash (for instance,
70 with a forward slash. If you're using hierarchical data in your
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java5594 int slash = info.path.indexOf('/'); in readTarHeaders() local
5595 … if (slash < 0) throw new IOException("Illegal semantic path in " + info.path); in readTarHeaders()
5596 info.packageName = info.path.substring(0, slash); in readTarHeaders()
5597 info.path = info.path.substring(slash+1); in readTarHeaders()
5603 slash = info.path.indexOf('/'); in readTarHeaders()
5604 if (slash < 0) { in readTarHeaders()
5608 info.domain = info.path.substring(0, slash); in readTarHeaders()
5609 info.path = info.path.substring(slash + 1); in readTarHeaders()
6923 int slash = info.path.indexOf('/'); in readTarHeaders() local
6924 … if (slash < 0) throw new IOException("Illegal semantic path in " + info.path); in readTarHeaders()
[all …]
/frameworks/base/docs/html/guide/webapps/
Dmigrating.jd210 and it's important to include the trailing slash at the end, otherwise, any requests from the
/frameworks/base/docs/html/training/basics/firstapp/
Dbuilding-ui.jd162 XML. It is followed by the resource type ({@code id} in this case), a slash, then the resource name
/frameworks/base/docs/html/tools/help/
Dshell.jd437 contains a "/" (forward-slash); otherwise it assumes the argument is a package name.
/frameworks/base/docs/html/guide/topics/search/
Dadding-custom-suggestions.jd520 the string from {@code android:searchSuggestIntentData}, appends a slash ("/") and then adds the
/frameworks/base/docs/html/tools/testing/
Dactivity_test.jd992 <p>Remove the forward slash characters at the beginning of the line to
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...