Home
last modified time | relevance | path

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

12345678910>>...31

/external/v8/test/webkit/
Dstring-trim-expected.txt24 This test checks String.trim(), String.trimLeft() and String.trimRight() methods.
29 PASS whitespace[0].s.trim() is ''
32 PASS whitespace[1].s.trim() is ''
35 PASS whitespace[2].s.trim() is ''
38 PASS whitespace[3].s.trim() is ''
41 PASS whitespace[4].s.trim() is ''
44 PASS whitespace[5].s.trim() is ''
47 PASS whitespace[6].s.trim() is ''
50 PASS whitespace[7].s.trim() is ''
53 PASS whitespace[8].s.trim() is ''
[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/libvpx/libvpx/build/make/
Dads2gas_apple.pl43 sub trim($) subroutine
132 $register_aliases{trim($1)} = trim($2);
148 $function = trim($1);
192 $trimmed = trim($_);
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_mac.cc103 char *trim; in ParseCommandOutput() local
104 ExtractTokenUpToDelimiter(str, "\n", &trim); in ParseCommandOutput()
115 if (IsAtosErrorMessage(trim)) { in ParseCommandOutput()
116 Report("atos returned an error: %s\n", trim); in ParseCommandOutput()
117 InternalFree(trim); in ParseCommandOutput()
121 const char *rest = trim; in ParseCommandOutput()
126 InternalFree(trim); in ParseCommandOutput()
151 InternalFree(trim); in ParseCommandOutput()
/external/apache-harmony/security/src/test/api/java.injected/java/security/
DProviderTest.java62 if (!"value 1".equals(p.getProperty("Property 1").trim()) || in testLoadInputStream()
63 !"className".equals(p.getProperty("serviceName.algName").trim()) || in testLoadInputStream()
64 !"attrValue".equals(p.getProperty("serviceName.algName attrName").trim()) || in testLoadInputStream()
65 … !"standardName".equals(p.getProperty("Alg.Alias.engineClassName.aliasName").trim()) || in testLoadInputStream()
66 !String.valueOf(p.getName()).equals(p.getProperty("Provider.id name").trim()) || in testLoadInputStream()
67 … !String.valueOf(p.getVersion()).equals(p.getProperty("Provider.id version").trim()) || in testLoadInputStream()
68 !String.valueOf(p.getInfo()).equals(p.getProperty("Provider.id info").trim()) || in testLoadInputStream()
69 !p.getClass().getName().equals(p.getProperty("Provider.id className").trim()) || in testLoadInputStream()
70 !"SomeClassName".equals(p.getProperty("MessageDigest.SHA-1").trim())) { in testLoadInputStream()
/external/jetty/src/java/org/eclipse/jetty/util/
DIPAddressMap.java77 if (addrSpec == null || addrSpec.trim().length() == 0) in put()
80 String spec = addrSpec.trim(); in put()
180 if (value == null || value.trim().length() == 0) in IPAddrPattern()
190 part = parts.hasMoreTokens() ? parts.nextToken().trim() : "0-255"; in IPAddrPattern()
217 if (value == null || value.trim().length() == 0) in match()
267 String spec = octetSpec.trim(); in OctetPattern()
277 String part = parts.nextToken().trim(); in OctetPattern()
333 if (value == null || value.trim().length() == 0) in match()
/external/toybox/scripts/
Dconfig2help.c33 char *trim(char *s) in trim() function
45 line = trim(line); in keyword()
49 line = trim(line); in keyword()
72 s = trim((*help)->data); in zap_blank_lines()
105 s = trim((*from)->data); in grab_dashlines()
118 while (!*trim((*from)->prev->data)) { in grab_dashlines()
129 if (*trim(dd->data) != '-') break; in grab_dashlines()
267 that = trim(that); in main()
306 if (cfrom && cfrom->prev->data && *trim(cfrom->prev->data)) in main()
327 while (!*trim(anchor->prev->data)) { in main()
[all …]
/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/icu/icu4c/source/data/locales/
Dbr.txt393 "1añ trim.",
394 "2l trim.",
395 "3e trim.",
396 "4e trim.",
407 "1añ trim.",
408 "2l trim.",
409 "3e trim.",
410 "4e trim.",
792 dn{"trim."}
795 few{"+{0} trim."}
[all …]
Dro_MD.txt102 "trim. 1",
103 "trim. 2",
104 "trim. 3",
105 "trim. 4",
Dpt_PT.txt664 "-1"{"trim. passado"}
665 "0"{"este trim."}
666 "1"{"próximo trim."}
670 one{"+{0} trim."}
671 other{"+{0} trim."}
674 one{"-{0} trim."}
675 other{"-{0} trim."}
681 "-1"{"trim. passado"}
682 "0"{"este trim."}
683 "1"{"próximo trim."}
[all …]
Des_MX.txt223 "1er. trim.",
224 "2º. trim.",
225 "3er. trim.",
226 "4º trim.",
243 "1er. trim.",
244 "2º. trim.",
245 "3er. trim.",
246 "4º trim.",
411 one{"en {0} trim."}
412 other{"en {0} trim"}
Dro.txt877 "trim. I",
878 "trim. II",
879 "trim. III",
880 "trim. IV",
1265 dn{"trim."}
1267 "-1"{"trim. trecut"}
1268 "0"{"trim. acesta"}
1269 "1"{"trim. viitor"}
1273 few{"+{0} trim."}
1274 one{"+{0} trim."}
[all …]
/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/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/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-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/curl/scripts/
Dzsh.pl52 $option .= '{' . trim($short) . ',' if defined $short;
53 $option .= trim($long) if defined $long;
55 $option .= '\'[' . trim($desc) . ']\'' if defined $desc;
77 sub trim { my $s = shift; $s =~ s/^\s+|\s+$//g; return $s }; subroutine
/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/jetty/src/java/org/eclipse/jetty/server/
DInclusiveByteRange.java99 t = tok.nextToken().trim(); in satisfiableRanges()
114 last = Long.parseLong(t.substring(d + 1).trim()); in satisfiableRanges()
123 first = Long.parseLong(t.substring(0,d).trim()); in satisfiableRanges()
124 last = Long.parseLong(t.substring(d + 1).trim()); in satisfiableRanges()
127 first = Long.parseLong(t.substring(0,d).trim()); in satisfiableRanges()
/external/autotest/client/site_tests/hardware_StorageFio/
Dcontrol.trim5 NAME = 'hardware_StorageFio.trim'
7 PURPOSE = 'Test the root device for trim command support'
12 This test uses FIO to test for trim command support for the root device.
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeSetSpanner.java353 public CharSequence trim(CharSequence sequence) { in trim() method in UnicodeSetSpanner
354 return trim(sequence, TrimOption.BOTH, SpanCondition.SIMPLE); in trim()
377 public CharSequence trim(CharSequence sequence, TrimOption trimOption) { in trim() method in UnicodeSetSpanner
378 return trim(sequence, trimOption, SpanCondition.SIMPLE); in trim()
403 …public CharSequence trim(CharSequence sequence, TrimOption trimOption, SpanCondition spanCondition… in trim() method in UnicodeSetSpanner
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUnicodeSetSpanner.java312 public CharSequence trim(CharSequence sequence) { in trim() method in UnicodeSetSpanner
313 return trim(sequence, TrimOption.BOTH, SpanCondition.SIMPLE); in trim()
334 public CharSequence trim(CharSequence sequence, TrimOption trimOption) { in trim() method in UnicodeSetSpanner
335 return trim(sequence, trimOption, SpanCondition.SIMPLE); in trim()
358 …public CharSequence trim(CharSequence sequence, TrimOption trimOption, SpanCondition spanCondition… in trim() method in UnicodeSetSpanner
/external/valgrind/VEX/orig_amd64/
DCompare.hs40 summary = grok ("REF: " ++ trim ref_clean)
41 ++ " " ++ grok ("TEST: " ++ trim test)
47 trim = reverse . dropWhile isSpace . reverse . dropWhile isSpace function

12345678910>>...31