Home
last modified time | relevance | path

Searched refs:getBytes (Results 1 – 25 of 91) sorted by relevance

1234

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DWriteNumberFormatSerialTestData.java51 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/
Dsortkey.cpp71 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/flutter/skia/third_party/externals/icu/source/i18n/
Dsortkey.cpp71 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/
Dsortkey.cpp71 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/
Dsortkey.cpp71 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/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/stringprep/
DTestStringPrep.java114 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()
DTestData.java429 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()
DNFS4StringPrep.java73 return out.toString().getBytes("UTF-8"); in prepare()
152 return out.toString().getBytes("UTF-8"); in mixed_prepare()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/charsetdet/
DTestCharsetDetector.java137 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/skia/third_party/externals/brotli/java/org/brotli/dec/
DCompoundDictionaryTest.java44 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/node/deps/icu-small/source/i18n/unicode/
Dsortkey.h260 uint8_t *getBytes() { in getBytes() function
263 const uint8_t *getBytes() const { in getBytes() function
335 return getBytes(); in getByteArray()
/third_party/icu/icu4c/source/i18n/unicode/
Dsortkey.h260 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/
Dsortkey.h260 uint8_t *getBytes() { in getBytes() function
263 const uint8_t *getBytes() const { in getBytes() function
335 return getBytes(); in getByteArray()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Dsortkey.h258 uint8_t *getBytes() { in getBytes() function
261 const uint8_t *getBytes() const { in getBytes() function
333 return getBytes(); in getByteArray()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DBoundedByteStringTest.java64 ByteString unicode = ByteString.wrap(testString.getBytes(Internal.UTF_8)); in testToString()
81 ByteString unicode = ByteString.wrap(testString.getBytes(Internal.UTF_8)); in testCharsetToString()
DWrappersOfMethodTest.java48 builder.setFieldBytes(BytesValue.of(ByteString.wrap("233".getBytes(Internal.UTF_8)))); in testOf()
DWrappersLiteOfMethodTest.java48 builder.setFieldBytes(BytesValue.of(ByteString.wrap("233".getBytes(Internal.UTF_8)))); in testOf()
DExperimentalTestDataProvider.java87 public ByteString getBytes() { in getBytes() method in ExperimentalTestDataProvider
/third_party/libphonenumber/tools/java/java-build/test/com/google/i18n/phonenumbers/buildtools/
DGenerateTimeZonesMapDataTest.java42 return GenerateTimeZonesMapData.parseTextFile(new ByteArrayInputStream(input.getBytes())); in parseTextFileHelper()
95 ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(input.getBytes()); in convertDataHelper()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DTrieMap.java136 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/protobuf/java/core/src/main/java/com/google/protobuf/
DInternal.java100 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/libphonenumber/tools/java/data/src/com/google/i18n/phonenumbers/
DCombineGeoDataServlet.java41 new ByteArrayInputStream(input.getBytes()), resp.getOutputStream(), "<br>"); in doPost()
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/plugin/common/
DStringCodec.java30 final byte[] bytes = message.getBytes(UTF8); in encodeMessage()
/third_party/flutter/skia/src/utils/mac/
DSkStream_mac.cpp66 rec.getBytes = get_bytes_proc; in SkCreateDataProviderFromStream()
/third_party/qrcodegen/java/
DQrCodeGeneratorDemo.java69 svg.getBytes(StandardCharsets.UTF_8)); in doBasicDemo()
127 QrSegment.makeBytes(golden0.getBytes(StandardCharsets.UTF_8)), in doSegmentDemo()

1234