/frameworks/compile/slang/ |
D | slang_rs_reflect_utils.cpp | 37 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/ |
D | SharedStorageAgent.java | 75 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/ |
D | SimpleSessionDescription.java | 410 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/ |
D | DelegateMethodAdapter.java | 199 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/ |
D | WallpaperManagerService.java | 2208 int slash = resName.lastIndexOf('/'); in restoreNamedResourceLocked() local 2209 if (slash > 0) { in restoreNamedResourceLocked() 2210 ident = resName.substring(slash+1); in restoreNamedResourceLocked() 2214 if (colon > 0 && slash > 0 && (slash-colon) > 1) { in restoreNamedResourceLocked() 2215 type = resName.substring(colon+1, slash); in restoreNamedResourceLocked()
|
/frameworks/native/cmds/dumpstate/ |
D | utils.cpp | 518 const char *slash = "/"; in dump_files() local 527 ++slash; in dump_files() 545 asprintf(&newpath, "%s%s%s%s", dir, slash, d->d_name, in dump_files()
|
/frameworks/base/docs/html/training/wearables/data-layer/ |
D | data-items.jd | 26 <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/ |
D | BackupManagerService.java | 6258 int slash = info.path.indexOf('/'); in readTarHeaders() local 6259 … if (slash < 0) throw new IOException("Illegal semantic path in " + info.path); in readTarHeaders() 6260 info.packageName = info.path.substring(0, slash); in readTarHeaders() 6261 info.path = info.path.substring(slash+1); in readTarHeaders() 6267 slash = info.path.indexOf('/'); in readTarHeaders() 6268 if (slash < 0) { in readTarHeaders() 6272 info.domain = info.path.substring(0, slash); in readTarHeaders() 6273 info.path = info.path.substring(slash + 1); in readTarHeaders() 7672 int slash = info.path.indexOf('/'); in readTarHeaders() local 7673 … if (slash < 0) throw new IOException("Illegal semantic path in " + info.path); in readTarHeaders() [all …]
|
/frameworks/base/docs/html/guide/webapps/ |
D | migrating.jd | 210 and it's important to include the trailing slash at the end, otherwise, any requests from the
|
/frameworks/base/docs/html/training/basics/firstapp/ |
D | building-ui.jd | 154 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/ |
D | adding-custom-suggestions.jd | 520 the string from {@code android:searchSuggestIntentData}, appends a slash ("/") and then adds the
|