Home
last modified time | relevance | path

Searched refs:separator (Results 1 – 25 of 65) 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/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/native/libs/gui/
DLayerMetadata.cpp116 std::string LayerMetadata::itemToString(uint32_t key, const char* separator) const { in itemToString()
120 return StringPrintf("ownerUID%s%d", separator, getInt32(key, 0)); in itemToString()
122 return StringPrintf("windowType%s%d", separator, getInt32(key, 0)); in itemToString()
124 return StringPrintf("taskId%s%d", separator, getInt32(key, 0)); in itemToString()
126 return StringPrintf("%d%s%dbytes", key, separator, in itemToString()
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/
DPackageNameListValidator.java27 PackageNameListValidator(String separator) { in PackageNameListValidator() argument
28 super(separator); in PackageNameListValidator()
DComponentNameListValidator.java27 public ComponentNameListValidator(String separator) { in ComponentNameListValidator() argument
28 super(separator); in ComponentNameListValidator()
/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/base/core/java/android/util/
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/base/core/java/android/net/
DUri.java1619 int separator = query.indexOf('=', start); in getQueryParameterNames() local
1620 if (separator > end || separator == -1) { in getQueryParameterNames()
1621 separator = end; in getQueryParameterNames()
1624 String name = query.substring(start, separator); in getQueryParameterNames()
1670 int separator = query.indexOf('=', start); in getQueryParameters() local
1671 if (separator > end || separator == -1) { in getQueryParameters()
1672 separator = end; in getQueryParameters()
1675 if (separator - start == encodedKey.length() in getQueryParameters()
1677 if (separator == end) { in getQueryParameters()
1680 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/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/StatementService/src/com/android/statementservice/retriever/
DUtils.java74 public static String joinStrings(String separator, List<String> strings) { in joinStrings() argument
87 joiner.append(separator); in joinStrings()
/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/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/SystemUI/src/com/android/keyguard/
DCarrierTextController.java165 public CarrierTextController(Context context, CharSequence separator, boolean showAirplaneMode, in CarrierTextController() argument
174 mSeparator = separator; in CarrierTextController()
550 CharSequence separator) { in concatenate() argument
554 return new StringBuilder().append(plmn).append(separator).append(spn).toString(); in concatenate()
568 private static CharSequence joinNotEmpty(CharSequence separator, CharSequence[] sequences) { in joinNotEmpty() argument
575 sb.append(separator); in joinNotEmpty()
/frameworks/base/core/tests/PackageInstallerSessions/src/android/content/pm/
DPackageSessionTests.kt166 .joinToString(separator = "") in <lambda>()
172 .joinToString(separator = "") in <lambda>()
/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/native/libs/gui/include/gui/
DLayerMetadata.h53 std::string itemToString(uint32_t key, const char* separator) const;
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java125 File tmpSaveFile = new File(BASE_DIR + File.separator + TMP_FILENAME); in downloadFile()
175 File tmpSaveFile = new File(BASE_DIR + File.separator + TMP_FILENAME); in uploadFile()
238 File tmpSaveFile = new File(BASE_DIR + File.separator + TMP_FILENAME); in downloadFileUsingDownloadManager()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/
DSystemPartitionParseTest.kt63 exceptions.joinToString(separator = "\n") { it.message.orEmpty() }) in verify()

123