Home
last modified time | relevance | path

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

123

/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.cpp126 std::string LayerMetadata::itemToString(uint32_t key, const char* separator) const { in itemToString()
130 return StringPrintf("ownerUID%s%d", separator, getInt32(key, 0)); in itemToString()
132 return StringPrintf("windowType%s%d", separator, getInt32(key, 0)); in itemToString()
134 return StringPrintf("taskId%s%d", separator, getInt32(key, 0)); in itemToString()
136 return StringPrintf("ownerPID%s%d", separator, getInt32(key, 0)); in itemToString()
138 return StringPrintf("dequeueTime%s%" PRId64, separator, *getInt64(key)); in itemToString()
140 return StringPrintf("gameMode%s%d", separator, getInt32(key, 0)); in itemToString()
142 return StringPrintf("%d%s%dbytes", key, separator, in itemToString()
/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/base/core/java/android/util/
DPackageUtils.java59 @NonNull Signature[] signatures, @Nullable String separator) { in computeSignaturesSha256Digests() argument
63 digests[i] = computeSha256Digest(signatures[i].toByteArray(), separator); in computeSignaturesSha256Digests()
147 @Nullable String separator) { in computeSha256Digest() argument
153 if (separator == null) { in computeSha256Digest()
163 return TextUtils.join(separator, pieces); in computeSha256Digest()
DJsonWriter.java139 private String separator = ":"; field in JsonWriter
166 this.separator = ":"; in setIndent()
169 this.separator = ": "; in setIndent()
516 out.append(separator); in beforeValue()
/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/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.java516 doValidateZeroLongFile(path + File.separator + "subdir1", "FiftyLongs", 50, true); in verifyObb3Contents()
519 doValidateIntContents(path + File.separator + "subdir2", "OneToOneThousandInts", 0, 1000); in verifyObb3Contents()
522 doValidateZeroLongFile(path + File.separator + "subdir2" + File.separator + "subdir2a", in verifyObb3Contents()
526 doValidateIntContents(path + File.separator + "subdir2" + File.separator + "subdir2a" in verifyObb3Contents()
527 + File.separator + "subdir2a1", "OneToOneThousandInts", 0, 1000); in verifyObb3Contents()
/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/core/java/android/net/
DUri.java1630 int separator = query.indexOf('=', start); in getQueryParameterNames() local
1631 if (separator > end || separator == -1) { in getQueryParameterNames()
1632 separator = end; in getQueryParameterNames()
1635 String name = query.substring(start, separator); in getQueryParameterNames()
1681 int separator = query.indexOf('=', start); in getQueryParameters() local
1682 if (separator > end || separator == -1) { in getQueryParameters()
1683 separator = end; in getQueryParameters()
1686 if (separator - start == encodedKey.length() in getQueryParameters()
1688 if (separator == end) { in getQueryParameters()
1691 values.add(decode(query.substring(separator + 1, end))); in getQueryParameters()
[all …]
/frameworks/base/startop/scripts/app_startup/
Dquery_compiler_filter.py109 def parse_tab_subtree(label: str, str_lines: List[str], separator=' ', indent=-1) -> ParseResult: argument
133 …parse_result = parse_tab_subtree(current_label, str_lines[line_num+1::], separator, current_indent)
149 def parse_tab_tree(str_tree: str, separator=' ', indentation_level=-1) -> ParseTree: argument
157 return parse_tab_subtree("", line_lst, separator, indentation_level).tree
/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/broadcast/logging/
DBroadcastDispatcherLogger.kt80 .joinToString(separator = ",", prefix = "Actions(", postfix = ")") in logContextReceiverRegistered()
83 .joinToString(separator = ",", prefix = "Categories(", postfix = ")") in logContextReceiverRegistered()
/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/core/java/android/os/
DPowerComponents.java228 String separator = ""; in dump() local
235 pw.print(separator); separator = " "; in dump()
251 pw.print(separator); separator = " "; in dump()
/frameworks/base/cmds/idmap2/libidmap2/
DCommandLineOptions.cpp125 bool separator = false; in Parse() local
127 if (separator) { in Parse()
130 separator = true; in Parse()
/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.kt138 (result as Result.Success).value.joinToString(separator = "\", \"") in createAndroidAssetString()
147 certFingerprints.joinToString(separator = ", ") { "\"$it\"" }) in createAndroidAsset()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextManager.java165 CharSequence separator, in CarrierTextManager() argument
183 mSeparator = separator; in CarrierTextManager()
558 CharSequence separator) { in concatenate() argument
562 return new StringBuilder().append(plmn).append(separator).append(spn).toString(); in concatenate()
576 private static CharSequence joinNotEmpty(CharSequence separator, CharSequence[] sequences) { in joinNotEmpty() argument
583 sb.append(separator); in joinNotEmpty()
/frameworks/compile/mclinker/include/mcld/Support/
DPath.h31 const char separator = '/'; variable
34 const char separator = '/';
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DTracer.java213 private static String join(String separator, Object[] strings) { in join() argument
219 builder.append(separator); in join()
/frameworks/proto_logging/stats/stats_log_api_gen/
Drust_writer.cpp108 const char* separator = (isCode ? "\n" : " "); in write_rust_method_signature() local
121 fprintf(out, "pulled_data_: &mut AStatsEventList,%s", separator); in write_rust_method_signature()
133 rust_type_name(chainField.javaType, false), separator); in write_rust_method_signature()
148 separator); in write_rust_method_signature()
150 fprintf(out, ": %s,%s", rust_type_name(type, false), separator); in write_rust_method_signature()

123