Home
last modified time | relevance | path

Searched refs:ISO_8859_1 (Results 1 – 25 of 66) sorted by relevance

123

/external/cronet/third_party/ced/src/util/encodings/
Dencodings.cc67 { "ASCII", "ISO-8859-1", ISO_8859_1},
166 { "MACINTOSH", "MACINTOSH", ISO_8859_1},
282 return (from == ISO_8859_1 && to == MSFT_CP1252) || in IsEncEncCompatible()
307 case ISO_8859_1: in IsSupersetOfAscii7Bit()
365 case ISO_8859_1: in Is8BitEncoding()
582 encoding_map["8859-1"] = ISO_8859_1; in GetEncodingMap()
586 encoding_map["ascii"] = ISO_8859_1; in GetEncodingMap()
604 encoding_map["cp819"] = ISO_8859_1; in GetEncodingMap()
621 encoding_map["csisolatin1"] = ISO_8859_1; in GetEncodingMap()
661 encoding_map["ibm819"] = ISO_8859_1; in GetEncodingMap()
[all …]
Dencodings_unittest.cc23 EXPECT_EQ(ISO_8859_1, EncodingNameAliasToEncoding("iso_8859_1")); in TEST()
24 EXPECT_EQ(ISO_8859_1, EncodingNameAliasToEncoding("iso-8859-1")); in TEST()
/external/apache-commons-io/src/test/java/org/apache/commons/io/
DStandardLineSeparatorTest.java42 …assertArrayEquals("\r".getBytes(StandardCharsets.ISO_8859_1), CR.getBytes(StandardCharsets.ISO_885… in testCR_getBytes()
52 …sertArrayEquals("\r\n".getBytes(StandardCharsets.ISO_8859_1), CRLF.getBytes(StandardCharsets.ISO_8… in testCRLF_getBytes()
62 …assertArrayEquals("\n".getBytes(StandardCharsets.ISO_8859_1), LF.getBytes(StandardCharsets.ISO_885… in testLF_getBytes()
/external/apache-commons-io/src/test/java/org/apache/commons/io/input/
DReversedLinesFileReaderTestParamFile.java50 private static final String UTF_16BE = StandardCharsets.ISO_8859_1.name();
53 private static final String ISO_8859_1 = StandardCharsets.ISO_8859_1.name(); field in ReversedLinesFileReaderTestParamFile
67 Arguments.of("test-file-20byteslength.bin", ISO_8859_1, null, false, true), in testDataIntegrityWithBufferedReader()
68 … Arguments.of("test-file-iso8859-1-shortlines-win-linebr.bin", ISO_8859_1, null, false, true), in testDataIntegrityWithBufferedReader()
69 Arguments.of("test-file-iso8859-1.bin", ISO_8859_1, null, false, true), in testDataIntegrityWithBufferedReader()
DReversedLinesFileReaderTestParamBlockSize.java42 private static final String ISO_8859_1 = StandardCharsets.ISO_8859_1.name(); field in ReversedLinesFileReaderTestParamBlockSize
120 … reversedLinesFileReader = new ReversedLinesFileReader(testFile20Bytes, blockSize, ISO_8859_1); in testFileSizeIsExactMultipleOfBlockSize()
138 …reversedLinesFileReader = new ReversedLinesFileReader(testFileIso, testParamBlockSize, ISO_8859_1); in testIsoFileDefaults()
146 …reversedLinesFileReader = new ReversedLinesFileReader(testFileIso, testParamBlockSize, ISO_8859_1); in testIsoFileManyWindowsBreaksSmallBlockSize2VerifyBlockSpanningNewLines()
DXmlStreamReaderTest.java47 private static final String ISO_8859_1 = StandardCharsets.ISO_8859_1.name(); field in XmlStreamReaderTest
443 testRawBomInvalid("UTF-8-bom", ISO_8859_1, ISO_8859_1); in testRawBomUtf8()
494 testRawNoBomValid(ISO_8859_1); in testRawNoBomIso8859_1()
/external/cronet/third_party/ced/src/compact_enc_det/
Dcompact_enc_det_unittest.cc4730 EXPECT_EQ(ISO_8859_1, TestCompactEncDet("", 0, "ISO_8859_1")); in TEST_F()
4732 EXPECT_EQ(ISO_8859_1, TestCompactEncDet("abcdef", 0, "ISO_8859_1")); in TEST_F()
4734 EXPECT_EQ(ISO_8859_1, TestCompactEncDet(NULL, 0, "ISO_8859_1")); in TEST_F()
4741 EXPECT_EQ(ISO_8859_1, in TEST_F()
4881 EXPECT_EQ(ISO_8859_1, CompactEncDet::TopEncodingOfLangHint("Spanish")); in TEST_F()
4882 EXPECT_EQ(ISO_8859_1, CompactEncDet::TopEncodingOfLangHint("German")); in TEST_F()
4883 EXPECT_EQ(ISO_8859_1, CompactEncDet::TopEncodingOfLangHint("French")); in TEST_F()
4885 EXPECT_EQ(ISO_8859_1, CompactEncDet::TopEncodingOfLangHint("Portuguese_B")); in TEST_F()
4887 EXPECT_EQ(ISO_8859_1, CompactEncDet::TopEncodingOfLangHint("Italian")); in TEST_F()
4901 EXPECT_EQ(ISO_8859_1, CompactEncDet::TopEncodingOfTLDHint("de")); in TEST_F()
[all …]
/external/apache-commons-io/src/main/java/org/apache/commons/io/
DCharsets.java67 standardCharsetMap.put(StandardCharsets.ISO_8859_1.name(), StandardCharsets.ISO_8859_1); in StandardCharsets.ISO_8859_1.name()
86 public static final Charset ISO_8859_1 = StandardCharsets.ISO_8859_1; field in Charsets
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/test/java/com/google/android/exoplayer2/metadata/
DMetadataRendererTest.java21 import static java.nio.charset.StandardCharsets.ISO_8859_1;
140 "Not a real ID3 tag".getBytes(ISO_8859_1)); in decodeMetadata_skipsMalformedWrappedMetadata()
184 "TXXX".getBytes(ISO_8859_1), // ID for a 'user defined text information frame' in encodeTxxxId3Frame()
188 description.getBytes(ISO_8859_1), in encodeTxxxId3Frame()
190 value.getBytes(ISO_8859_1), in encodeTxxxId3Frame()
200 "ID3".getBytes(ISO_8859_1), // identifier in encodeTxxxId3Frame()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/test/java/com/google/android/exoplayer2/metadata/
DMetadataRendererTest.java21 import static java.nio.charset.StandardCharsets.ISO_8859_1;
140 "Not a real ID3 tag".getBytes(ISO_8859_1)); in decodeMetadata_skipsMalformedWrappedMetadata()
184 "TXXX".getBytes(ISO_8859_1), // ID for a 'user defined text information frame' in encodeTxxxId3Frame()
188 description.getBytes(ISO_8859_1), in encodeTxxxId3Frame()
190 value.getBytes(ISO_8859_1), in encodeTxxxId3Frame()
200 "ID3".getBytes(ISO_8859_1), // identifier in encodeTxxxId3Frame()
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
DCharEncodingTest.java50 this.assertSupportedEncoding(CharEncoding.ISO_8859_1); in testMustBeSupportedJava1_3_1_and_above()
77 assertEquals(StandardCharsets.ISO_8859_1.name(), CharEncoding.ISO_8859_1); in testStandardCharsetsEquality()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/
DCharsets.java100 public static final Charset ISO_8859_1 = StandardCharsets.ISO_8859_1; field in Charsets
/external/apache-http/src/org/apache/http/protocol/
DHTTP.java83 public static final String ISO_8859_1 = "ISO-8859-1"; field in HTTP
86 public static final String DEFAULT_CONTENT_CHARSET = ISO_8859_1;
/external/apache-commons-io/src/test/java/org/apache/commons/io/charset/
DCharsetEncodersTest.java43 …ncoder charsetEncoder = CharsetEncoders.toCharsetEncoder(StandardCharsets.ISO_8859_1.newEncoder()); in testToCharsetEncoders_ISO_8859_1()
45 assertEquals(StandardCharsets.ISO_8859_1, charsetEncoder.charset()); in testToCharsetEncoders_ISO_8859_1()
DCharsetDecodersTest.java43 …ecoder charsetEncoder = CharsetDecoders.toCharsetDecoder(StandardCharsets.ISO_8859_1.newDecoder()); in testToCharsetDecoders_ISO_8859_1()
45 assertEquals(StandardCharsets.ISO_8859_1, charsetEncoder.charset()); in testToCharsetDecoders_ISO_8859_1()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/testing/
DStreamUtils.java18 …rt static com.google.android.libraries.mobiledatadownload.file.common.internal.Charsets.ISO_8859_1;
64 try (Writer writer = new OutputStreamWriter(sink, ISO_8859_1)) { in writeFileToSink() argument
100 try (Reader reader = new InputStreamReader(source, ISO_8859_1)) { in readFileFromSource() argument
/external/guava/guava-tests/test/com/google/common/hash/
DFarmHashFingerprint64Test.java19 import static com.google.common.base.Charsets.ISO_8859_1;
79 fingerprint(stringA.getBytes(ISO_8859_1)), fingerprint(stringB.getBytes(ISO_8859_1))); in testUtf8()
DFingerprint2011Test.java5 import static com.google.common.base.Charsets.ISO_8859_1;
102 fingerprint(stringA.getBytes(ISO_8859_1)), fingerprint(stringB.getBytes(ISO_8859_1))); in testUtf8()
/external/guava/android/guava-tests/test/com/google/common/hash/
DFarmHashFingerprint64Test.java19 import static com.google.common.base.Charsets.ISO_8859_1;
79 fingerprint(stringA.getBytes(ISO_8859_1)), fingerprint(stringB.getBytes(ISO_8859_1))); in testUtf8()
DFingerprint2011Test.java5 import static com.google.common.base.Charsets.ISO_8859_1;
102 fingerprint(stringA.getBytes(ISO_8859_1)), fingerprint(stringB.getBytes(ISO_8859_1))); in testUtf8()
/external/sl4a/Common/src/org/apache/commons/codec/binary/
DStringUtils.java48 return StringUtils.getBytesUnchecked(string, CharEncoding.ISO_8859_1); in getBytesIso8859_1()
205 return StringUtils.newString(bytes, CharEncoding.ISO_8859_1); in newStringIso8859_1()
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/openers/
DStringOpenerTest.java63 storage.open(uri, WriteStringOpener.create(expected).withCharset(Charsets.ISO_8859_1)); in writesString_withDifferentCharsets()
64 assertThat(storage.open(uri, ReadStringOpener.create().withCharset(Charsets.ISO_8859_1))) in writesString_withDifferentCharsets()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/gzip/
DGzipCompressorOutputStream.java114 out.write(filename.getBytes(CharsetNames.ISO_8859_1)); in writeHeader()
119 out.write(comment.getBytes(CharsetNames.ISO_8859_1)); in writeHeader()
/external/cronet/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DInternal.java60 static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1"); field in Internal
101 return new String(bytes.getBytes(ISO_8859_1), UTF_8); in stringDefaultValue()
112 return ByteString.copyFrom(bytes.getBytes(ISO_8859_1)); in bytesDefaultValue()
120 return bytes.getBytes(ISO_8859_1); in byteArrayDefaultValue()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DInternal.java60 static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1"); field in Internal
101 return new String(bytes.getBytes(ISO_8859_1), UTF_8); in stringDefaultValue()
112 return ByteString.copyFrom(bytes.getBytes(ISO_8859_1)); in bytesDefaultValue()
120 return bytes.getBytes(ISO_8859_1); in byteArrayDefaultValue()

123