Home
last modified time | relevance | path

Searched refs:separator (Results 1 – 25 of 55) 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.cpp114 std::string LayerMetadata::itemToString(uint32_t key, const char* separator) const { in itemToString()
118 return StringPrintf("ownerUID%s%d", separator, getInt32(key, 0)); in itemToString()
120 return StringPrintf("windowType%s%d", separator, getInt32(key, 0)); in itemToString()
122 return StringPrintf("taskId%s%d", separator, getInt32(key, 0)); in itemToString()
124 return StringPrintf("%d%s%dbytes", key, separator, in itemToString()
/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/provider/
DSettingsValidators.java246 public ComponentNameListValidator(String separator) { in ComponentNameListValidator() argument
247 mSeparator = separator; in ComponentNameListValidator()
268 public PackageNameListValidator(String separator) { in PackageNameListValidator() argument
269 mSeparator = separator; in PackageNameListValidator()
/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/base/startop/scripts/app_startup/
Dquery_compiler_filter.py103 def parse_tab_subtree(label: str, str_lines: List[str], separator=' ', indent=-1) -> ParseResult: argument
127 …parse_result = parse_tab_subtree(current_label, str_lines[line_num+1::], separator, current_indent)
143 def parse_tab_tree(str_tree: str, separator=' ', indentation_level=-1) -> ParseTree: argument
151 return parse_tab_subtree("", line_lst, separator, indentation_level).tree
/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/native/cmds/lshal/
Dutils.h60 std::string join(const A &components, const std::string &separator) { in join() argument
65 out << separator; in join()
/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/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/packages/SystemUI/src/com/android/keyguard/
DCarrierTextController.java162 public CarrierTextController(Context context, CharSequence separator, boolean showAirplaneMode, in CarrierTextController() argument
172 mSeparator = separator; in CarrierTextController()
578 CharSequence separator) { in concatenate() argument
582 return new StringBuilder().append(plmn).append(separator).append(spn).toString(); in concatenate()
596 private static CharSequence joinNotEmpty(CharSequence separator, CharSequence[] sequences) { in joinNotEmpty() argument
603 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/native/libs/gui/include/gui/
DLayerMetadata.h48 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/rs/script_api/
DGenerateStubsWhiteList.cpp456 const char* separator = ""; in generateTestCall() local
458 *calls << separator; in generateTestCall()
470 separator = ", "; in generateTestCall()
/frameworks/base/test-runner/src/android/test/
DClassPathPackageInfoSource.java206 String separator = System.getProperty("path.separator", ":"); in getClassPath() local
207 return classPath.split(Pattern.quote(separator)); in getClassPath()
/frameworks/base/libs/androidfw/
DLocale.cpp146 bool LocaleValue::InitFromBcp47TagImpl(const StringPiece& bcp47tag, const char separator) { in InitFromBcp47TagImpl() argument
147 std::vector<std::string> subtags = util::SplitAndLowercase(bcp47tag, separator); in InitFromBcp47TagImpl()
/frameworks/base/libs/androidfw/include/androidfw/
DLocale.h73 bool InitFromBcp47TagImpl(const android::StringPiece& bcp47tag, const char separator);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSCarrierGroup.java101 CharSequence separator = mContext.getString( in onFinishInflate() local
103 mCarrierTextController = new CarrierTextController(mContext, separator, false, false); in onFinishInflate()

123