Home
last modified time | relevance | path

Searched full:bytes (Results 1 – 25 of 18353) sorted by relevance

12345678910>>...735

/external/caliper/caliper/src/test/resources/com/google/caliper/bridge/
Djdk6-compilation.txt1 1 java.lang.String::hashCode (60 bytes)
2 2 java.lang.String::lastIndexOf (156 bytes)
3 3 java.lang.String::indexOf (151 bytes)
4 4 sun.nio.cs.UTF_8$Decoder::decodeArrayLoop (553 bytes)
5 5 java.io.UnixFileSystem::normalize (75 bytes)
6 6 sun.nio.cs.UTF_8$Encoder::encodeArrayLoop (490 bytes)
7 7 java.lang.String::indexOf (166 bytes)
8 1% sun.net.www.ParseUtil::encodePath @ 29 (336 bytes)
9 8 java.lang.String::equals (88 bytes)
10 9 sun.net.www.ParseUtil::encodePath (336 bytes)
[all …]
Djdk7-compilation.txt1 91 1 b java.lang.String::hashCode (67 bytes)
2 106 2 b sun.nio.cs.UTF_8$Decoder::decode (640 bytes)
3 130 3 b java.lang.String::lastIndexOf (68 bytes)
4 132 4 b java.lang.String::indexOf (87 bytes)
5 136 5 b java.io.UnixFileSystem::normalize (75 bytes)
6 138 1 % b java.io.UnixFileSystem::normalize @ 10 (75 bytes)
7 142 6 b sun.nio.cs.UTF_8$Encoder::encode (361 bytes)
8 149 2 % b sun.nio.cs.UTF_8$Encoder::encode @ 20 (361 bytes)
9 162 2 sun.nio.cs.UTF_8$Decoder::decode (640 bytes) made not entrant
10 165 7 b sun.nio.cs.UTF_8$Decoder::decode (640 bytes)
[all …]
/external/ow2-asm/asm-test/src/main/resources/jdk3/
DLargeMethod.classLargeMethod.java package jdk3 public jdk3.LargeMethod extends java.lang.Object { private int f ...
/external/protobuf/src/google/protobuf/compiler/cpp/
Dmessage_size_unittest.cc52 virtual ~MockMessageBase() = default; // 8 bytes vtable
53 void* internal_metadata; // 8 bytes
58 int cached_size; // 4 bytes
59 // + 4 bytes padding
64 void* arena; // 8 bytes
65 int16_t capacity; // 4 bytes
66 int16_t size; // 4 bytes
67 void* data; // 8 bytes
72 void* arena; // 8 bytes
73 int current_size; // 4 bytes
[all …]
/external/nos/host/generic/nugget/proto/nugget/app/protoapi/
Dtesting_api.proto79 bytes key = 3;
80 bytes initialization_vector = 4;
84 bytes plain_text = 5;
89 bytes initialization_vector = 2;
90 bytes cipher_text = 3;
94 bytes key = 1;
95 bytes iv = 2;
96 bytes plain_text = 3;
97 bytes aad = 4;
103 bytes cipher_text = 2;
[all …]
/external/ow2-asm/asm-test/src/main/resources/jdk8/
DAllStructures.classAllStructures.java package jdk8 public abstract jdk8.AllStructures extends java.util.HashMap implements java. ...
/external/rust/crates/bytes/tests/
Dtest_bytes.rs3 use bytes::{Buf, BufMut, Bytes, BytesMut};
15 is_sync::<Bytes>(); in test_bounds()
17 is_send::<Bytes>(); in test_bounds()
26 mem::size_of::<Bytes>(), in test_layout()
28 "Bytes size should be 4 words", in test_layout()
37 mem::size_of::<Bytes>(), in test_layout()
38 mem::size_of::<Option<Bytes>>(), in test_layout()
39 "Bytes should be same size as Option<Bytes>", in test_layout()
51 let a = Bytes::from(&b"abcdefgh"[..]); in from_slice()
70 let a = format!("{:?}", Bytes::from(&b"abcdefg"[..])); in fmt()
[all …]
/external/apache-commons-io/src/test/java/org/apache/commons/io/
DEndianUtilsTest.java48 final byte[] bytes = { 0x08, 0x07, 0x06, 0x05, 0x04, 0x03, 0x02, 0x01 }; in testReadSwappedDouble()
50 final double d2 = EndianUtils.readSwappedDouble( bytes, 0 ); in testReadSwappedDouble()
53 final ByteArrayInputStream input = new ByteArrayInputStream(bytes); in testReadSwappedDouble()
59 final byte[] bytes = { 0x04, 0x03, 0x02, 0x01 }; in testReadSwappedFloat()
61 final float f2 = EndianUtils.readSwappedFloat( bytes, 0 ); in testReadSwappedFloat()
64 final ByteArrayInputStream input = new ByteArrayInputStream(bytes); in testReadSwappedFloat()
70 final byte[] bytes = { 0x04, 0x03, 0x02, 0x01 }; in testReadSwappedInteger()
71 assertEquals( 0x01020304, EndianUtils.readSwappedInteger( bytes, 0 ) ); in testReadSwappedInteger()
73 final ByteArrayInputStream input = new ByteArrayInputStream(bytes); in testReadSwappedInteger()
79 final byte[] bytes = { 0x08, 0x07, 0x06, 0x05, 0x04, 0x03, 0x02, 0x01 }; in testReadSwappedLong()
[all …]
/external/openthread/third_party/mbedtls/repo/tests/suites/
Dtest_suite_cipher.camellia.data9 CAMELLIA Encrypt and decrypt 0 bytes [#1]
17 CAMELLIA Encrypt and decrypt 2 bytes [#1]
21 CAMELLIA Encrypt and decrypt 7 bytes [#1]
25 CAMELLIA Encrypt and decrypt 8 bytes [#1]
29 CAMELLIA Encrypt and decrypt 9 bytes [#1]
33 CAMELLIA Encrypt and decrypt 15 bytes [#1]
37 CAMELLIA Encrypt and decrypt 16 bytes [#1]
41 CAMELLIA Encrypt and decrypt 17 bytes [#1]
45 CAMELLIA Encrypt and decrypt 31 bytes [#1]
49 CAMELLIA Encrypt and decrypt 32 bytes [#1]
[all …]
Dtest_suite_cipher.blowfish.data5 BLOWFISH Encrypt and decrypt 0 bytes [#1]
13 BLOWFISH Encrypt and decrypt 2 bytes [#1]
17 BLOWFISH Encrypt and decrypt 7 bytes [#1]
21 BLOWFISH Encrypt and decrypt 8 bytes [#1]
25 BLOWFISH Encrypt and decrypt 9 bytes [#1]
29 BLOWFISH Encrypt and decrypt 15 bytes [#1]
33 BLOWFISH Encrypt and decrypt 16 bytes [#1]
37 BLOWFISH Encrypt and decrypt 17 bytes [#1]
41 BLOWFISH Encrypt and decrypt 31 bytes [#1]
45 BLOWFISH Encrypt and decrypt 32 bytes [#1]
[all …]
Dtest_suite_cipher.des.data13 DES Encrypt and decrypt 0 bytes [#1]
21 DES Encrypt and decrypt 2 bytes
25 DES Encrypt and decrypt 7 bytes
29 DES Encrypt and decrypt 8 bytes
33 DES Encrypt and decrypt 9 bytes
37 DES Encrypt and decrypt 15 bytes
41 DES Encrypt and decrypt 16 bytes
45 DES Encrypt and decrypt 17 bytes
49 DES Encrypt and decrypt 31 bytes
53 DES Encrypt and decrypt 32 bytes [#1]
[all …]
/external/mbedtls/tests/suites/
Dtest_suite_cipher.camellia.data9 CAMELLIA Encrypt and decrypt 0 bytes [#1]
17 CAMELLIA Encrypt and decrypt 2 bytes [#1]
21 CAMELLIA Encrypt and decrypt 7 bytes [#1]
25 CAMELLIA Encrypt and decrypt 8 bytes [#1]
29 CAMELLIA Encrypt and decrypt 9 bytes [#1]
33 CAMELLIA Encrypt and decrypt 15 bytes [#1]
37 CAMELLIA Encrypt and decrypt 16 bytes [#1]
41 CAMELLIA Encrypt and decrypt 17 bytes [#1]
45 CAMELLIA Encrypt and decrypt 31 bytes [#1]
49 CAMELLIA Encrypt and decrypt 32 bytes [#1]
[all …]
Dtest_suite_cipher.des.data13 DES Encrypt and decrypt 0 bytes [#1]
21 DES Encrypt and decrypt 2 bytes
25 DES Encrypt and decrypt 7 bytes
29 DES Encrypt and decrypt 8 bytes
33 DES Encrypt and decrypt 9 bytes
37 DES Encrypt and decrypt 15 bytes
41 DES Encrypt and decrypt 16 bytes
45 DES Encrypt and decrypt 17 bytes
49 DES Encrypt and decrypt 31 bytes
53 DES Encrypt and decrypt 32 bytes [#1]
[all …]
Dtest_suite_bignum_mod_raw.function130 size_t bytes = limbs * sizeof(mbedtls_mpi_uint);
142 TEST_CF_SECRET(X, bytes);
143 TEST_CF_SECRET(Y, bytes);
147 TEST_CF_PUBLIC(X, bytes);
148 TEST_CF_PUBLIC(Y, bytes);
150 TEST_ASSERT(memcmp(X, Y, bytes) != 0);
153 TEST_CF_SECRET(X, bytes);
154 TEST_CF_SECRET(Y, bytes);
158 TEST_CF_PUBLIC(X, bytes);
159 TEST_CF_PUBLIC(Y, bytes);
[all …]
/external/cronet/net/base/
Dip_address.cc44 // Compare all the bytes that fall entirely within the prefix. in IPAddressPrefixCheck()
118 return IsPubliclyRoutableIPv4(ipv4.bytes()); in IsPubliclyRoutableIPv6()
124 bool ParseIPLiteralToBytes(std::string_view ip_literal, IPAddressBytes* bytes) { in ParseIPLiteralToBytes() argument
133 bytes->Resize(16); // 128 bits. in ParseIPLiteralToBytes()
135 bytes->data()); in ParseIPLiteralToBytes()
139 bytes->Resize(4); // 32 bits. in ParseIPLiteralToBytes()
143 ip_literal.data(), host_comp, bytes->data(), &num_components); in ParseIPLiteralToBytes()
223 const uint8_t bytes[] = {b0, b1, b2, b3}; in IPAddress() local
224 ip_address_.Assign(bytes, std::size(bytes)); in IPAddress()
243 const uint8_t bytes[] = {b0, b1, b2, b3, b4, b5, b6, b7, in IPAddress() local
[all …]
/external/webrtc/rtc_base/memory/
Dfifo_buffer_unittest.cc26 size_t bytes; in TEST() local
32 EXPECT_EQ(SR_BLOCK, buf.Read(rtc::MakeArrayView(out, kSize), bytes, error)); in TEST()
33 EXPECT_TRUE(nullptr != buf.GetWriteBuffer(&bytes)); in TEST()
34 EXPECT_EQ(kSize, bytes); in TEST()
38 EXPECT_EQ(SR_SUCCESS, buf.Write(rtc::MakeArrayView(in, kSize), bytes, error)); in TEST()
39 EXPECT_EQ(kSize, bytes); in TEST()
42 EXPECT_EQ(SR_BLOCK, buf.Write(rtc::MakeArrayView(in, kSize), bytes, error)); in TEST()
45 EXPECT_EQ(SR_SUCCESS, buf.Read(rtc::MakeArrayView(out, kSize), bytes, error)); in TEST()
46 EXPECT_EQ(kSize, bytes); in TEST()
50 EXPECT_EQ(SR_BLOCK, buf.Read(rtc::MakeArrayView(out, kSize), bytes, error)); in TEST()
[all …]
/external/rust/crates/num-traits/src/ops/
Dbytes.rs38 type Bytes: NumBytes; typedef
47 /// let bytes = ToBytes::to_be_bytes(&0x12345678u32);
48 /// assert_eq!(bytes, [0x12, 0x34, 0x56, 0x78]);
50 fn to_be_bytes(&self) -> Self::Bytes; in to_be_bytes() argument
59 /// let bytes = ToBytes::to_le_bytes(&0x12345678u32);
60 /// assert_eq!(bytes, [0x78, 0x56, 0x34, 0x12]);
62 fn to_le_bytes(&self) -> Self::Bytes; in to_le_bytes() argument
83 /// let bytes = ToBytes::to_ne_bytes(&0x12345678u32);
84 /// assert_eq!(bytes, expected)
86 fn to_ne_bytes(&self) -> Self::Bytes { in to_ne_bytes() argument
[all …]
/external/rust/crates/bytes/src/
Dbytes.rs21 /// `Bytes` is an efficient container for storing and operating on contiguous
25 /// `Bytes` values facilitate zero-copy network programming by allowing multiple
26 /// `Bytes` objects to point to the same underlying memory.
28 /// `Bytes` does not have a single implementation. It is an interface, whose
30 /// implementations of `Bytes`.
32 /// All `Bytes` implementations must fulfill the following requirements:
38 /// use bytes::Bytes;
40 /// let mut mem = Bytes::from("Hello world");
53 /// The `Bytes` struct itself is fairly small, limited to 4 `usize` fields used
55 /// `Bytes` handle has access to.
[all …]
/external/nos/host/generic/nugget/proto/nugget/app/identity/
Didentity.proto88 bytes docType = 2;
89 bytes encryptedCredentialKeys = 3;
102 bytes publickey = 2;
108 bytes entryCounts = 2;
109 bytes docType = 3;
120 bytes readerCertificate = 2;
127 bytes mac = 2;
132 bytes accessControlProfileIds = 1;
143 bytes accessControlProfileIds = 1;
146 bytes content = 4;
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/strftime/
D1-1.c36 printf("a Bytes %i %s ", result, text); in main()
38 puts("Test Failed: \%a doesn't equal at least 3 bytes"); in main()
45 printf("A Bytes %i %s ", result, text); in main()
47 puts("Test Failed: \%A doesn't equal to 6 bytes"); in main()
54 printf("b Bytes %i %s ", result, text); in main()
56 puts("Test Failed: \%b doesn't equal to 3 bytes"); in main()
63 printf("B Bytes %i %s ", result, text); in main()
65 puts("Test Failed: \%B is less than3 bytes"); in main()
74 * printf("c Bytes %i %s ", result, text); in main()
76 * puts("Test Failed: \%c doesn't equal at least 30 bytes"); in main()
[all …]
/external/nos/host/generic/nugget/proto/nugget/app/keymaster/ctdl/
Dkeymaster.proto171 bytes data = 1;
191 bytes client_id = 2;
192 bytes app_data = 3;
217 bytes client_id = 3;
218 bytes app_data = 4;
233 bytes not_before = 5; // strftime('%Y%m%d%H%M%SZ') [15 octects]
234 bytes not_after = 6; // strftime('%Y%m%d%H%M%SZ') [15 octects]
235 bytes caller_issuer_subj_name = 7;
241 bytes certificate_prologue = 3;
247 // bytes attestation_app_id = 2; // Unused, contained within params
[all …]
/external/nos/host/generic/nugget/proto/nugget/app/keymaster/
Dkeymaster.proto171 bytes data = 1;
191 bytes client_id = 2;
192 bytes app_data = 3;
218 bytes client_id = 3;
219 bytes app_data = 4;
234 bytes not_before = 5; // strftime('%Y%m%d%H%M%SZ') [15 octects]
235 bytes not_after = 6; // strftime('%Y%m%d%H%M%SZ') [15 octects]
236 bytes caller_issuer_subj_name = 7;
242 bytes certificate_prologue = 3;
248 // bytes attestation_app_id = 2; // Unused, contained within params
[all …]
/external/icu/icu4j/main/core/src/main/java/com/ibm/icu/impl/
DICUBinary.java55 static boolean validate(ByteBuffer bytes) { in validate() argument
57 readHeader(bytes, DATA_FORMAT, IS_ACCEPTABLE); in validate()
61 int count = bytes.getInt(bytes.position()); // Do not move the position. in validate()
65 // For each item, there is one ToC entry (8 bytes) and a name string in validate()
66 // and a data item of at least 16 bytes. in validate()
68 if (bytes.position() + 4 + count * (8 + 16) > bytes.capacity()) { in validate()
71 if (!startsWithPackageName(bytes, getNameOffset(bytes, 0)) || in validate()
72 !startsWithPackageName(bytes, getNameOffset(bytes, count - 1))) { in validate()
78 private static boolean startsWithPackageName(ByteBuffer bytes, int start) { in startsWithPackageName() argument
82 if (bytes.get(start + i) != ICUData.PACKAGE_NAME.charAt(i)) { in startsWithPackageName()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUBinary.java59 static boolean validate(ByteBuffer bytes) { in validate() argument
61 readHeader(bytes, DATA_FORMAT, IS_ACCEPTABLE); in validate()
65 int count = bytes.getInt(bytes.position()); // Do not move the position. in validate()
69 // For each item, there is one ToC entry (8 bytes) and a name string in validate()
70 // and a data item of at least 16 bytes. in validate()
72 if (bytes.position() + 4 + count * (8 + 16) > bytes.capacity()) { in validate()
75 if (!startsWithPackageName(bytes, getNameOffset(bytes, 0)) || in validate()
76 !startsWithPackageName(bytes, getNameOffset(bytes, count - 1))) { in validate()
82 private static boolean startsWithPackageName(ByteBuffer bytes, int start) { in startsWithPackageName() argument
86 if (bytes.get(start + i) != ICUData.PACKAGE_NAME.charAt(i)) { in startsWithPackageName()
[all …]
/external/nanopb-c/tests/regression/issue_338/
Dbigvalue.proto48 bytes value = 2;
53 bytes value = 2;
58 bytes value = 2;
63 bytes value = 2;
68 bytes value = 2;
73 bytes value = 2;
78 bytes value = 2;
83 bytes value = 2;
88 bytes value = 2;
93 bytes value = 2;
[all …]

12345678910>>...735