/aosp_15_r20/external/rust/android-crates-io/crates/etherparse/src/net/ |
D | lax_net_slice.rs | 68 let bytes = Ipv6Header { in debug() localVariable 80 let bytes = Ipv6Header { in clone_eq() localVariable 94 let bytes = { in ip_payload_ref() localVariable 95 let mut bytes = Vec::with_capacity(Ipv4Header::MIN_LEN + 4); in ip_payload_ref() localVariable 122 let bytes = { in ip_payload_ref() localVariable 123 let mut bytes = Vec::with_capacity(Ipv6Header::LEN + 4); in ip_payload_ref() localVariable 154 let bytes = { in from() localVariable 155 let mut bytes = Vec::with_capacity(Ipv4Header::MIN_LEN + 4); in from() localVariable 174 let bytes = { in from() localVariable 175 let mut bytes = Vec::with_capacity(Ipv4Header::MIN_LEN + 4); in from() localVariable [all …]
|
D | ipv6_header.rs | 418 let bytes = header.to_bytes(); localVariable 426 let mut bytes = header.to_bytes(); localVariable 438 let bytes = header.to_bytes(); localVariable 464 let bytes = header.to_bytes(); localVariable 472 let mut bytes = header.to_bytes(); localVariable 484 let bytes = header.to_bytes(); localVariable 512 let bytes = header.to_bytes(); localVariable 521 let mut bytes = header.to_bytes(); localVariable 539 let bytes = header.to_bytes(); localVariable 553 let bytes = header.to_bytes(); localVariable [all …]
|
D | ipv6_header_slice.rs | 204 let bytes = header.to_bytes(); in debug() localVariable 215 let bytes = header.to_bytes(); localVariable 229 let bytes = header.to_bytes(); localVariable 236 let mut bytes = header.to_bytes(); localVariable 248 let bytes = header.to_bytes(); localVariable 269 let bytes = header.to_bytes(); localVariable 280 let bytes = header.to_bytes(); localVariable 298 let bytes = header.to_bytes(); localVariable 308 let bytes = header.to_bytes(); localVariable
|
/aosp_15_r20/external/webrtc/rtc_base/ |
H A D | bitstream_reader_unittest.cc | 30 const uint8_t bytes[32] = {}; in TEST() local 42 const uint8_t bytes[32] = {}; in TEST() local 54 const uint8_t bytes[32] = {}; in TEST() local 79 const uint8_t bytes[1] = {}; in TEST() local 89 const uint8_t bytes[] = {0b0100'0001, 0b1011'0001}; in TEST() local 120 const uint8_t bytes[] = {0b1010'1010}; in TEST() local 128 const uint8_t bytes[] = {0x0A, // in TEST() local 141 const uint8_t bytes[] = {0x0A, 0xBC, 0xDE, 0xF1, 0x23, in TEST() local 170 const uint8_t bytes[] = {0x1F, 0xDB, 0x97, 0x53, 0x0E, 0xCA, 0x86, 0x42}; in TEST() local 186 const uint8_t bytes[] = {0b010'01'101, 0b0011'00'1'0}; in TEST() local [all …]
|
H A D | bit_buffer_unittest.cc | 28 uint8_t bytes[64] = {0}; in TEST() local 50 uint8_t bytes[4] = {0}; in TEST() local 90 uint8_t bytes[2] = {}; in TEST() local 107 uint8_t bytes[2] = {}; in TEST() local 145 uint8_t bytes[2] = {}; in TEST() local 155 uint8_t bytes[16] = {0}; in TEST() local 180 uint8_t bytes[16] = {0}; in TEST() local 199 uint8_t bytes[64] = {0}; in TEST() local 212 uint8_t bytes[] = {0xFF, 0xFF}; in TEST() local
|
/aosp_15_r20/external/python/rsa/rsa/ |
D | pkcs1.py | 84 def _pad_for_encryption(message: bytes, target_length: int) -> bytes: 130 def _pad_for_signing(message: bytes, target_length: int) -> bytes: 164 def encrypt(message: bytes, pub_key: key.PublicKey) -> bytes: 196 def decrypt(crypto: bytes, priv_key: key.PrivateKey) -> bytes: 279 def sign_hash(hash_value: bytes, priv_key: key.PrivateKey, hash_method: str) -> bytes: 312 def sign(message: bytes, priv_key: key.PrivateKey, hash_method: str) -> bytes: 334 def verify(message: bytes, signature: bytes, pub_key: key.PublicKey) -> str: 372 def find_signature_hash(signature: bytes, pub_key: key.PublicKey) -> str: 412 def compute_hash(message: typing.Union[bytes, typing.BinaryIO], method_name: str) -> bytes: 440 def _find_method_hash(clearsig: bytes) -> str:
|
/aosp_15_r20/bootable/libbootloader/gbl/libutils/src/ |
H A D | lib.rs | 76 let mut bytes = AlignedBytes([0u8; 16]); in aligned_subslice_already_aligned() localVariable 77 let bytes = &mut bytes.0; in aligned_subslice_already_aligned() localVariable 88 let mut bytes = AlignedBytes([0u8; 16]); in aligned_subslice_unaligned() localVariable 89 let bytes = &mut bytes.0; in aligned_subslice_unaligned() localVariable 108 let mut bytes = AlignedBytes([0u8; 16]); in aligned_subslice_empty_slice() localVariable 109 let bytes = &mut bytes.0; in aligned_subslice_empty_slice() localVariable 120 let mut bytes = AlignedBytes([0u8; 7]); // 7 bytes; can't reach the next 8-alignment. in aligned_subslice_buffer_overflow() localVariable 121 let bytes = &mut bytes.0; in aligned_subslice_buffer_overflow() localVariable 129 let mut bytes = AlignedBytes([0u8; 16]); in aligned_subslice_alignment_overflow() localVariable 130 let bytes = &mut bytes.0; in aligned_subslice_alignment_overflow() localVariable
|
/aosp_15_r20/external/rust/android-crates-io/crates/bitreader/src/ |
D | tests.rs | 13 let bytes = &[ in read_buffer() localVariable 129 let bytes = &[ in try_all_sizes() localVariable 162 let bytes = &[ in skipping_and_zero_reads() localVariable 184 let bytes = &[ in errors() localVariable 214 let bytes = &[ in signed_values() localVariable 227 let bytes: Vec<u8> = (0..16).collect(); in boolean_values() localVariable 241 let bytes = &[ in read_slice() localVariable 272 let bytes = &[ in read_slice_too_much() localVariable 290 let bytes = &[ in relative_reader() localVariable 321 let bytes = &[0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF]; in test_read_u64_max() localVariable [all …]
|
/aosp_15_r20/external/tink/python/tink/ |
H A D | _keyset_handle_test.py | 35 def encrypt(self, plaintext: bytes, associated_data: bytes) -> bytes: 38 def decrypt(self, plaintext: bytes, associated_data: bytes) -> bytes: 44 def encrypt(self, plaintext: bytes, associated_data: bytes) -> bytes: 47 def decrypt(self, plaintext: bytes, associated_data: bytes) -> bytes: 53 def encrypt(self, plaintext: bytes, associated_data: bytes) -> bytes: 56 def decrypt(self, plaintext: bytes, associated_data: bytes) -> bytes:
|
/aosp_15_r20/external/cbor-java/src/test/java/co/nstant/in/cbor/encoder/ |
H A D | AbstractEncoderTest.java | 68 assertEquals((byte) 0x9B, bytes[0]); in shallEncode32bit() local 69 assertEquals((byte) 0x00, bytes[1]); in shallEncode32bit() local 70 assertEquals((byte) 0x00, bytes[2]); in shallEncode32bit() local 71 assertEquals((byte) 0x00, bytes[3]); in shallEncode32bit() local 72 assertEquals((byte) 0x01, bytes[4]); in shallEncode32bit() local 73 assertEquals((byte) 0x00, bytes[5]); in shallEncode32bit() local 74 assertEquals((byte) 0x00, bytes[6]); in shallEncode32bit() local 75 assertEquals((byte) 0x00, bytes[7]); in shallEncode32bit() local 76 assertEquals((byte) 0x00, bytes[8]); in shallEncode32bit() local
|
/aosp_15_r20/cts/tests/tests/os/src/android/os/storage/cts/ |
H A D | StorageManagerTest.java | 447 final byte[] bytes; field in StorageManagerTest.TestProxyFileDescriptorCallback 531 Os.read(appleFd.getFileDescriptor(), bytes, 0, 100); in testOpenProxyFileDescriptor() local 537 Os.read(orangeFd.getFileDescriptor(), bytes, 0, 100); in testOpenProxyFileDescriptor() local 543 Os.read(cherryFd.getFileDescriptor(), bytes, 0, 100); in testOpenProxyFileDescriptor() local 550 Os.pread(appleFd.getFileDescriptor(), bytes, 0, 100, 500); in testOpenProxyFileDescriptor() local 555 Os.pread(orangeFd.getFileDescriptor(), bytes, 0, 100, 500); in testOpenProxyFileDescriptor() local 560 Os.pread(cherryFd.getFileDescriptor(), bytes, 0, 100, 500); in testOpenProxyFileDescriptor() local 571 Os.write(appleFd.getFileDescriptor(), bytes, 0, 100); in testOpenProxyFileDescriptor() local 577 Os.write(orangeFd.getFileDescriptor(), bytes, 0, 100); in testOpenProxyFileDescriptor() local 584 Os.write(cherryFd.getFileDescriptor(), bytes, 0, 100); in testOpenProxyFileDescriptor() local [all …]
|
/aosp_15_r20/external/python/bumble/bumble/profiles/ |
D | csip.py | 54 def s1(m: bytes) -> bytes: 61 def k1(n: bytes, salt: bytes, p: bytes) -> bytes: 69 def sef(k: bytes, r: bytes) -> bytes: 80 def sih(k: bytes, r: bytes) -> bytes: 87 def generate_rsi(sirk: bytes) -> bytes: 109 set_identity_resolving_key: bytes,
|
/aosp_15_r20/packages/modules/Bluetooth/android/pandora/mmi2grpc/mmi2grpc/ |
D | hfp.py | 62 def test_started(self, test: str, pts_addr: bytes, **kwargs): 69 def TSC_delete_pairing_iut(self, pts_addr: bytes, **kwargs): 79 def TSC_iut_enable_slc(self, test: str, pts_addr: bytes, **kwargs): 110 def TSC_iut_connect(self, pts_addr: bytes, **kwargs): 138 def TSC_iut_disable_slc(self, test: str, pts_addr: bytes, **kwargs): 227 def TSC_iut_disable_audio(self, test: str, pts_addr: bytes, **kwargs): 254 def TSC_iut_enable_audio(self, test: str, pts_addr: bytes, **kwargs): 272 def TSC_iut_disable_audio_slc_down_ok(self, pts_addr: bytes, **kwargs): 402 def TSC_disable_ag_cellular_network_expect_notification(self, pts_addr: bytes, **kwargs): 591 def TSC_prepare_iut_for_vra(self, pts_addr: bytes, test: str, **kwargs): [all …]
|
/aosp_15_r20/external/python/bumble/bumble/ |
D | avrcp.py | 221 def _decode_attribute_value(value: bytes, character_set: CharacterSetId) -> str: 242 def __init__(self, callback: Callable[[Protocol.PduId, bytes], None]) -> None: argument 250 def on_pdu(self, pdu: bytes) -> None: 317 def from_bytes(cls, pdu: bytes) -> GetCapabilitiesCommand: 331 def from_bytes(cls, _: bytes) -> GetPlayStatusCommand: 344 def from_bytes(cls, pdu: bytes) -> GetElementAttributesCommand: 368 def from_bytes(cls, pdu: bytes) -> SetAbsoluteVolumeCommand: 385 def from_bytes(cls, pdu: bytes) -> RegisterNotificationCommand: 431 def from_bytes(cls, pdu_id: Protocol.PduId, pdu: bytes) -> RejectedResponse: 451 def from_bytes(cls, pdu_id: Protocol.PduId, pdu: bytes) -> NotImplementedResponse: [all …]
|
/aosp_15_r20/packages/modules/Bluetooth/system/gd/hci/acl_manager/ |
D | classic_impl_test.cc | 67 auto bytes = std::make_shared<std::vector<uint8_t>>(); in Serialize() local 74 T CreateCommandView(std::shared_ptr<std::vector<uint8_t>> bytes) { in CreateCommandView() 79 T CreateAclCommandView(std::shared_ptr<std::vector<uint8_t>> bytes) { in CreateAclCommandView() 84 T CreateConnectionManagementCommandView(std::shared_ptr<std::vector<uint8_t>> bytes) { in CreateConnectionManagementCommandView() 89 T CreateSecurityCommandView(std::shared_ptr<std::vector<uint8_t>> bytes) { in CreateSecurityCommandView() 94 T CreateEventView(std::shared_ptr<std::vector<uint8_t>> bytes) { in CreateEventView() 103 auto bytes = Serialize<hci::CommandCompleteBuilder>(std::move(builder)); in ReturnCommandComplete() local 113 auto bytes = Serialize<hci::CommandStatusBuilder>(std::move(builder)); in ReturnCommandStatus() local 147 auto bytes = std::make_shared<std::vector<uint8_t>>(); in GetPacketView() local 208 auto bytes = std::make_shared<std::vector<uint8_t>>(); in HciDownEndDequeue() local [all …]
|
/aosp_15_r20/external/perfetto/src/trace_redaction/ |
H A D | collect_frame_cookies_unittest.cc | 150 auto bytes = packet.SerializeAsString(); in TEST_F() local 163 auto bytes = packet.SerializeAsString(); in TEST_F() local 176 auto bytes = packet.SerializeAsString(); in TEST_F() local 189 auto bytes = packet.SerializeAsString(); in TEST_F() local 205 auto bytes = packet.SerializeAsString(); in TEST_F() local 239 auto bytes = packet.SerializeAsString(); in TEST_P() local 248 auto bytes = packet.SerializeAsString(); in TEST_P() local 257 auto bytes = packet.SerializeAsString(); in TEST_P() local 266 auto bytes = packet.SerializeAsString(); in TEST_P() local 275 auto bytes = packet.SerializeAsString(); in TEST_P() local [all …]
|
/aosp_15_r20/external/grpc-grpc/src/python/grpcio/grpc/ |
H A D | _simple_stubs.py | 232 request_serializer: Optional[Callable[[Any], bytes]] = None, argument 233 response_deserializer: Optional[Callable[[bytes], Any]] = None, 241 metadata: Optional[Sequence[Tuple[str, Union[str, bytes]]]] = None, argument 324 request_serializer: Optional[Callable[[Any], bytes]] = None, argument 325 response_deserializer: Optional[Callable[[bytes], Any]] = None, 333 metadata: Optional[Sequence[Tuple[str, Union[str, bytes]]]] = None, argument 415 request_serializer: Optional[Callable[[Any], bytes]] = None, argument 416 response_deserializer: Optional[Callable[[bytes], Any]] = None, 424 metadata: Optional[Sequence[Tuple[str, Union[str, bytes]]]] = None, argument 506 request_serializer: Optional[Callable[[Any], bytes]] = None, argument [all …]
|
/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
H A D | ByteBufferTest.java | 1279 assertTrue(Arrays.equals(char2bytes(value, buf.order()), bytes)); in testPutChar() local 1315 assertTrue(Arrays.equals(char2bytes(value, buf.order()), bytes)); in testPutCharint() local 1434 assertTrue(Arrays.equals(double2bytes(value, buf.order()), bytes)); in testPutDouble() local 1470 assertTrue(Arrays.equals(double2bytes(value, buf.order()), bytes)); in testPutDoubleint() local 1577 assertTrue(Arrays.equals(float2bytes(value, buf.order()), bytes)); in testPutFloat() local 1613 assertTrue(Arrays.equals(float2bytes(value, buf.order()), bytes)); in testPutFloatint() local 1719 assertTrue(Arrays.equals(int2bytes(value, buf.order()), bytes)); in testPutInt() local 1755 assertTrue(Arrays.equals(int2bytes(value, buf.order()), bytes)); in testPutIntint() local 1856 assertTrue(Arrays.equals(long2bytes(value, buf.order()), bytes)); in testPutLong() local 1892 assertTrue(Arrays.equals(long2bytes(value, buf.order()), bytes)); in testPutLongint() local [all …]
|
/aosp_15_r20/external/pigweed/pw_bluetooth_sapphire/host/common/ |
H A D | advertising_data_test.cc | 57 StaticByteBuffer bytes(0x01, 0x02, 0x03); in TEST() local 84 StaticByteBuffer bytes( in TEST() local 97 StaticByteBuffer bytes( in TEST() local 136 StaticByteBuffer bytes( in TEST() local 184 StaticByteBuffer bytes{// Complete 16-bit UUIDs in TEST() local 213 auto bytes = DynamicByteBuffer(kMaxNameLength + 2); in TEST() local 226 auto bytes = DynamicByteBuffer(kMaxNameLength + 2); in TEST() local 239 auto bytes = DynamicByteBuffer(kMaxNameLength + 3); in TEST() local 253 auto bytes = DynamicByteBuffer(kMaxNameLength + 3); in TEST() local 266 StaticByteBuffer bytes( in TEST() local [all …]
|
/aosp_15_r20/art/test/580-crc32/src/ |
H A D | Main.java | 157 private static long CRC32ByteArray(byte[] bytes, int off, int len) { in CRC32ByteArray() 165 private static long CRC32ByteArray(byte[] bytes) { in CRC32ByteArray() 171 private static long CRC32ByteAndByteArray(int value, byte[] bytes) { in CRC32ByteAndByteArray() 178 private static long CRC32ByteArrayAndByte(byte[] bytes, int value) { in CRC32ByteArrayAndByte() 185 private static boolean CRC32ByteArrayThrowsAIOOBE(byte[] bytes, int off, int len) { in CRC32ByteArrayThrowsAIOOBE() 217 private static long CRC32BytesUsingUpdateInt(byte[] bytes, int off, int len) { in CRC32BytesUsingUpdateInt() 347 private static long CRC32ByteBuffer(byte[] bytes, int off, int len) { in CRC32ByteBuffer() 414 private static long CRC32DirectByteBuffer(byte[] bytes, int off, int len) { in CRC32DirectByteBuffer() 423 private static long CRC32ByteAndDirectByteBuffer(int value, byte[] bytes) { in CRC32ByteAndDirectByteBuffer() 432 private static long CRC32DirectByteBufferAndByte(byte[] bytes, int value) { in CRC32DirectByteBufferAndByte()
|
/aosp_15_r20/external/grpc-grpc/src/python/grpcio_tests/tests_aio/unit/ |
H A D | compatibility_test.py | 235 def echo_unary_unary(request: bytes, unused_context): 248 def metadata_unary_unary(request: bytes, context: grpc.ServicerContext): 262 def abort_unary_unary(request: bytes, context: grpc.ServicerContext): 276 def set_code_unary_unary(request: bytes, context: grpc.ServicerContext): 290 def echo_unary_stream(request: bytes, unused_context): 301 def error_unary_stream(request: bytes, unused_context): 318 request_iterator: Iterable[bytes], unused_context 333 request_iterator: Iterable[bytes], unused_context 351 request_iterator: Iterable[bytes], unused_context 367 request_iterator: Iterable[bytes], unused_context
|
/aosp_15_r20/external/kotlinx.serialization/formats/protobuf/commonTest/src/kotlinx/serialization/protobuf/ |
H A D | ProtobufCollectionsTest.kt | 51 val bytes = ProtoBuf.encodeToByteArray(map) in testEncodeMapWithNullableKey() constant 64 val bytes = ProtoBuf.encodeToByteArray(map) in testEncodeMapWithNullableValue() constant 72 val bytes = ProtoBuf.encodeToByteArray(ListWithNestedList(lists)) in testNestedList() constant 85 val bytes = ProtoBuf.encodeToByteArray(ListWithNestedMap(list)) in testNestedMapInList() constant 93 val bytes = ProtoBuf.encodeToByteArray(MapWithNullableNestedLists(map)) in testNestedListsInMap() constant
|
/aosp_15_r20/external/rust/android-crates-io/crates/rustix/src/backend/linux_raw/net/ |
D | read_sockaddr.rs | 99 let bytes = &decode.sun_path[1..len - offsetof_sun_path]; in read_sockaddr() localVariable 102 let bytes = slice::from_raw_parts(bytes.as_ptr().cast::<u8>(), bytes.len()); in read_sockaddr() localVariable 108 let bytes = &decode.sun_path[..len - 1 - offsetof_sun_path]; in read_sockaddr() localVariable 111 let bytes = slice::from_raw_parts(bytes.as_ptr().cast::<u8>(), bytes.len()); in read_sockaddr() localVariable 189 let bytes = &decode.sun_path[1..len - offsetof_sun_path]; in read_sockaddr_os() localVariable 192 let bytes = slice::from_raw_parts(bytes.as_ptr().cast::<u8>(), bytes.len()); in read_sockaddr_os() localVariable 200 let bytes = &decode.sun_path[..len - 1 - offsetof_sun_path]; in read_sockaddr_os() localVariable 203 let bytes = slice::from_raw_parts(bytes.as_ptr().cast::<u8>(), bytes.len()); in read_sockaddr_os() localVariable
|
/aosp_15_r20/external/zxing/core/src/main/java/com/google/zxing/maxicode/decoder/ |
H A D | DecodedBitStreamParser.java | 87 static DecoderResult decode(byte[] bytes, int mode) throws FormatException { in decode() 124 private static int getBit(int bit, byte[] bytes) { in getBit() 129 private static int getInt(byte[] bytes, byte[] x) { in getInt() 137 private static int getCountry(byte[] bytes) { in getCountry() 141 private static int getServiceClass(byte[] bytes) { in getServiceClass() 145 private static int getPostCode2Length(byte[] bytes) { in getPostCode2Length() 149 private static int getPostCode2(byte[] bytes) { in getPostCode2() 153 private static String getPostCode3(byte[] bytes) { in getPostCode3() 161 private static String getMessage(byte[] bytes, int start, int len) { in getMessage()
|
/aosp_15_r20/external/rust/android-crates-io/crates/ciborium/tests/ |
D | recursion.rs | 16 let bytes = [0x9f; 128 * 1024]; in array() localVariable 25 let bytes = [0xbf; 128 * 1024]; in map() localVariable 33 fn bytes() { in bytes() function 34 let bytes = [0x5f; 128 * 1024]; in bytes() localVariable 43 let bytes = [0x7f; 128 * 1024]; in text() localVariable 52 let bytes = [0x9f; 128 * 1024]; in array_limit() localVariable 74 let bytes = [0xbf; 128 * 1024]; in map_limit() localVariable
|