Home
last modified time | relevance | path

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

12345678910>>...59

/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/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/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/glib/glib/tests/
Dbytes.c36 GBytes *bytes; in test_new() local
54 GBytes *bytes; in test_new_take() local
71 GBytes *bytes; in test_new_static() local
88 GBytes *bytes; in test_new_from_bytes() local
108 GBytes *bytes = g_bytes_new_static ("Some stupid data", strlen ("Some stupid data") + 1); in test_new_from_bytes_slice() local
145 GBytes *bytes = g_bytes_new_static ("Some data", strlen ("Some data") + 1); in test_new_from_bytes_shared_ref() local
166 GBytes *bytes; in test_new_with_free_func() local
205 GBytes *bytes; in test_equal() local
231 GBytes *bytes; in test_compare() local
269 GBytes *bytes; in test_to_data_transferred() 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/glib/glib/
Dgbytes.c182 GBytes *bytes; in g_bytes_new_with_free_func() local
219 g_bytes_new_from_bytes (GBytes *bytes, in g_bytes_new_from_bytes()
270 g_bytes_get_data (GBytes *bytes, in g_bytes_get_data()
292 g_bytes_get_size (GBytes *bytes) in g_bytes_get_size()
310 g_bytes_ref (GBytes *bytes) in g_bytes_ref()
329 g_bytes_unref (GBytes *bytes) in g_bytes_unref()
385 g_bytes_hash (gconstpointer bytes) in g_bytes_hash()
439 try_steal_and_unref (GBytes *bytes, in try_steal_and_unref()
482 g_bytes_unref_to_data (GBytes *bytes, in g_bytes_unref_to_data()
531 g_bytes_unref_to_array (GBytes *bytes) in g_bytes_unref_to_array()
Dguuid.c35 guint8 bytes[16]; member
74 const guint8 *bytes; in g_uuid_to_string() local
93 guint8 *bytes = tmp.bytes; in uuid_parse_string() local
152 guint8 *bytes = uuid->bytes; in uuid_set_version() local
180 guint8 *bytes; in g_uuid_generate_v4() local
/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/grpc/src/python/grpcio/grpc/
D_simple_stubs.py173 request_serializer: Optional[Callable[[Any], bytes]] = None, argument
174 response_deserializer: Optional[Callable[[bytes], Any]] = None,
182 metadata: Optional[Sequence[Tuple[str, Union[str, bytes]]]] = None argument
254 request_serializer: Optional[Callable[[Any], bytes]] = None, argument
255 response_deserializer: Optional[Callable[[bytes], Any]] = None,
263 metadata: Optional[Sequence[Tuple[str, Union[str, bytes]]]] = None argument
334 request_serializer: Optional[Callable[[Any], bytes]] = None, argument
335 response_deserializer: Optional[Callable[[bytes], Any]] = None,
343 metadata: Optional[Sequence[Tuple[str, Union[str, bytes]]]] = None argument
414 request_serializer: Optional[Callable[[Any], bytes]] = None, argument
[all …]
/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/grpc/src/python/grpcio_tests/tests_aio/unit/
Dcompatibility_test.py239 def echo_unary_unary(request: bytes, unused_context):
251 def metadata_unary_unary(request: bytes, context: grpc.ServicerContext):
264 def abort_unary_unary(request: bytes, context: grpc.ServicerContext):
276 def set_code_unary_unary(request: bytes, context: grpc.ServicerContext):
288 def echo_unary_stream(request: bytes, unused_context):
300 def error_unary_stream(request: bytes, unused_context):
316 def echo_stream_unary(request_iterator: Iterable[bytes],
330 def echo_stream_unary(request_iterator: Iterable[bytes],
346 def echo_stream_stream(request_iterator: Iterable[bytes],
361 def echo_stream_stream(request_iterator: Iterable[bytes],
/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/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/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.c38 ssize_t bytes = write(fd, buf, sizeof(buf)); in create_file() local
79 ssize_t bytes = readlinkat(fd, linkpath, rbuf, sizeof(rbuf)); in readlinkat_0100() local
125 ssize_t bytes = readlinkat(fd, linkfilename, rbuf, sizeof(rbuf)); in readlinkat_0200() local
145 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/
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/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

12345678910>>...59