Home
last modified time | relevance | path

Searched defs:bytes (Results 51 – 75 of 9384) sorted by relevance

12345678910>>...376

/aosp_15_r20/external/python/bumble/bumble/
Dhid.py287 def on_ctrl_pdu(self, pdu: bytes) -> None:
290 def on_intr_pdu(self, pdu: bytes) -> None:
294 def send_pdu_on_ctrl(self, msg: bytes) -> None:
298 def send_pdu_on_intr(self, msg: bytes) -> None:
302 def send_data(self, data: bytes) -> None:
346 def on_ctrl_pdu(self, pdu: bytes) -> None:
388 def send_control_data(self, report_type: int, data: bytes):
394 def handle_get_report(self, pdu: bytes):
432 def handle_set_report(self, pdu: bytes):
452 self, cb: Callable[[int, int, int, bytes], Device.GetSetStatus] argument
[all …]
Davc.py110 def from_bytes(data: bytes) -> Frame:
196 operands: bytes,
219 def parse_operands(operands: bytes) -> Tuple:
228 operands: bytes,
257 def parse_operands(operands: bytes) -> Tuple:
266 operands: bytes,
284 def parse_operands(operands: bytes) -> Tuple:
293 def __init__(self, company_id: int, vendor_dependent_data: bytes):
307 vendor_dependent_data: bytes,
338 vendor_dependent_data: bytes,
[all …]
Dhfp.py99 def feed(self, data: Union[bytes, str]) -> None:
378 def parse_from(cls: Type[Self], parameters: List[bytes]) -> Self:
789 def _read_at(self, data: bytes):
1240 def _read_at(self, data: bytes):
1372 def _on_brsf(self, hf_features: bytes) -> None:
1391 def _on_bcs(self, codec: bytes) -> None:
1396 def _on_bvra(self, vrec: bytes) -> None:
1400 def _on_chld(self, operation_code: bytes) -> None:
1470 mode: bytes,
1471 keypad: Optional[bytes] = None,
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/etherparse/src/transport/
Dtcp_header.rs1358 let bytes = { localVariable
1359 let mut bytes = header.to_bytes(); localVariable
1373 let bytes = { localVariable
1374 let mut bytes = header.to_bytes(); localVariable
1386 let bytes = header.to_bytes(); localVariable
1413 let bytes = { localVariable
1414 let mut bytes = header.to_bytes(); localVariable
1428 let bytes = { localVariable
1429 let mut bytes = header.to_bytes(); localVariable
1441 let bytes = header.to_bytes(); localVariable
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/pip/_vendor/chardet/
Dchardistribution.py88 def feed(self, char: Union[bytes, bytearray], char_len: int) -> None:
124 def get_order(self, _: Union[bytes, bytearray]) -> int:
139 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
157 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
175 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
190 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
208 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
228 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
253 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pip/_vendor/chardet/
Dchardistribution.py88 def feed(self, char: Union[bytes, bytearray], char_len: int) -> None:
124 def get_order(self, _: Union[bytes, bytearray]) -> int:
139 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
157 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
175 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
190 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
208 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
228 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
253 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/pip/_vendor/chardet/
Dchardistribution.py88 def feed(self, char: Union[bytes, bytearray], char_len: int) -> None:
124 def get_order(self, _: Union[bytes, bytearray]) -> int:
139 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
157 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
175 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
190 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
208 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
228 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
253 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/pip/_vendor/chardet/
Dchardistribution.py88 def feed(self, char: Union[bytes, bytearray], char_len: int) -> None:
124 def get_order(self, _: Union[bytes, bytearray]) -> int:
139 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
157 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
175 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
190 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
208 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
228 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
253 def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
/aosp_15_r20/external/tink/python/tink/jwt/
H A D_jwt_format.py32 def base64_encode(data: bytes) -> bytes:
49 def base64_decode(encoded_data: bytes) -> bytes:
77 def decode_header(encoded_header: bytes) -> str:
92 def decode_payload(encoded_payload: bytes) -> str:
100 def encode_signature(signature: bytes) -> bytes:
105 def decode_signature(encoded_signature: bytes) -> bytes:
207 def create_signed_compact(unsigned_compact: bytes, signature: bytes) -> str:
/aosp_15_r20/external/icu/icu4j/main/core/src/main/java/com/ibm/icu/util/
H A DBytesTrie.java131 private byte[] bytes; field in BytesTrie.State
454 assert(node<kMinValueLead); in getNextBytes()
459 node=bytes_[pos++]&0xff; in getNextBytes() argument
764 private static int readValue(byte[] bytes, int pos, int leadByte) { in readValue()
792 private static int skipValue(byte[] bytes, int pos) { in skipValue()
803 public static int jumpByDelta(byte[] bytes, int pos) { in jumpByDelta()
822 private static int skipDelta(byte[] bytes, int pos) { in skipDelta()
985 private static long findUniqueValue(byte[] bytes, int pos, long uniqueValue) { in findUniqueValue()
1020 private static void getNextBranchBytes(byte[] bytes, int pos, int length, Appendable out) { in getNextBranchBytes()
/aosp_15_r20/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DBytesTrie.java124 private byte[] bytes; field in BytesTrie.State
431 assert(node<kMinValueLead); in getNextBytes()
436 node=bytes_[pos++]&0xff; in getNextBytes() argument
729 private static int readValue(byte[] bytes, int pos, int leadByte) { in readValue()
757 private static int skipValue(byte[] bytes, int pos) { in skipValue()
768 public static int jumpByDelta(byte[] bytes, int pos) { in jumpByDelta()
787 private static int skipDelta(byte[] bytes, int pos) { in skipDelta()
950 private static long findUniqueValue(byte[] bytes, int pos, long uniqueValue) { in findUniqueValue()
985 private static void getNextBranchBytes(byte[] bytes, int pos, int length, Appendable out) { in getNextBranchBytes()
/aosp_15_r20/external/executorch/exir/_serialize/
H A D_program.py47 def _json_to_program(program_json: bytes) -> Program:
67 flatbuffer_data: bytes, magic_regex: str, header_data: bytes
153 def from_bytes(data: bytes) -> "_ExtendedHeader":
214 def _pad_to(data: bytes, length: int) -> bytes:
233 def _get_extended_header(program_data: bytes) -> Optional[_ExtendedHeader]:
509 def _restore_segments(program: Program, segment_data: bytes) -> Program:
579 def deserialize_pte_binary(program_data: bytes) -> Program:
/aosp_15_r20/external/tink/testing/cross_language/util/
H A Dtesting_servers.py344 def public_keyset(lang: str, private_keyset: bytes) -> bytes:
349 def keyset_to_json(lang: str, keyset: bytes) -> str:
357 def keyset_read_encrypted(lang: str, encrypted_keyset: bytes,
358 master_keyset: bytes,
359 associated_data: Optional[bytes],
366 def keyset_write_encrypted(lang: str, keyset: bytes, master_keyset: bytes,
367 associated_data: Optional[bytes],
378 def jwk_set_from_keyset(lang: str, keyset: bytes) -> str:
382 def remote_primitive(lang: str, keyset: bytes, primitive_class: Type[P]) -> P:
/aosp_15_r20/external/pigweed/pw_tokenizer/py/pw_tokenizer/
H A Ddecode.py359 def decode(self, encoded_arg: bytes) -> DecodedArg:
464 encoded: bytes,
498 def _decode_unsigned_integer(self, encoded: bytes) -> DecodedArg:
508 def _decode_float(self, encoded: bytes) -> DecodedArg:
516 def _decode_string(self, encoded: bytes) -> DecodedArg:
547 def _decode_char(self, encoded: bytes) -> DecodedArg:
591 raw_data: bytes,
801 def decode(self, encoded: bytes) -> tuple[Sequence[DecodedArg], bytes]:
832 self, encoded_args: bytes, show_errors: bool = False
859 format_string: str, encoded_arguments: bytes, show_errors: bool = False
/aosp_15_r20/dalvik/dx/src/com/android/dx/cf/direct/
H A DStdAttributeFactory.java227 ByteArray bytes = cf.getBytes(); in bootstrapMethods() local
252 ByteArray bytes = cf.getBytes(); in code() local
356 ByteArray bytes = cf.getBytes(); in constantValue() local
390 ByteArray bytes = cf.getBytes(); in enclosingMethod() local
419 ByteArray bytes = cf.getBytes(); in exceptions() local
447 ByteArray bytes = cf.getBytes(); in innerClasses() local
504 ByteArray bytes = cf.getBytes(); in lineNumberTable() local
545 ByteArray bytes = cf.getBytes(); in localVariableTable() local
568 ByteArray bytes = cf.getBytes(); in localVariableTypeTable() local
593 private LocalVariableList parseLocalVariables(ByteArray bytes, in parseLocalVariables()
[all …]
/aosp_15_r20/external/cronet/third_party/re2/src/python/
H A D_re2.cc33 static inline absl::string_view FromBytes(const py::buffer_info& bytes) { in FromBytes()
46 auto bytes = buffer.request(); in CharLenToBytes() local
60 auto bytes = buffer.request(); in BytesToCharLen() local
74 auto bytes = buffer.request(); in RE2InitShim() local
119 auto bytes = buffer.request(); in RE2MatchShim() local
145 auto bytes = buffer.request(); in RE2QuoteMetaShim() local
163 auto bytes = buffer.request(); in Add() local
175 auto bytes = buffer.request(); in Match() local
197 auto bytes = buffer.request(); in Add() local
226 auto bytes = buffer.request(); in Match() local
/aosp_15_r20/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/
H A DByteString.cs58 private readonly ReadOnlyMemory<byte> bytes; field in Google.Protobuf.ByteString
63 internal static ByteString AttachBytes(ReadOnlyMemory<byte> bytes) in AttachBytes()
73 internal static ByteString AttachBytes(byte[] bytes) in AttachBytes()
82 private ByteString(ReadOnlyMemory<byte> bytes) in ByteString()
160 public static ByteString FromBase64(string bytes) in FromBase64()
212 public static ByteString CopyFrom(params byte[] bytes) in CopyFrom()
220 public static ByteString CopyFrom(byte[] bytes, int offset, int count) in CopyFrom()
232 public static ByteString CopyFrom(ReadOnlySpan<byte> bytes) in CopyFrom()
/aosp_15_r20/external/protobuf/csharp/src/Google.Protobuf/
H A DByteString.cs58 private readonly ReadOnlyMemory<byte> bytes; field in Google.Protobuf.ByteString
63 internal static ByteString AttachBytes(ReadOnlyMemory<byte> bytes) in AttachBytes()
73 internal static ByteString AttachBytes(byte[] bytes) in AttachBytes()
82 private ByteString(ReadOnlyMemory<byte> bytes) in ByteString()
160 public static ByteString FromBase64(string bytes) in FromBase64()
212 public static ByteString CopyFrom(params byte[] bytes) in CopyFrom()
220 public static ByteString CopyFrom(byte[] bytes, int offset, int count) in CopyFrom()
232 public static ByteString CopyFrom(ReadOnlySpan<byte> bytes) in CopyFrom()
/aosp_15_r20/external/protobuf/java/core/src/main/java/com/google/protobuf/
H A DUtf8.java147 static boolean isValidUtf8(byte[] bytes) { in isValidUtf8()
159 static boolean isValidUtf8(byte[] bytes, int index, int limit) { in isValidUtf8()
176 static int partialIsValidUtf8(int state, byte[] bytes, int index, int limit) { in partialIsValidUtf8()
194 private static int incompleteStateFor(byte[] bytes, int index, int limit) { in incompleteStateFor()
339 static String decodeUtf8(byte[] bytes, int index, int size) in decodeUtf8()
390 final boolean isValidUtf8(byte[] bytes, int index, int limit) { in isValidUtf8()
407 abstract int partialIsValidUtf8(int state, byte[] bytes, int index, int limit); in partialIsValidUtf8()
617 abstract String decodeUtf8(byte[] bytes, int index, int size) in decodeUtf8()
863 int partialIsValidUtf8(int state, byte[] bytes, int index, int limit) { in partialIsValidUtf8()
957 String decodeUtf8(byte[] bytes, int index, int size) throws InvalidProtocolBufferException { in decodeUtf8()
[all …]
/aosp_15_r20/external/cronet/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DUtf8.java147 static boolean isValidUtf8(byte[] bytes) { in isValidUtf8()
159 static boolean isValidUtf8(byte[] bytes, int index, int limit) { in isValidUtf8()
176 static int partialIsValidUtf8(int state, byte[] bytes, int index, int limit) { in partialIsValidUtf8()
194 private static int incompleteStateFor(byte[] bytes, int index, int limit) { in incompleteStateFor()
339 static String decodeUtf8(byte[] bytes, int index, int size) in decodeUtf8()
390 final boolean isValidUtf8(byte[] bytes, int index, int limit) { in isValidUtf8()
407 abstract int partialIsValidUtf8(int state, byte[] bytes, int index, int limit); in partialIsValidUtf8()
617 abstract String decodeUtf8(byte[] bytes, int index, int size) in decodeUtf8()
863 int partialIsValidUtf8(int state, byte[] bytes, int index, int limit) { in partialIsValidUtf8()
957 String decodeUtf8(byte[] bytes, int index, int size) throws InvalidProtocolBufferException { in decodeUtf8()
[all …]
/aosp_15_r20/external/sl4a/Common/src/org/apache/commons/codec/binary/
H A DStringUtils.java183 public static String newString(byte[] bytes, String charsetName) { in newString()
204 public static String newStringIso8859_1(byte[] bytes) { in newStringIso8859_1()
218 public static String newStringUsAscii(byte[] bytes) { in newStringUsAscii()
232 public static String newStringUtf16(byte[] bytes) { in newStringUtf16()
246 public static String newStringUtf16Be(byte[] bytes) { in newStringUtf16Be()
260 public static String newStringUtf16Le(byte[] bytes) { in newStringUtf16Le()
274 public static String newStringUtf8(byte[] bytes) { in newStringUtf8()
/aosp_15_r20/external/python/bumble/bumble/profiles/
Dhap.py347 self, connection: Optional[Connection], value: bytes
356 self, connection: Optional[Connection], value: bytes
474 self, connection: Optional[Connection], value: bytes
525 self, connection: Optional[Connection], value: bytes
545 self, connection: Optional[Connection], value: bytes
583 self, connection: Optional[Connection], __value__: bytes
588 self, connection: Optional[Connection], __value__: bytes
593 self, connection: Optional[Connection], value: bytes
604 self, connection: Optional[Connection], __value__: bytes
615 self, connection: Optional[Connection], __value__: bytes
[all …]
Dbass.py55 def decode_subgroups(data: bytes) -> List[SubgroupInfo]:
97 def from_bytes(cls, data: bytes) -> ControlPointOperation:
120 def __init__(self, op_code: OpCode, parameters: bytes = b"") -> None:
140 def from_parameters(cls, parameters: bytes) -> AddSourceOperation:
186 def from_parameters(cls, parameters: bytes) -> ModifySourceOperation:
216 def from_parameters(cls, parameters: bytes) -> SetBroadcastCodeOperation:
227 broadcast_code: bytes,
242 def from_parameters(cls, parameters: bytes) -> RemoveSourceOperation:
279 def from_bytes(cls, data: bytes) -> Optional[BroadcastReceiveState]:
350 self, connection: device.Connection, value: bytes
/aosp_15_r20/external/rust/android-crates-io/crates/etherparse/src/net/
Dipv6_raw_ext_header_slice.rs134 let bytes = header.to_bytes(); localVariable
146 let bytes = header.to_bytes(); localVariable
172 let mut bytes = Vec::with_capacity(header.header_len() + 2); localVariable
184 let bytes = header.to_bytes(); localVariable
208 let bytes = header.to_bytes(); localVariable
219 let bytes = header.to_bytes(); localVariable
229 let bytes = header.to_bytes(); localVariable
/aosp_15_r20/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/
H A DMonitorUtils.kt62 val bytes = reader.readBytes(traceType, tag) ?: error("Missing trace $traceType") in <lambda>() constant
87 val bytes = readBytes(reader, debugFile) in withWMTracing() constant
114 val bytes = readBytes(reader, debugFile) in withSFTracing() constant
134 val bytes = readBytes(reader, debugFile) in withTransactionsTracing() constant

12345678910>>...376