Home
last modified time | relevance | path

Searched defs:bytes (Results 1 – 25 of 1312) sorted by relevance

12345678910>>...53

/third_party/protobuf/js/experimental/runtime/kernel/
Dkernel_test.js23 function createArrayBuffer(...bytes) {
60 const bytes = createArrayBuffer(0x08, 0x01); constant
97 const bytes = createArrayBuffer(0x08, 0x01); constant
107 const bytes = createArrayBuffer(0x08, 0x01); constant
132 const bytes = createArrayBuffer(0x08, 0x01); constant
146 const bytes = createArrayBuffer(0x08, 0x01); constant
215 const bytes = createArrayBuffer(0x08, 0x01, 0x10, 0x01); constant
235 const bytes = createArrayBuffer(0x08, 0x01); constant
243 const bytes = createArrayBuffer(0x08, 0x01); constant
249 const bytes = createArrayBuffer(0x08, 0x01); constant
[all …]
/third_party/skia/fuzz/
DFuzzMain.cpp147 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/flutter/skia/fuzz/
DFuzzMain.cpp128 sk_sp<SkData> bytes(SkData::MakeFromFileName(path.c_str())); in fuzz_file() local
308 static void fuzz_json(sk_sp<SkData> bytes){ in fuzz_json()
316 static void fuzz_skottie_json(sk_sp<SkData> bytes){ in fuzz_skottie_json()
327 static uint8_t calculate_option(SkData* bytes) { in calculate_option()
343 static void fuzz_api(sk_sp<SkData> bytes, SkString name) { in fuzz_api()
366 static void fuzz_animated_img(sk_sp<SkData> bytes) { in fuzz_animated_img()
376 static void fuzz_image_decode(sk_sp<SkData> bytes) { in fuzz_image_decode()
386 static void fuzz_image_decode_incremental(sk_sp<SkData> bytes) { in fuzz_image_decode_incremental()
396 static void fuzz_android_codec(sk_sp<SkData> bytes) { in fuzz_android_codec()
411 static void fuzz_img(sk_sp<SkData> bytes, uint8_t scale, uint8_t mode) { in fuzz_img()
[all …]
/third_party/flutter/engine/flutter/shell/platform/common/cpp/client_wrapper/
Dstandard_message_codec_unittests.cc53 std::vector<uint8_t> bytes = {0x00}; in TEST() local
58 std::vector<uint8_t> bytes = {0x01}; in TEST() local
63 std::vector<uint8_t> bytes = {0x02}; in TEST() local
68 std::vector<uint8_t> bytes = {0x03, 0x78, 0x56, 0x34, 0x12}; in TEST() local
73 std::vector<uint8_t> bytes = {0x04, 0xef, 0xcd, 0xab, 0x90, in TEST() local
79 std::vector<uint8_t> bytes = {0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in TEST() local
85 std::vector<uint8_t> bytes = {0x07, 0x0b, 0x68, 0x65, 0x6c, 0x6c, 0x6f, in TEST() local
91 std::vector<uint8_t> bytes = {0x07, 0x05, 0x68, 0xe2, 0x98, 0xba, 0x77}; in TEST() local
96 std::vector<uint8_t> bytes = {0x07, 0x06, 0x68, 0xf0, 0x9f, 0x98, 0x82, 0x77}; in TEST() local
101 std::vector<uint8_t> bytes = { in TEST() local
[all …]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedInputStreamReader.java291 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 …]
DBinaryReader.java318 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 …]
/third_party/protobuf/csharp/src/Google.Protobuf/
DByteString.cs56 private readonly byte[] bytes; field in Google.Protobuf.ByteString
67 internal static ByteString FromBytes(byte[] bytes) in FromBytes()
76 internal static ByteString AttachBytes(byte[] bytes) in AttachBytes()
85 private ByteString(byte[] bytes) in ByteString()
164 public static ByteString FromBase64(string bytes) in FromBase64()
227 public static ByteString CopyFrom(params byte[] bytes) in CopyFrom()
235 public static ByteString CopyFrom(byte[] bytes, int offset, int count) in CopyFrom()
248 public static ByteString CopyFrom(ReadOnlySpan<byte> bytes) in CopyFrom()
/third_party/skia/third_party/externals/freetype/tests/scripts/
Ddownload-test-fonts.py93 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/freetype/tests/scripts/
Ddownload-test-fonts.py93 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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUBinary.java54 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/
DICUBinary.java58 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/openssl/test/
Dcipherbytes_test.c30 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/musl/libc-test/src/functionalext/supplement/multibyte/
Dc16rtomb.c30 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
Dc32rtomb.c48 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/protobuf/java/core/src/test/java/com/google/protobuf/
DIsValidUtf8Test.java123 private byte[] toByteArray(int... bytes) { in toByteArray()
131 private void assertValidUtf8(ByteStringFactory factory, int[] bytes, boolean not) { in assertValidUtf8()
151 private void assertValidUtf8(int... bytes) { in assertValidUtf8()
157 private void assertInvalidUtf8(int... bytes) { in assertInvalidUtf8()
/third_party/protobuf/js/experimental/runtime/
Dbytestring.js21 constructor(bytes, base64) { argument
49 static fromArrayBuffer(bytes, start = 0, end = undefined) { argument
60 static fromArrayBufferView(bytes) { argument
77 static fromUint8ArrayUnsafe(bytes) { argument
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
Dreadlinkat.c35 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/node/test/parallel/
Dtest-whatwg-encoding-custom-textdecoder-ignorebom.js13 bytes: [0xEF, 0xBB, 0xBF, 0x61, 0x62, 0x63] property
17 bytes: [0xFF, 0xFE, 0x61, 0x00, 0x62, 0x00, 0x63, 0x00] property
24 const bytes = new Uint8Array(testCase.bytes); constant
/third_party/node/test/fixtures/wpt/encoding/streams/
Ddecode-ignore-bom.any.js6 {encoding: 'utf-8', bytes: [0xEF, 0xBB, 0xBF, 0x61, 0x62, 0x63]}, property
7 {encoding: 'utf-16le', bytes: [0xFF, 0xFE, 0x61, 0x00, 0x62, 0x00, 0x63, 0x00]}, property
8 {encoding: 'utf-16be', bytes: [0xFE, 0xFF, 0x00, 0x61, 0x00, 0x62, 0x00, 0x63]} property
/third_party/node/test/fixtures/wpt/encoding/
Dtextdecoder-byte-order-marks.any.js7 bytes: [0x7A, 0xC2, 0xA2, 0xE6, 0xB0, 0xB4, 0xF0, 0x9D, 0x84, 0x9E, 0xF4, 0x8F, 0xBF, 0xBD] property
12 bytes: [0x7A, 0x00, 0xA2, 0x00, 0x34, 0x6C, 0x34, 0xD8, 0x1E, 0xDD, 0xFF, 0xDB, 0xFD, 0xDF] property
17 bytes: [0x00, 0x7A, 0x00, 0xA2, 0x6C, 0x34, 0xD8, 0x34, 0xDD, 0x1E, 0xDB, 0xFF, 0xDF, 0xFD] property
Dtextdecoder-ignorebom.any.js4 {encoding: 'utf-8', bytes: [0xEF, 0xBB, 0xBF, 0x61, 0x62, 0x63]}, property
5 {encoding: 'utf-16le', bytes: [0xFF, 0xFE, 0x61, 0x00, 0x62, 0x00, 0x63, 0x00]}, property
6 {encoding: 'utf-16be', bytes: [0xFE, 0xFF, 0x00, 0x61, 0x00, 0x62, 0x00, 0x63]} property
/third_party/gstreamer/gstplugins_base/gst/volume/
Dgstvolume.c356 volume_process_double (GstVolume * self, gpointer bytes, guint n_bytes) in volume_process_double()
365 volume_process_controlled_double (GstVolume * self, gpointer bytes, in volume_process_controlled_double()
386 volume_process_float (GstVolume * self, gpointer bytes, guint n_bytes) in volume_process_float()
395 volume_process_controlled_float (GstVolume * self, gpointer bytes, in volume_process_controlled_float()
418 volume_process_int32 (GstVolume * self, gpointer bytes, guint n_bytes) in volume_process_int32()
429 volume_process_int32_clamp (GstVolume * self, gpointer bytes, guint n_bytes) in volume_process_int32_clamp()
441 volume_process_controlled_int32_clamp (GstVolume * self, gpointer bytes, in volume_process_controlled_int32_clamp()
483 volume_process_int24 (GstVolume * self, gpointer bytes, guint n_bytes) in volume_process_int24()
506 volume_process_int24_clamp (GstVolume * self, gpointer bytes, guint n_bytes) in volume_process_int24_clamp()
529 volume_process_controlled_int24_clamp (GstVolume * self, gpointer bytes, in volume_process_controlled_int24_clamp()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DBytesTrie.java124 private byte[] bytes; field in BytesTrie.State
431 assert(node<kMinValueLead); in getNextBytes()
436 node=bytes_[pos++]&0xff; in getNextBytes() argument
729 private static int readValue(byte[] bytes, int pos, int leadByte) { in readValue()
757 private static int skipValue(byte[] bytes, int pos) { in skipValue()
763 private static int jumpByDelta(byte[] bytes, int pos) { in jumpByDelta()
782 private static int skipDelta(byte[] bytes, int pos) { in skipDelta()
945 private static long findUniqueValue(byte[] bytes, int pos, long uniqueValue) { in findUniqueValue()
980 private static void getNextBranchBytes(byte[] bytes, int pos, int length, Appendable out) { in getNextBranchBytes()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBytesTrie.java131 private byte[] bytes; field in BytesTrie.State
454 assert(node<kMinValueLead); in getNextBytes()
459 node=bytes_[pos++]&0xff; in getNextBytes() argument
764 private static int readValue(byte[] bytes, int pos, int leadByte) { in readValue()
792 private static int skipValue(byte[] bytes, int pos) { in skipValue()
803 public static int jumpByDelta(byte[] bytes, int pos) { in jumpByDelta()
822 private static int skipDelta(byte[] bytes, int pos) { in skipDelta()
985 private static long findUniqueValue(byte[] bytes, int pos, long uniqueValue) { in findUniqueValue()
1020 private static void getNextBranchBytes(byte[] bytes, int pos, int length, Appendable out) { in getNextBranchBytes()
/third_party/pcre2/pcre2/src/
Dpcre2_serialize.c76 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()

12345678910>>...53