/external/rust/crates/der-parser/tests/ |
D | primitive.rs | 87 let bytes = hex!("1d 01 00"); in test_unknown_tag() localVariable 112 let bytes = hex!("80 01 00"); in test_unknown_context_specific() localVariable 127 let bytes = hex!("9f 22 01 00"); in test_unknown_long_tag() localVariable 146 let bytes = hex!("9f a2 22 01 00"); in test_unknown_longer_tag() localVariable 165 let bytes = hex!("9f a2 a2"); in test_incomplete_tag() localVariable 172 let bytes = hex!("9f a2 a2 a2 a2 a2 22 01 00"); in test_overflow_tag() localVariable 179 let bytes = hex!("30"); in test_incomplete_length() localVariable 184 let bytes = hex!("02"); in test_incomplete_length() localVariable 187 let bytes = hex!("02 05"); in test_incomplete_length() localVariable 189 let bytes = hex!("02 85"); in test_incomplete_length() localVariable [all …]
|
D | der_parser.rs | 33 let bytes = hex!("02 03 01 00 01"); in test_der_int() localVariable 39 let bytes = hex!("04 03 41 41 41"); in test_der_int() localVariable 45 let bytes = hex!("02 0b 40 41 02 03 04 05 06 07 08 09 0a"); in test_der_int() localVariable 58 let bytes = &[0x03, 0x04, 0x06, 0x6e, 0x5d, 0xc0]; in test_der_bitstring_primitive() localVariable 67 let bytes = &[0x03, 0x04, 0x06, 0x6e, 0x5d, 0xe0]; in test_der_bitstring_primitive() localVariable 75 let bytes = &[0x03, 0x81, 0x04, 0x06, 0x6e, 0x5d, 0xc0]; in test_der_bitstring_primitive() localVariable 84 let bytes = &hex!("23 81 0c 03 03 00 0a 3b 03 05 04 5f 29 1c d0"); in test_der_bitstring_constructed() localVariable 93 let bytes = &hex!("23 80 03 03 00 0a 3b 03 05 04 5f 29 1c d0 00 00"); in test_der_indefinite_length() localVariable 103 let bytes = [0x04, 0x05, 0x41, 0x41, 0x41, 0x41, 0x41]; in test_der_octetstring_primitive() localVariable 118 let bytes = [ in test_der_oid() localVariable [all …]
|
D | ber_parser.rs | 72 let bytes = [ in test_ber_set_of() localVariable 92 let bytes = [ in test_ber_set_of_v() localVariable 137 let bytes = [0x02, 0x03, 0x01, 0x00, 0x01]; in test_ber_int() localVariable 263 let bytes = &[0x03, 0x07, 0x04, 0x0a, 0x3b, 0x5f, 0x29, 0x1c, 0xd0]; in test_ber_bitstring_primitive() localVariable 272 let bytes = &[0x03, 0x04, 0x06, 0x6e, 0x5d, 0xe0]; in test_ber_bitstring_primitive() localVariable 281 let bytes = &[0x03, 0x81, 0x04, 0x06, 0x6e, 0x5d, 0xc0]; in test_ber_bitstring_primitive() localVariable 291 let bytes = &[ in test_ber_bitstring_constructed() localVariable 304 let bytes = [0x04, 0x05, 0x41, 0x41, 0x41, 0x41, 0x41]; in test_ber_octetstring_primitive() localVariable 319 let bytes = [ in test_ber_oid() localVariable 448 let bytes = [ in test_ber_utf8string() localVariable [all …]
|
/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/skia/fuzz/ |
D | FuzzMain.cpp | 147 sk_sp<SkData> bytes(SkData::MakeFromFileName(path.c_str())); in fuzz_file() local 351 static void fuzz_json(sk_sp<SkData> bytes){ in fuzz_json() 359 static void fuzz_skottie_json(sk_sp<SkData> bytes){ in fuzz_skottie_json() 368 static void fuzz_svg_dom(sk_sp<SkData> bytes){ in fuzz_svg_dom() 379 static uint8_t calculate_option(SkData* bytes) { in calculate_option() 395 static void fuzz_api(sk_sp<SkData> bytes, SkString name) { in fuzz_api() 418 static void fuzz_animated_img(sk_sp<SkData> bytes) { in fuzz_animated_img() 428 static void fuzz_image_decode(sk_sp<SkData> bytes) { in fuzz_image_decode() 438 static void fuzz_image_decode_incremental(sk_sp<SkData> bytes) { in fuzz_image_decode_incremental() 448 static void fuzz_android_codec(sk_sp<SkData> bytes) { in fuzz_android_codec() [all …]
|
/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/rust/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
|
/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/pigweed/pw_tokenizer/py/pw_tokenizer/ |
D | detokenize.py | 71 encoded_message: bytes, 190 def detokenize(self, encoded_message: bytes) -> DetokenizedString: 202 prefix: Union[str, bytes] = BASE64_PREFIX, argument 220 data: Union[str, bytes], argument 235 prefix: Union[str, bytes] = BASE64_PREFIX, argument 242 def transform(data: bytes) -> bytes: 258 self, prefix: bytes, 261 def decode_and_detokenize(match: Match[bytes]) -> bytes: 339 def __init__(self, prefix: Union[str, bytes], chars: Union[str, bytes]): argument 398 transform: Callable[[bytes], bytes]) -> Iterator[bytes]: [all …]
|
D | decode.py | 88 def decode(self, encoded_arg: bytes) -> 'DecodedArg': 114 def _decode_signed_integer(self, encoded: bytes) -> 'DecodedArg': 137 def _decode_unsigned_integer(self, encoded: bytes) -> 'DecodedArg': 147 def _decode_float(self, encoded: bytes) -> 'DecodedArg': 155 def _decode_string(self, encoded: bytes) -> 'DecodedArg': 182 def _decode_char(self, encoded: bytes) -> 'DecodedArg': 225 raw_data: bytes, 352 def decode(self, encoded: bytes) -> Tuple[Sequence[DecodedArg], bytes]: 383 encoded_args: bytes, 409 encoded_arguments: bytes,
|
/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_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 156 alignas(Block*) byte bytes[kN]; in TEST() local 171 alignas(Block*) byte bytes[kN]; in TEST() local 183 alignas(Block*) byte bytes[kN]; in TEST() local 197 alignas(Block*) byte bytes[kN]; in TEST() local [all …]
|
/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_software_update/py/pw_software_update/ |
D | keys.py | 82 def import_ecdsa_public_key(pem: bytes) -> KeyMapping: 104 def create_ecdsa_signature(data: bytes, key: bytes) -> Signature: 123 def verify_ecdsa_signature(sig: bytes, data: bytes, key: Key) -> bool:
|
/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 294 let mut bytes = BytesMut::with_capacity(100); in split_off_to_at_gt_len() localVariable 413 let mut bytes = BytesMut::from(&b"hello world"[..]); in fns_defined_for_bytes_mut() localVariable 426 let mut bytes = BytesMut::from(LONG); in reserve_convert() localVariable 431 let mut bytes = BytesMut::from(LONG); in reserve_convert() localVariable [all …]
|
/external/rust/crates/xml-rs/src/ |
D | util.rs | 38 let mut bytes = source.bytes(); in next_char_from() localVariable 67 let mut bytes: &[u8] = "correct".as_bytes(); // correct ASCII in test_next_char_from() localVariable 70 let mut bytes: &[u8] = "правильно".as_bytes(); // correct BMP in test_next_char_from() localVariable 73 let mut bytes: &[u8] = "".as_bytes(); // correct non-BMP in test_next_char_from() localVariable 76 let mut bytes: &[u8] = b""; // empty in test_next_char_from() localVariable 79 let mut bytes: &[u8] = b"\xf0\x9f\x98"; // incomplete code point in test_next_char_from() localVariable 85 let mut bytes: &[u8] = b"\xff\x9f\x98\x32"; // invalid code point in test_next_char_from() localVariable
|
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
D | TestUtils.java | 40 public static byte[] bytes(int... bytes) { in bytes() argument 48 public static byte[] bytes(String bytes) { in bytes() method in TestUtils 71 public static ByteBuffer buffer(String bytes) { in buffer() 75 public static Iterable<ByteBuffer> buffers(String... bytes) { in buffers()
|
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowEventLogTest.java | 131 int bytes = EventLog.writeEvent(TEST_TAG, TEST_STRING1); in testWriteEvent_string() local 143 int bytes = EventLog.writeEvent(TEST_TAG, (String) null); in testWriteEvent_nullString() local 155 int bytes = EventLog.writeEvent(TEST_TAG, TEST_INT); in testWriteEvent_int() local 168 int bytes = EventLog.writeEvent(TEST_TAG, TEST_STRING1, TEST_STRING2); in testWriteEvent_list() local 183 int bytes = EventLog.writeEvent(TEST_TAG, (Object[]) null); in testWriteEvent_nullList() local 196 int bytes = EventLog.writeEvent(TEST_TAG, TEST_FLOAT); in testWriteEvent_float() local 208 int bytes = EventLog.writeEvent(TEST_TAG, TEST_LONG); in testWriteEvent_long() 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/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/guava/android/guava/src/com/google/common/hash/ |
D | MessageDigestHashFunction.java | 41 private final int bytes; field in MessageDigestHashFunction 52 MessageDigestHashFunction(String algorithmName, int bytes, String toString) { in MessageDigestHashFunction() 103 private final int bytes; field in MessageDigestHashFunction.SerializedForm 106 private SerializedForm(String algorithmName, int bytes, String toString) { in SerializedForm() 126 private final int bytes; field in MessageDigestHashFunction.MessageDigestHasher 129 private MessageDigestHasher(MessageDigest digest, int bytes) { in MessageDigestHasher() 147 protected void update(ByteBuffer bytes) { in update()
|
/external/guava/guava/src/com/google/common/hash/ |
D | MessageDigestHashFunction.java | 41 private final int bytes; field in MessageDigestHashFunction 52 MessageDigestHashFunction(String algorithmName, int bytes, String toString) { in MessageDigestHashFunction() 103 private final int bytes; field in MessageDigestHashFunction.SerializedForm 106 private SerializedForm(String algorithmName, int bytes, String toString) { in SerializedForm() 126 private final int bytes; field in MessageDigestHashFunction.MessageDigestHasher 129 private MessageDigestHasher(MessageDigest digest, int bytes) { in MessageDigestHasher() 147 protected void update(ByteBuffer bytes) { in update()
|
/external/freetype/tests/scripts/ |
D | download-test-fonts.py | 93 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
|