Home
last modified time | relevance | path

Searched defs:bytes (Results 101 – 125 of 9640) sorted by relevance

12345678910>>...386

/aosp_15_r20/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DASN1Integer.java18 private final byte[] bytes; field in ASN1Integer
121 public ASN1Integer(byte[] bytes) in ASN1Integer()
126 ASN1Integer(byte[] bytes, boolean clone) in ASN1Integer()
231 static int intValue(byte[] bytes, int start, int signExt) in intValue()
244 static long longValue(byte[] bytes, int start, int signExt) in longValue()
263 static boolean isMalformed(byte[] bytes) in isMalformed()
278 static int signBytesToSkip(byte[] bytes) in signBytesToSkip()
/aosp_15_r20/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/
H A DASN1Integer.java20 private final byte[] bytes; field in ASN1Integer
123 public ASN1Integer(byte[] bytes) in ASN1Integer()
128 ASN1Integer(byte[] bytes, boolean clone) in ASN1Integer()
233 static int intValue(byte[] bytes, int start, int signExt) in intValue()
246 static long longValue(byte[] bytes, int start, int signExt) in longValue()
265 static boolean isMalformed(byte[] bytes) in isMalformed()
280 static int signBytesToSkip(byte[] bytes) in signBytesToSkip()
/aosp_15_r20/external/pigweed/pw_hdlc/py/pw_hdlc/
H A Ddecode.py46 raw_encoded: bytes,
47 raw_decoded: bytes,
108 def _check_frame(frame_data: bytes) -> FrameStatus:
127 def process(self, data: bytes) -> Iterable[Frame]:
142 def process_valid_frames(self, data: bytes) -> Iterable[Frame]:
211 non_frame_data_handler: Callable[[bytes], Any],
268 def process(self, data: bytes) -> Iterable[Frame]:
/aosp_15_r20/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
H A DTestUtils.java40 public static byte[] bytes(int... bytes) { in bytes() method in TestUtils
48 public static byte[] bytes(String bytes) { in bytes() argument
71 public static ByteBuffer buffer(String bytes) { in buffer()
75 public static Iterable<ByteBuffer> buffers(String... bytes) { in buffers()
/aosp_15_r20/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dle_impl_test.cc120 auto bytes = std::make_shared<std::vector<uint8_t>>(); in Serialize() local
142 T CreateLeEventView(std::shared_ptr<std::vector<uint8_t>> bytes) { in CreateLeEventView()
151 auto bytes = Serialize<hci::CommandCompleteBuilder>(std::move(builder)); in ReturnCommandComplete() local
160 auto bytes = Serialize<hci::CommandStatusBuilder>(std::move(builder)); in ReturnCommandStatus() local
474 auto bytes = std::make_shared<std::vector<uint8_t>>(); in HciDownEndDequeue() local
556 auto bytes = Serialize<LeEnhancedConnectionCompleteBuilder>(std::move(command)); in SetUp() local
1116 auto bytes = Serialize<LeConnectionCompleteBuilder>(std::move(command)); in TEST_F() local
1128 auto bytes = Serialize<LeConnectionCompleteBuilder>(std::move(command)); in TEST_F() local
1140 auto bytes = Serialize<LeEnhancedConnectionCompleteBuilder>(std::move(command)); in TEST_F() local
1152 auto bytes = Serialize<LeEnhancedConnectionCompleteBuilder>(std::move(command)); in TEST_F() local
[all …]
/aosp_15_r20/external/zstd/tests/cli-tests/
H A Drun.py91 def diff(a: bytes, b: bytes) -> str:
105 def pop_line(data: bytes) -> typing.Tuple[typing.Optional[bytes], bytes]:
125 def glob_line_matches(actual: bytes, expect: bytes) -> bool:
132 def glob_diff(actual: bytes, expect: bytes) -> bytes:
332 def _check_output_exact(self, out_name: str, expected: bytes, exact_name: str) -> None:
350 def _check_output_glob(self, out_name: str, expected: bytes) -> None:
/aosp_15_r20/packages/apps/Nfc/testutils/
Dparse_log.py200 def parse_file(data: bytes) -> list[PollingLoopEntry | PartialApduEntry]:
264 def find_apdu_transactions(data: bytes, ts: int) -> list[PartialApduEntry]:
292 def parse_apdu_command(data: bytes):
319 def parse_apdu_response(data: bytes):
347 def add_polling_data(data: bytes, ts: int) -> list[PollingLoopEntry]:
385 def calculate_timestamp(data: bytes) -> int:
408 def inflate(data: bytes) -> bytes:
/aosp_15_r20/external/libese/ready_se/google/keymint/KM300/Applet/AndroidSEProviderLib/src/com/android/javacard/seprovider/
H A DKMRsa2048NoDigestSignature.java44 public void init(Key key, byte b, byte[] bytes, short i, short i1) throws CryptoException { in init()
49 public void setInitialDigest(byte[] bytes, short i, short i1, byte[] bytes1, short i2, short i3) in setInitialDigest()
78 public void update(byte[] bytes, short i, short i1) throws CryptoException { in update()
83 public short sign(byte[] bytes, short i, short i1, byte[] bytes1, short i2) in sign()
91 public short signPreComputedHash(byte[] bytes, short i, short i1, byte[] bytes1, short i2) in signPreComputedHash()
97 public boolean verify(byte[] bytes, short i, short i1, byte[] bytes1, short i2, short i3) in verify()
105 byte[] bytes, short i, short i1, byte[] bytes1, short i2, short i3) throws CryptoException { in verifyPreComputedHash()
/aosp_15_r20/external/libese/ready_se/google/keymint/KM200/Applet/AndroidSEProviderLib/src/com/android/javacard/seprovider/
H A DKMRsa2048NoDigestSignature.java44 public void init(Key key, byte b, byte[] bytes, short i, short i1) throws CryptoException { in init()
49 public void setInitialDigest(byte[] bytes, short i, short i1, byte[] bytes1, short i2, short i3) in setInitialDigest()
78 public void update(byte[] bytes, short i, short i1) throws CryptoException { in update()
83 public short sign(byte[] bytes, short i, short i1, byte[] bytes1, short i2) in sign()
91 public short signPreComputedHash(byte[] bytes, short i, short i1, byte[] bytes1, short i2) in signPreComputedHash()
97 public boolean verify(byte[] bytes, short i, short i1, byte[] bytes1, short i2, short i3) in verify()
105 byte[] bytes, short i, short i1, byte[] bytes1, short i2, short i3) throws CryptoException { in verifyPreComputedHash()
/aosp_15_r20/packages/modules/Uwb/service/java/com/android/server/uwb/util/
DDataTypeConversionUtil.java99 public static short byteArrayToI16(byte[] bytes) { in byteArrayToI16()
109 public static int byteArrayToI32(byte[] bytes) { in byteArrayToI32()
119 public static int arbitraryByteArrayToI32(byte[] bytes) { in arbitraryByteArrayToI32()
148 public static long macAddressByteArrayToLong(byte[] bytes) { in macAddressByteArrayToLong()
169 public static byte[] convertShortMacAddressBytesToExtended(byte[] bytes) { in convertShortMacAddressBytesToExtended()
181 private static boolean isExtendedMSBZeroedOut(byte[] bytes) { in isExtendedMSBZeroedOut()
/aosp_15_r20/external/python/watchdog/src/watchdog/observers/
Dinotify_c.py144 …def __init__(self, path: bytes, *, recursive: bool = False, event_mask: int | None = None) -> None:
209 def add_watch(self, path: bytes) -> None:
218 def remove_watch(self, path: bytes) -> None:
248 def _recursive_simulate(src_path: bytes) -> list[InotifyEvent]:
344 def _add_dir_watch(self, path: bytes, mask: int, *, recursive: bool) -> None:
366 def _add_watch(self, path: bytes, mask: int) -> int:
397 def _parse_event_buffer(event_buffer: bytes) -> Generator[tuple[int, int, int, bytes]]:
436 def __init__(self, wd: int, mask: int, cookie: int, name: bytes, src_path: bytes) -> None:
/aosp_15_r20/external/rust/android-crates-io/crates/etherparse/src/net/
Dip_auth_header_slice.rs178 let mut bytes = ArrayVec::<u8, {IpAuthHeader::MAX_LEN + 2}>::new(); localVariable
189 let bytes = header.to_bytes(); localVariable
210 let mut bytes = header.to_bytes(); localVariable
224 let bytes = header.to_bytes(); localVariable
235 let bytes = header.to_bytes(); localVariable
248 let bytes = header.to_bytes(); localVariable
/aosp_15_r20/external/rust/beto-rust/nearby/presence/np_cpp_ffi/tests/
Dbyte_buffer_tests.cc32 std::string bytes; in TEST_F() local
86 std::string bytes; in TEST_F() local
94 std::string bytes; in TEST_F() local
103 std::string bytes; in TEST_F() local
110 std::string bytes; in TEST_F() local
117 std::string bytes; in TEST_F() local
126 std::string bytes; in TEST_F() local
/aosp_15_r20/external/leakcanary2/shark-graph/src/test/java/shark/
H A DHprofWriterTest.kt27 val bytes = listOf(record).asHprofBytes() in <lambda>() constant
53 val bytes = listOf(className, loadClassRecord, classDump).asHprofBytes() in <lambda>() constant
79 val bytes = listOf(className, field1Name, field2Name, loadClassRecord, classDump) in <lambda>() constant
96 val bytes = records.asHprofBytes() in <lambda>() constant
/aosp_15_r20/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
H A DReadableBuffers.java50 public static ReadableBuffer wrap(byte[] bytes) { in wrap()
61 public static ReadableBuffer wrap(byte[] bytes, int offset, int length) { in wrap()
69 public static ReadableBuffer wrap(ByteBuffer bytes) { in wrap()
134 final byte[] bytes; field in ReadableBuffers.ByteArrayWrapper
137 ByteArrayWrapper(byte[] bytes) { in ByteArrayWrapper()
141 ByteArrayWrapper(byte[] bytes, int offset, int length) { in ByteArrayWrapper()
236 final ByteBuffer bytes; field in ReadableBuffers.ByteReadableBufferWrapper
238 ByteReadableBufferWrapper(ByteBuffer bytes) { in ByteReadableBufferWrapper()
/aosp_15_r20/external/perfetto/src/trace_processor/importers/proto/
H A Dtranslation_table_module.cc67 protozero::ConstBytes bytes) { in ParseChromeHistogramRules()
79 protozero::ConstBytes bytes) { in ParseChromeUserEventRules()
91 protozero::ConstBytes bytes) { in ParseChromePerformanceMarkRules()
110 void TranslationTableModule::ParseSliceNameRules(protozero::ConstBytes bytes) { in ParseSliceNameRules()
122 protozero::ConstBytes bytes) { in ParseProcessTrackNameRules()
134 protozero::ConstBytes bytes) { in ParseChromeStudyRules()
/aosp_15_r20/bionic/libc/malloc_hooks/
H A Dmalloc_hooks.cpp81 static void* default_malloc_hook(size_t bytes, const void*) { in default_malloc_hook()
85 static void* default_realloc_hook(void* pointer, size_t bytes, const void*) { in default_realloc_hook()
93 static void* default_memalign_hook(size_t alignment, size_t bytes, const void*) { in default_memalign_hook()
142 void* hooks_memalign(size_t alignment, size_t bytes) { in hooks_memalign()
149 void* hooks_realloc(void* pointer, size_t bytes) { in hooks_realloc()
156 void* hooks_calloc(size_t nmemb, size_t bytes) { in hooks_calloc()
231 void* hooks_pvalloc(size_t bytes) { in hooks_pvalloc()
/aosp_15_r20/external/python/bumble/bumble/profiles/
Dmcp.py170 def create_from_bytes(cls: Type[Self], data: bytes) -> Self:
185 def from_bytes(cls: Type[Self], data: bytes) -> Self:
288 self, connection: Optional[device.Connection], data: bytes
427 def _on_media_control_point(self, data: bytes) -> None:
430 def _on_media_state(self, data: bytes) -> None:
433 def _on_track_changed(self, data: bytes) -> None:
437 def _on_track_title(self, data: bytes) -> None:
440 def _on_track_duration(self, data: bytes) -> None:
443 def _on_track_position(self, data: bytes) -> None:
/aosp_15_r20/external/python/rsa/rsa/
Dkey.py62 def _load_pkcs1_pem(cls, keyfile: bytes) -> 'AbstractKey':
74 def _load_pkcs1_der(cls, keyfile: bytes) -> 'AbstractKey':
100 def load_pkcs1(cls, keyfile: bytes, format: str = 'PEM') -> 'AbstractKey':
258 def _load_pkcs1_der(cls, keyfile: bytes) -> 'PublicKey':
302 def _load_pkcs1_pem(cls, keyfile: bytes) -> 'PublicKey':
327 def load_pkcs1_openssl_pem(cls, keyfile: bytes) -> 'PublicKey':
346 def load_pkcs1_openssl_der(cls, keyfile: bytes) -> 'PublicKey':
468 def _load_pkcs1_der(cls, keyfile: bytes) -> 'PrivateKey':
563 def _load_pkcs1_pem(cls, keyfile: bytes) -> 'PrivateKey':
/aosp_15_r20/external/cronet/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DInternal.java100 public static String stringDefaultValue(String bytes) { in stringDefaultValue()
111 public static ByteString bytesDefaultValue(String bytes) { in bytesDefaultValue()
119 public static byte[] byteArrayDefaultValue(String bytes) { in byteArrayDefaultValue()
128 public static ByteBuffer byteBufferDefaultValue(String bytes) { in byteBufferDefaultValue()
193 public static String toStringUtf8(byte[] bytes) { in toStringUtf8()
283 public static int hashCode(byte[] bytes) { in hashCode()
292 static int hashCode(byte[] bytes, int offset, int length) { in hashCode()
302 static int partialHash(int h, byte[] bytes, int offset, int length) { in partialHash()
344 public static int hashCodeByteBuffer(ByteBuffer bytes) { in hashCodeByteBuffer()
/aosp_15_r20/external/protobuf/java/core/src/main/java/com/google/protobuf/
H A DInternal.java100 public static String stringDefaultValue(String bytes) { in stringDefaultValue()
111 public static ByteString bytesDefaultValue(String bytes) { in bytesDefaultValue()
119 public static byte[] byteArrayDefaultValue(String bytes) { in byteArrayDefaultValue()
128 public static ByteBuffer byteBufferDefaultValue(String bytes) { in byteBufferDefaultValue()
193 public static String toStringUtf8(byte[] bytes) { in toStringUtf8()
283 public static int hashCode(byte[] bytes) { in hashCode()
292 static int hashCode(byte[] bytes, int offset, int length) { in hashCode()
302 static int partialHash(int h, byte[] bytes, int offset, int length) { in partialHash()
344 public static int hashCodeByteBuffer(ByteBuffer bytes) { in hashCodeByteBuffer()
/aosp_15_r20/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/datasource/src/test/java/com/google/android/exoplayer2/upstream/crypto/
H A DAesFlushingCipherTest.java103 int bytes = (1 + random.nextInt(50)) * 16; in aligned() local
116 int bytes = (1 + random.nextInt(50)) * 16; in aligned() local
137 int bytes = 1 + random.nextInt(4095); in unAligned() local
149 int bytes = 1 + random.nextInt(4095); in unAligned() local
169 int bytes = 1 + random.nextInt(4095); in midJoin() local
188 int bytes = 1 + random.nextInt(4095); in midJoin() local
/aosp_15_r20/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/datasource/src/test/java/com/google/android/exoplayer2/upstream/crypto/
H A DAesFlushingCipherTest.java103 int bytes = (1 + random.nextInt(50)) * 16; in aligned() local
116 int bytes = (1 + random.nextInt(50)) * 16; in aligned() local
137 int bytes = 1 + random.nextInt(4095); in unAligned() local
149 int bytes = 1 + random.nextInt(4095); in unAligned() local
169 int bytes = 1 + random.nextInt(4095); in midJoin() local
188 int bytes = 1 + random.nextInt(4095); in midJoin() local
/aosp_15_r20/external/zucchini/
H A Drel32_utils_unittest.cc80 std::vector<uint8_t> bytes = { in TEST() local
120 std::vector<uint8_t> bytes(32, 0xFF); in TEST() local
155 std::vector<uint8_t> bytes = { in TEST() local
199 std::vector<uint8_t> bytes = { in TEST() local
250 std::vector<uint8_t> bytes = { in TEST() local
311 std::vector<uint8_t> bytes = { in TEST() local
422 std::vector<uint8_t> bytes = { in TEST() local
461 std::vector<uint8_t> bytes = { in TEST() local
/aosp_15_r20/external/coreboot/src/drivers/spi/tpm/
H A Dtpm.c68 static enum cb_err start_transaction(int read_write, size_t bytes, unsigned int addr) in start_transaction()
196 size_t bytes, const uint8_t *buffer, in trace_dump()
252 static void write_bytes(const void *buffer, size_t bytes) in write_bytes()
261 static void read_bytes(void *buffer, size_t bytes) in read_bytes()
270 static enum cb_err tpm2_write_reg(unsigned int reg_number, const void *buffer, size_t bytes) in tpm2_write_reg()
286 static enum cb_err tpm2_read_reg(unsigned int reg_number, void *buffer, size_t bytes) in tpm2_read_reg()
717 enum cb_err tis_vendor_write(unsigned int addr, const void *buffer, size_t bytes) in tis_vendor_write()
722 enum cb_err tis_vendor_read(unsigned int addr, void *buffer, size_t bytes) in tis_vendor_read()

12345678910>>...386