/third_party/glib/gio/tests/ |
D | gdbus-serialization.c | 521 gsize blob_size; in get_and_check_serialization() local 561 &blob_size, in get_and_check_serialization() 578 dbus_1_message = dbus_message_demarshal ((char *) blob, blob_size, &dbus_error); in get_and_check_serialization() 584 hexdump (blob, blob_size); in get_and_check_serialization() 604 blob_size, in get_and_check_serialization() 901 gsize blob_size; in test_message_serialize_header_checks() local 907 blob = g_dbus_message_to_blob (message, &blob_size, G_DBUS_CAPABILITY_FLAGS_NONE, &error); in test_message_serialize_header_checks() 919 blob = g_dbus_message_to_blob (message, &blob_size, G_DBUS_CAPABILITY_FLAGS_NONE, &error); in test_message_serialize_header_checks() 935 blob = g_dbus_message_to_blob (message, &blob_size, G_DBUS_CAPABILITY_FLAGS_NONE, &error); in test_message_serialize_header_checks() 942 blob = g_dbus_message_to_blob (message, &blob_size, G_DBUS_CAPABILITY_FLAGS_NONE, &error); in test_message_serialize_header_checks() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/ |
D | gstmfaacenc.cpp | 442 UINT32 blob_size = 0; in gst_mf_aac_enc_set_src_caps() local 461 hr = output_type->GetBlobSize (MF_MT_USER_DATA, &blob_size); in gst_mf_aac_enc_set_src_caps() 462 if (!gst_mf_result (hr) || blob_size <= config_data_offset) { in gst_mf_aac_enc_set_src_caps() 464 "Couldn't get size of MF_MT_USER_DATA, size %d, %d", blob_size); in gst_mf_aac_enc_set_src_caps() 468 hr = output_type->GetAllocatedBlob (MF_MT_USER_DATA, &blob, &blob_size); in gst_mf_aac_enc_set_src_caps() 474 codec_data = gst_buffer_new_and_alloc (blob_size - config_data_offset); in gst_mf_aac_enc_set_src_caps() 476 blob_size - config_data_offset); in gst_mf_aac_enc_set_src_caps() 488 blob + config_data_offset, blob_size - config_data_offset); in gst_mf_aac_enc_set_src_caps()
|
/third_party/mesa3d/src/util/ |
D | fossilize_db.c | 432 const void *blob, size_t blob_size) in foz_write_entry() argument 465 header.uncompressed_size = blob_size; in foz_write_entry() 467 header.payload_size = blob_size; in foz_write_entry() 468 header.crc = util_hash_crc32(blob, blob_size); in foz_write_entry() 486 if (fwrite(blob, 1, blob_size, foz_db->file[0]) != blob_size) in foz_write_entry()
|
/third_party/glib/gio/ |
D | gdbusprivate.c | 890 gsize blob_size; member 945 g_assert (data->total_written <= data->blob_size); in write_message_async_cb() 946 if (data->total_written == data->blob_size) in write_message_async_cb() 1003 g_assert_cmpint (data->total_written, <, data->blob_size); in write_message_continue_writing() 1017 vector.size = data->blob_size; in write_message_continue_writing() 1074 g_assert (data->total_written <= data->blob_size); in write_message_continue_writing() 1075 if (data->total_written == data->blob_size) in write_message_continue_writing() 1105 data->blob_size - data->total_written, in write_message_continue_writing() 1256 message_data->blob_size); in message_written_unlocked() 1262 s = _g_dbus_hexdump (message_data->blob, message_data->blob_size, 2); in message_written_unlocked() [all …]
|
D | gdbusconnection.c | 1611 gsize blob_size; in g_dbus_connection_send_message_unlocked() local 1639 &blob_size, in g_dbus_connection_send_message_unlocked() 1665 blob_size, serial_to_use, connection); in g_dbus_connection_send_message_unlocked() 1667 hexdump (blob, blob_size); in g_dbus_connection_send_message_unlocked() 1692 blob_size); in g_dbus_connection_send_message_unlocked()
|
/third_party/flutter/skia/tests/ |
D | SerializationTest.cpp | 770 size_t blob_size = 0u; in DEF_TEST() local 773 blob_size = SkAlign4(blob->serialize(procs)->size()); in DEF_TEST() 774 REPORTER_ASSERT(reporter, blob_size > 4u); in DEF_TEST() 775 storage_size = blob_size - 4; in DEF_TEST() 778 storage_size = blob_size; in DEF_TEST()
|
/third_party/skia/tests/ |
D | SerializationTest.cpp | 850 size_t blob_size = 0u; in DEF_TEST() local 853 blob_size = SkAlign4(blob->serialize(procs)->size()); in DEF_TEST() 854 REPORTER_ASSERT(reporter, blob_size > 4u); in DEF_TEST() 855 storage_size = blob_size - 4; in DEF_TEST() 858 storage_size = blob_size; in DEF_TEST()
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_renderer_virtgpu.c | 638 size_t blob_size, in virtgpu_ioctl_resource_create_blob() argument 643 blob_size = align64(blob_size, 4096); in virtgpu_ioctl_resource_create_blob() 649 .size = blob_size, in virtgpu_ioctl_resource_create_blob()
|
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/io/ |
D | shard_writer.cc | 557 auto blob_size = blob->size(); in MergeBlobData() local 558 *output = std::make_shared<std::vector<uint8_t>>(blob_size); in MergeBlobData() 571 uint64_t blob_size = b->size(); in MergeBlobData() local 574 buf[buf.size() - 1 - i] = (std::numeric_limits<uint8_t>::max()) & blob_size; in MergeBlobData() 575 blob_size >>= 8u; in MergeBlobData()
|
/third_party/ejdb/src/jbl/tests/ |
D | jbl_test_binn2.c | 1896 int blob_size, id, id2, list2size; in test_binn_iter() local 1901 blob_size = 11; in test_binn_iter() 1934 CU_ASSERT(binn_list_add_blob(list, (char*) blob_ptr, blob_size) == TRUE); in test_binn_iter() 1947 CU_ASSERT(binn_object_set_blob(obj, "k", (char*) blob_ptr, blob_size) == TRUE); in test_binn_iter() 1960 CU_ASSERT(binn_map_set_blob(map, 55110, (char*) blob_ptr, blob_size) == TRUE); in test_binn_iter() 2039 CU_ASSERT(memcmp(value.ptr, blob_ptr, blob_size) == 0); in test_binn_iter() 2150 CU_ASSERT(memcmp(value.ptr, blob_ptr, blob_size) == 0); in test_binn_iter() 2257 CU_ASSERT(memcmp(value.ptr, blob_ptr, blob_size) == 0); in test_binn_iter()
|