/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/ |
TestHelper.java | 30 String en = expected.replaceAll("[\\s]+", " ").trim(); 31 String an = actual.replaceAll( "[\\s]+", " ").trim();
|
/external/proguard/src/proguard/obfuscate/ |
MappingReader.java | 66 line = line.trim(); 126 String className = line.substring(0, arrowIndex).trim(); 127 String newClassName = line.substring(arrowIndex + 2, colonIndex).trim(); 162 String type = line.substring(colonIndex2 + 1, spaceIndex).trim(); 163 String name = line.substring(spaceIndex + 1, argumentIndex1 >= 0 ? argumentIndex1 : arrowIndex).trim(); 164 String newName = line.substring(arrowIndex + 2).trim(); 183 firstLineNumber = Integer.parseInt(line.substring(0, colonIndex1).trim()); 184 lastLineNumber = Integer.parseInt(line.substring(colonIndex1 + 1, colonIndex2).trim()); 187 String arguments = line.substring(argumentIndex1 + 1, argumentIndex2).trim();
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/srt/ |
SrtParser.java | 37 while (!((s = r.readLine()) == null || s.trim().equals(""))) { 51 long hours = Long.parseLong(in.split(":")[0].trim()); 52 long minutes = Long.parseLong(in.split(":")[1].trim()); 53 long seconds = Long.parseLong(in.split(":")[2].split(",")[0].trim()); 54 long millies = Long.parseLong(in.split(":")[2].split(",")[1].trim());
|
/external/emma/ant/ant14/com/vladium/emma/ant/ |
VerbosityCfg.java | 76 if ((m_verbosity != null) && (m_verbosity.trim ().length () > 0)) 77 settings.setProperty (AppLoggers.PROPERTY_VERBOSITY_LEVEL, m_verbosity.trim ()); 79 if ((m_verbosityFilter != null) && (m_verbosityFilter.trim ().length () > 0)) 80 settings.setProperty (AppLoggers.PROPERTY_VERBOSITY_FILTER, m_verbosityFilter.trim ());
|
/cts/tools/cts-native-scanner/src/com/android/cts/nativescanner/ |
TestScanner.java | 59 testNames.add("test:" + line.trim()); 64 testCaseName = line.trim();
|
/external/proguard/src/proguard/classfile/util/ |
ExternalTypeEnumeration.java | 98 return descriptor.substring(startIndex, index++).trim(); 104 return descriptor.substring(0, descriptor.indexOf(ClassConstants.EXTERNAL_METHOD_ARGUMENTS_OPEN)).trim();
|
/sdk/emulator/opengl/host/tools/emugen/ |
strUtils.h | 24 std::string trim(const std::string & str);
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
OldXMLFormatterTest.java | 61 "</log>", formatter.getTail(null).trim()); 63 formatter.getTail(handler).trim()); 66 "</log>", formatter.getTail(handler).trim());
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
BodyDescriptor.java | 73 name = name.trim().toLowerCase();
78 value = value.trim().toLowerCase();
86 value = value.trim();
104 main = main.toLowerCase().trim();
108 String type = main.substring(0, index).trim();
109 String subtype = main.substring(index + 1).trim();
135 c = c.trim();
244 paramName.toString().trim().toLowerCase(),
245 paramValue.toString().trim());
278 // don't trim quoted strings; the spaces could be intentional. [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/test/ |
font_data_test.cc | 255 fprintf(stderr, "read - trim = "); 256 for (int32_t trim = 0; trim < (rfd->Length() / 2) + 1; 257 trim += (rfd->Length() / 21) + 1) { 258 fprintf(stderr, "%d ", trim); 259 int32_t length = rfd->Length() - 2 * trim; 261 slice.Attach(down_cast<ReadableFontData*>(rfd->Slice(trim, length))); 262 EXPECT_TRUE(ReadComparison(trim, length, rfd, slice)); 268 fprintf(stderr, "write - trim = "); 269 for (int32_t trim = 0; trim < (rfd->Length() / 2) + 1 [all...] |
/external/sfntly/cpp/src/test/ |
font_data_test.cc | 255 fprintf(stderr, "read - trim = "); 256 for (int32_t trim = 0; trim < (rfd->Length() / 2) + 1; 257 trim += (rfd->Length() / 21) + 1) { 258 fprintf(stderr, "%d ", trim); 259 int32_t length = rfd->Length() - 2 * trim; 261 slice.Attach(down_cast<ReadableFontData*>(rfd->Slice(trim, length))); 262 EXPECT_TRUE(ReadComparison(trim, length, rfd, slice)); 268 fprintf(stderr, "write - trim = "); 269 for (int32_t trim = 0; trim < (rfd->Length() / 2) + 1 [all...] |
/external/chromium_org/v8/test/webkit/ |
string-trim.js | 24 description("This test checks String.trim(), String.trimLeft() and String.trimRight() methods."); 26 //references to trim(), trimLeft() and trimRight() functions for testing Function's *.call() and *.apply() methods 27 var trim = String.prototype.trim; variable 63 shouldBe("whitespace["+i+"].s.trim()", "''"); 73 shouldBe("wsString.trim()", "''"); 77 shouldBe("trimString.trim()", "testString"); 81 shouldBe("leftTrimString.trim()", "testString"); 85 shouldBe("rightTrimString.trim()", "testString"); 91 shouldBe("trim.call("+testValues[i]+")", "'"+eval(testValues[i])+"'") [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/format/ |
GLAPISpec.java | 73 String header = reader.readLine().trim(); 83 line = line.trim(); 110 String retType = words.get(0).trim(); 111 String func = words.get(1).trim(); 117 argDefn = argDefn.trim();
|
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/ |
MessageDigestAlgorithm.java | 63 if (qop_value == null || qop_value.trim().length() == 0 64 || qop_value.trim().equalsIgnoreCase("auth")) { 121 + (passwd != null && passwd.trim().length() > 0) + ", " + nonce_value + ", " 135 if (algorithm == null || algorithm.trim().length() == 0 136 || algorithm.trim().equalsIgnoreCase("MD5")) { 148 if (qop_value == null || qop_value.trim().length() == 0 149 || qop_value.trim().equalsIgnoreCase("auth")) {
|
/external/chromium_org/third_party/icu/source/common/ |
unistr_props.cpp | 26 UnicodeString::trim() function in class:UnicodeString
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
textfile.h | 43 * '#'. Trim leading white space. 44 * @param trim if TRUE then remove leading rule white space 49 UBool trim = FALSE);
|
/external/chromium_org/third_party/sqlite/src/tool/ |
mksqlite3h.tcl | 40 set zVersion [string trim [read $in]] 47 set zUuid [string trim [read $in]]
|
/external/chromium_org/tools/android/ |
mempressure.py | 43 '--trim', 62 if options.low and options.trim: 63 option_parser.error('options --low and --trim are mutually exclusive') 65 if not options.low and not options.trim: 72 elif options.trim in ACTION_TRIM.keys(): 73 action = ACTION_TRIM[options.trim]
|
/external/icu4c/common/ |
unistr_props.cpp | 27 UnicodeString::trim() function in class:UnicodeString
|
/external/icu4c/test/intltest/ |
textfile.h | 43 * '#'. Trim leading white space. 44 * @param trim if TRUE then remove leading Pattern_White_Space 49 UBool trim = FALSE);
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
CallIDParser.java | 75 callID.setCallId(rest.trim());
|
OrganizationParser.java | 76 organization.setOrganization(value.trim());
|
SubjectParser.java | 75 subject.setSubject(s.trim());
|
/frameworks/base/core/java/android/net/ |
NetworkConfig.java | 67 name = fragments[0].trim().toLowerCase(Locale.ROOT);
|
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
ProviderTest.java | 63 if (!"value 1".equals(p.getProperty("Property 1").trim()) || 64 !"className".equals(p.getProperty("serviceName.algName").trim()) || 65 !"attrValue".equals(p.getProperty("serviceName.algName attrName").trim()) || 66 !"standardName".equals(p.getProperty("Alg.Alias.engineClassName.aliasName").trim()) || 67 !String.valueOf(p.getName()).equals(p.getProperty("Provider.id name").trim()) || 68 !String.valueOf(p.getVersion()).equals(p.getProperty("Provider.id version").trim()) || 69 !String.valueOf(p.getInfo()).equals(p.getProperty("Provider.id info").trim()) || 70 !p.getClass().getName().equals(p.getProperty("Provider.id className").trim()) || 71 !"SomeClassName".equals(p.getProperty("MessageDigest.SHA-1").trim()) ) {
|