Home
last modified time | relevance | path

Searched refs:separator (Results 1 – 25 of 95) sorted by relevance

1234

/frameworks/compile/mclinker/lib/Support/
DPath.cpp31 return (value == separator || value == preferred_separator); in is_separator()
38 return (value == separator);
67 return (separator == m_PathName[0]); in isFromRoot()
73 return ('.' == m_PathName[0] && separator == m_PathName[1]); in isFromPWD()
91 if (m_PathName[m_PathName.length() - 1] == separator && in append()
92 pPath.native()[0] == separator) { in append()
95 } else if (this->native()[this->native().size() - 1] != separator && in append()
96 pPath.native()[0] != separator) { in append()
146 while (separator == m_PathName[pSepPos]) { in m_erase_redundant_separator()
159 size_t end_pos = m_PathName.find_last_of(separator); in parent_path()
[all …]
/frameworks/native/libs/gui/
DLayerMetadata.cpp130 std::string LayerMetadata::itemToString(uint32_t key, const char* separator) const { in itemToString()
134 return StringPrintf("ownerUID%s%d", separator, getInt32(key, 0)); in itemToString()
136 return StringPrintf("windowType%s%d", separator, getInt32(key, 0)); in itemToString()
138 return StringPrintf("taskId%s%d", separator, getInt32(key, 0)); in itemToString()
140 return StringPrintf("ownerPID%s%d", separator, getInt32(key, 0)); in itemToString()
142 return StringPrintf("dequeueTime%s%" PRId64, separator, *getInt64(key)); in itemToString()
144 return StringPrintf("gameMode%s%d", separator, getInt32(key, 0)); in itemToString()
146 return StringPrintf("%d%s%dbytes", key, separator, in itemToString()
/frameworks/base/core/java/android/util/
DPackageUtils.java66 @NonNull Signature[] signatures, @Nullable String separator) { in computeSignaturesSha256Digests() argument
70 digests[i] = computeSha256Digest(signatures[i].toByteArray(), separator); in computeSignaturesSha256Digests()
154 @Nullable String separator) { in computeSha256Digest() argument
160 if (separator == null) { in computeSha256Digest()
170 return TextUtils.join(separator, pieces); in computeSha256Digest()
236 @NonNull byte[] fileBuffer, @Nullable String separator) { in computeSha256DigestForLargeFile() argument
238 if (separator == null) { in computeSha256DigestForLargeFile()
247 return TextUtils.join(separator, pieces); in computeSha256DigestForLargeFile()
DJsonWriter.java140 private String separator = ":"; field in JsonWriter
167 this.separator = ":"; in setIndent()
170 this.separator = ": "; in setIndent()
517 out.append(separator); in beforeValue()
/frameworks/compile/mclinker/lib/Support/Windows/
DPathV3.inc51 if (separator == pathname[handler]) { // handler = 1st '/'
56 case separator: { // '//'
57 while (next < pathname.size() && separator == pathname[next])
70 case separator: { // '/./'
79 case separator: { // '/../'
85 handler = pathname.find_first_of(separator, handler);
95 handler = pathname.find_first_of(separator, handler + 3);
103 handler = pathname.find_first_of(separator, handler + 2);
111 handler = pathname.find_first_of(separator, handler + 1);
116 handler = pathname.find_first_of(separator, handler);
[all …]
/frameworks/compile/mclinker/lib/Support/Unix/
DPathV3.inc57 if (separator == pathname[handler]) { // handler = 1st '/'
62 case separator: { // '//'
63 while (next < pathname.size() && separator == pathname[next])
76 case separator: { // '/./'
85 case separator: { // '/../'
91 handler = pathname.find_first_of(separator, handler);
101 handler = pathname.find_first_of(separator, handler + 3);
109 handler = pathname.find_first_of(separator, handler + 2);
117 handler = pathname.find_first_of(separator, handler + 1);
122 handler = pathname.find_first_of(separator, handler);
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyChipBuilder.kt24 private val separator = context.getString(R.string.ongoing_privacy_dialog_separator) constant
38 return subList(0, size - 1).joinTo(StringBuilder(), separator = separator).apply { in joinWithAnd()
/frameworks/av/media/audioaidlconversion/tests/
Daudio_aidl_ndk_conversion_tests.cpp111 const std::string separator(1, AUDIO_ATTRIBUTES_TAGS_SEPARATOR); in TEST() local
115 EXPECT_EQ("random_string" + separator + "VX_GOOGLE_42", conv.value()); in TEST()
119 const std::string separator(1, AUDIO_ATTRIBUTES_TAGS_SEPARATOR); in TEST() local
121 const std::vector<std::string> initial{"VX_GOOGLE" + separator + "42", "VX_GOOGLE_42"}; in TEST()
131 "random_string", "random" + separator + "string", "VX_GOOGLE_42"}; in TEST()
/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DAconfigFlags.java131 String separator = "/"; in loadServerOverrides() local
137 separator = ":"; in loadServerOverrides()
142 separator = "*"; in loadServerOverrides()
145 final String flagPackageAndName = parseFlagPackageAndName(name, separator); in loadServerOverrides()
171 private static String parseFlagPackageAndName(String fullName, String separator) { in parseFlagPackageAndName() argument
172 int index = fullName.indexOf(separator); in parseFlagPackageAndName()
/frameworks/av/media/audioaidlconversion/
DAidlConversionNdk.cpp44 const std::vector<std::string>& v, char separator, std::string* result) { in combineString() argument
48 oss << separator; in combineString()
50 if (s.find(separator) == std::string::npos) { in combineString()
54 __func__, s.c_str(), separator); in combineString()
62 std::vector<std::string> splitString(const std::string& s, char separator) { in splitString() argument
66 while (std::getline(iss, t, separator)) { in splitString()
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/
DComponentNameListValidator.java27 public ComponentNameListValidator(String separator) { in ComponentNameListValidator() argument
28 super(separator); in ComponentNameListValidator()
DPackageNameListValidator.java27 PackageNameListValidator(String separator) { in PackageNameListValidator() argument
28 super(separator); in PackageNameListValidator()
/frameworks/base/core/tests/coretests/src/android/os/storage/
DStorageManagerBaseTest.java557 doValidateZeroLongFile(path + File.separator + "subdir1", "FiftyLongs", 50, true); in verifyObb3Contents()
560 doValidateIntContents(path + File.separator + "subdir2", "OneToOneThousandInts", 0, 1000); in verifyObb3Contents()
563 doValidateZeroLongFile(path + File.separator + "subdir2" + File.separator + "subdir2a", in verifyObb3Contents()
567 doValidateIntContents(path + File.separator + "subdir2" + File.separator + "subdir2a" in verifyObb3Contents()
568 + File.separator + "subdir2a1", "OneToOneThousandInts", 0, 1000); in verifyObb3Contents()
/frameworks/base/core/java/android/net/
DUri.java1633 int separator = query.indexOf('=', start); in getQueryParameterNames() local
1634 if (separator > end || separator == -1) { in getQueryParameterNames()
1635 separator = end; in getQueryParameterNames()
1638 String name = query.substring(start, separator); in getQueryParameterNames()
1684 int separator = query.indexOf('=', start); in getQueryParameters() local
1685 if (separator > end || separator == -1) { in getQueryParameters()
1686 separator = end; in getQueryParameters()
1689 if (separator - start == encodedKey.length() in getQueryParameters()
1691 if (separator == end) { in getQueryParameters()
1694 values.add(decode(query.substring(separator + 1, end))); in getQueryParameters()
[all …]
/frameworks/native/cmds/lshal/
Dutils.h59 std::string join(const A &components, const std::string &separator) { in join() argument
64 out << separator; in join()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dump/
DDumpsysTableLogger.kt105 columns.joinTo(pw, separator = SEPARATOR).println() in <lambda>()
112 dataLine.joinTo(pw, separator = SEPARATOR).println() in <lambda>()
/frameworks/base/core/jni/
Druntime_native_boot-flags-test.sh36 local separator=$(echo "$@" | sed s/./=/g )
37 say "$separator"
39 say "$separator"
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
DPageRangeUtils.java258 Character separator = retChar.second; in readRange() local
270 ((separator != null && (start != null || end != null)) || in readRange()
272 (separator == null && start != null && end == null))) { in readRange()
278 if (separator == null) { in readRange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/model/
DNetworkNameModel.kt97 fun Intent.toNetworkNameModel(separator: String): NetworkNameModel? { in toNetworkNameModel()
111 str.append(separator) in toNetworkNameModel()
/frameworks/base/cmds/idmap2/libidmap2/
DCommandLineOptions.cpp127 bool separator = false; in Parse() local
129 if (separator) { in Parse()
132 separator = true; in Parse()
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DGraphicBufferMetrics.java129 final int separator = path.indexOf('/'); in findEvents() local
130 final String current = separator > 0 ? path.substring(0, separator) : path; in findEvents()
131 final String nextPath = separator > 0 ? path.substring(separator + 1) : null; in findEvents()
/frameworks/base/services/core/java/com/android/server/integrity/parser/
DRuleBinaryParser.java135 int separator = bitInputStream.getNext(SEPARATOR_BITS); in parseFormula() local
136 switch (separator) { in parseFormula()
147 String.format("Unknown formula separator: %s", separator)); in parseFormula()
/frameworks/base/packages/StatementService/src/com/android/statementservice/utils/
DStatementUtils.kt139 (result as Result.Success).value.joinToString(separator = "\", \"") in createAndroidAssetString()
148 certFingerprints.joinToString(separator = ", ") { "\"$it\"" }) in createAndroidAsset()
/frameworks/base/packages/SystemUI/src/com/android/systemui/broadcast/logging/
DBroadcastDispatcherLogger.kt122 .joinToString(separator = ",", prefix = "Actions(", postfix = ")") in logContextReceiverRegistered()
125 .joinToString(separator = ",", prefix = "Categories(", postfix = ")") in logContextReceiverRegistered()
/frameworks/compile/mclinker/include/mcld/Support/
DPath.h31 const char separator = '/'; variable
34 const char separator = '/';

1234