Home
last modified time | relevance | path

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

12345

/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 …]
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()
DLazyStringEndToEndTest.java49 ByteString.copyFrom(new byte[] {
90 ByteString.copyFrom(sink)); in testParseAndWrite()
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/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);
/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/icu/icu4c/source/i18n/
Ddtptngen_impl.h127 void copyFrom(const SkeletonFields& other);
163 void copyFrom(const PtnSkeleton& other);
236 void copyFrom(const PtnSkeleton& skeleton);
237 void copyFrom();
255 void copyFrom(const PatternMap& other, UErrorCode& status);
Ddtptngen.cpp366 dtMatcher->copyFrom(other.dtMatcher->skeleton); in operator =()
388 patternMap->copyFrom(*other.patternMap, status); in operator =()
1636 PatternMap::copyFrom(const PatternMap& other, UErrorCode& status) { in copyFrom() function in PatternMap
1904 copyFrom(other.skeleton); in DateTimeMatcher()
1974 copyFrom(skeletonResult); in set()
2018 DateTimeMatcher::copyFrom(const PtnSkeleton& newSkeleton) { in copyFrom() function in DateTimeMatcher
2019 skeleton.copyFrom(newSkeleton); in copyFrom()
2023 DateTimeMatcher::copyFrom() { in copyFrom() function in DateTimeMatcher
2289 matcher->copyFrom(*nodePtr->skeleton); in next()
2292 matcher->copyFrom(); in next()
[all …]
/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/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/icu/android_icu4j/src/main/java/android/icu/impl/number/
DParse.java317 StateItem copyFrom(StateItem other, StateName newName, int trailing) { in copyFrom() method in Parse.StateItem
326 fq.copyFrom(other.fq); in copyFrom()
1399 state.getNext().copyFrom(item, nextName, cp);
1415 state.getNext().copyFrom(item, nextName, cp);
1434 state.getNext().copyFrom(item, nextName, cp);
1475 next = state.getNext().copyFrom(item, nextName, -1);
1486 next = state.getNext().copyFrom(item, nextName, -1);
1538 StateItem next = state.getNext().copyFrom(item, returnTo1, -1);
1559 StateItem next = state.getNext().copyFrom(item, returnTo1, -1);
1612 StateItem next = state.getNext().copyFrom(item, nextName, cp);
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DParse.java315 StateItem copyFrom(StateItem other, StateName newName, int trailing) { in copyFrom() method in Parse.StateItem
324 fq.copyFrom(other.fq); in copyFrom()
1397 state.getNext().copyFrom(item, nextName, cp);
1413 state.getNext().copyFrom(item, nextName, cp);
1432 state.getNext().copyFrom(item, nextName, cp);
1473 next = state.getNext().copyFrom(item, nextName, -1);
1484 next = state.getNext().copyFrom(item, nextName, -1);
1536 StateItem next = state.getNext().copyFrom(item, returnTo1, -1);
1557 StateItem next = state.getNext().copyFrom(item, returnTo1, -1);
1610 StateItem next = state.getNext().copyFrom(item, nextName, cp);
[all …]
/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/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/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/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()
/external/desugar/java/com/google/devtools/build/android/desugar/
DOutputFileProvider.java28 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

12345