| /third_party/rust/rust/tests/ui/print_type_sizes/ |
| D | niche-filling.stdout | 1 print-type-size type: `IndirectNonZero`: 12 bytes, alignment: 4 bytes 2 print-type-size field `.nested`: 8 bytes 3 print-type-size field `.post`: 2 bytes 4 print-type-size field `.pre`: 1 bytes 5 print-type-size end padding: 1 bytes 6 print-type-size type: `MyOption<IndirectNonZero>`: 12 bytes, alignment: 4 bytes 7 print-type-size variant `Some`: 12 bytes 8 print-type-size field `.0`: 12 bytes 9 print-type-size variant `None`: 0 bytes 10 print-type-size type: `EmbeddedDiscr`: 8 bytes, alignment: 4 bytes [all …]
|
| D | async.stdout | 1 print-type-size type: `[async fn body@$DIR/async.rs:10:36: 13:2]`: 16386 bytes, alignment: 1 bytes 2 print-type-size discriminant: 1 bytes 3 print-type-size variant `Unresumed`: 8192 bytes 4 print-type-size upvar `.arg`: 8192 bytes 5 print-type-size variant `Suspend0`: 16385 bytes 6 print-type-size upvar `.arg`: 8192 bytes 7 print-type-size local `.arg`: 8192 bytes 8 print-type-size local `.__awaitee`: 1 bytes 9 print-type-size variant `Returned`: 8192 bytes 10 print-type-size upvar `.arg`: 8192 bytes [all …]
|
| D | packed.stdout | 1 print-type-size type: `Packed2C`: 12 bytes, alignment: 2 bytes 2 print-type-size field `.a`: 1 bytes 3 print-type-size field `.b`: 1 bytes 4 print-type-size field `.g`: 4 bytes 5 print-type-size field `.c`: 1 bytes 6 print-type-size padding: 1 bytes 7 print-type-size field `.h`: 2 bytes 8 print-type-size field `.d`: 1 bytes 9 print-type-size end padding: 1 bytes 10 print-type-size type: `Padded`: 12 bytes, alignment: 4 bytes [all …]
|
| D | padding.stdout | 1 print-type-size type: `E1`: 12 bytes, alignment: 4 bytes 2 print-type-size discriminant: 1 bytes 3 print-type-size variant `B`: 11 bytes 4 print-type-size padding: 3 bytes 5 print-type-size field `.0`: 8 bytes, alignment: 4 bytes 6 print-type-size variant `A`: 7 bytes 7 print-type-size field `.1`: 1 bytes 8 print-type-size padding: 2 bytes 9 print-type-size field `.0`: 4 bytes, alignment: 4 bytes 10 print-type-size type: `E2`: 12 bytes, alignment: 4 bytes [all …]
|
| D | repr-align.stdout | 1 print-type-size type: `E`: 32 bytes, alignment: 16 bytes 2 print-type-size discriminant: 4 bytes 3 print-type-size variant `B`: 28 bytes 4 print-type-size padding: 12 bytes 5 print-type-size field `.0`: 16 bytes, alignment: 16 bytes 6 print-type-size variant `A`: 4 bytes 7 print-type-size field `.0`: 4 bytes 8 print-type-size type: `S`: 32 bytes, alignment: 16 bytes 9 print-type-size field `.c`: 16 bytes 10 print-type-size field `.a`: 4 bytes [all …]
|
| D | generics.stdout | 1 print-type-size type: `Pair<FiftyBytes>`: 100 bytes, alignment: 1 bytes 2 print-type-size field `._car`: 50 bytes 3 print-type-size field `._cdr`: 50 bytes 4 print-type-size type: `FiftyBytes`: 50 bytes, alignment: 1 bytes 5 print-type-size field `.0`: 50 bytes 6 print-type-size type: `Pair<SevenBytes>`: 14 bytes, alignment: 1 bytes 7 print-type-size field `._car`: 7 bytes 8 print-type-size field `._cdr`: 7 bytes 9 print-type-size type: `SevenBytes`: 7 bytes, alignment: 1 bytes 10 print-type-size field `.0`: 7 bytes [all …]
|
| /third_party/protobuf/src/google/protobuf/compiler/cpp/ |
| D | message_size_unittest.cc | 37 virtual ~MockMessageBase() = default; // 8 bytes vtable 38 void* internal_metadata; // 8 bytes 43 int cached_size; // 4 bytes 44 // + 4 bytes padding 49 void* arena; // 8 bytes 50 int16_t capacity; // 4 bytes 51 int16_t size; // 4 bytes 52 void* data; // 8 bytes 57 void* arena; // 8 bytes 58 int current_size; // 4 bytes [all …]
|
| /third_party/rust/rust/tests/ui/async-await/future-sizes/ |
| D | async-awaiting-fut.stdout | 1 …size type: `[async fn body@$DIR/async-awaiting-fut.rs:21:21: 24:2]`: 3078 bytes, alignment: 1 bytes 2 print-type-size discriminant: 1 bytes 3 print-type-size variant `Unresumed`: 0 bytes 4 print-type-size variant `Suspend0`: 3077 bytes 5 print-type-size local `.__awaitee`: 3077 bytes 6 print-type-size variant `Returned`: 0 bytes 7 print-type-size variant `Panicked`: 0 bytes 8 …size type: `[async fn body@$DIR/async-awaiting-fut.rs:10:64: 19:2]`: 3077 bytes, alignment: 1 bytes 9 print-type-size discriminant: 1 bytes 10 print-type-size variant `Unresumed`: 1025 bytes [all …]
|
| D | large-arg.stdout | 1 print-type-size type: `[async fn body@$DIR/large-arg.rs:6:21: 8:2]`: 3076 bytes, alignment: 1 bytes 2 print-type-size discriminant: 1 bytes 3 print-type-size variant `Unresumed`: 0 bytes 4 print-type-size variant `Suspend0`: 3075 bytes 5 print-type-size local `.__awaitee`: 3075 bytes 6 print-type-size variant `Returned`: 0 bytes 7 print-type-size variant `Panicked`: 0 bytes 8 …int-type-size type: `[async fn body@$DIR/large-arg.rs:10:30: 12:2]`: 3075 bytes, alignment: 1 bytes 9 print-type-size discriminant: 1 bytes 10 print-type-size variant `Unresumed`: 1024 bytes [all …]
|
| /third_party/openhitls/testcode/sdv/testcase/crypto/aes/ |
| D | test_suite_sdv_eal_cipher.data | 1 SDV_CRYPTO_AES_MULTI_UPDATE_FUNC_TC001 AES128_GCM iv 1 bytes #1 from NIST 4 SDV_CRYPTO_AES_MULTI_UPDATE_FUNC_TC001 AES128_GCM iv 12 bytes #2 from NIST 7 SDV_CRYPTO_AES_MULTI_UPDATE_FUNC_TC001 AES128_GCM iv 256 bytes #3 from NIST 10 SDV_CRYPTO_AES_MULTI_UPDATE_FUNC_TC001 AES128_GCM tag 4 bytes #4 from NIST 13 SDV_CRYPTO_AES_MULTI_UPDATE_FUNC_TC001 AES128_GCM tag 8 bytes #5 from NIST 16 SDV_CRYPTO_AES_MULTI_UPDATE_FUNC_TC001 AES128_GCM tag 12 bytes #6 from NIST 19 SDV_CRYPTO_AES_MULTI_UPDATE_FUNC_TC001 AES128_GCM tag 15 bytes #7 from NIST 22 SDV_CRYPTO_AES_MULTI_UPDATE_FUNC_TC001 AES128_GCM aad 0 bytes #8 from NIST 25 SDV_CRYPTO_AES_MULTI_UPDATE_FUNC_TC001 AES128_GCM aad 16 bytes #9 from NIST 28 SDV_CRYPTO_AES_MULTI_UPDATE_FUNC_TC001 AES128_GCM aad 20 bytes #10 from NIST [all …]
|
| /third_party/rust/rust/tests/ui/proc-macro/ |
| D | expr-stmt-nonterminal-tokens.stdout | 6 span: #4 bytes(299..303), 10 span: #4 bytes(304..305), 17 span: #4 bytes(320..321), 22 span: #4 bytes(322..323), 29 span: #4 bytes(326..329), 33 span: #4 bytes(330..331), 38 span: #4 bytes(332..333), 46 span: #0 bytes(541..542), 53 span: #0 bytes(543..548), 60 span: #0 bytes(549..557), [all …]
|
| /third_party/musl/libc-test/src/functionalext/supplement/multibyte/ |
| D | c16rtomb.c | 30 char bytes[MB_LEN_MAX]; in c16rtomb_0100() local 31 memset(bytes, 0, sizeof(bytes)); in c16rtomb_0100() 32 size_t result = c16rtomb(bytes, L'h', NULL); in c16rtomb_0100() 36 if (bytes[0] != 'h') { in c16rtomb_0100() 37 t_error("%s bytes[0] is %c, not \'h\'\n", bytes[0]); in c16rtomb_0100() 47 memset(bytes, 0, sizeof(bytes)); in c16rtomb_0100() 48 result = c16rtomb(bytes, L'h', NULL); in c16rtomb_0100() 52 if (bytes[0] != 'h') { in c16rtomb_0100() 53 t_error("%s bytes[0] is %c, not \'h\'\n", bytes[0]); in c16rtomb_0100() 57 memset(bytes, 0, sizeof(bytes)); in c16rtomb_0100() [all …]
|
| D | c32rtomb.c | 48 char bytes[MB_LEN_MAX]; in c32rtomb_0200() local 49 memset(bytes, 1, sizeof(bytes)); in c32rtomb_0200() 51 size_t result = c32rtomb(bytes, L'\0', NULL); in c32rtomb_0200() 55 if (bytes[0] != '\0') { in c32rtomb_0200() 56 t_error("%s bytes[0] failed\n", __func__); in c32rtomb_0200() 58 if (bytes[1] != '\x01') { in c32rtomb_0200() 59 t_error("%s bytes[1] failed\n", __func__); in c32rtomb_0200() 62 memset(bytes, 0, sizeof(bytes)); in c32rtomb_0200() 63 result = c32rtomb(bytes, L'h', NULL); in c32rtomb_0200() 67 if (bytes[0] != 'h') { in c32rtomb_0200() [all …]
|
| /third_party/mbedtls/tests/suites/ |
| D | test_suite_cipher.camellia.data | 9 CAMELLIA Encrypt and decrypt 0 bytes [#1] 17 CAMELLIA Encrypt and decrypt 2 bytes [#1] 21 CAMELLIA Encrypt and decrypt 7 bytes [#1] 25 CAMELLIA Encrypt and decrypt 8 bytes [#1] 29 CAMELLIA Encrypt and decrypt 9 bytes [#1] 33 CAMELLIA Encrypt and decrypt 15 bytes [#1] 37 CAMELLIA Encrypt and decrypt 16 bytes [#1] 41 CAMELLIA Encrypt and decrypt 17 bytes [#1] 45 CAMELLIA Encrypt and decrypt 31 bytes [#1] 49 CAMELLIA Encrypt and decrypt 32 bytes [#1] [all …]
|
| D | test_suite_cipher.des.data | 13 DES Encrypt and decrypt 0 bytes [#1] 21 DES Encrypt and decrypt 2 bytes 25 DES Encrypt and decrypt 7 bytes 29 DES Encrypt and decrypt 8 bytes 33 DES Encrypt and decrypt 9 bytes 37 DES Encrypt and decrypt 15 bytes 41 DES Encrypt and decrypt 16 bytes 45 DES Encrypt and decrypt 17 bytes 49 DES Encrypt and decrypt 31 bytes 53 DES Encrypt and decrypt 32 bytes [#1] [all …]
|
| D | test_suite_bignum_mod_raw.function | 130 size_t bytes = limbs * sizeof(mbedtls_mpi_uint); 142 TEST_CF_SECRET(X, bytes); 143 TEST_CF_SECRET(Y, bytes); 147 TEST_CF_PUBLIC(X, bytes); 148 TEST_CF_PUBLIC(Y, bytes); 150 TEST_ASSERT(memcmp(X, Y, bytes) != 0); 153 TEST_CF_SECRET(X, bytes); 154 TEST_CF_SECRET(Y, bytes); 158 TEST_CF_PUBLIC(X, bytes); 159 TEST_CF_PUBLIC(Y, bytes); [all …]
|
| /third_party/rust/rust/tests/ui/proc-macro/debug/ |
| D | dump-debug.stderr | 1 …bytes(130..135) }, Ident { ident: "r#ident", span: #0 bytes(151..158) }, Punct { ch: ',', spacing:… 5 span: #0 bytes(130..135), 9 span: #0 bytes(151..158), 14 span: #0 bytes(176..177), 19 span: #0 bytes(203..204), 24 span: #0 bytes(204..205), 29 span: #0 bytes(205..206), 34 span: #0 bytes(230..232), 41 span: #0 bytes(258..259), 44 span: #0 bytes(257..260), [all …]
|
| /third_party/skia/m133/tests/ |
| D | SkMallocTest.cpp | 23 uint8_t* bytes = (uint8_t*) sk_calloc_throw(alloc_count); // provide num bytes directly in DEF_TEST() local 24 SkASSERT_RELEASE(bytes != nullptr); in DEF_TEST() 26 REPORTER_ASSERT(reporter, bytes[i] == 0); in DEF_TEST() 27 bytes[i] = (uint8_t)i; in DEF_TEST() 29 sk_free(bytes); in DEF_TEST() 43 uint8_t* bytes = (uint8_t*) sk_malloc_throw(alloc_count); // provide num bytes directly in DEF_TEST() local 44 SkASSERT_RELEASE(bytes != nullptr); in DEF_TEST() 46 bytes[i] = (uint8_t)i; in DEF_TEST() 48 sk_free(bytes); in DEF_TEST() 60 uint8_t* bytes = (uint8_t*) sk_realloc_throw(nullptr, 10); in DEF_TEST() local [all …]
|
| /third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/strftime/ |
| D | 1-1.c | 36 printf("a Bytes %i %s ", result, text); in main() 38 puts("Test Failed: \%a doesn't equal at least 3 bytes"); in main() 45 printf("A Bytes %i %s ", result, text); in main() 47 puts("Test Failed: \%A doesn't equal to 6 bytes"); in main() 54 printf("b Bytes %i %s ", result, text); in main() 56 puts("Test Failed: \%b doesn't equal to 3 bytes"); in main() 63 printf("B Bytes %i %s ", result, text); in main() 65 puts("Test Failed: \%B is less than3 bytes"); in main() 74 * printf("c Bytes %i %s ", result, text); in main() 76 * puts("Test Failed: \%c doesn't equal at least 30 bytes"); in main() [all …]
|
| /third_party/cups-filters/cupsfilters/ |
| D | check.c | 14 * cupsCheckBytes() - Check to see if all bytes are zero. 15 * cupsCheckValue() - Check to see if all bytes match the given value. 26 * 'cupsCheckBytes()' - Check to see if all bytes are zero. 30 cupsCheckBytes(const unsigned char *bytes, /* I - Bytes to check */ in cupsCheckBytes() argument 31 int length) /* I - Number of bytes to check */ in cupsCheckBytes() 35 if (*bytes++) in cupsCheckBytes() 37 if (*bytes++) in cupsCheckBytes() 39 if (*bytes++) in cupsCheckBytes() 41 if (*bytes++) in cupsCheckBytes() 43 if (*bytes++) in cupsCheckBytes() [all …]
|
| /third_party/rust/crates/memchr/bench/src/memchr/ |
| D | inputs.rs | 4 /// The bytes to search. 6 /// Distinct bytes that never occur in the input. 8 /// Distinct bytes that occur very rarely (<0.1%). 10 /// Distinct bytes that are uncommon (~1%). 12 /// Distinct bytes that are common (~5%). 14 /// Distinct bytes that are very common (~10%). 16 /// Distinct bytes that are super common (>90%). 109 /// Return all of this input's "never" bytes only if there are at least 120 self.never(1).and_then(|bytes| Search1::new(self.corpus, bytes)) in never1() 124 self.never(2).and_then(|bytes| Search2::new(self.corpus, bytes)) in never2() [all …]
|
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
| D | ICUBinary.java | 54 static boolean validate(ByteBuffer bytes) { in validate() argument 56 readHeader(bytes, DATA_FORMAT, IS_ACCEPTABLE); in validate() 60 int count = bytes.getInt(bytes.position()); // Do not move the position. in validate() 64 // For each item, there is one ToC entry (8 bytes) and a name string in validate() 65 // and a data item of at least 16 bytes. in validate() 67 if (bytes.position() + 4 + count * (8 + 16) > bytes.capacity()) { in validate() 70 if (!startsWithPackageName(bytes, getNameOffset(bytes, 0)) || in validate() 71 !startsWithPackageName(bytes, getNameOffset(bytes, count - 1))) { in validate() 77 private static boolean startsWithPackageName(ByteBuffer bytes, int start) { in startsWithPackageName() argument 81 if (bytes.get(start + i) != ICUData.PACKAGE_NAME.charAt(i)) { in startsWithPackageName() [all …]
|
| /third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
| D | ICUBinary.java | 58 static boolean validate(ByteBuffer bytes) { in validate() argument 60 readHeader(bytes, DATA_FORMAT, IS_ACCEPTABLE); in validate() 64 int count = bytes.getInt(bytes.position()); // Do not move the position. in validate() 68 // For each item, there is one ToC entry (8 bytes) and a name string in validate() 69 // and a data item of at least 16 bytes. in validate() 71 if (bytes.position() + 4 + count * (8 + 16) > bytes.capacity()) { in validate() 74 if (!startsWithPackageName(bytes, getNameOffset(bytes, 0)) || in validate() 75 !startsWithPackageName(bytes, getNameOffset(bytes, count - 1))) { in validate() 81 private static boolean startsWithPackageName(ByteBuffer bytes, int start) { in startsWithPackageName() argument 85 if (bytes.get(start + i) != ICUData.PACKAGE_NAME.charAt(i)) { in startsWithPackageName() [all …]
|
| /third_party/mindspore/mindspore-src/source/tests/ut/python/dataset/ |
| D | test_save_op.py | 50 data = [{"image1": bytes("image1 bytes abcddddd", encoding='UTF-8'), 51 "image2": bytes("image1 bytes def", encoding='UTF-8'), 52 "image3": bytes("image1 bytes ghixxxxxxxxxx", encoding='UTF-8'), 53 "image4": bytes("image1 bytes jklzz", encoding='UTF-8'), 54 "image5": bytes("image1 bytes mno", encoding='UTF-8')}, 55 {"image1": bytes("image2 bytes abca", encoding='UTF-8'), 56 "image2": bytes("image2 bytes defbb", encoding='UTF-8'), 57 "image3": bytes("image2 bytes ghiccc", encoding='UTF-8'), 58 "image4": bytes("image2 bytes jkldddd", encoding='UTF-8'), 59 "image5": bytes("image2 bytes mnoeeeeeee", encoding='UTF-8')}, [all …]
|
| /third_party/rust/crates/minimal-lexical/etc/correctness/rng-tests/ |
| D | _common.rs | 6 /// Find and parse sign and get remaining bytes. 8 fn parse_sign<'a>(bytes: &'a [u8]) -> (bool, &'a [u8]) { in parse_sign() 9 match bytes.get(0) { in parse_sign() 10 Some(&b'+') => (true, &bytes[1..]), in parse_sign() 11 Some(&b'-') => (false, &bytes[1..]), in parse_sign() 12 _ => (true, bytes), in parse_sign() 61 fn ltrim_zero<'a>(bytes: &'a [u8]) -> &'a [u8] { in ltrim_zero() 62 let count = bytes.iter().take_while(|&&si| si == b'0').count(); in ltrim_zero() 63 &bytes[count..] in ltrim_zero() 68 fn rtrim_zero<'a>(bytes: &'a [u8]) -> &'a [u8] { in rtrim_zero() [all …]
|