Home
last modified time | relevance | path

Searched refs:bytes2 (Results 1 – 14 of 14) sorted by relevance

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DIoUtilsTest.java36 byte[] bytes2 = IoUtils.toByteArray(is); in testRoundTrip()
38 assertNotSame(bytes2, bytes); in testRoundTrip()
39 assertEquals(bytes.length, bytes2.length); in testRoundTrip()
41 assertEquals(bytes[i], bytes2[i]); in testRoundTrip()
/external/Microsoft-GSL/tests/
Dstrided_span_tests.cpp496 multi_span<const byte, 2, dynamic_range> bytes2 = variable
498 strided_span<const byte, 2> sav2{bytes2, bounds};
509 multi_span<const byte, 2, dynamic_range> bytes2 = variable
511 strided_span<const byte, 2> sav2{bytes2, bounds};
518 multi_span<const byte, 2, dynamic_range> bytes2 = variable
520 strided_span<const byte, 2> sav2{bytes2, bounds};
528 multi_span<const byte, 2, dynamic_range> bytes2 = variable
530 strided_span<const byte, 2> sav2{bytes2, bounds};
538 multi_span<const byte, 2, dynamic_range> bytes2 = variable
540 strided_span<const byte, 2> sav2{bytes2, bounds};
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestStringByteConverter.java118 byte[] bytes2 = new byte[4]; in testString()
132 int byteCount = byteString.toBytes(test.charAt(i), bytes2, 0); in testString()
136 if (bytes2[j] != bytes[lastPosition + j]) { in testString()
140 + bytes2[j] + ">"); in testString()
/external/webrtc/webrtc/p2p/base/
Dstun_unittest.cc1365 StunByteStringAttribute* bytes2 = in TEST_F() local
1367 bytes2->CopyBytes("abcdefghijkl"); in TEST_F()
1368 EXPECT_TRUE(msg2.AddAttribute(bytes2)); in TEST_F()
1386 bytes2 = StunAttribute::CreateByteString(STUN_ATTR_MAGIC_COOKIE); in TEST_F()
1387 bytes2->CopyBytes(reinterpret_cast<const char*>(TURN_MAGIC_COOKIE_VALUE), in TEST_F()
1389 EXPECT_TRUE(msg2.AddAttribute(bytes2)); in TEST_F()
1426 bytes2 = StunAttribute::CreateByteString(STUN_ATTR_DATA); in TEST_F()
1427 bytes2->CopyBytes("abcdefg"); in TEST_F()
1428 EXPECT_TRUE(msg2.AddAttribute(bytes2)); in TEST_F()
/external/golang-protobuf/proto/
Dequal_test.go97 bytes2 := []byte{
102 SetRawExtension(messageWithExtension3c, 200, bytes2)
/external/flatbuffers/python/flatbuffers/
Dbuilder.py291 bytes2 = bytearray(newSize)
292 bytes2[newSize-len(self.Bytes):] = self.Bytes
293 self.Bytes = bytes2
/external/protobuf/js/
Dmessage.js1162 var bytes2 = /** @type {!Uint8Array} */(field2);
1163 if (bytes1.length != bytes2.length) return false;
1165 if (bytes1[i] != bytes2[i]) return false;
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/
Dvec-combine-02.ll244 %bytes2 = bitcast <2 x i16> %low2 to <4 x i8>
252 %blow1 = shufflevector <4 x i8> %bytes2, <4 x i8> %bytes3,
352 %bytes2 = bitcast <4 x i16> %hlow2 to <8 x i8>
357 %join1 = shufflevector <8 x i8> %bytes2, <8 x i8> %bytes3,
/external/llvm/test/CodeGen/SystemZ/
Dvec-combine-02.ll244 %bytes2 = bitcast <2 x i16> %low2 to <4 x i8>
252 %blow1 = shufflevector <4 x i8> %bytes2, <4 x i8> %bytes3,
352 %bytes2 = bitcast <4 x i16> %hlow2 to <8 x i8>
357 %join1 = shufflevector <8 x i8> %bytes2, <8 x i8> %bytes3,
/external/libxml2/
Druntest.c616 char bytes2[4096]; in compareFiles() local
650 res2 = read(fd2, bytes2, 4096); in compareFiles()
658 if (memcmp(bytes1, bytes2, res1) != 0) { in compareFiles()
/external/tensorflow/tensorflow/c/
Dc_api_test.cc2217 string bytes1, bytes2; in TEST_F() local
2226 proto.SerializeToString(&bytes2); in TEST_F()
2230 const std::vector<string> list = {bytes1, bytes2}; in TEST_F()
/external/icu/icu4c/source/test/cintltst/
Dudatatst.c1220 UDataInfo bytes2; member
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/
DNanoTest.java3948 byte[] bytes2 = {5, 6}; in testNullRepeatedFieldElements()
3956 message.repeatedBytes = new byte[][] {bytes1, null, bytes2}; in testNullRepeatedFieldElements()
3967 assertTrue(Arrays.equals(bytes2, deserialized.repeatedBytes[1])); in testNullRepeatedFieldElements()
/external/python/cpython3/Objects/
Dunicodeobject.c5143 char *bytes2; in _Py_EncodeUTF8Ex() local
5145 bytes2 = PyMem_RawRealloc(bytes, final_size); in _Py_EncodeUTF8Ex()
5148 bytes2 = PyMem_Realloc(bytes, final_size); in _Py_EncodeUTF8Ex()
5150 if (bytes2 == NULL) { in _Py_EncodeUTF8Ex()
5162 *str = bytes2; in _Py_EncodeUTF8Ex()