Home
last modified time | relevance | path

Searched refs:trim (Results 1 – 25 of 38) sorted by relevance

12

/tools/metalava/src/test/java/com/android/tools/metalava/
DDriverTest.kt118 if (cleanupString(expectedFail, null).replace(".", "").trim() != in <lambda>()
119 actualFail.replace(".", "").trim() in <lambda>()
155 if (printedOutput.isNotEmpty() && printedOutput.trim().isEmpty()) { in <lambda>()
273 trim: Boolean = true, in <lambda>()
483 (expectedIssues != null && expectedIssues.trim().isNotEmpty()) in <lambda>()
553 val cleanedUpMessage = cleanupString(message, project).trim() in <lambda>()
1209 expectedIssues?.trimIndent()?.trim() ?: "", in <lambda>()
1215 errorSeverityExpectedIssues.trimIndent().trim(), in <lambda>()
1221 assertEquals(expectedOutput.trimIndent().trim(), actualOutput.trim()) in <lambda>()
1226 val actualText = readFile(apiFile, stripBlankLines, trim) in <lambda>()
[all …]
DRewriteAnnotationsTest.kt86 """.trimIndent().trim(), recentlyNull.readText(UTF_8).trim().replace("\r\n", "\n") in Test copying private annotations from one of the stubs()
DAnnotationsDifferTest.kt72 """.trimIndent(), actual.trim() in Write diff()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/
DManifestGenerationTest.java63 text = text.trim(); in elementaryManifestGeneration()
67 assertEquals("Manifest-Version: 1.0", lines[0].trim()); in elementaryManifestGeneration()
71 linesSet.add(l.trim()); in elementaryManifestGeneration()
99 text = text.trim(); in manifestGenerationOnHalfWrittenFile()
103 assertEquals("Manifest-Version: 1.0", lines[0].trim()); in manifestGenerationOnHalfWrittenFile()
107 linesSet.add(l.trim()); in manifestGenerationOnHalfWrittenFile()
137 text = text.trim(); in manifestGenerationOnExistingFile()
141 assertEquals("Manifest-Version: 1.0", lines[0].trim()); in manifestGenerationOnExistingFile()
145 linesSet.add(l.trim()); in manifestGenerationOnExistingFile()
/tools/repohooks/tools/
Dcheckpatch.pl613 return trim($string) if ($string =~ /^\s*0[0-7]{3,3}\s*$/);
1081 $name = trim($name);
1096 $name = trim($name);
1098 $address = trim($address);
1114 $name = trim($name);
1116 $address = trim($address);
2143 sub trim { subroutine
3625 …"Prefer '" . trim($sign) . " int" . rtrim($pointer) . "' to bare use of '$sign" . rtrim($pointer) …
3627 my $decl = trim($sign) . " int ";
3701 my $comment = trim($1);
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/coex/
Daudio_test_utils.py181 trim = numpy.array([[trim_start, trim_end]])
182 trim = trim * fs
184 for elem in trim:
/tools/metalava/src/main/java/com/android/tools/metalava/
DDiff.kt115 if (before[i].trim().isNotEmpty()) { in getDiff()
123 if (after[j].trim().isNotEmpty()) { in getDiff()
151 if (before[i].trim().isNotEmpty()) { in getDiff()
160 if (after[j].trim().isNotEmpty()) { in getDiff()
DBaseline.kt215 val issueId = line.substring(0, idEnd).trim() in <lambda>()
216 val elementId = line.substring(idEnd + 2, elementEnd).trim() in <lambda>()
218 val message = lines[i + 1].trim() in <lambda>()
DNullabilityAnnotationsValidator.kt110 .map { it.trim() } in <lambda>()
DDriver.kt653 return text.replace("\r\n", "\n").trim() in checkCompatibility()
1176 pkg = file.parentFile.path.substring(prefix.length).trim('/').replace("/", ".") in gatherPackageJavadoc()
/tools/dexter/slicer/
Dbytecode_encoder.cc74 dex::u4 trim = value & 0xf; in Trim_S0() local
75 SLICER_CHECK(dex::u4(dex::s4(trim << 28) >> 28) == value); in Trim_S0()
76 return trim; in Trim_S0()
81 dex::u4 trim = value & 0xff; in Trim_S1() local
82 SLICER_CHECK(dex::u4(dex::s4(trim << 24) >> 24) == value); in Trim_S1()
83 return trim; in Trim_S1()
88 dex::u4 trim = value & 0xffff; in Trim_S2() local
89 SLICER_CHECK(dex::u4(dex::s4(trim << 16) >> 16) == value); in Trim_S2()
90 return trim; in Trim_S2()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
DSlices.kt66 …NATE_DEX_OPEN_START) -> return SliceContents("Open dex file", sliceString.split(" ").last().trim()) in parseSliceName()
76 val sliceType = matchResult.groups[1]!!.value.trim() in parseSliceName()
80 matchResult.groups[2]!!.value.trim() in parseSliceName()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextTypeItem.kt381 s = s.substring(0, index).trim() + s.substring(end).trim() in markRecent()
400 s = s.substring(0, i).trim() + s.substring(end).trim() in markRecent()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DFatLfnDirectory.java133 name = name.trim(); in addFile()
189 name = name.trim(); in addDirectory()
228 name = name.trim().toLowerCase(); in getEntry()
DShortName.java174 return new String(this.name).trim(); in asSimpleString()
DFatLfnDirectoryEntry.java91 fileName = name.toString().trim(); in extract()
/tools/metalava/src/main/java/com/android/tools/lint/checks/infrastructure/
DClassName.kt137 matcher.group(1).trim() in getPackage()
153 val trimmed = cls.trim { it <= ' ' } in getClassName()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DAnnotationItem.kt818 name = source.substring(from, split).trim() in addAttribute()
822 value = source.substring(valueBegin, valueEnd).trim() in addAttribute()
877 DefaultAnnotationValue.create(it.trim()) in <lambda>()
/tools/ndkports/src/main/kotlin/com/android/ndkports/
DNdkVersion.kt44 for (line in text.lines().map { it.trim() }) { in fromSourcePropertiesText()
/tools/platform-compat/java/android/compat/testing/
DClasspaths.java61 String value = shellResult.getStdout().trim(); in getJarsOnClasspath()
/tools/metalava/buildSrc/src/main/kotlin/com/android/tools/metalava/
DLibraryBuildInfo.kt113 return stdout.trim() in getGitSha()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiItem.kt166 … documentation = mergeDocumentation(documentation, element, comment.trim(), tagSection, append) in appendDocumentation()
DJavadoc.kt274 val body = getBodyContents(packageHtml).trim() in packageHtmlToJavadoc()
952 val arg = suffix.substring(argBegin, index - 1).trim() in expandArgumentList()
/tools/trebuchet/trebuchet/startup-common/src/
DStartupCommon.kt141 val newProcName = systemServerSlice.name.split(':', limit = 2)[1].trim() in Model()
/tools/platform-compat/java/android/processor/compat/changeid/
DChangeIdProcessor.java213 builder.description(comment.trim()); in createChange()

12