Home
last modified time | relevance | path

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

1234

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DByteStringTest.java93 ByteString substring = ByteString.copyFrom(bytes).substring(500); in testSubstring_BeginIndex()
100 ByteString byteString = ByteString.copyFrom(bytes, 500, 200); in testCopyFrom_BytesOffsetSize()
107 ByteString byteString = ByteString.copyFrom(bytes); in testCopyFrom_Bytes()
117 ByteString byteString = ByteString.copyFrom(byteBuffer, 200); in testCopyFrom_ByteBufferSize()
127 ByteString byteString = ByteString.copyFrom(byteBuffer); in testCopyFrom_ByteBuffer()
134 ByteString byteString = ByteString.copyFrom(testString, UTF_16); in testCopyFrom_StringEncoding()
152 ByteString byteString = ByteString.copyFrom(pieces); in testCopyFrom_Iterable()
156 ByteString byteStringAlt = ByteString.copyFrom(new Iterable<ByteString>() { in testCopyFrom_Iterable()
168 ByteString byteString = ByteString.copyFrom(bytes); in testCopyTo_TargetOffset()
406 ByteString byteString = ByteString.copyFrom(testBytes); in testToStringUtf8()
[all …]
DLazyStringEndToEndTest.java49 ByteString.copyFrom(new byte[] {
90 ByteString.copyFrom(sink)); in testParseAndWrite()
DNioByteStringTest.java474 ByteString literal = ByteString.copyFrom(BYTES); in testEqualsLiteralByteString()
484 literal = ByteString.copyFrom(mungedBytes()); in testEqualsLiteralByteString()
492 ByteString p1 = ByteString.copyFrom(BYTES, 0, 5); in testEqualsRopeByteString()
493 ByteString p2 = ByteString.copyFrom(BYTES, 5, BYTES.length - 5); in testEqualsRopeByteString()
506 p1 = ByteString.copyFrom(mungedBytes, 0, 5); in testEqualsRopeByteString()
507 p2 = ByteString.copyFrom(mungedBytes, 5, mungedBytes.length - 5); in testEqualsRopeByteString()
DRopeByteStringTest.java79 concatenated = concatenated.concat(ByteString.copyFrom(testBytes, i * pieceSize, pieceSize)); in testBalance()
86 ByteString testString = ByteString.copyFrom(testBytes); in testBalance()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DByteString.java106 byte[] copyFrom(byte[] bytes, int offset, int size); in copyFrom() method
112 public byte[] copyFrom(byte[] bytes, int offset, int size) { in copyFrom() method in ByteString.SystemByteArrayCopier
122 public byte[] copyFrom(byte[] bytes, int offset, int size) { in copyFrom() method in ByteString.ArraysByteArrayCopier
299 public static ByteString copyFrom(byte[] bytes, int offset, int size) { in copyFrom() method
300 return new LiteralByteString(byteArrayCopier.copyFrom(bytes, offset, size)); in copyFrom()
309 public static ByteString copyFrom(byte[] bytes) { in copyFrom() method
310 return copyFrom(bytes, 0, bytes.length); in copyFrom()
339 public static ByteString copyFrom(ByteBuffer bytes, int size) { in copyFrom() method
352 public static ByteString copyFrom(ByteBuffer bytes) { in copyFrom() method
353 return copyFrom(bytes, bytes.remaining()); in copyFrom()
[all …]
/external/protobuf/javamicro/src/main/java/com/google/protobuf/micro/
DByteStringMicro.java82 public static ByteStringMicro copyFrom(final byte[] bytes, final int offset, in copyFrom() method in ByteStringMicro
92 public static ByteStringMicro copyFrom(final byte[] bytes) { in copyFrom() method in ByteStringMicro
93 return copyFrom(bytes, 0, bytes.length); in copyFrom()
100 public static ByteStringMicro copyFrom(final String text, final String charsetName) in copyFrom() method in ByteStringMicro
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DOutputProperties.java326 copyFrom(savedProps, false); in setMethodDefaults()
577 public void copyFrom(Properties src) in copyFrom() method in OutputProperties
579 copyFrom(src, true); in copyFrom()
592 public void copyFrom(Properties src, boolean shouldResetDefaults) in copyFrom() method in OutputProperties
631 public void copyFrom(OutputProperties opsrc) in copyFrom() method in OutputProperties
636 copyFrom(opsrc.getProperties()); in copyFrom()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_bitvector_test.cc33 t.copyFrom(bv); in CheckBV()
61 t.copyFrom(bv); in Print()
141 t_bv.copyFrom(bv); in TestBitVector()
148 t_bv.copyFrom(bv); in TestBitVector()
157 t_bv.copyFrom(bv); in TestBitVector()
/external/clang/test/CodeGenCXX/
Dcasts.cpp6 void copyFrom(const A &src);
12 void A::copyFrom(const A &src) { in copyFrom() function in PR5248::A
/external/parameter-framework/upstream/parameter/
DAreaConfiguration.cpp54 copyFrom(pMainBlackboard, _pConfigurableElement->getOffset()); in save()
150 copyFrom(&pFromAreaConfiguration->_blackboard, in copyFromOuter()
180 void CAreaConfiguration::copyFrom(const CParameterBlackboard *pFromBlackboard, size_t offset) in copyFrom() function in CAreaConfiguration
DBitwiseAreaConfiguration.h45 virtual void copyFrom(const CParameterBlackboard *pFromBlackboard, size_t offset);
DBitwiseAreaConfiguration.cpp67 void CBitwiseAreaConfiguration::copyFrom(const CParameterBlackboard *pFromBlackboard, size_t offset) in copyFrom() function in CBitwiseAreaConfiguration
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_bvgraph.h53 t1.copyFrom(from); in addEdges()
89 t1.copyFrom(from); in removeEdgesFrom()
114 to_visit.copyFrom(v[from]); in isReachable()
/external/icu/icu4c/source/i18n/
Ddtptngen_impl.h123 void copyFrom(const SkeletonFields& other);
158 void copyFrom(const PtnSkeleton& other);
231 void copyFrom(const PtnSkeleton& skeleton);
232 void copyFrom();
250 void copyFrom(const PatternMap& other, UErrorCode& status);
Ddtptngen.cpp322 dtMatcher->copyFrom(other.dtMatcher->skeleton); in operator =()
344 patternMap->copyFrom(*other.patternMap, status); in operator =()
1560 PatternMap::copyFrom(const PatternMap& other, UErrorCode& status) { in copyFrom() function in PatternMap
1828 copyFrom(other.skeleton); in DateTimeMatcher()
1872 copyFrom(skeletonResult); in set()
1916 DateTimeMatcher::copyFrom(const PtnSkeleton& newSkeleton) { in copyFrom() function in DateTimeMatcher
1917 skeleton.copyFrom(newSkeleton); in copyFrom()
1921 DateTimeMatcher::copyFrom() { in copyFrom() function in DateTimeMatcher
2187 matcher->copyFrom(*nodePtr->skeleton); in next()
2190 matcher->copyFrom(); in next()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/PBQP/
DGraph.h139 inline void copyFrom(const Graph &other);
149 copyFrom(other); in Graph()
161 copyFrom(other);
410 void Graph::copyFrom(const Graph &other) { in copyFrom() function
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DSerializerSwitcher.java80 htmlOutputProperties.copyFrom(prevProperties, true); in switchSerializerIfHTML()
173 htmlOutputProperties.copyFrom(prevProperties, true); in switchSerializerIfHTML()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowMessage.java51 public void copyFrom(Message m) { in copyFrom() method in ShadowMessage
103 m.copyFrom(msg); in obtain()
/external/javassist/src/main/javassist/bytecode/
DExceptionsAttribute.java46 copyFrom(src, classnames); in ExceptionsAttribute()
81 private void copyFrom(ExceptionsAttribute srcAttr, Map classnames) { in copyFrom() method in ExceptionsAttribute
/external/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()
/external/llvm/include/llvm/ADT/
DDenseMap.h347 void copyFrom( in copyFrom() function
604 copyFrom(other); in DenseMap()
634 copyFrom(other);
646 void copyFrom(const DenseMap& other) { in copyFrom() function
650 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()
/external/desugar/java/com/google/devtools/build/android/desugar/
DOutputFileProvider.java25 void copyFrom(String filename, InputFileProvider inputFileProvider) throws IOException; in copyFrom() method
/external/icu/android_icu4j/src/main/java/android/icu/text/
DBidiRun.java73 void copyFrom(BidiRun run) in copyFrom() method in BidiRun
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBidiRun.java72 void copyFrom(BidiRun run) in copyFrom() method in BidiRun
/external/protobuf/java/util/src/test/java/com/google/protobuf/util/
DJsonFormatTest.java85 builder.setOptionalBytes(ByteString.copyFrom(new byte[]{0, 1, 2})); in setAllFields()
103 builder.addRepeatedBytes(ByteString.copyFrom(new byte[]{0, 1, 2})); in setAllFields()
121 builder.addRepeatedBytes(ByteString.copyFrom(new byte[]{1, 2})); in setAllFields()
506 8, ByteString.copyFrom(new byte[]{1, 2, 3})); in testMapFields()
693 builder.getBytesValueBuilder().setValue(ByteString.copyFrom(new byte[]{8})); in testWrappers()
902 ByteString.copyFrom(new byte[]{1, 2})).build()); in testAnyFields()

1234