Home
last modified time | relevance | path

Searched refs:slash (Results 1 – 12 of 12) 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/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.java199 int slash = mClassName.lastIndexOf('/'); in generateDelegateCode() local
201 if (dol != -1 && dol > slash && dol == mClassName.indexOf('$')) { in generateDelegateCode()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java2101 int slash = resName.lastIndexOf('/'); in restoreNamedResourceLocked() local
2102 if (slash > 0) { in restoreNamedResourceLocked()
2103 ident = resName.substring(slash+1); in restoreNamedResourceLocked()
2107 if (colon > 0 && slash > 0 && (slash-colon) > 1) { in restoreNamedResourceLocked()
2108 type = resName.substring(colon+1, slash); in restoreNamedResourceLocked()
/frameworks/native/cmds/dumpstate/
Dutils.cpp516 const char *slash = "/"; in dump_files() local
525 ++slash; in dump_files()
543 asprintf(&newpath, "%s%s%s%s", dir, slash, d->d_name, in dump_files()
/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,
79 with a forward slash. If you're using hierarchical data in your
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java6222 int slash = info.path.indexOf('/'); in readTarHeaders() local
6223 … if (slash < 0) throw new IOException("Illegal semantic path in " + info.path); in readTarHeaders()
6224 info.packageName = info.path.substring(0, slash); in readTarHeaders()
6225 info.path = info.path.substring(slash+1); in readTarHeaders()
6231 slash = info.path.indexOf('/'); in readTarHeaders()
6232 if (slash < 0) { in readTarHeaders()
6236 info.domain = info.path.substring(0, slash); in readTarHeaders()
6237 info.path = info.path.substring(slash + 1); in readTarHeaders()
7632 int slash = info.path.indexOf('/'); in readTarHeaders() local
7633 … 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/guide/topics/search/
Dadding-custom-suggestions.jd520 the string from {@code android:searchSuggestIntentData}, appends a slash ("/") and then adds the
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...