/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/SystemUI/src/com/android/systemui/qs/ |
D | AlphaControlledSignalTileView.java | 49 final SlashDrawable slash = getSlash(); in setFinalImageTintList() local 50 if (slash != null) { in setFinalImageTintList() 51 ((AlphaControlledSlashDrawable)slash).setFinalTintList(tint); in setFinalImageTintList() 58 final SlashDrawable slash = new AlphaControlledSlashDrawable(getDrawable()); in ensureSlashDrawable() local 59 setSlash(slash); in ensureSlashDrawable() 60 slash.setAnimationEnabled(getAnimationEnabled()); in ensureSlashDrawable() 61 setImageViewDrawable(slash); in ensureSlashDrawable()
|
/frameworks/base/tools/bit/ |
D | util.cpp | 274 size_t slash = filename.rfind('/'); in dirname() local 275 if (slash == string::npos) { in dirname() 277 } else if (slash == 0) { in dirname() 280 return string(filename, 0, slash); in dirname() 287 size_t slash = filename.rfind('/'); in leafname() local 288 if (slash == string::npos) { in leafname() 290 } else if (slash == filename.length() - 1) { in leafname() 293 return string(filename, slash + 1); in leafname()
|
D | main.cpp | 616 const char* slash = strrchr(pwd, '/'); in get_out_dir() local 617 if (slash == NULL) { in get_out_dir() 618 slash = ""; in get_out_dir() 621 result += slash; in get_out_dir()
|
/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/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | SlashImageView.java | 42 protected void setSlash(SlashDrawable slash) { in setSlash() argument 43 mSlash = slash; in setSlash() 68 protected void setImageViewDrawable(SlashDrawable slash) { in setImageViewDrawable() argument 69 super.setImageDrawable(slash); in setImageViewDrawable()
|
D | QSIconViewImpl.java | 103 || !Objects.equals(state.slash, iv.getTag(R.id.qs_slash_tag))) { in updateIcon() 123 iv.setTag(R.id.qs_slash_tag, state.slash); in updateIcon()
|
/frameworks/base/cmds/incident/ |
D | main.cpp | 182 size_t slash = arg.find('/'); in parse_receiver_arg() local 183 if (slash == string::npos) { in parse_receiver_arg() 186 if (slash == 0 || slash == arg.length() - 1) { in parse_receiver_arg() 189 if (arg.find('/', slash+1) != string::npos) { in parse_receiver_arg() 192 pkg->assign(arg, 0, slash); in parse_receiver_arg() 193 cls->assign(arg, slash+1); in parse_receiver_arg()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | WorkModeTile.java | 93 if (state.slash == null) { in handleUpdateState() 94 state.slash = new SlashState(); in handleUpdateState() 105 state.slash.isSlashed = false; in handleUpdateState() 109 state.slash.isSlashed = true; in handleUpdateState()
|
D | FlashlightTile.java | 100 if (state.slash == null) { in handleUpdateState() 101 state.slash = new SlashState(); in handleUpdateState() 106 state.slash.isSlashed = true; in handleUpdateState() 122 state.slash.isSlashed = !state.value; in handleUpdateState()
|
D | ColorInversionTile.java | 97 if (state.slash == null) { in handleUpdateState() 98 state.slash = new SlashState(); in handleUpdateState() 101 state.slash.isSlashed = !state.value; in handleUpdateState()
|
D | LocationTile.java | 93 if (state.slash == null) { in handleUpdateState() 94 state.slash = new SlashState(); in handleUpdateState() 107 state.slash.isSlashed = !state.value; in handleUpdateState()
|
D | AirplaneModeTile.java | 107 if (state.slash == null) { in handleUpdateState() 108 state.slash = new SlashState(); in handleUpdateState() 110 state.slash.isSlashed = !airplaneMode; in handleUpdateState()
|
D | HotspotTile.java | 107 if (state.slash == null) { in handleUpdateState() 108 state.slash = new SlashState(); in handleUpdateState() 131 state.slash.isSlashed = !state.value && !state.isTransient; in handleUpdateState()
|
D | WifiTile.java | 174 if (state.slash == null) { in handleUpdateState() 175 state.slash = new SlashState(); in handleUpdateState() 176 state.slash.rotation = 6; in handleUpdateState() 178 state.slash.isSlashed = false; in handleUpdateState() 193 state.slash.isSlashed = true; in handleUpdateState()
|
D | BluetoothTile.java | 130 if (state.slash == null) { in handleUpdateState() 131 state.slash = new SlashState(); in handleUpdateState() 133 state.slash.isSlashed = !enabled; in handleUpdateState()
|
D | DndTile.java | 230 if (state.slash == null) state.slash = new SlashState(); in handleUpdateState() 234 state.slash.isSlashed = !state.value; in handleUpdateState()
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
D | QSTile.java | 118 public SlashState slash; field in QSTile.State 138 || !Objects.equals(other.slash, slash) in copyTo() 152 other.slash = slash != null ? slash.copy() : null; in copyTo() 176 sb.append(",slash=\"").append(slash).append("\""); in toStringBuilder()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | AlphaControlledSignalTileViewTest.java | 89 protected void setSlash(SlashDrawable slash) { in setSlash() argument 90 super.setSlash(slash); in setSlash()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | TarBackupReader.java | 199 int slash = info.path.indexOf('/'); in readTarHeaders() local 200 if (slash < 0) { in readTarHeaders() 203 info.packageName = info.path.substring(0, slash); in readTarHeaders() 204 info.path = info.path.substring(slash + 1); in readTarHeaders() 210 slash = info.path.indexOf('/'); in readTarHeaders() 211 if (slash < 0) { in readTarHeaders() 215 info.domain = info.path.substring(0, slash); in readTarHeaders() 216 info.path = info.path.substring(slash + 1); in readTarHeaders()
|
/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/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/opt/gamesdk/third_party/protobuf-3.0.0/ |
D | configure.ac | 145 # Does not start with a slash, but contains a slash. So, it's a relative
|
/frameworks/native/cmds/dumpstate/ |
D | utils.cpp | 622 const char *slash = "/"; in dump_files() local 631 ++slash; in dump_files() 649 asprintf(&newpath, "%s%s%s%s", dir, slash, d->d_name, in dump_files()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 3282 int slash = resName.lastIndexOf('/'); in restoreNamedResourceLocked() local 3283 if (slash > 0) { in restoreNamedResourceLocked() 3284 ident = resName.substring(slash+1); in restoreNamedResourceLocked() 3288 if (colon > 0 && slash > 0 && (slash-colon) > 1) { in restoreNamedResourceLocked() 3289 type = resName.substring(colon+1, slash); in restoreNamedResourceLocked()
|