/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | WriteNumberFormatSerialTestData.java | 48 file.write(header.getBytes()); in main() 53 file.write(footer.getBytes()); in main() 76 file.write(("\n "+comment).getBytes()); in write() 77 … file.write(new String("\n static byte[] "+name+" = new byte[]{ \n").getBytes("UTF-8")); in write() 78 file.write( " ".getBytes()); in write() 80 file.write(String.valueOf((int)myArr[i]).getBytes()); in write() 81 file.write( ", ".getBytes()); in write() 83 file.write("\n".getBytes()); in write() 84 file.write( " ".getBytes()); in write() 87 file.write(new String("\n };\n").getBytes("UTF-8")); in write()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | WriteNumberFormatSerialTestData.java | 51 file.write(header.getBytes()); in main() 56 file.write(footer.getBytes()); in main() 79 file.write(("\n "+comment).getBytes()); in write() 80 … file.write(new String("\n static byte[] "+name+" = new byte[]{ \n").getBytes("UTF-8")); in write() 81 file.write( " ".getBytes()); in write() 83 file.write(String.valueOf((int)myArr[i]).getBytes()); in write() 84 file.write( ", ".getBytes()); in write() 86 file.write("\n".getBytes()); in write() 87 file.write( " ".getBytes()); in write() 90 file.write(new String("\n };\n").getBytes("UTF-8")); in write()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | sortkey.cpp | 71 uprv_memcpy(getBytes(), newValues, count); in CollationKey() 92 uprv_memcpy(getBytes(), other.getBytes(), length); in CollationKey() 105 uprv_memcpy(newBytes, getBytes(), length); in reallocate() 145 uprv_memcmp(getBytes(), source.getBytes(), getLength()) == 0); in operator ==() 163 uprv_memcpy(getBytes(), other.getBytes(), length); in operator =() 185 const uint8_t *src = getBytes(); in compareTo() 186 const uint8_t *tgt = target.getBytes(); in compareTo() 272 fHashCode = computeHashCode(getBytes(), getLength()); in hashCode()
|
/third_party/icu/icu4c/source/i18n/ |
D | sortkey.cpp | 71 uprv_memcpy(getBytes(), newValues, count); in CollationKey() 92 uprv_memcpy(getBytes(), other.getBytes(), length); in CollationKey() 105 uprv_memcpy(newBytes, getBytes(), length); in reallocate() 145 uprv_memcmp(getBytes(), source.getBytes(), getLength()) == 0); in operator ==() 163 uprv_memcpy(getBytes(), other.getBytes(), length); in operator =() 185 const uint8_t *src = getBytes(); in compareTo() 186 const uint8_t *tgt = target.getBytes(); in compareTo() 272 fHashCode = computeHashCode(getBytes(), getLength()); in hashCode()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | sortkey.cpp | 71 uprv_memcpy(getBytes(), newValues, count); in CollationKey() 92 uprv_memcpy(getBytes(), other.getBytes(), length); in CollationKey() 105 uprv_memcpy(newBytes, getBytes(), length); in reallocate() 145 uprv_memcmp(getBytes(), source.getBytes(), getLength()) == 0); in operator ==() 163 uprv_memcpy(getBytes(), other.getBytes(), length); in operator =() 185 const uint8_t *src = getBytes(); in compareTo() 186 const uint8_t *tgt = target.getBytes(); in compareTo() 272 fHashCode = computeHashCode(getBytes(), getLength()); in hashCode()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/charsetdet/ |
D | TestCharsetDetector.java | 134 byte[] bytes = s.getBytes("ISO-8859-1"); in TestInputFilter() 166 byte [] bytes = s.getBytes("UTF-8"); in TestUTF8() 190 byte[] beBytes = source.getBytes("UnicodeBig"); in TestUTF16() 191 byte[] leBytes = source.getBytes("UnicodeLittle"); in TestUTF16() 225 byte[] bISO = sISO.getBytes("ISO-8859-1"); in TestC1Bytes() 226 byte[] bWindows = sWindows.getBytes("windows-1252"); in TestC1Bytes() 389 bytesString.getBytes(0, bytesString.length(), bytes, 0); in TestDetection() 464 bytes = testString.getBytes(encoding); in checkEncoding() 515 bytes = s.getBytes("EUC-JP"); in TestJapanese() 551 bytes = s.getBytes("windows-1256"); in TestArabic() [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/charsetdet/ |
D | TestCharsetDetector.java | 137 byte[] bytes = s.getBytes("ISO-8859-1"); in TestInputFilter() 169 byte [] bytes = s.getBytes("UTF-8"); in TestUTF8() 193 byte[] beBytes = source.getBytes("UnicodeBig"); in TestUTF16() 194 byte[] leBytes = source.getBytes("UnicodeLittle"); in TestUTF16() 228 byte[] bISO = sISO.getBytes("ISO-8859-1"); in TestC1Bytes() 229 byte[] bWindows = sWindows.getBytes("windows-1252"); in TestC1Bytes() 392 bytesString.getBytes(0, bytesString.length(), bytes, 0); in TestDetection() 467 bytes = testString.getBytes(encoding); in checkEncoding() 518 bytes = s.getBytes("EUC-JP"); in TestJapanese() 554 bytes = s.getBytes("windows-1256"); in TestArabic() [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
D | TestStringPrep.java | 111 byte[] dest = NFS4StringPrep.mixed_prepare(src.getBytes("UTF-8")); in TestNFS4MixedPrep() 125 byte[] dest = NFS4StringPrep.mixed_prepare(src.getBytes("UTF-8")); in TestNFS4MixedPrep() 144 byte[] dest =NFS4StringPrep.cis_prepare(src.getBytes("UTF-8")); in TestCISPrep() 164 NFS4StringPrep.cs_prepare(src.getBytes("UTF-8"), false); in TestCSPrep() 172 byte[] dest = NFS4StringPrep.cs_prepare(src.getBytes("UTF-8"), false); in TestCSPrep() 185 byte[] dest = NFS4StringPrep.cs_prepare(src.getBytes("UTF-8"), false); in TestCSPrep() 197 byte[] dest = NFS4StringPrep.cs_prepare(src.getBytes("UTF-8"), true); in TestCSPrep()
|
D | TestData.java | 426 private static byte[] getBytes(String in){ in getBytes() method in TestData.ConformanceTestCase 442 byte[] bytes = getBytes(in); in ConformanceTestCase() 444 bytes = getBytes(out); in ConformanceTestCase()
|
D | NFS4StringPrep.java | 70 return out.toString().getBytes("UTF-8"); in prepare() 149 return out.toString().getBytes("UTF-8"); in mixed_prepare()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/stringprep/ |
D | TestStringPrep.java | 114 byte[] dest = NFS4StringPrep.mixed_prepare(src.getBytes("UTF-8")); in TestNFS4MixedPrep() 128 byte[] dest = NFS4StringPrep.mixed_prepare(src.getBytes("UTF-8")); in TestNFS4MixedPrep() 147 byte[] dest =NFS4StringPrep.cis_prepare(src.getBytes("UTF-8")); in TestCISPrep() 167 NFS4StringPrep.cs_prepare(src.getBytes("UTF-8"), false); in TestCSPrep() 175 byte[] dest = NFS4StringPrep.cs_prepare(src.getBytes("UTF-8"), false); in TestCSPrep() 188 byte[] dest = NFS4StringPrep.cs_prepare(src.getBytes("UTF-8"), false); in TestCSPrep() 200 byte[] dest = NFS4StringPrep.cs_prepare(src.getBytes("UTF-8"), true); in TestCSPrep()
|
D | TestData.java | 429 private static byte[] getBytes(String in){ in getBytes() method in TestData.ConformanceTestCase 445 byte[] bytes = getBytes(in); in ConformanceTestCase() 447 bytes = getBytes(out); in ConformanceTestCase()
|
D | NFS4StringPrep.java | 73 return out.toString().getBytes("UTF-8"); in prepare() 152 return out.toString().getBytes("UTF-8"); in mixed_prepare()
|
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/ |
D | CompoundDictionaryTest.java | 44 decoder.attachDictionaryChunk(TEXT.getBytes("US-ASCII")); in testOnePieceDictionary() 55 decoder.attachDictionaryChunk(TEXT.substring(0, 13).getBytes("US-ASCII")); in testTwoPieceDictionary() 56 decoder.attachDictionaryChunk(TEXT.substring(13).getBytes("US-ASCII")); in testTwoPieceDictionary()
|
/third_party/icu/icu4c/source/i18n/unicode/ |
D | sortkey.h | 260 uint8_t *getBytes() { in getBytes() function 263 const uint8_t *getBytes() const { in getBytes() function 335 return getBytes(); in getByteArray()
|
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
D | sortkey.h | 260 uint8_t *getBytes() { in getBytes() function 263 const uint8_t *getBytes() const { in getBytes() function 335 return getBytes(); in getByteArray()
|
/third_party/node/deps/icu-small/source/i18n/unicode/ |
D | sortkey.h | 260 uint8_t *getBytes() { in getBytes() function 263 const uint8_t *getBytes() const { in getBytes() function 335 return getBytes(); in getByteArray()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmComputeShaderTestUtil.hpp | 87 void getBytes (std::vector<deUint8>& bytes) const in getBytes() function in vkt::SpirVAssembly::OpAtomicBuffer 142 return getBytes(bytes); in getPackedBytes() 174 inputs[0].getBytes(inputBytes); in compareWithRetvals() 193 expectedOutput->getBytes(expectedBytes); in compareWithRetvals() 271 void getBytes (std::vector<deUint8>& bytes) const in getBytes() function in vkt::SpirVAssembly::Buffer
|
D | vktSpvAsmUtils.hpp | 137 virtual void getBytes (std::vector<deUint8>& bytes) const = 0; 157 virtual void getBytes (std::vector<deUint8>& bytes) const { buffer->getBytes(bytes); } in getBytes() function in vkt::SpirVAssembly::Resource
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | BoundedByteStringTest.java | 64 ByteString unicode = ByteString.wrap(testString.getBytes(Internal.UTF_8)); in testToString() 81 ByteString unicode = ByteString.wrap(testString.getBytes(Internal.UTF_8)); in testCharsetToString()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | TrieMap.java | 135 int limit = ByteConverter.getBytes(c, bytes, 0); in get() 240 int limit = ByteConverter.getBytes(c, bytes, 0); in next() 303 limit = ByteConverter.getBytes(c, bytes, limit); in add() 509 public static int getBytes(char source, byte[] bytes, int limit) { in getBytes() method in TrieMap.ByteConverter 526 public static int getBytes(CharSequence source, byte[] bytes, int limit) { in getBytes() method in TrieMap.ByteConverter 528 limit = getBytes(source.charAt(i), bytes, limit); in getBytes()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
D | TrieMap.java | 136 int limit = ByteConverter.getBytes(c, bytes, 0); in get() 241 int limit = ByteConverter.getBytes(c, bytes, 0); in next() 304 limit = ByteConverter.getBytes(c, bytes, limit); in add() 510 public static int getBytes(char source, byte[] bytes, int limit) { in getBytes() method in TrieMap.ByteConverter 527 public static int getBytes(CharSequence source, byte[] bytes, int limit) { in getBytes() method in TrieMap.ByteConverter 529 limit = getBytes(source.charAt(i), bytes, limit); in getBytes()
|
/third_party/libphonenumber/tools/java/java-build/test/com/google/i18n/phonenumbers/buildtools/ |
D | GenerateTimeZonesMapDataTest.java | 42 return GenerateTimeZonesMapData.parseTextFile(new ByteArrayInputStream(input.getBytes())); in parseTextFileHelper() 95 ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(input.getBytes()); in convertDataHelper()
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | Internal.java | 100 return new String(bytes.getBytes(ISO_8859_1), UTF_8); in stringDefaultValue() 111 return ByteString.copyFrom(bytes.getBytes(ISO_8859_1)); in bytesDefaultValue() 119 return bytes.getBytes(ISO_8859_1); in byteArrayDefaultValue() 186 return value.getBytes(UTF_8); in toByteArray()
|
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/localedistance/ |
D | LocaleDistanceMapperTest.java | 188 byte[] regionLookup = getBytes(icuData, "match/regionToPartitions:bin"); in testEndToEnd() 266 return new BytesTrie(getBytes(icuData, path), 0); in getTrie() 270 private static byte[] getBytes(IcuData icuData, String path) { in getBytes() method in LocaleDistanceMapperTest
|