Home
last modified time | relevance | path

Searched refs:copyFrom (Results 1 – 25 of 169) sorted by relevance

1234567

/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DByteStringTest.java92 ByteString string1 = ByteString.copyFrom(referenceBytes); in testCompare_equalByteStrings_compareEqual()
93 ByteString string2 = ByteString.copyFrom(referenceBytes); in testCompare_equalByteStrings_compareEqual()
115 ByteString twoHundredFiftyFive = ByteString.copyFrom(new byte[] {-1}); in testCompare_interpretsByteValuesAsUnsigned()
117 ByteString one = ByteString.copyFrom(new byte[] {1}); in testCompare_interpretsByteValuesAsUnsigned()
126 ByteString substring = ByteString.copyFrom(bytes).substring(500); in testSubstring_BeginIndex()
134 ByteString byteString = ByteString.copyFrom(bytes, 500, 200); in testCopyFrom_BytesOffsetSize()
142 ByteString byteString = ByteString.copyFrom(bytes); in testCopyFrom_Bytes()
152 ByteString byteString = ByteString.copyFrom(byteBuffer, 200); in testCopyFrom_ByteBufferSize()
163 ByteString byteString = ByteString.copyFrom(byteBuffer); in testCopyFrom_ByteBuffer()
171 ByteString byteString = ByteString.copyFrom(testString, UTF_16); in testCopyFrom_StringEncoding()
[all …]
DPackedFieldTest.java41 ByteString.copyFrom(
132 ByteString.copyFrom(
DLazyStringEndToEndTest.java45 ByteString.copyFrom(
84 assertEquals(TEST_ALL_TYPES_SERIALIZED_WITH_ILLEGAL_UTF8, ByteString.copyFrom(sink)); in testParseAndWrite()
DNioByteStringTest.java486 ByteString literal = ByteString.copyFrom(BYTES); in testEqualsLiteralByteString()
494 literal = ByteString.copyFrom(mungedBytes()); in testEqualsLiteralByteString()
504 ByteString p1 = ByteString.copyFrom(BYTES, 0, 5); in testEqualsRopeByteString()
505 ByteString p2 = ByteString.copyFrom(BYTES, 5, BYTES.length - 5); in testEqualsRopeByteString()
519 p1 = ByteString.copyFrom(mungedBytes, 0, 5); in testEqualsRopeByteString()
520 p2 = ByteString.copyFrom(mungedBytes, 5, mungedBytes.length - 5); in testEqualsRopeByteString()
DDecodeUtf8Test.java32 ByteString bs = ByteString.copyFrom(new byte[] { (byte) i }); in testOneByte()
46 ByteString bs = ByteString.copyFrom(new byte[]{(byte) i, (byte) j}); in testTwoBytes()
66 ByteString bs = ByteString.copyFrom(bytes); in testThreeBytes()
DRopeByteStringTest.java95 concatenated = concatenated.concat(ByteString.copyFrom(testBytes, i * pieceSize, pieceSize)); in testBalance()
105 ByteString testString = ByteString.copyFrom(testBytes); in testBalance()
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DByteStringTest.java92 ByteString substring = ByteString.copyFrom(bytes).substring(500); in testSubstring_BeginIndex()
99 ByteString byteString = ByteString.copyFrom(bytes, 500, 200); in testCopyFrom_BytesOffsetSize()
106 ByteString byteString = ByteString.copyFrom(bytes); in testCopyFrom_Bytes()
116 ByteString byteString = ByteString.copyFrom(byteBuffer, 200); in testCopyFrom_ByteBufferSize()
126 ByteString byteString = ByteString.copyFrom(byteBuffer); in testCopyFrom_ByteBuffer()
133 ByteString byteString = ByteString.copyFrom(testString, UTF_16); in testCopyFrom_StringEncoding()
151 ByteString byteString = ByteString.copyFrom(pieces); in testCopyFrom_Iterable()
155 ByteString byteStringAlt = ByteString.copyFrom(new Iterable<ByteString>() { in testCopyFrom_Iterable()
166 ByteString byteString = ByteString.copyFrom(bytes); in testCopyTo_TargetOffset()
366 ByteString byteString = ByteString.copyFrom(testBytes); in testToStringUtf8()
[all …]
DRopeByteStringTest.java69 concatenated = concatenated.concat(ByteString.copyFrom(testBytes, i * pieceSize, pieceSize)); in testBalance()
76 ByteString testString = ByteString.copyFrom(testBytes); in testBalance()
DLazyStringEndToEndTest.java50 ByteString.copyFrom(new byte[] {
91 ByteString.copyFrom(sink)); in testParseAndWrite()
DTextFormatTest.java228 return ByteString.copyFrom(str.getBytes("ISO-8859-1")); in bytes()
241 return ByteString.copyFrom(bytes); in bytes()
484 ByteString.copyFrom(new byte[] {1, 2, 3}), "repeated_bytes"); in testPrintFieldValue()
DBoundedByteStringTest.java51 stringUnderTest = ByteString.copyFrom(sourceBytes).substring(from, to); in setUp()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DByteString.java109 byte[] copyFrom(byte[] bytes, int offset, int size); in copyFrom() method
115 public byte[] copyFrom(byte[] bytes, int offset, int size) { in copyFrom() method in ByteString.SystemByteArrayCopier
125 public byte[] copyFrom(byte[] bytes, int offset, int size) { in copyFrom() method in ByteString.ArraysByteArrayCopier
360 public static ByteString copyFrom(byte[] bytes, int offset, int size) { in copyFrom() method
362 return new LiteralByteString(byteArrayCopier.copyFrom(bytes, offset, size)); in copyFrom()
371 public static ByteString copyFrom(byte[] bytes) { in copyFrom() method
372 return copyFrom(bytes, 0, bytes.length); in copyFrom()
411 public static ByteString copyFrom(ByteBuffer bytes, int size) { in copyFrom() method
424 public static ByteString copyFrom(ByteBuffer bytes) { in copyFrom() method
425 return copyFrom(bytes, bytes.remaining()); in copyFrom()
[all …]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/
DWritableFontData.java381 public void copyFrom(InputStream is, int length) throws IOException { in copyFrom() method in WritableFontData
382 this.array.copyFrom(is, length); in copyFrom()
391 public void copyFrom(InputStream is) throws IOException { in copyFrom() method in WritableFontData
392 this.array.copyFrom(is); in copyFrom()
DByteArray.java281 public void copyFrom(InputStream is, int length) throws IOException { in copyFrom() method in ByteArray
302 public void copyFrom(InputStream is) throws IOException { in copyFrom() method in ByteArray
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/
DWritableFontData.java381 public void copyFrom(InputStream is, int length) throws IOException { in copyFrom() method in WritableFontData
382 this.array.copyFrom(is, length); in copyFrom()
391 public void copyFrom(InputStream is) throws IOException { in copyFrom() method in WritableFontData
392 this.array.copyFrom(is); in copyFrom()
DByteArray.java281 public void copyFrom(InputStream is, int length) throws IOException { in copyFrom() method in ByteArray
302 public void copyFrom(InputStream is) throws IOException { in copyFrom() method in ByteArray
/third_party/skia/third_party/externals/icu/source/i18n/
Ddtptngen_impl.h127 void copyFrom(const SkeletonFields& other);
163 void copyFrom(const PtnSkeleton& other);
234 void copyFrom(const PtnSkeleton& skeleton);
235 void copyFrom();
254 void copyFrom(const PatternMap& other, UErrorCode& status);
/third_party/icu/icu4c/source/i18n/
Ddtptngen_impl.h127 void copyFrom(const SkeletonFields& other);
163 void copyFrom(const PtnSkeleton& other);
234 void copyFrom(const PtnSkeleton& skeleton);
235 void copyFrom();
254 void copyFrom(const PatternMap& other, UErrorCode& status);
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Ddtptngen_impl.h127 void copyFrom(const SkeletonFields& other);
163 void copyFrom(const PtnSkeleton& other);
234 void copyFrom(const PtnSkeleton& skeleton);
235 void copyFrom();
253 void copyFrom(const PatternMap& other, UErrorCode& status);
/third_party/node/deps/icu-small/source/i18n/
Ddtptngen_impl.h127 void copyFrom(const SkeletonFields& other);
163 void copyFrom(const PtnSkeleton& other);
234 void copyFrom(const PtnSkeleton& skeleton);
235 void copyFrom();
254 void copyFrom(const PatternMap& other, UErrorCode& status);
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DSeriesMatcher.java46 backup.copyFrom(result); in match()
78 result.copyFrom(backup); in match()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/parse/
DSeriesMatcher.java48 backup.copyFrom(result); in match()
80 result.copyFrom(backup); in match()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DDenseMap.h362 void copyFrom( in copyFrom() function
602 copyFrom(other); in DenseMap()
632 copyFrom(other);
644 void copyFrom(const DenseMap& other) { in copyFrom() function
648 this->BaseT::copyFrom(other); in copyFrom()
768 copyFrom(other); in SmallDenseMap()
861 copyFrom(other);
873 void copyFrom(const SmallDenseMap& other) { in copyFrom() function
881 this->BaseT::copyFrom(other); in copyFrom()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DDenseMap.h391 void copyFrom( in copyFrom() function
704 copyFrom(other); in DenseMap()
739 copyFrom(other);
751 void copyFrom(const DenseMap& other) { in copyFrom() function
755 this->BaseT::copyFrom(other); in copyFrom()
883 copyFrom(other); in SmallDenseMap()
976 copyFrom(other);
988 void copyFrom(const SmallDenseMap& other) { in copyFrom() function
996 this->BaseT::copyFrom(other); in copyFrom()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DBidiRun.java72 void copyFrom(BidiRun run) in copyFrom() method in BidiRun

1234567