Home
last modified time | relevance | path

Searched defs:bytes (Results 151 – 175 of 9640) sorted by relevance

12345678910>>...386

/aosp_15_r20/external/python/bumble/bumble/
Dsmp.py220 def from_bytes(pdu: bytes) -> "SMP_Command":
291 def __init__(self, pdu: Optional[bytes] = None, **kwargs: Any) -> None:
298 def init_from_bytes(self, pdu: bytes, offset: int) -> None:
577 self, ecc_key: Optional[crypto.EccKey] = None, r: Optional[bytes] = None
593 def __init__(self, tk: Optional[bytes] = None) -> None:
843 def get_long_term_key(self, rand: bytes, ediv: int) -> Optional[bytes]:
879 self, expected: bytes, received: bytes, error: int
1105 def start_encryption(self, key: bytes) -> None:
1118 def derive_ltk(cls, link_key: bytes, ct2: bool) -> bytes:
1135 def derive_link_key(cls, ltk: bytes, ct2: bool) -> bytes:
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/pip/_vendor/idna/
Dcore.py49 def valid_label_length(label: Union[bytes, str]) -> bool:
55 def valid_string_length(label: Union[bytes, str], trailing_dot: bool) -> bool:
224 def check_label(label: Union[str, bytes, bytearray]) -> None: argument
279 def ulabel(label: Union[str, bytes, bytearray]) -> str: argument
340 def encode(s: Union[str, bytes, bytearray], strict: bool = False, uts46: bool = False, std3_rules: … argument
373 def decode(s: Union[str, bytes, bytearray], strict: bool = False, uts46: bool = False, std3_rules: … argument
/aosp_15_r20/external/kotlinx.serialization/formats/protobuf/jvmTest/src/kotlinx/serialization/protobuf/conformance/
H A DProto3RepeatedTest.kt63 val bytes = ProtoBuf.encodeToByteArray(message) in default() constant
98 val bytes = ProtoBuf.encodeToByteArray(message) in signedAndFixed() constant
124 val bytes = ProtoBuf.encodeToByteArray(message) in unsigned() constant
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pip/_vendor/idna/
Dcore.py49 def valid_label_length(label: Union[bytes, str]) -> bool:
55 def valid_string_length(label: Union[bytes, str], trailing_dot: bool) -> bool:
224 def check_label(label: Union[str, bytes, bytearray]) -> None: argument
279 def ulabel(label: Union[str, bytes, bytearray]) -> str: argument
340 def encode(s: Union[str, bytes, bytearray], strict: bool = False, uts46: bool = False, std3_rules: … argument
373 def decode(s: Union[str, bytes, bytearray], strict: bool = False, uts46: bool = False, std3_rules: … argument
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/pip/_vendor/idna/
Dcore.py49 def valid_label_length(label: Union[bytes, str]) -> bool:
55 def valid_string_length(label: Union[bytes, str], trailing_dot: bool) -> bool:
224 def check_label(label: Union[str, bytes, bytearray]) -> None: argument
279 def ulabel(label: Union[str, bytes, bytearray]) -> str: argument
340 def encode(s: Union[str, bytes, bytearray], strict: bool = False, uts46: bool = False, std3_rules: … argument
373 def decode(s: Union[str, bytes, bytearray], strict: bool = False, uts46: bool = False, std3_rules: … argument
/aosp_15_r20/frameworks/base/packages/SettingsLib/Graph/src/com/android/settingslib/graph/
H A DPreferenceGetterCodecs.kt65 val bytes = parcel.marshall() in toErrorsByteArray() constant
80 val bytes = parcel.marshall() in toPreferencesByteArray() constant
115 val bytes = parcel.readInt() in toPreferences() constant
/aosp_15_r20/external/kotlinx.serialization/formats/cbor/jvmTest/src/kotlinx/serialization/cbor/
H A DCborCompatibilityTest.kt38 val bytes = CBORObject.FromObject(obj).EncodeToBytes() in compare() constant
44 val bytes = CBORObject.FromObject(doubleWrapper).EncodeToBytes() in compareDouble() constant
50 val bytes = CBORObject.FromObject(floatWrapper).EncodeToBytes() in compareFloat() constant
/aosp_15_r20/libcore/ojluni/src/test/java/io/Serializable/records/
H A DStreamRefTest.java82 var bytes = serialize(a, b, c, d); in basicRef() local
103 var bytes = serialize(d, c, b, a); in reverseBasicRef() local
123 var bytes = serializeToBytes(a, b); in basicRefWithInvalidA() local
146 var bytes = serializeToBytes(b, a); in reverseBasicRefWithInvalidA() local
216 static void assertExpectedIntValue(int expectedValue, byte[] bytes, int offset) in assertExpectedIntValue()
223 static void updateIntValue(int expectedValue, int newValue, byte[] bytes, int offset) in updateIntValue()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/pip/_vendor/idna/
Dcore.py49 def valid_label_length(label: Union[bytes, str]) -> bool:
55 def valid_string_length(label: Union[bytes, str], trailing_dot: bool) -> bool:
224 def check_label(label: Union[str, bytes, bytearray]) -> None: argument
279 def ulabel(label: Union[str, bytes, bytearray]) -> str: argument
340 def encode(s: Union[str, bytes, bytearray], strict: bool = False, uts46: bool = False, std3_rules: … argument
373 def decode(s: Union[str, bytes, bytearray], strict: bool = False, uts46: bool = False, std3_rules: … argument
/aosp_15_r20/external/rust/android-crates-io/crates/etherparse/src/link/
Dlink_slice.rs65 let bytes = eth.to_bytes(); localVariable
89 let bytes = eth.to_bytes(); localVariable
99 let bytes = linux_sll.to_bytes(); localVariable
139 let mut bytes = Vec::with_capacity(Ethernet2Header::LEN + p.len()); localVariable
161 let mut bytes = Vec::with_capacity(LinuxSllHeader::LEN + p.len()); localVariable
/aosp_15_r20/external/freetype/tests/scripts/
H A Ddownload-test-fonts.py93 def digest_data(data: bytes):
112 def install_file(content: bytes, dest_path: str):
127 def download_file(url: str, expected_digest: Optional[bytes] = None):
154 expected_digest: Optional[bytes] = None,
186 get_content: Callable[[], bytes], argument
/aosp_15_r20/external/cronet/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DByteString.java110 byte[] copyFrom(byte[] bytes, int offset, int size); in copyFrom()
116 public byte[] copyFrom(byte[] bytes, int offset, int size) { in copyFrom()
126 public byte[] copyFrom(byte[] bytes, int offset, int size) { in copyFrom()
420 public static ByteString copyFrom(byte[] bytes, int offset, int size) { in copyFrom()
431 public static ByteString copyFrom(byte[] bytes) { in copyFrom()
449 static ByteString wrap(byte[] bytes) { in wrap()
458 static ByteString wrap(byte[] bytes, int offset, int length) { in wrap()
471 public static ByteString copyFrom(ByteBuffer bytes, int size) { in copyFrom()
484 public static ByteString copyFrom(ByteBuffer bytes) { in copyFrom()
1384 protected final byte[] bytes; field in LiteralByteString
[all …]
/aosp_15_r20/external/protobuf/java/core/src/main/java/com/google/protobuf/
H A DByteString.java110 byte[] copyFrom(byte[] bytes, int offset, int size); in copyFrom()
116 public byte[] copyFrom(byte[] bytes, int offset, int size) { in copyFrom()
126 public byte[] copyFrom(byte[] bytes, int offset, int size) { in copyFrom()
420 public static ByteString copyFrom(byte[] bytes, int offset, int size) { in copyFrom()
431 public static ByteString copyFrom(byte[] bytes) { in copyFrom()
449 static ByteString wrap(byte[] bytes) { in wrap()
458 static ByteString wrap(byte[] bytes, int offset, int length) { in wrap()
471 public static ByteString copyFrom(ByteBuffer bytes, int size) { in copyFrom()
484 public static ByteString copyFrom(ByteBuffer bytes) { in copyFrom()
1384 protected final byte[] bytes; field in LiteralByteString
[all …]
/aosp_15_r20/external/python/bumble/bumble/transport/
Dcommon.py69 def on_packet(self, packet: bytes) -> None: ...
125 def feed_data(self, data: bytes) -> None:
246 def on_packet(self, packet: bytes) -> None:
304 def data_received(self, data: bytes) -> None:
313 def on_packet(self, packet: bytes) -> None:
394 def on_packet(self, packet: bytes) -> None:
469 def on_packet(self, packet: bytes) -> None:
479 def on_packet(self, packet: bytes) -> None:
/aosp_15_r20/external/zstd/lib/compress/
H A Dzstd_cwksp.h264 size_t const bytes = (alignBytes - ((size_t)ptr & (alignBytesMask))) & alignBytesMask; in ZSTD_cwksp_bytes_to_align_ptr() local
286 ZSTD_cwksp_reserve_internal_buffer_space(ZSTD_cwksp* ws, size_t const bytes) in ZSTD_cwksp_reserve_internal_buffer_space()
356 ZSTD_cwksp_reserve_internal(ZSTD_cwksp* ws, size_t bytes, ZSTD_cwksp_alloc_phase_e phase) in ZSTD_cwksp_reserve_internal()
389 MEM_STATIC BYTE* ZSTD_cwksp_reserve_buffer(ZSTD_cwksp* ws, size_t bytes) in ZSTD_cwksp_reserve_buffer()
403 MEM_STATIC void* ZSTD_cwksp_reserve_aligned_init_once(ZSTD_cwksp* ws, size_t bytes) in ZSTD_cwksp_reserve_aligned_init_once()
427 MEM_STATIC void* ZSTD_cwksp_reserve_aligned(ZSTD_cwksp* ws, size_t bytes) in ZSTD_cwksp_reserve_aligned()
440 MEM_STATIC void* ZSTD_cwksp_reserve_table(ZSTD_cwksp* ws, size_t bytes) in ZSTD_cwksp_reserve_table()
485 MEM_STATIC void* ZSTD_cwksp_reserve_object(ZSTD_cwksp* ws, size_t bytes) in ZSTD_cwksp_reserve_object()
/aosp_15_r20/external/pigweed/pw_snapshot/py/pw_snapshot/
H A Dprocessor.py60 serialized_snapshot: bytes,
65 thread_processing_callback: Callable[[bytes], str] | None = None,
138 serialized_snapshot: bytes,
141 user_processing_callback: Callable[[bytes], str] | None = None,
/aosp_15_r20/external/boringssl/src/crypto/x509/
H A Dx509name.c199 int type, const unsigned char *bytes, in X509_NAME_add_entry_by_OBJ()
212 const unsigned char *bytes, ossl_ssize_t len, in X509_NAME_add_entry_by_NID()
225 const unsigned char *bytes, ossl_ssize_t len, in X509_NAME_add_entry_by_txt()
302 const unsigned char *bytes, in X509_NAME_ENTRY_create_by_txt()
320 const unsigned char *bytes, in X509_NAME_ENTRY_create_by_NID()
332 const unsigned char *bytes, in X509_NAME_ENTRY_create_by_OBJ()
373 const unsigned char *bytes, ossl_ssize_t len) { in X509_NAME_ENTRY_set_data()
/aosp_15_r20/frameworks/base/core/java/android/os/incremental/
H A DV4Signature.java67 public static HashingInfo fromByteArray(@NonNull byte[] bytes) throws IOException { in fromByteArray()
101 public static SigningInfo fromByteArray(byte[] bytes) throws IOException { in fromByteArray()
161 public static SigningInfos fromByteArray(byte[] bytes) throws IOException { in fromByteArray()
203 public static V4Signature readFrom(@NonNull byte[] bytes) throws IOException { in readFrom()
278 private static int bytesSize(byte[] bytes) { in bytesSize()
334 private static void writeBytes(OutputStream stream, byte[] bytes) throws IOException { in writeBytes()
343 private static void writeBytes(ByteBuffer buffer, byte[] bytes) { in writeBytes()
/aosp_15_r20/external/cronet/third_party/boringssl/src/crypto/x509/
H A Dx509name.c199 int type, const unsigned char *bytes, in X509_NAME_add_entry_by_OBJ()
212 const unsigned char *bytes, ossl_ssize_t len, in X509_NAME_add_entry_by_NID()
225 const unsigned char *bytes, ossl_ssize_t len, in X509_NAME_add_entry_by_txt()
302 const unsigned char *bytes, in X509_NAME_ENTRY_create_by_txt()
320 const unsigned char *bytes, in X509_NAME_ENTRY_create_by_NID()
332 const unsigned char *bytes, in X509_NAME_ENTRY_create_by_OBJ()
373 const unsigned char *bytes, ossl_ssize_t len) { in X509_NAME_ENTRY_set_data()
/aosp_15_r20/external/pigweed/pw_hdlc/py/pw_hdlc/
H A Drpc.py67 writer: Callable[[bytes], Any],
77 def slow_write(data: bytes) -> None:
85 def write_hdlc(data: bytes):
93 def default_channels(write: Callable[[bytes], Any]) -> list[pw_rpc.Channel]:
103 data: bytes,
122 output: Callable[[bytes], Any] = write_to_file,
/aosp_15_r20/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/internal/
H A DBundleCallSender.java50 abstract void prepareCall(long callId, int blockId, int totalBytes, byte[] bytes) in prepareCall()
60 long callId, int blockId, int totalBytes, byte[] bytes, int retries) throws RemoteException { in prepareCallAndRetry()
105 abstract byte[] call(long callId, int blockId, byte[] bytes) throws RemoteException; in call()
107 private byte[] callAndRetry(long callId, int blockId, byte[] bytes, int retries) in callAndRetry()
243 private boolean bytesAreIncomplete(byte[] bytes) { in bytesAreIncomplete()
247 private byte[] makeParcelCall(long callIdentifier, byte[] bytes) in makeParcelCall()
/aosp_15_r20/external/guava/android/guava/src/com/google/common/hash/
H A DAbstractByteHasher.java67 private Hasher update(int bytes) { in update()
69 update(scratch.array(), 0, bytes); in update() local
85 public Hasher putBytes(byte[] bytes) { in putBytes()
93 public Hasher putBytes(byte[] bytes, int off, int len) { in putBytes()
101 public Hasher putBytes(ByteBuffer bytes) { in putBytes()
/aosp_15_r20/external/guava/guava/src/com/google/common/hash/
H A DAbstractByteHasher.java67 private Hasher update(int bytes) { in update()
69 update(scratch.array(), 0, bytes); in update() local
85 public Hasher putBytes(byte[] bytes) { in putBytes()
93 public Hasher putBytes(byte[] bytes, int off, int len) { in putBytes()
101 public Hasher putBytes(ByteBuffer bytes) { in putBytes()
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_binascii.py115 … def _assertRegexTemplate(assert_regex: str, data: bytes, non_strict_mode_expected_result: bytes):
123 def assertExcessData(data, non_strict_mode_expected_result: bytes):
126 def assertNonBase64Data(data, non_strict_mode_expected_result: bytes):
129 def assertLeadingPadding(data, non_strict_mode_expected_result: bytes):
132 def assertDiscontinuousPadding(data, non_strict_mode_expected_result: bytes):
/aosp_15_r20/external/grpc-grpc-java/xds/third_party/zero-allocation-hashing/main/java/io/grpc/xds/
H A DXxHash64.java104 long hashBytes(byte[] bytes) { in hashBytes()
109 long hashBytes(byte[] bytes, int offset, int len) { in hashBytes()
225 public long bytes() { in bytes() method in XxHash64.PlainByteSupplier
243 private final int bytes; field in XxHash64.AsciiStringByteSupplier
252 public long bytes() { in bytes() method in XxHash64.AsciiStringByteSupplier
283 abstract long bytes(); in bytes() method in XxHash64.ByteSupplier

12345678910>>...386