/external/cbor-java/src/test/java/co/nstant/in/cbor/encoder/ |
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
|
/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:
|
D | pem.py | 36 def _pem_lines(contents: bytes, pem_start: bytes, pem_end: bytes) -> typing.Iterator[bytes]: 108 def save_pem(contents: bytes, pem_marker: FlexiText) -> bytes:
|
/external/skia/fuzz/ |
D | FuzzMain.cpp | 144 sk_sp<SkData> bytes(SkData::MakeFromFileName(path.c_str())); in fuzz_file() local 344 static void fuzz_json(sk_sp<SkData> bytes){ in fuzz_json() 352 static void fuzz_skottie_json(sk_sp<SkData> bytes){ in fuzz_skottie_json() 359 static void fuzz_svg_dom(sk_sp<SkData> bytes){ in fuzz_svg_dom() 369 static uint8_t calculate_option(SkData* bytes) { in calculate_option() 385 static void fuzz_api(sk_sp<SkData> bytes, SkString name) { in fuzz_api() 408 static void fuzz_animated_img(sk_sp<SkData> bytes) { in fuzz_animated_img() 418 static void fuzz_image_decode(sk_sp<SkData> bytes) { in fuzz_image_decode() 428 static void fuzz_image_decode_incremental(sk_sp<SkData> bytes) { in fuzz_image_decode_incremental() 438 static void fuzz_android_codec(sk_sp<SkData> bytes) { in fuzz_android_codec() [all …]
|
/external/pigweed/pw_tokenizer/py/pw_tokenizer/ |
D | detokenize.py | 68 encoded_message: bytes, 200 def detokenize(self, encoded_message: bytes) -> DetokenizedString: 248 def detokenize(self, data: bytes) -> DetokenizedString: 266 def __init__(self, prefix: Union[str, bytes], chars: Union[str, bytes]): argument 325 transform: Callable[[bytes], bytes]) -> Iterator[bytes]: 332 detokenizer: _Detokenizer, prefix: bytes, 335 def decode_and_detokenize(match: Match[bytes]) -> bytes: 362 def _base64_message_regex(prefix: bytes) -> Pattern[bytes]: 376 prefix: Union[str, bytes] = BASE64_PREFIX, argument 383 def transform(data: bytes) -> bytes: [all …]
|
D | decode.py | 87 def decode(self, encoded_arg: bytes) -> 'DecodedArg': 113 def _decode_signed_integer(self, encoded: bytes) -> 'DecodedArg': 136 def _decode_unsigned_integer(self, encoded: bytes) -> 'DecodedArg': 146 def _decode_float(self, encoded: bytes) -> 'DecodedArg': 154 def _decode_string(self, encoded: bytes) -> 'DecodedArg': 181 def _decode_char(self, encoded: bytes) -> 'DecodedArg': 224 raw_data: bytes, 324 def decode(self, encoded: bytes) -> Tuple[Sequence[DecodedArg], bytes]: 355 encoded_args: bytes, 381 encoded_arguments: bytes,
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | CodedInputStreamReader.java | 291 final int bytes = input.readUInt32(); in readDoubleList() local 317 final int bytes = input.readUInt32(); in readDoubleList() local 349 final int bytes = input.readUInt32(); in readFloatList() local 375 final int bytes = input.readUInt32(); in readFloatList() local 407 final int bytes = input.readUInt32(); in readUInt64List() local 433 final int bytes = input.readUInt32(); in readUInt64List() local 465 final int bytes = input.readUInt32(); in readInt64List() local 491 final int bytes = input.readUInt32(); in readInt64List() local 523 final int bytes = input.readUInt32(); in readInt32List() local 549 final int bytes = input.readUInt32(); in readInt32List() local [all …]
|
D | BinaryReader.java | 318 ByteString bytes = in readBytes() local 368 final int bytes = readVarint32(); in readDoubleList() local 397 final int bytes = readVarint32(); in readDoubleList() local 432 final int bytes = readVarint32(); in readFloatList() local 461 final int bytes = readVarint32(); in readFloatList() local 496 final int bytes = readVarint32(); in readUInt64List() local 525 final int bytes = readVarint32(); in readUInt64List() local 560 final int bytes = readVarint32(); in readInt64List() local 589 final int bytes = readVarint32(); in readInt64List() local 624 final int bytes = readVarint32(); in readInt32List() local [all …]
|
/external/skqp/fuzz/ |
D | FuzzMain.cpp | 126 sk_sp<SkData> bytes(SkData::MakeFromFileName(path.c_str())); in fuzz_file() local 292 static void fuzz_json(sk_sp<SkData> bytes){ in fuzz_json() 300 static void fuzz_skottie_json(sk_sp<SkData> bytes){ in fuzz_skottie_json() 311 static uint8_t calculate_option(SkData* bytes) { in calculate_option() 327 static void fuzz_api(sk_sp<SkData> bytes, SkString name) { in fuzz_api() 350 static void fuzz_animated_img(sk_sp<SkData> bytes) { in fuzz_animated_img() 360 static void fuzz_image_decode(sk_sp<SkData> bytes) { in fuzz_image_decode() 370 static void fuzz_image_decode_incremental(sk_sp<SkData> bytes) { in fuzz_image_decode_incremental() 380 static void fuzz_android_codec(sk_sp<SkData> bytes) { in fuzz_android_codec() 395 static void fuzz_img(sk_sp<SkData> bytes, uint8_t scale, uint8_t mode) { in fuzz_img() [all …]
|
/external/sl4a/Common/src/org/apache/commons/codec/binary/ |
D | StringUtils.java | 183 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()
|
/external/pigweed/pw_hdlc/py/pw_hdlc/ |
D | rpc.py | 37 def channel_output(writer: Callable[[bytes], Any], 44 def slow_write(data: bytes) -> None: 52 def write_hdlc(data: bytes): 68 def read_and_process_data(read: Callable[[], bytes], argument 113 def write_to_file(data: bytes, output: BinaryIO = sys.stdout.buffer): 118 def default_channels(write: Callable[[bytes], Any]) -> List[pw_rpc.Channel]: 125 read: Callable[[], bytes], argument 129 output: Callable[[bytes], Any] = write_to_file,
|
/external/webrtc/rtc_base/ |
D | bit_buffer_unittest.cc | 25 const uint8_t bytes[64] = {0}; in TEST() local 47 const uint8_t bytes[] = {0x0A, 0xBC, 0xDE, 0xF1, 0x23, 0x45, 0x67, 0x89}; in TEST() local 63 const uint8_t bytes[] = {0x0A, 0xBC, 0xDE, 0xF1, 0x23, in TEST() local 98 const uint8_t bytes[] = {0x1F, 0xDB, 0x97, 0x53, 0x0E, 0xCA, 0x86, 0x42}; in TEST() local 120 const uint8_t bytes[] = {0x4D, 0x32}; in TEST() local 146 uint8_t bytes[4] = {0}; in TEST() local 185 const uint8_t bytes[2] = {0xf3, 0xa0}; in TEST() local 201 uint8_t bytes[2] = {}; in TEST() local 218 uint8_t bytes[2] = {}; in TEST() local 258 const uint8_t bytes[2] = {}; in TEST() local [all …]
|
/external/pigweed/pw_allocator/ |
D | block_test.cc | 28 alignas(Block*) byte bytes[kN]; in TEST() local 47 alignas(Block*) byte bytes[kN]; in TEST() local 58 alignas(Block*) byte bytes[kN]; in TEST() local 68 alignas(Block*) byte bytes[kN]; in TEST() local 95 alignas(Block*) byte bytes[kN]; in TEST() local 133 alignas(Block*) byte bytes[kN]; in TEST() local 154 alignas(Block*) byte bytes[kN]; in TEST() local 169 alignas(Block*) byte bytes[kN]; in TEST() local 181 alignas(Block*) byte bytes[kN]; in TEST() local 195 alignas(Block*) byte bytes[kN]; in TEST() local [all …]
|
/external/llvm-project/lldb/unittests/Utility/ |
D | StreamTest.cpp | 376 std::size_t bytes; in TEST_F() local 390 std::size_t bytes; in TEST_F() local 510 auto bytes = s.PutULEB128(0x74ULL); in TEST_F() local 517 auto bytes = s.PutULEB128(0x1985ULL); in TEST_F() local 524 auto bytes = s.PutULEB128(0x5023ULL); in TEST_F() local 531 auto bytes = s.PutULEB128(0xA48032ULL); in TEST_F() local 538 auto bytes = s.PutULEB128(0x12345678ULL); in TEST_F() local 545 auto bytes = s.PutULEB128(0xABFE3FAFDFULL); in TEST_F() local 552 auto bytes = s.PutULEB128(0xDABFE3FAFDFULL); in TEST_F() local 559 auto bytes = s.PutULEB128(0x7CDABFE3FAFDFULL); in TEST_F() local [all …]
|
/external/rust/crates/bytes/tests/ |
D | test_bytes.rs | 181 let mut bytes = BytesMut::with_capacity(1024); in split_off_uninitialized() localVariable 197 let mut bytes = Bytes::from(&s[..]); in split_off_to_loop() localVariable 206 let mut bytes = BytesMut::from(&s[..]); in split_off_to_loop() localVariable 215 let mut bytes = Bytes::from(&s[..]); in split_off_to_loop() localVariable 224 let mut bytes = BytesMut::from(&s[..]); in split_off_to_loop() localVariable 286 let mut bytes = BytesMut::with_capacity(1024); in split_to_uninitialized() localVariable 293 let mut bytes = BytesMut::with_capacity(100); in split_off_to_at_gt_len() localVariable 412 let mut bytes = BytesMut::from(&b"hello world"[..]); in fns_defined_for_bytes_mut() localVariable 425 let mut bytes = BytesMut::from(LONG); in reserve_convert() localVariable 430 let mut bytes = BytesMut::from(LONG); in reserve_convert() localVariable [all …]
|
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
D | TestUtils.java | 40 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()
|
/external/llvm-project/llvm/unittests/Support/ |
D | ELFAttributeParserTest.cpp | 32 static void testParseError(ArrayRef<uint8_t> bytes, const char *msg) { in testParseError() 39 static const uint8_t bytes[] = {1}; in TEST() local 44 static const uint8_t bytes[] = {'A', 3, 0, 0, 0}; in TEST() local 49 static const uint8_t bytes[] = {'A', 7, 0, 0, 0, 'x', 'y', 0}; in TEST() local 54 static const uint8_t bytes[] = {'A', 14, 0, 0, 0, 't', 'e', 's', in TEST() local 60 static const uint8_t bytes[] = {'A', 14, 0, 0, 0, 't', 'e', 's', in TEST() local
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowEventLogTest.java | 120 int bytes = EventLog.writeEvent(TEST_TAG, TEST_STRING1); in testWriteEvent_string() local 132 int bytes = EventLog.writeEvent(TEST_TAG, (String) null); in testWriteEvent_nullString() local 144 int bytes = EventLog.writeEvent(TEST_TAG, TEST_INT); in testWriteEvent_int() local 157 int bytes = EventLog.writeEvent(TEST_TAG, TEST_STRING1, TEST_STRING2); in testWriteEvent_list() local 172 int bytes = EventLog.writeEvent(TEST_TAG, (Object[]) null); in testWriteEvent_nullList() local 185 int bytes = EventLog.writeEvent(TEST_TAG, TEST_FLOAT); in testWriteEvent_float() local 197 int bytes = EventLog.writeEvent(TEST_TAG, TEST_LONG); in testWriteEvent_long() local
|
/external/guava/guava/src/com/google/common/hash/ |
D | MessageDigestHashFunction.java | 40 private final int bytes; field in MessageDigestHashFunction 51 MessageDigestHashFunction(String algorithmName, int bytes, String toString) { in MessageDigestHashFunction() 102 private final int bytes; field in MessageDigestHashFunction.SerializedForm 105 private SerializedForm(String algorithmName, int bytes, String toString) { in SerializedForm() 125 private final int bytes; field in MessageDigestHashFunction.MessageDigestHasher 128 private MessageDigestHasher(MessageDigest digest, int bytes) { in MessageDigestHasher() 146 protected void update(ByteBuffer bytes) { in update()
|
/external/guava/android/guava/src/com/google/common/hash/ |
D | MessageDigestHashFunction.java | 40 private final int bytes; field in MessageDigestHashFunction 51 MessageDigestHashFunction(String algorithmName, int bytes, String toString) { in MessageDigestHashFunction() 102 private final int bytes; field in MessageDigestHashFunction.SerializedForm 105 private SerializedForm(String algorithmName, int bytes, String toString) { in SerializedForm() 125 private final int bytes; field in MessageDigestHashFunction.MessageDigestHasher 128 private MessageDigestHasher(MessageDigest digest, int bytes) { in MessageDigestHasher() 146 protected void update(ByteBuffer bytes) { in update()
|
/external/protobuf/csharp/src/Google.Protobuf/ |
D | ByteString.cs | 55 private readonly byte[] bytes; field in Google.Protobuf.ByteString 66 internal static ByteString FromBytes(byte[] bytes) in FromBytes() 75 internal static ByteString AttachBytes(byte[] bytes) in AttachBytes() 84 private ByteString(byte[] bytes) in ByteString() 143 public static ByteString FromBase64(string bytes) in FromBase64() 206 public static ByteString CopyFrom(params byte[] bytes) in CopyFrom() 214 public static ByteString CopyFrom(byte[] bytes, int offset, int count) in CopyFrom() 227 public static ByteString CopyFrom(ReadOnlySpan<byte> bytes) in CopyFrom()
|
/external/rust/crates/tokio/tests/ |
D | io_read_until.rs | 37 let bytes = read.read_until(b'#', &mut chunk).await.unwrap(); in read_until_not_all_ready() localVariable 42 let bytes = read.read_until(b'#', &mut chunk).await.unwrap(); in read_until_not_all_ready() localVariable 47 let bytes = read.read_until(b'#', &mut chunk).await.unwrap(); in read_until_not_all_ready() localVariable 52 let bytes = read.read_until(b'#', &mut chunk).await.unwrap(); in read_until_not_all_ready() localVariable
|
/external/llvm-project/lldb/include/lldb/Utility/ |
D | UUID.h | 45 static UUID fromData(const void *bytes, uint32_t num_bytes) { in fromData() 53 static UUID fromData(llvm::ArrayRef<uint8_t> bytes) { return UUID(bytes); } in fromData() 57 static UUID fromOptionalData(const void *bytes, uint32_t num_bytes) { in fromOptionalData() 66 static UUID fromOptionalData(llvm::ArrayRef<uint8_t> bytes) { in fromOptionalData() 106 UUID(llvm::ArrayRef<uint8_t> bytes) : m_bytes(bytes.begin(), bytes.end()) {} in UUID()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/upstream/crypto/ |
D | AesFlushingCipherTest.java | 102 int bytes = (1 + random.nextInt(50)) * 16; in aligned() local 115 int bytes = (1 + random.nextInt(50)) * 16; in aligned() local 136 int bytes = 1 + random.nextInt(4095); in unAligned() local 148 int bytes = 1 + random.nextInt(4095); in unAligned() local 168 int bytes = 1 + random.nextInt(4095); in midJoin() local 187 int bytes = 1 + random.nextInt(4095); in midJoin() local
|
/external/webrtc/modules/audio_processing/test/ |
D | protobuf_utils.cc | 22 std::unique_ptr<uint8_t[]>* bytes) { in ReadMessageBytesFromString() 41 size_t ReadMessageBytesFromFile(FILE* file, std::unique_ptr<uint8_t[]>* bytes) { in ReadMessageBytesFromFile() 59 std::unique_ptr<uint8_t[]> bytes; in ReadMessageFromFile() local 70 std::unique_ptr<uint8_t[]> bytes; in ReadMessageFromString() local
|