Home
last modified time | relevance | path

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

12345678910>>...40

/external/lua/src/
Dlbitlib.c41 #define trim(x) ((x) & ALLONES) macro
54 return trim(r); in andaux()
77 pushunsigned(L, trim(r)); in b_or()
87 pushunsigned(L, trim(r)); in b_xor()
94 pushunsigned(L, trim(r)); in b_not()
102 r = trim(r); in b_shift()
109 r = trim(r); in b_shift()
134 r = trim((r >> i) | ~(trim(~(lua_Unsigned)0) >> i)); /* add signal bit */ in b_arshift()
144 r = trim(r); in b_rot()
147 pushunsigned(L, trim(r)); in b_rot()
[all …]
/external/sfntly/cpp/src/test/
Dfont_data_test.cc256 for (int32_t trim = 0; trim < (rfd->Length() / 2) + 1; in SlicingReadTest() local
257 trim += (rfd->Length() / 21) + 1) { in SlicingReadTest()
258 fprintf(stderr, "%d ", trim); in SlicingReadTest()
259 int32_t length = rfd->Length() - 2 * trim; in SlicingReadTest()
261 slice.Attach(down_cast<ReadableFontData*>(rfd->Slice(trim, length))); in SlicingReadTest()
262 EXPECT_TRUE(ReadComparison(trim, length, rfd, slice)); in SlicingReadTest()
269 for (int32_t trim = 0; trim < (rfd->Length() / 2) + 1; in SlicingWriteTest() local
270 trim += (rfd->Length() / 21) + 1) { in SlicingWriteTest()
271 fprintf(stderr, "%d ", trim); in SlicingWriteTest()
272 int32_t length = rfd->Length() - 2 * trim; in SlicingWriteTest()
[all …]
/external/proguard/src/proguard/obfuscate/
DMappingReader.java66 line = line.trim(); in pump()
126 String className = line.substring(0, arrowIndex).trim(); in processClassMapping()
127 String newClassName = line.substring(arrowIndex + 2, colonIndex).trim(); in processClassMapping()
162 String type = line.substring(colonIndex2 + 1, spaceIndex).trim(); in processClassMemberMapping()
163 …name = line.substring(spaceIndex + 1, argumentIndex1 >= 0 ? argumentIndex1 : arrowIndex).trim(); in processClassMemberMapping()
164 String newName = line.substring(arrowIndex + 2).trim(); in processClassMemberMapping()
183 firstLineNumber = Integer.parseInt(line.substring(0, colonIndex1).trim()); in processClassMemberMapping()
184 … lastLineNumber = Integer.parseInt(line.substring(colonIndex1 + 1, colonIndex2).trim()); in processClassMemberMapping()
187 String arguments = line.substring(argumentIndex1 + 1, argumentIndex2).trim(); in processClassMemberMapping()
/external/autotest/frontend/client/src/autotest/moblab/rpc/
DVersionInfo.java67 NO_MILESTONE_FOUND).trim(); in fromJson()
69 NO_VERSION_FOUND).trim(); in fromJson()
71 NO_TRACK_FOUND).trim(); in fromJson()
73 NO_DESCRIPTION_FOUND).trim(); in fromJson()
75 NO_ID_FOUND).trim(); in fromJson()
77 NO_SERIAL_NUMBER_FOUND).trim(); in fromJson()
79 object, "MOBLAB_UPDATE_VERSION", NO_UPDATE_VERSION_FOUND).trim(); in fromJson()
83 object, "MOBLAB_UPDATE_PROGRESS", "0.0").trim(); in fromJson()
94 object, "MOBLAB_UPDATE_STATUS", "").trim(); in getUpdateStatus()
DCloudStorageInfo.java56 this.botoKey = botoKey.trim(); in setBotoKey()
60 this.botoSecret = botoSecret.trim(); in setBotoSecret()
64 this.imageStorageServer = imageStorageServer.trim(); in setImageStorageServer()
68 this.resultStorageServer = resultStorageServer.trim(); in setResultStorageServer()
/external/curl/scripts/
Dcompletion.pl72 $option .= " --short-option '" . strip_dash(trim($short)) . "'"
74 $option .= " --long-option '" . strip_dash(trim($long)) . "'"
76 $option .= " --description '" . strip_dash(trim($desc)) . "'"
79 $option .= '{' . trim($short) . ',' if defined $short;
80 $option .= trim($long) if defined $long;
82 $option .= '\'[' . trim($desc) . ']\'' if defined $desc;
106 sub trim { my $s = shift; $s =~ s/^\s+|\s+$//g; return $s }; subroutine
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/srt/
DSrtParser.java37 while (!((s = r.readLine()) == null || s.trim().equals(""))) { in parse()
51 long hours = Long.parseLong(in.split(":")[0].trim()); in parse()
52 long minutes = Long.parseLong(in.split(":")[1].trim()); in parse()
53 long seconds = Long.parseLong(in.split(":")[2].split(",")[0].trim()); in parse()
54 long millies = Long.parseLong(in.split(":")[2].split(",")[1].trim()); in parse()
/external/doclava/src/com/google/doclava/
DSampleTagInfo.java85 boolean trim = "@sample".equals(name); in SampleTagInfo()
88 mIncluded = readFile(position, filename, id, trim, true, false, false); in SampleTagInfo()
90 mIncluded = loadInclude(position, filename, id, trim); in SampleTagInfo()
122 static String loadInclude(SourcePositionInfo pos, String filename, String id, boolean trim) { in loadInclude() argument
154 boolean empty = "".equals(line.trim()); in loadInclude()
155 if (trim) { in loadInclude()
211 static String readFile(SourcePositionInfo pos, String filename, String id, boolean trim, in readFile() argument
231 if (trim) { in readFile()
235 if (!"".equals(line.trim())) { in readFile()
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/
DMessageDigestAlgorithm.java63 if (qop_value == null || qop_value.trim().length() == 0 in calculateResponse()
64 || qop_value.trim().equalsIgnoreCase("auth")) { in calculateResponse()
121 + (passwd != null && passwd.trim().length() > 0) + ", " + nonce_value + ", " in calculateResponse()
135 if (algorithm == null || algorithm.trim().length() == 0 in calculateResponse()
136 || algorithm.trim().equalsIgnoreCase("MD5")) { in calculateResponse()
148 if (qop_value == null || qop_value.trim().length() == 0 in calculateResponse()
149 || qop_value.trim().equalsIgnoreCase("auth")) { in calculateResponse()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue10/
DBasicDumpTest.java45 assertEquals(etalon.trim(), output.trim()); in testTag()
69 assertEquals(etalon.trim(), output.trim()); in testTag2()
91 assertEquals(etalon.trim(), output.trim()); in testTag3()
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DFakeTsiTest.java95 FakeTsiHandshaker.State.CLIENT_INIT.toString().trim(), in handshakeStateOrderTest()
96 new String(transportBufferBytes, 4, transportBuffer.remaining(), UTF_8).trim()); in handshakeStateOrderTest()
111 FakeTsiHandshaker.State.SERVER_INIT.toString().trim(), in handshakeStateOrderTest()
112 new String(transportBufferBytes, 4, transportBuffer.remaining(), UTF_8).trim()); in handshakeStateOrderTest()
127 FakeTsiHandshaker.State.CLIENT_FINISHED.toString().trim(), in handshakeStateOrderTest()
128 new String(transportBufferBytes, 4, transportBuffer.remaining(), UTF_8).trim()); in handshakeStateOrderTest()
143 FakeTsiHandshaker.State.SERVER_FINISHED.toString().trim(), in handshakeStateOrderTest()
144 new String(transportBufferBytes, 4, transportBuffer.remaining(), UTF_8).trim()); in handshakeStateOrderTest()
/external/nist-pkits/
Dextract-pkits-tests.pl47 sub trim($) { subroutine
200 if (trim($_) =~ /^[0-9]+$/) {
213 $pathEntry = trim($1);
216 $pathEntry = trim($1);
218 $pathEntry .= trim($_);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DFormatVariadic.cpp59 StringRef RepString = Spec.trim("{}"); in parseReplacementItem()
68 RepString = RepString.trim(); in parseReplacementItem()
73 RepString = RepString.trim(); in parseReplacementItem()
79 RepString = RepString.trim(); in parseReplacementItem()
81 Options = RepString.drop_front().trim(); in parseReplacementItem()
84 RepString = RepString.trim(); in parseReplacementItem()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DJavadocParser.java85 line = line.trim().substring(1); in parseBlockTag()
87 String rest = line.substring(tagName.length()).trim(); in parseBlockTag()
92 return line.trim().startsWith(BLOCK_TAG_PREFIX); in isABlockLine()
122 …cleanedLines = cleanedLines.stream().map(l -> l.trim().isEmpty() ? "" : l).collect(Collectors.toLi… in cleanLines()
128 while (cleanedLines.size() > 0 && cleanedLines.get(0).trim().isEmpty()) { in cleanLines()
131 … while (cleanedLines.size() > 0 && cleanedLines.get(cleanedLines.size() - 1).trim().isEmpty()) { in cleanLines()
/external/cldr/tools/java/org/unicode/cldr/tool/
DCountryCodeConverter.java27 String trial = display.trim().toLowerCase(Locale.ENGLISH); in getCodeFromName()
63 trial = display.substring(comma + 1).trim() + " " + display.substring(0, comma).trim(); in reverseComma()
101 if (line.trim().length() == 0) { in handle()
105 String country = pieces[0].trim(); in handle()
109 addName(pieces[2].trim(), country); in handle()
/external/emma/ant/ant14/com/vladium/emma/ant/
DVerbosityCfg.java76 if ((m_verbosity != null) && (m_verbosity.trim ().length () > 0)) in getSettings()
77 settings.setProperty (AppLoggers.PROPERTY_VERBOSITY_LEVEL, m_verbosity.trim ()); in getSettings()
79 if ((m_verbosityFilter != null) && (m_verbosityFilter.trim ().length () > 0)) in getSettings()
80 … settings.setProperty (AppLoggers.PROPERTY_VERBOSITY_FILTER, m_verbosityFilter.trim ()); in getSettings()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_mac.cc86 char *trim; in ParseCommandOutput() local
87 ExtractTokenUpToDelimiter(str, "\n", &trim); in ParseCommandOutput()
98 const char *rest = trim; in ParseCommandOutput()
103 InternalFree(trim); in ParseCommandOutput()
128 InternalFree(trim); in ParseCommandOutput()
/external/libvpx/libvpx/build/make/
Dads2gas_apple.pl38 sub trim($) subroutine
131 $function = trim($1);
175 $trimmed = trim($_);
/external/icu/icu4c/source/data/locales/
Dro_MD.txt108 "trim. 1",
109 "trim. 2",
110 "trim. 3",
111 "trim. 4",
/external/skia/gn/
DBUILDCONFIG.gn151 "trim string")) {
156 "trim string")) {
161 "trim string")) {
166 "trim string")) {
171 "trim string")) {
180 exec_script("//gn/checkdir.py", [ "$win_vc/Tools" ], "trim string")) {
195 "trim string")
203 "trim string")
/external/skqp/gn/
DBUILDCONFIG.gn151 "trim string")) {
156 "trim string")) {
161 "trim string")) {
166 "trim string")) {
171 "trim string")) {
180 exec_script("//gn/checkdir.py", [ "$win_vc/Tools" ], "trim string")) {
195 "trim string")
203 "trim string")
/external/cldr/tools/java/org/unicode/cldr/draft/
DRegexTransformBuilder.java34 ruleString = ruleString.trim(); in createFromRules()
42 final String body = ruleString.substring(2).trim(); in createFromRules()
51 final Transliterator translit = Transliterator.getInstance(body.trim()); in createFromRules()
79 String result = m.group(4).trim(); in createFromRules()
116 pattern = pattern.trim(); in fix()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/bdd/steps/
DPrettyPrintingSteps.java50 this.sourceUnderTest = classSrc.trim(); in givenTheClass()
56 sourceUnderTest = readerToString(new FileReader(new File(url.toURI()))).trim(); in givenTheClassInTheFile()
112 assertEquals(src.trim(), resultNode.toString().trim()); in isPrintedAs()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeSetSpanner.java355 public CharSequence trim(CharSequence sequence) { in trim() method in UnicodeSetSpanner
356 return trim(sequence, TrimOption.BOTH, SpanCondition.SIMPLE); in trim()
379 public CharSequence trim(CharSequence sequence, TrimOption trimOption) { in trim() method in UnicodeSetSpanner
380 return trim(sequence, trimOption, SpanCondition.SIMPLE); in trim()
405 …public CharSequence trim(CharSequence sequence, TrimOption trimOption, SpanCondition spanCondition… in trim() method in UnicodeSetSpanner
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DResName.java24 this.type = type.trim(); in ResName()
25 this.name = name.trim(); in ResName()
31 Matcher matcher = FQN_PATTERN.matcher(fullyQualifiedName.trim()); in ResName()
36 type = matcher.group(TYPE).trim(); in ResName()
37 name = matcher.group(NAME).trim(); in ResName()

12345678910>>...40