Home
last modified time | relevance | path

Searched refs:bytesAsInts (Results 1 - 8 of 8) sorted by relevance

/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
H A DCodedOutputStreamTest.java56 private byte[] bytes(int... bytesAsInts) { in bytes() argument
57 byte[] bytes = new byte[bytesAsInts.length]; in bytes()
58 for (int i = 0; i < bytesAsInts.length; i++) { in bytes()
59 bytes[i] = (byte) bytesAsInts[i]; in bytes()
H A DCodedInputStreamTest.java55 private byte[] bytes(int... bytesAsInts) { in bytes() argument
56 byte[] bytes = new byte[bytesAsInts.length]; in bytes()
57 for (int i = 0; i < bytesAsInts.length; i++) { in bytes()
58 bytes[i] = (byte) bytesAsInts[i]; in bytes()
H A DTextFormatTest.java236 private ByteString bytes(int... bytesAsInts) { in bytes() argument
237 byte[] bytes = new byte[bytesAsInts.length]; in bytes()
238 for (int i = 0; i < bytesAsInts.length; i++) { in bytes()
239 bytes[i] = (byte) bytesAsInts[i]; in bytes()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
H A DCodedInputStreamTest.cs47 private static byte[] Bytes(params int[] bytesAsInts) in Bytes() argument
49 byte[] bytes = new byte[bytesAsInts.Length]; in Bytes()
50 for (int i = 0; i < bytesAsInts.Length; i++) in Bytes()
52 bytes[i] = (byte) bytesAsInts[i]; in Bytes()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DCodedOutputStreamTest.java715 private static byte[] bytes(int... bytesAsInts) { in bytes() argument
716 byte[] bytes = new byte[bytesAsInts.length]; in bytes()
717 for (int i = 0; i < bytesAsInts.length; i++) { in bytes()
718 bytes[i] = (byte) bytesAsInts[i]; in bytes()
H A DCodedInputStreamTest.java133 private byte[] bytes(int... bytesAsInts) { in bytes() argument
134 byte[] bytes = new byte[bytesAsInts.length]; in bytes()
135 for (int i = 0; i < bytesAsInts.length; i++) { in bytes()
136 bytes[i] = (byte) bytesAsInts[i]; in bytes()
H A DTextFormatTest.java277 private ByteString bytes(int... bytesAsInts) { in bytes() argument
278 byte[] bytes = new byte[bytesAsInts.length]; in bytes()
279 for (int i = 0; i < bytesAsInts.length; i++) { in bytes()
280 bytes[i] = (byte) bytesAsInts[i]; in bytes()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
H A DCodedInputStreamTest.cs49 private static byte[] Bytes(params int[] bytesAsInts) in Bytes() argument
51 byte[] bytes = new byte[bytesAsInts.Length]; in Bytes()
52 for (int i = 0; i < bytesAsInts.Length; i++) in Bytes()
54 bytes[i] = (byte) bytesAsInts[i]; in Bytes()

Completed in 11 milliseconds