/frameworks/base/tools/aapt2/util/ |
D | Util.h | 34 std::vector<std::string> split(const StringPiece& str, char sep); 35 std::vector<std::string> splitAndLowercase(const StringPiece& str, char sep); 119 const char* sep) { in joiner() argument 120 return [begin, end, sep](::std::ostream& out) -> ::std::ostream& { in joiner() 123 out << sep; in joiner() 241 iterator(BasicStringPiece<Char> s, Char sep, BasicStringPiece<Char> tok, bool end); 249 Tokenizer(BasicStringPiece<Char> str, Char sep); 259 inline Tokenizer<Char> tokenize(BasicStringPiece<Char> str, Char sep) { in tokenize() argument 260 return Tokenizer<Char>(str, sep); in tokenize() 305 inline Tokenizer<Char>::iterator::iterator(BasicStringPiece<Char> s, Char sep, in iterator() argument [all …]
|
D | Util.cpp | 31 static std::vector<std::string> splitAndTransform(const StringPiece& str, char sep, in splitAndTransform() argument 38 current = std::find(start, end, sep); in splitAndTransform() 49 std::vector<std::string> split(const StringPiece& str, char sep) { in split() argument 50 return splitAndTransform(str, sep, nullptr); in split() 53 std::vector<std::string> splitAndLowercase(const StringPiece& str, char sep) { in splitAndLowercase() argument 54 return splitAndTransform(str, sep, ::tolower); in splitAndLowercase()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | DumpUtils.java | 123 public static void printMemLabel(PrintWriter pw, int offset, char sep) { in printMemLabel() argument 127 if (sep != 0) pw.print(' '); in printMemLabel() 131 if (sep != 0) pw.print(sep); in printMemLabel() 135 if (sep != 0) pw.print(sep); in printMemLabel() 139 if (sep != 0) pw.print(sep); in printMemLabel() 143 if (sep != 0) pw.print(sep); in printMemLabel() 147 if (sep != 0) pw.print(sep); in printMemLabel() 239 public static void dumpAdjTimesCheckin(PrintWriter pw, String sep, long[] durations, in dumpAdjTimesCheckin() argument 255 private static void dumpStateHeadersCsv(PrintWriter pw, String sep, int[] screenStates, in dumpStateHeadersCsv() argument 263 pw.print(sep); in dumpStateHeadersCsv()
|
/frameworks/base/tools/aapt/ |
D | AaptUtil.cpp | 24 Vector<String8> split(const String8& str, const char sep) { in split() argument 30 q = strchr(p, sep); in split() 42 Vector<String8> splitAndLowerCase(const String8& str, const char sep) { in splitAndLowerCase() argument 48 q = strchr(p, sep); in splitAndLowerCase()
|
D | AaptUtil.h | 27 android::Vector<android::String8> split(const android::String8& str, const char sep); 28 android::Vector<android::String8> splitAndLowerCase(const android::String8& str, const char sep);
|
D | ResourceTable.cpp | 1533 ssize_t sep = ident.findLast('.'); in compileResourceFile() local 1534 if (sep >= 0) { in compileResourceFile() 1535 parentIdent.setTo(ident, sep); in compileResourceFile()
|
/frameworks/base/core/java/android/util/ |
D | KeyValueListParser.java | 54 int sep = pair.indexOf('='); in setString() local 55 if (sep < 0) { in setString() 60 mValues.put(pair.substring(0, sep).trim(), pair.substring(sep + 1).trim()); in setString()
|
/frameworks/base/tools/aapt2/java/ |
D | ManifestClassGenerator.cpp | 30 const StringPiece16 sep = u"."; in extractJavaIdentifier() local 31 auto iter = std::find_end(value.begin(), value.end(), sep.begin(), sep.end()); in extractJavaIdentifier() 35 result.assign(iter + sep.size(), value.end() - (iter + sep.size())); in extractJavaIdentifier()
|
/frameworks/base/core/java/android/content/ |
D | ComponentName.java | 259 int sep = str.indexOf('/'); in unflattenFromString() local 260 if (sep < 0 || (sep+1) >= str.length()) { in unflattenFromString() 263 String pkg = str.substring(0, sep); in unflattenFromString() 264 String cls = str.substring(sep+1); in unflattenFromString()
|
D | Intent.java | 5288 int sep = uri.indexOf('!', i); 5289 if (sep < 0 || sep > j) sep = j; 5290 if (i < sep) { 5291 intent.addCategory(uri.substring(i, sep)); 5293 i = sep + 1; 5321 int sep = uri.indexOf('!', i); 5322 if (sep >= 0 && sep < j) { 5323 String pkg = uri.substring(i, sep); 5324 String cls = uri.substring(sep + 1, j);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockUtils.java | 107 String sep = ""; in getRestrictionsAsString() local 109 sb.append(sep); in getRestrictionsAsString() 110 sep = ","; in getRestrictionsAsString()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogController.java | 957 if (indent > 0) sep(sb, indent); 960 sep(sb, indent); 969 sep(sb, indent); sb.append("ringerModeExternal:").append(ringerModeExternal); 970 sep(sb, indent); sb.append("ringerModeInternal:").append(ringerModeInternal); 971 sep(sb, indent); sb.append("zenMode:").append(zenMode); 972 sep(sb, indent); sb.append("effectsSuppressor:").append(effectsSuppressor); 973 sep(sb, indent); sb.append("effectsSuppressorName:").append(effectsSuppressorName); 974 sep(sb, indent); sb.append("activeStream:").append(activeStream); 975 if (indent > 0) sep(sb, indent); 979 private static void sep(StringBuilder sb, int indent) { in sep() method in VolumeDialogController.MediaSessionsCallbacks
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessStatsService.java | 659 boolean[] sep = new boolean[1]; 662 ProcessStats.ADJ_SCREEN_MOD, args[i], sep, error); 668 csvSepScreenStats = sep[0]; 676 boolean[] sep = new boolean[1]; 679 sep, error); 685 csvSepMemStats = sep[0]; 693 boolean[] sep = new boolean[1]; 696 sep, error); 702 csvSepProcStats = sep[0];
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Icon.java | 680 String sep = ""; in toString() local 682 sb.append(String.format("%s0x%08x", sep, c)); in toString() 683 sep = "|"; in toString()
|
/frameworks/av/media/libstagefright/httplive/ |
D | PlaylistFetcher.cpp | 1865 uint8_t sep = buffer->data()[pos]; in bufferStartsWithWebVTTMagicSequence() local 1866 return sep == ' ' || sep == '\t' || sep == '\n' || sep == '\r'; in bufferStartsWithWebVTTMagicSequence()
|
/frameworks/base/core/java/android/content/pm/ |
D | ShortcutInfo.java | 1810 String sep = ""; in toStringInner() local 1812 sb.append(sep); in toStringInner() 1813 sep = ", "; in toStringInner()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackage.java | 575 final int sep = path.lastIndexOf(File.separatorChar); in getFileName() local 576 if (sep == -1) { in getFileName() 579 return path.substring(sep + 1); in getFileName()
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenModeConfig.java | 370 private static int[] tryParseDayList(String dayList, String sep) { in tryParseDayList() argument 372 final String[] tokens = dayList.split(sep); in tryParseDayList()
|