/external/guava/guava-tests/test/com/google/common/base/ |
D | StringsTest.java | 33 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/ |
D | SortedMapGenerators.java | 77 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()
|
D | BiMapGenerators.java | 68 super(new SampleElements.Strings(), new SampleElements.Strings()); in ImmutableBiMapInverseEntrySetGenerator() 107 super(new SampleElements.Strings(), new SampleElements.Strings()); in ImmutableBiMapEntrySetGenerator()
|
D | MapGenerators.java | 62 return new SampleElements.Strings(); in samples() 103 super(new SampleElements.Strings(), new SampleElements.Strings()); in ImmutableMapEntrySetGenerator() 124 return new SampleElements.Strings(); in samples()
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | DefaultRequestDirectorTest.java | 8 import com.xtremelabs.robolectric.util.Strings; 70 …assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("a happy response body")… in shouldGetHttpResponseFromExecute() 84 …assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("a happy response body")… in shouldPreferPendingResponses() 96 …assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("a cheery response body"… in shouldReturnRequestsByRule() 118 …assertThat(Strings.fromStream(getResponse.getEntity().getContent()), equalTo("a cheery response bo… in shouldReturnRequestsByRule_AnyMethod() 123 …assertThat(Strings.fromStream(postResponse.getEntity().getContent()), equalTo("a cheery response b… in shouldReturnRequestsByRule_AnyMethod() 135 assertThat(Strings.fromStream(getResponseStream), equalTo("a cheery response body")); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams() 140 assertThat(Strings.fromStream(postResponseStream), equalTo("a cheery response body")); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams() 158 …assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("a cheery response body"… in shouldReturnRequestsByRule_WithTextResponse() 171 …assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("a gloomy response body"… in clearHttpResponseRules_shouldRemoveAllRules() [all …]
|
D | AssetManagerTest.java | 7 import com.xtremelabs.robolectric.util.Strings; 79 fileContents = Strings.fromStream(inputStream); in assetsInputStreams() 84 fileContents = Strings.fromStream(inputStream); in assetsInputStreams()
|
/external/emma/ant/ant14/com/vladium/emma/instr/ |
D | FilterCfg.java | 21 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/emma/core/java12/com/vladium/emma/report/html/doc/ |
D | Text.java | 11 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/ |
D | DERUTCTime.java | 10 import org.bouncycastle.util.Strings; 91 this.time = Strings.toByteArray(time); in DERUTCTime() 112 this.time = Strings.toByteArray(dateF.format(time)); in DERUTCTime() 171 String stime = Strings.fromByteArray(time); in getTime() 276 return Strings.fromByteArray(time); in toString()
|
D | DERGeneralizedTime.java | 11 import org.bouncycastle.util.Strings; 91 this.time = Strings.toByteArray(time); in DERGeneralizedTime() 112 this.time = Strings.toByteArray(dateF.format(time)); in DERGeneralizedTime() 127 return Strings.fromByteArray(time); in getTimeString() 144 String stime = Strings.fromByteArray(time); in getTime() 223 String stime = Strings.fromByteArray(time); in getDate()
|
D | DERGeneralString.java | 6 import org.bouncycastle.util.Strings; 61 this.string = Strings.toByteArray(string); in DERGeneralString() 66 return Strings.fromByteArray(string); in getString()
|
D | DERVisibleString.java | 6 import org.bouncycastle.util.Strings; 85 this.string = Strings.toByteArray(string); in DERVisibleString() 90 return Strings.fromByteArray(string); in getString()
|
D | DERT61String.java | 6 import org.bouncycastle.util.Strings; 86 this(Strings.toByteArray(string)); in DERT61String() 95 return Strings.fromByteArray(string); in getString()
|
D | DERUTF8String.java | 6 import org.bouncycastle.util.Strings; 86 this.string = Strings.toUTF8ByteArray(string); in DERUTF8String() 91 return Strings.fromUTF8ByteArray(string); in getString()
|
D | DERIA5String.java | 6 import org.bouncycastle.util.Strings; 109 this.string = Strings.toByteArray(string); in DERIA5String() 114 return Strings.fromByteArray(string); in getString()
|
D | DERNumericString.java | 6 import org.bouncycastle.util.Strings; 105 this.string = Strings.toByteArray(string); in DERNumericString() 110 return Strings.fromByteArray(string); in getString()
|
D | DERPrintableString.java | 6 import org.bouncycastle.util.Strings; 107 this.string = Strings.toByteArray(string); in DERPrintableString() 112 return Strings.fromByteArray(string); in getString()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowOverlayItem.java | 9 import com.xtremelabs.robolectric.util.Strings; 49 return Strings.equals(title, that.title) in equals() 50 && Strings.equals(snippet, that.snippet) in equals()
|
/external/e2fsprogs/po/ |
D | Makevars | 25 # - 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/nist/ |
D | NISTNamedCurves.java | 10 import org.bouncycastle.util.Strings; 48 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)objIds.get(Strings.toUpperCase(name)); in getByName() 79 return (ASN1ObjectIdentifier)objIds.get(Strings.toUpperCase(name)); in getOID()
|
/external/elfutils/po/ |
D | Makevars | 26 # - 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/libexif/po/ |
D | Makevars | 25 # - 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/chromium_org/third_party/yasm/source/patched-yasm/po/ |
D | Makevars | 25 # - 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/bison/runtime-po/ |
D | Makevars | 39 # - Strings which are not entire sentences, see the maintainer guidelines 40 # in the GNU gettext documentation, section 'Preparing Strings'. 41 # - Strings which use unclear terms or require additional context to be 43 # - Strings which make invalid assumptions about notation of date, time or
|
/external/bison/po/ |
D | Makevars | 37 # - Strings which are not entire sentences, see the maintainer guidelines 38 # in the GNU gettext documentation, section 'Preparing Strings'. 39 # - Strings which use unclear terms or require additional context to be 41 # - Strings which make invalid assumptions about notation of date, time or
|