| /third_party/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 …]
|
| /third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
| D | CodedInputStreamReader.java | 289 final int bytes = input.readUInt32(); in readDoubleList() local 315 final int bytes = input.readUInt32(); in readDoubleList() local 347 final int bytes = input.readUInt32(); in readFloatList() local 373 final int bytes = input.readUInt32(); in readFloatList() local 405 final int bytes = input.readUInt32(); in readUInt64List() local 431 final int bytes = input.readUInt32(); in readUInt64List() local 463 final int bytes = input.readUInt32(); in readInt64List() local 489 final int bytes = input.readUInt32(); in readInt64List() local 521 final int bytes = input.readUInt32(); in readInt32List() local 547 final int bytes = input.readUInt32(); in readInt32List() local [all …]
|
| D | BinaryReader.java | 306 ByteString bytes = in readBytes() local 356 final int bytes = readVarint32(); in readDoubleList() local 385 final int bytes = readVarint32(); in readDoubleList() local 420 final int bytes = readVarint32(); in readFloatList() local 449 final int bytes = readVarint32(); in readFloatList() local 484 final int bytes = readVarint32(); in readUInt64List() local 513 final int bytes = readVarint32(); in readUInt64List() local 548 final int bytes = readVarint32(); in readInt64List() local 577 final int bytes = readVarint32(); in readInt64List() local 612 final int bytes = readVarint32(); in readInt32List() local [all …]
|
| /third_party/skia/third_party/externals/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
|
| /third_party/protobuf/csharp/src/Google.Protobuf/ |
| D | ByteString.cs | 33 private readonly ReadOnlyMemory<byte> bytes; field in Google.Protobuf.ByteString 38 internal static ByteString AttachBytes(ReadOnlyMemory<byte> bytes) in AttachBytes() 48 internal static ByteString AttachBytes(byte[] bytes) in AttachBytes() 57 private ByteString(ReadOnlyMemory<byte> bytes) in ByteString() 139 public static ByteString FromBase64(string bytes) in FromBase64() 189 public static ByteString CopyFrom(params byte[] bytes) in CopyFrom() 197 public static ByteString CopyFrom(byte[] bytes, int offset, int count) in CopyFrom() 209 public static ByteString CopyFrom(ReadOnlySpan<byte> bytes) in CopyFrom()
|
| /third_party/grpc/src/python/grpcio_tests/tests_aio/unit/ |
| D | compatibility_test.py | 235 def echo_unary_unary(request: bytes, unused_context): 248 def metadata_unary_unary(request: bytes, context: grpc.ServicerContext): 262 def abort_unary_unary(request: bytes, context: grpc.ServicerContext): 276 def set_code_unary_unary(request: bytes, context: grpc.ServicerContext): 290 def echo_unary_stream(request: bytes, unused_context): 301 def error_unary_stream(request: bytes, unused_context): 318 request_iterator: Iterable[bytes], unused_context 333 request_iterator: Iterable[bytes], unused_context 351 request_iterator: Iterable[bytes], unused_context 367 request_iterator: Iterable[bytes], unused_context
|
| /third_party/openssl/test/ |
| D | cipherbytes_test.c | 30 const unsigned char bytes[] = {0x00}; in test_empty() local 49 const unsigned char bytes[] = {0xc0, 0x0f, 0x00, 0x2f, 0x01, 0x00}; in test_unsupported() local 74 const unsigned char bytes[] = {0x00, 0x00, 0x35, 0x01, 0x00, 0x80, in test_v2() local 104 const unsigned char bytes[] = {0x00, 0x2f, 0x00, 0x33, 0x00, 0x9f, 0x00, 0xff, in test_v3() local
|
| /third_party/grpc/src/python/grpcio/grpc/ |
| D | _simple_stubs.py | 232 request_serializer: Optional[Callable[[Any], bytes]] = None, argument 233 response_deserializer: Optional[Callable[[bytes], Any]] = None, 241 metadata: Optional[Sequence[Tuple[str, Union[str, bytes]]]] = None, argument 324 request_serializer: Optional[Callable[[Any], bytes]] = None, argument 325 response_deserializer: Optional[Callable[[bytes], Any]] = None, 333 metadata: Optional[Sequence[Tuple[str, Union[str, bytes]]]] = None, argument 415 request_serializer: Optional[Callable[[Any], bytes]] = None, argument 416 response_deserializer: Optional[Callable[[bytes], Any]] = None, 424 metadata: Optional[Sequence[Tuple[str, Union[str, bytes]]]] = None, argument 506 request_serializer: Optional[Callable[[Any], bytes]] = None, argument [all …]
|
| /third_party/musl/libc-test/src/functionalext/supplement/multibyte/ |
| D | c16rtomb.c | 30 char bytes[MB_LEN_MAX]; in c16rtomb_0100() local 111 char bytes[MB_LEN_MAX]; in c16rtomb_0300() local 126 char bytes[MB_LEN_MAX]; in c16rtomb_0400() local 154 char bytes[MB_LEN_MAX]; in c16rtomb_0500() local
|
| D | c32rtomb.c | 48 char bytes[MB_LEN_MAX]; in c32rtomb_0200() local 79 char bytes[MB_LEN_MAX]; in c32rtomb_0300() local 150 char bytes[MB_LEN_MAX]; in c32rtomb_0400() local
|
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
| D | ICUBinary.java | 54 static boolean validate(ByteBuffer bytes) { in validate() 77 private static boolean startsWithPackageName(ByteBuffer bytes, int start) { in startsWithPackageName() 93 static ByteBuffer getData(ByteBuffer bytes, CharSequence key) { in getData() 105 …static void addBaseNamesInFolder(ByteBuffer bytes, String folder, String suffix, Set<String> names… in addBaseNamesInFolder() 120 private static int binarySearch(ByteBuffer bytes, CharSequence key) { in binarySearch() 145 private static int getNameOffset(ByteBuffer bytes, int index) { in getNameOffset()
|
| /third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
| D | ICUBinary.java | 58 static boolean validate(ByteBuffer bytes) { in validate() 81 private static boolean startsWithPackageName(ByteBuffer bytes, int start) { in startsWithPackageName() 97 static ByteBuffer getData(ByteBuffer bytes, CharSequence key) { in getData() 109 …static void addBaseNamesInFolder(ByteBuffer bytes, String folder, String suffix, Set<String> names… in addBaseNamesInFolder() 124 private static int binarySearch(ByteBuffer bytes, CharSequence key) { in binarySearch() 149 private static int getNameOffset(ByteBuffer bytes, int index) { in getNameOffset()
|
| /third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
| D | IsValidUtf8Test.java | 117 private byte[] toByteArray(int... bytes) { in toByteArray() 125 private void assertValidUtf8(ByteStringFactory factory, int[] bytes, boolean not) { in assertValidUtf8() 145 private void assertValidUtf8(int... bytes) { in assertValidUtf8() 152 private void assertInvalidUtf8(int... bytes) { in assertInvalidUtf8()
|
| /third_party/pulseaudio/sonic/ |
| D | wave.c | 31 void *bytes, in writeBytes() 60 char bytes[4]; in writeInt() local 75 char bytes[2]; in writeShort() local 88 void *bytes, in readBytes() 100 void *bytes, in readExactBytes() 119 unsigned char bytes[4]; in readInt() local 134 unsigned char bytes[2]; in readShort() local 332 unsigned char bytes[WAVE_BUF_LEN]; in readFromWaveFile() local 356 unsigned char bytes[WAVE_BUF_LEN]; in writeToWaveFile() local
|
| /third_party/re2/python/ |
| D | _re2.cc | 40 static inline absl::string_view FromBytes(const py::buffer_info& bytes) { in FromBytes() 53 auto bytes = buffer.request(); in CharLenToBytes() local 67 auto bytes = buffer.request(); in BytesToCharLen() local 81 auto bytes = buffer.request(); in RE2InitShim() local 126 auto bytes = buffer.request(); in RE2MatchShim() local 152 auto bytes = buffer.request(); in RE2QuoteMetaShim() local 170 auto bytes = buffer.request(); in Add() local 182 auto bytes = buffer.request(); in Match() local 204 auto bytes = buffer.request(); in Add() local 233 auto bytes = buffer.request(); in Match() local
|
| /third_party/rust/rust/compiler/rustc_mir_build/src/thir/ |
| D | constant.rs | 41 let bytes = data as &[u8]; in lit_to_const() localVariable 45 let bytes = data as &[u8]; in lit_to_const() localVariable 53 let bytes = data as &[u8]; in lit_to_const() localVariable
|
| /third_party/mesa3d/src/gfxstream/aemu/include/ |
| D | Allocator.h | 28 size_t bytes = sizeof(T) * count; in allocArray() local 34 size_t bytes = strlen(toCopy) + 1; in strDup() local 51 void* dupArray(const void* buf, size_t bytes) { in dupArray()
|
| /third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
| D | readlinkat.c | 35 ssize_t bytes = write(fd, buf, sizeof(buf)); in create_file() local 80 ssize_t bytes = readlinkat(fd, linkpath, rbuf, sizeof(rbuf)); in readlinkat_0100() local 132 ssize_t bytes = readlinkat(fd, linkfilename, rbuf, sizeof(rbuf)); in readlinkat_0200() local 152 ssize_t bytes = readlinkat(-1, NULL, NULL, 0); in readlinkat_0300() local
|
| /third_party/python/Programs/ |
| D | _freeze_module.py | 23 def compile_and_marshal(name: str, text: bytes) -> bytes: 34 def write_code(outfile, marshalled: bytes, varname: str) -> None: 46 def write_frozen(outpath: str, inpath: str, name: str, marshalled: bytes) -> None:
|
| /third_party/rust/rust/src/tools/miri/tests/pass/shims/ |
| D | fs.rs | 92 let bytes = b"Hello, World!\n"; in test_file() localVariable 119 let bytes = b"Hello, World!\n"; in test_file_clone() localVariable 152 let bytes = b"Hello, entire World!\n"; in test_seek() localVariable 191 let bytes = b"Hello, meta-World!\n"; in test_metadata() localVariable 205 let bytes = b"Hello, World!\n"; in test_file_set_len() localVariable 231 let bytes = b"Hello, World!\n"; in test_file_sync() localVariable 248 let bytes = b"Hello, World!\n"; in test_symlink() localVariable 277 let bytes = b"Hello, World!\n"; in test_errors() localVariable
|
| /third_party/skia/fuzz/oss_fuzz/ |
| D | FuzzSkRuntimeEffect.cpp | 32 static bool FuzzSkRuntimeEffect_Once(sk_sp<SkData> bytes, const SkRuntimeEffect::Options& options) { in FuzzSkRuntimeEffect_Once() 64 bool FuzzSkRuntimeEffect(sk_sp<SkData> bytes) { in FuzzSkRuntimeEffect() 82 auto bytes = SkData::MakeWithoutCopy(data, size); in LLVMFuzzerTestOneInput() local
|
| /third_party/pcre2/pcre2/src/ |
| D | pcre2_serialize.c | 76 uint8_t *bytes; in pcre2_serialize_encode() local 164 const uint8_t *bytes, pcre2_general_context *gcontext) in pcre2_serialize_decode() 259 pcre2_serialize_get_number_of_codes(const uint8_t *bytes) in pcre2_serialize_get_number_of_codes() 277 pcre2_serialize_free(uint8_t *bytes) in pcre2_serialize_free()
|
| /third_party/skia/src/gpu/ |
| D | GrSubRunAllocator.cpp | 16 GrBagOfBytes::GrBagOfBytes(char* bytes, size_t size, size_t firstHeapAllocation) in GrBagOfBytes() 53 void GrBagOfBytes::setupBytesAndCapacity(char* bytes, int size) { in setupBytesAndCapacity() 65 char* const bytes = new char[size]; in needMoreBytes() local 79 GrSubRunAllocator::GrSubRunAllocator(char* bytes, int size, int firstHeapAllocation) in GrSubRunAllocator()
|
| /third_party/mesa3d/src/intel/common/ |
| D | intel_compute_slm.c | 19 slm_encode_lookup(struct slm_encode *table, unsigned int table_len, uint32_t bytes) in slm_encode_lookup() 55 intel_compute_slm_calculate_size(unsigned gen, uint32_t bytes) in intel_compute_slm_calculate_size() 74 intel_compute_slm_encode_size(unsigned gen, uint32_t bytes) in intel_compute_slm_encode_size() 141 intel_compute_preferred_slm_encode_size(unsigned gen, uint32_t bytes) in intel_compute_preferred_slm_encode_size()
|
| /third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
| D | ParsingPrimitivesTest.cs | 27 public void ReadRawString_NonUtf8(string expectedText, params int[] bytes) in ReadRawString_NonUtf8() 34 private static ParseContext CreateContext(int[] bytes) in CreateContext()
|