Home
last modified time | relevance | path

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

/frameworks/compile/slang/
Dslang_rs_reflect_utils.cpp34 const char *slash = dot - 1; in GetFileNameStem() local
35 while (slash >= fileName) { in GetFileNameStem()
36 if (*slash == OS_PATH_SEPARATOR) { in GetFileNameStem()
39 if ((*slash == '.') && (*dot == 0)) { in GetFileNameStem()
40 dot = slash; in GetFileNameStem()
42 --slash; in GetFileNameStem()
44 ++slash; in GetFileNameStem()
45 return string(slash, dot - slash); in GetFileNameStem()
68 const char *slash = dot - 1; in InternalFileNameConvert() local
69 while (slash >= rsFileName) { in InternalFileNameConvert()
[all …]
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
DSharedStorageAgent.java66 int slash = relpath.indexOf('/'); in onRestoreFile() local
67 if (slash > 0) { in onRestoreFile()
69 int i = Integer.parseInt(relpath.substring(0, slash)); in onRestoreFile()
71 outFile = new File(mVolumes[i].getPath(), relpath.substring(slash + 1)); in onRestoreFile()
77 if (DEBUG) Slog.w(TAG, "Bad volume number token: " + relpath.substring(0, slash)); in onRestoreFile()
/frameworks/base/core/java/android/webkit/
DFileLoader.java117 int slash = mPath.indexOf('/'); in setupStreamAndSendStatus() local
118 int dot = mPath.indexOf('.', slash); in setupStreamAndSendStatus()
119 if (slash == -1 || dot == -1) { in setupStreamAndSendStatus()
125 String subClassName = mPath.substring(0, slash); in setupStreamAndSendStatus()
126 String fieldName = mPath.substring(slash + 1, dot); in setupStreamAndSendStatus()
DBrowserFrame.java723 int slash = url.indexOf('/'); in inputStreamForAndroidResource() local
724 int dot = url.indexOf('.', slash); in inputStreamForAndroidResource()
725 if (slash == -1 || dot == -1) { in inputStreamForAndroidResource()
729 String subClassName = url.substring(0, slash); in inputStreamForAndroidResource()
730 String fieldName = url.substring(slash + 1, dot); in inputStreamForAndroidResource()
/frameworks/base/cmds/dumpstate/
Dutils.c339 char *slash = strrchr(anr_traces_dir, '/'); in dump_vm_traces() local
340 if (slash != NULL) { in dump_vm_traces()
341 *slash = '\0'; in dump_vm_traces()
/frameworks/base/voip/java/android/net/sip/
DSimpleSessionDescription.java409 int slash = parts[2].indexOf('/'); in getAddress() local
410 return (slash < 0) ? parts[2] : parts[2].substring(0, slash); in getAddress()
/frameworks/base/services/java/com/android/server/
DWallpaperManagerService.java867 int slash = resName.lastIndexOf('/'); in restoreNamedResourceLocked() local
868 if (slash > 0) { in restoreNamedResourceLocked()
869 ident = resName.substring(slash+1); in restoreNamedResourceLocked()
873 if (colon > 0 && slash > 0 && (slash-colon) > 1) { in restoreNamedResourceLocked()
874 type = resName.substring(colon+1, slash); in restoreNamedResourceLocked()
DBackupManagerService.java3787 int slash = info.path.indexOf('/'); in readTarHeaders() local
3788 … if (slash < 0) throw new IOException("Illegal semantic path in " + info.path); in readTarHeaders()
3789 info.packageName = info.path.substring(0, slash); in readTarHeaders()
3790 info.path = info.path.substring(slash+1); in readTarHeaders()
3794 slash = info.path.indexOf('/'); in readTarHeaders()
3795 … if (slash < 0) throw new IOException("Illegal semantic path in non-manifest " + info.path); in readTarHeaders()
3796 info.domain = info.path.substring(0, slash); in readTarHeaders()
3808 info.path = info.path.substring(slash + 1); in readTarHeaders()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DDelegateMethodAdapter2.java194 int slash = mClassName.lastIndexOf('/'); in generateDelegateCode() local
196 if (dol != -1 && dol > slash && dol == mClassName.indexOf('$')) { in generateDelegateCode()
/frameworks/base/tools/aidl/
Daidl.cpp595 const char* slash = "\\"; local
598 slash = "";
607 fprintf(to, " %s %s\n", options.inputFileName.c_str(), slash);
611 slash = "";
614 fprintf(to, " %s %s\n", import->filename, slash);
/frameworks/base/docs/html/guide/topics/providers/
Dcontent-providers.jd907 a single record, this segment and the trailing slash are omitted:</p>
/frameworks/base/docs/html/guide/topics/search/
Dadding-custom-suggestions.jd521 the string from {@code android:searchSuggestIntentData}, appends a slash ("/") and then adds the
/frameworks/base/docs/html/resources/tutorials/testing/
Dactivity_test.jd1052 <p>Remove the forward slash characters at the beginning of the line to
/frameworks/base/tests/DumpRenderTree/assets/results/
Dlayout_tests_passed.txt1683 /sdcard/android/layout_tests/fast/js/slash-lineterminator-parse.html
2409 /sdcard/android/layout_tests/fast/parser/script-tag-with-trailing-slash.html
Dlayout_tests_nontext.txt2950 /sdcard/android/layout_tests/fast/parser/bad-xml-slash.html