Home
last modified time | relevance | path

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

123456789

/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/v8/test/mjsunit/third_party/
Dstring-trim.js37 var trim = String.prototype.trim; variable
73 assertEquals(whitespace[i].s.trim(), '');
83 assertEquals(wsString.trim(), '');
87 assertEquals(trimString.trim(), testString);
91 assertEquals(leftTrimString.trim(), testString);
95 assertEquals(rightTrimString.trim(), testString);
104 assertEquals(trim.call(testValues[i]), String(testValues[i]));
/external/apache-harmony/security/src/test/api/java.injected/java/security/
DProviderTest.java63 if (!"value 1".equals(p.getProperty("Property 1").trim()) || in testLoadInputStream()
64 !"className".equals(p.getProperty("serviceName.algName").trim()) || in testLoadInputStream()
65 !"attrValue".equals(p.getProperty("serviceName.algName attrName").trim()) || in testLoadInputStream()
66 … !"standardName".equals(p.getProperty("Alg.Alias.engineClassName.aliasName").trim()) || in testLoadInputStream()
67 !String.valueOf(p.getName()).equals(p.getProperty("Provider.id name").trim()) || in testLoadInputStream()
68 … !String.valueOf(p.getVersion()).equals(p.getProperty("Provider.id version").trim()) || in testLoadInputStream()
69 !String.valueOf(p.getInfo()).equals(p.getProperty("Provider.id info").trim()) || in testLoadInputStream()
70 !p.getClass().getName().equals(p.getProperty("Provider.id className").trim()) || in testLoadInputStream()
71 !"SomeClassName".equals(p.getProperty("MessageDigest.SHA-1").trim()) ) { in testLoadInputStream()
/external/libvpx/build/make/
Dads2gas_apple.pl34 sub trim($) subroutine
117 $register_aliases{trim($1)} = trim($2);
166 $trimmed = trim($_);
/external/doclava/src/com/google/doclava/
DSampleTagInfo.java79 boolean trim = "@sample".equals(name); in SampleTagInfo()
82 mIncluded = readFile(position, filename, id, trim, true, false); in SampleTagInfo()
84 mIncluded = loadInclude(position, filename, id, trim); in SampleTagInfo()
109 static String loadInclude(SourcePositionInfo pos, String filename, String id, boolean trim) { in loadInclude() argument
141 boolean empty = "".equals(line.trim()); in loadInclude()
142 if (trim) { in loadInclude()
198 static String readFile(SourcePositionInfo pos, String filename, String id, boolean trim, in readFile() argument
213 if (trim) { in readFile()
217 if (!"".equals(line.trim())) { in readFile()
DLinkReference.java119 Errors.error(Errors.UNRESOLVED_LINK, pos, "unable to parse link/see tag: " + text.trim()); in parse()
329 Errors.error(Errors.UNRESOLVED_LINK, pos, "unbalanced quoted link/see tag: " + text.trim()); in parse()
340 Errors.error(Errors.UNRESOLVED_LINK, pos, "invalid <a> link/see tag: " + text.trim()); in parse()
375 Errors.error(Errors.UNRESOLVED_LINK, pos, "Unresolved link/see tag \"" + text.trim() in parse()
381 Errors.error(Errors.HIDDEN_LINK, pos, "Link to hidden member: " + text.trim()); in parse()
387 Errors.error(Errors.HIDDEN_LINK, pos, "Link to hidden class: " + text.trim() + " label=" in parse()
394 Errors.error(Errors.HIDDEN_LINK, pos, "Link to hidden package: " + text.trim()); in parse()
425 this.label = "ERROR(" + this.label + "/" + text.trim() + ")"; in makeError()
/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/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/jsilver/src/com/google/clearsilver/jsilver/data/
DDefaultHdfParser.java75 } else if (line.trim().length() != 0) { in parseLine()
99 while ((line = reader.readLine()) != null && !line.trim().equals(token)) { in readToToken()
124 result.left = line.substring(0, position).trim(); in split()
125 result.right = line.substring(position + delimiter.length()).trim(); in split()
/external/icu4c/tools/genrb/
Dprscmnts.cpp59 trim(UChar *src, int32_t srcLen, UErrorCode *status){ in trim() function
68 srcLen = trim(source, srcLen, status); in removeCmtText()
130 return trim(*dest, destLen, status); in getDescription()
219 return trim(*dest, destLen, status); in getTranslate()
229 return trim(*dest, destLen, status); in getNote()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DProviderTest.java104 if (!"value 1".equals(p.getProperty("Property 1").trim()) || in testPutAllMap()
105 !"attrValue".equals(p.getProperty("serviceName.algName attrName").trim()) || in testPutAllMap()
106 … !"standardName".equals(p.getProperty("Alg.Alias.engineClassName.aliasName").trim()) || in testPutAllMap()
107 !"aaa.bbb.ccc.ddd".equals(p.getProperty("MessageDigest.SHA-1").trim()) ) { in testPutAllMap()
219 .trim()); in testPutObjectObject()
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
DURI.java218 if (p_scheme == null || p_scheme.trim().length() == 0) in URI()
225 || p_schemeSpecificPart.trim().length() == 0) in URI()
291 if (p_scheme == null || p_scheme.trim().length() == 0) in URI()
373 && (p_uriSpec == null || p_uriSpec.trim().length() == 0)) in initialize()
380 if (p_uriSpec == null || p_uriSpec.trim().length() == 0) in initialize()
387 String uriSpec = p_uriSpec.trim(); in initialize()
1101 if (p_host == null || p_host.trim().length() == 0) in setHost()
1190 if (p_addToPath == null || p_addToPath.trim().length() == 0) in appendPath()
1200 if (m_path == null || m_path.trim().length() == 0) in appendPath()
1391 if (p_scheme == null || p_scheme.trim().length() == 0) in isConformantSchemeName()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/utils/
DURI.java215 if (p_scheme == null || p_scheme.trim().length() == 0) in URI()
222 || p_schemeSpecificPart.trim().length() == 0) in URI()
288 if (p_scheme == null || p_scheme.trim().length() == 0) in URI()
370 && (p_uriSpec == null || p_uriSpec.trim().length() == 0)) in initialize()
377 if (p_uriSpec == null || p_uriSpec.trim().length() == 0) in initialize()
384 String uriSpec = p_uriSpec.trim(); in initialize()
1121 if (p_host == null || p_host.trim().length() == 0) in setHost()
1210 if (p_addToPath == null || p_addToPath.trim().length() == 0) in appendPath()
1220 if (m_path == null || m_path.trim().length() == 0) in appendPath()
1411 if (p_scheme == null || p_scheme.trim().length() == 0) in isConformantSchemeName()
[all …]
DXMLStringDefault.java90 return new XMLStringDefault(m_str.trim()); in fixWhiteSpace()
776 public XMLString trim() in trim() method in XMLStringDefault
778 return new XMLStringDefault(m_str.trim()); in trim()
/external/proguard/src/proguard/classfile/util/
DExternalTypeEnumeration.java98 return descriptor.substring(startIndex, index++).trim(); in nextType()
104 … descriptor.substring(0, descriptor.indexOf(ClassConstants.EXTERNAL_METHOD_ARGUMENTS_OPEN)).trim(); in methodName()
/external/chromium/chrome/common/extensions/docs/examples/extensions/mappy/
Dmappy_content_script.js39 var trim = /\s{2,}/g;
40 return match[0].replace(trim, " ");
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/
Dopenid.php83 if (strlen($value = trim($value))) {
97 $this->trustRoot = trim($value);
203 $url = $this->build_url(parse_url($url), parse_url(trim($m[1])));
/external/apache-http/src/org/apache/http/cookie/
DCookieOrigin.java56 if (host.trim().length() == 0) { in CookieOrigin()
69 if (path.trim().length() != 0) { in CookieOrigin()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DServerParser.java88 tok = tok.trim(); in parse()
92 tok = this.lexer.getRest().trim(); in parse()
/external/bouncycastle/src/main/java/org/bouncycastle/util/io/pem/
DPemReader.java56 String value = line.substring(index + 1).trim(); in loadObject()
68 buf.append(line.trim()); in loadObject()
/external/nist-sip/java/gov/nist/javax/sip/header/extensions/
DReplaces.java123 else if (t.trim().equals("")) in setToTag()
155 else if (t.trim().equals("")) in setFromTag()
DJoin.java123 else if (t.trim().equals("")) in setToTag()
155 else if (t.trim().equals("")) in setFromTag()
/external/nist-sip/java/gov/nist/javax/sip/parser/ims/
DPPreferredServiceParser.java112 if(serviceID.trim().equals("")) in parse()
125 if(appID.trim().equals("")) in parse()
DPAssertedServiceParser.java74 if(serviceID.trim().equals("")) in parse()
87 if(appID.trim().equals("")) in parse()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DHopImpl.java135 this.host = this.host.trim(); in HopImpl()
136 this.transport = this.transport.trim(); in HopImpl()

123456789