Home
last modified time | relevance | path

Searched refs:Strings (Results 1 – 25 of 162) sorted by relevance

1234567

/external/guava/guava-tests/test/com/google/common/base/
DStringsTest.java33 assertEquals("", Strings.nullToEmpty(null)); in testNullToEmpty()
34 assertEquals("", Strings.nullToEmpty("")); in testNullToEmpty()
35 assertEquals("a", Strings.nullToEmpty("a")); in testNullToEmpty()
39 assertNull(Strings.emptyToNull(null)); in testEmptyToNull()
40 assertNull(Strings.emptyToNull("")); in testEmptyToNull()
41 assertEquals("a", Strings.emptyToNull("a")); in testEmptyToNull()
45 assertTrue(Strings.isNullOrEmpty(null)); in testIsNullOrEmpty()
46 assertTrue(Strings.isNullOrEmpty("")); in testIsNullOrEmpty()
47 assertFalse(Strings.isNullOrEmpty("a")); in testIsNullOrEmpty()
51 assertSame("", Strings.padStart("", 0, '-')); in testPadStart_noPadding()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DSortedMapGenerators.java77 return new SampleElements.Strings(); in samples()
104 super(new SampleElements.Strings(), new SampleElements.Strings()); in ImmutableSortedMapSubMapEntryGenerator()
110 builder.put(SampleElements.Strings.BEFORE_FIRST, "begin"); in createFromEntries()
111 builder.put(SampleElements.Strings.AFTER_LAST, "end"); in createFromEntries()
116 return builder.build().subMap(SampleElements.Strings.MIN_ELEMENT, in createFromEntries()
117 SampleElements.Strings.AFTER_LAST).entrySet(); in createFromEntries()
130 builder.put(SampleElements.Strings.AFTER_LAST, -1); in create()
135 SampleElements.Strings.AFTER_LAST).keySet(); in create()
148 return new SampleElements.Strings(); in samples()
176 super(new SampleElements.Strings(), new SampleElements.Strings()); in ImmutableSortedMapEntrySetGenerator()
DBiMapGenerators.java68 super(new SampleElements.Strings(), new SampleElements.Strings()); in ImmutableBiMapInverseEntrySetGenerator()
107 super(new SampleElements.Strings(), new SampleElements.Strings()); in ImmutableBiMapEntrySetGenerator()
DMapGenerators.java62 return new SampleElements.Strings(); in samples()
103 super(new SampleElements.Strings(), new SampleElements.Strings()); in ImmutableMapEntrySetGenerator()
124 return new SampleElements.Strings(); in samples()
/external/emma/ant/ant14/com/vladium/emma/instr/
DFilterCfg.java21 import com.vladium.util.Strings;
45 final String [] specs = Strings.merge (new String [] {value}, COMMA_DELIMITERS, true); in setValue()
73 final String [] specs = Strings.merge (new String [] {value}, COMMA_DELIMITERS, true); in setIncludes()
95 final String [] specs = Strings.merge (new String [] {value}, COMMA_DELIMITERS, true); in setExcludes()
164 m_specs = Strings.mergeAT (values, COMMA_DELIMITERS, true); in getFilterSpecs()
181 protected static final String COMMA_DELIMITERS = COMMA + Strings.WHITE_SPACE;
/external/dbus/test/data/sha-1/
Dbyte-messages.sha13 H>SHS Type 1 Strings<H
255 H>SHS Type 2 Strings<H
2289 H>SHS Type 3 Strings<H
Dbit-messages.sha13 H>SHS Type 1 Strings<H
1975 H>SHS Type 2 Strings<H
4004 H>SHS Type 3 Strings<H
/external/emma/core/java12/com/vladium/emma/report/html/doc/
DText.java11 import com.vladium.util.Strings;
33 out.write (Strings.HTMLEscapeSP (m_text)); in emit()
35 out.write (Strings.HTMLEscape (m_text)); in emit()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DDERUTCTime.java10 import org.bouncycastle.util.Strings;
79 this.time = Strings.toByteArray(time); in DERUTCTime()
100 this.time = Strings.toByteArray(dateF.format(time)); in DERUTCTime()
159 String stime = Strings.fromByteArray(time); in getTime()
264 return Strings.fromByteArray(time); in toString()
DDERGeneralizedTime.java11 import org.bouncycastle.util.Strings;
79 this.time = Strings.toByteArray(time); in DERGeneralizedTime()
100 this.time = Strings.toByteArray(dateF.format(time)); in DERGeneralizedTime()
115 return Strings.fromByteArray(time); in getTimeString()
132 String stime = Strings.fromByteArray(time); in getTime()
211 String stime = Strings.fromByteArray(time); in getDate()
DDERT61String.java6 import org.bouncycastle.util.Strings;
73 this.string = Strings.toByteArray(string); in DERT61String()
78 return Strings.fromByteArray(string); in getString()
DDERVisibleString.java6 import org.bouncycastle.util.Strings;
73 this.string = Strings.toByteArray(string); in DERVisibleString()
78 return Strings.fromByteArray(string); in getString()
DDERUTF8String.java6 import org.bouncycastle.util.Strings;
74 this.string = Strings.toUTF8ByteArray(string); in DERUTF8String()
79 return Strings.fromUTF8ByteArray(string); in getString()
DDERGeneralString.java6 import org.bouncycastle.util.Strings;
49 this.string = Strings.toByteArray(string); in DERGeneralString()
54 return Strings.fromByteArray(string); in getString()
DDERIA5String.java6 import org.bouncycastle.util.Strings;
97 this.string = Strings.toByteArray(string); in DERIA5String()
102 return Strings.fromByteArray(string); in getString()
DDERNumericString.java6 import org.bouncycastle.util.Strings;
93 this.string = Strings.toByteArray(string); in DERNumericString()
98 return Strings.fromByteArray(string); in getString()
DDERPrintableString.java6 import org.bouncycastle.util.Strings;
95 this.string = Strings.toByteArray(string); in DERPrintableString()
100 return Strings.fromByteArray(string); in getString()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/nist/
DNISTNamedCurves.java10 import org.bouncycastle.util.Strings;
45 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)objIds.get(Strings.toUpperCase(name)); in getByName()
76 return (ASN1ObjectIdentifier)objIds.get(Strings.toUpperCase(name)); in getOID()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/style/
DIETFUtils.java17 import org.bouncycastle.util.Strings;
103 if (Strings.toUpperCase(name).startsWith("OID.")) in decodeAttrName()
112 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)lookUp.get(Strings.toLowerCase(name)); in decodeAttrName()
126 str = Strings.toLowerCase(str); in valueFromHexString()
248 String value = Strings.toLowerCase(s.trim()); in canonicalize()
256 value = Strings.toLowerCase(((ASN1String)obj).getString().trim()); in canonicalize()
/external/e2fsprogs/po/
DMakevars25 # - Strings which are not entire sentences, see the maintainer guidelines
26 # in the GNU gettext documentation, section 'Preparing Strings'.
27 # - Strings which use unclear terms or require additional context to be
29 # - Strings which make invalid assumptions about notation of date, time or
/external/elfutils/po/
DMakevars26 # - Strings which are not entire sentences, see the maintainer guidelines
27 # in the GNU gettext documentation, section 'Preparing Strings'.
28 # - Strings which use unclear terms or require additional context to be
30 # - Strings which make invalid assumptions about notation of date, time or
/external/emma/core/java12/com/vladium/emma/
DCommand.java19 import com.vladium.util.Strings;
134 …setPropertyOverride (AppLoggers.PROPERTY_VERBOSITY_FILTER, Strings.toListForm (Strings.merge (opt.… in processOpt()
266 return Strings.mergeAT (opt.getValues (), delimiters, processAtFiles); in getListOptValue()
295 protected static final String COMMA_DELIMITERS = "," + Strings.WHITE_SPACE;
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DTestStringListGenerator.java19 import com.google.common.collect.testing.SampleElements.Strings;
34 return new Strings(); in samples()
DTestStringQueueGenerator.java19 import com.google.common.collect.testing.SampleElements.Strings;
36 return new Strings(); in samples()
/external/emma/ant/ant14/com/vladium/emma/ant/
DFilterTask.java13 import com.vladium.util.Strings;
65 protected static final String COMMA_DELIMITERS = COMMA + Strings.WHITE_SPACE;

1234567