/third_party/flutter/skia/third_party/externals/imgui/misc/fonts/ |
D | binary_to_compressed_c.cpp | 70 int data_sz; in binary_to_compressed_c() local 71 …if (fseek(f, 0, SEEK_END) || (data_sz = (int)ftell(f)) == -1 || fseek(f, 0, SEEK_SET)) { fclose(f)… in binary_to_compressed_c() 72 char* data = new char[data_sz+4]; in binary_to_compressed_c() 73 if (fread(data, 1, data_sz, f) != (size_t)data_sz) { fclose(f); delete[] data; return false; } in binary_to_compressed_c() 74 memset((void*)(((char*)data) + data_sz), 0, 4); in binary_to_compressed_c() 78 int maxlen = data_sz + 512 + (data_sz >> 2) + sizeof(int); // total guess in binary_to_compressed_c() 80 …d_sz = use_compression ? stb_compress((stb_uchar*)compressed, (stb_uchar*)data, data_sz) : data_sz; in binary_to_compressed_c() 86 fprintf(out, "// File: '%s' (%d bytes)\n", filename, (int)data_sz); in binary_to_compressed_c()
|
/third_party/skia/third_party/externals/imgui/misc/fonts/ |
D | binary_to_compressed_c.cpp | 75 int data_sz; in binary_to_compressed_c() local 76 …if (fseek(f, 0, SEEK_END) || (data_sz = (int)ftell(f)) == -1 || fseek(f, 0, SEEK_SET)) { fclose(f)… in binary_to_compressed_c() 77 char* data = new char[data_sz + 4]; in binary_to_compressed_c() 78 if (fread(data, 1, data_sz, f) != (size_t)data_sz) { fclose(f); delete[] data; return false; } in binary_to_compressed_c() 79 memset((void*)(((char*)data) + data_sz), 0, 4); in binary_to_compressed_c() 83 int maxlen = data_sz + 512 + (data_sz >> 2) + sizeof(int); // total guess in binary_to_compressed_c() 85 …d_sz = use_compression ? stb_compress((stb_uchar*)compressed, (stb_uchar*)data, data_sz) : data_sz; in binary_to_compressed_c() 91 fprintf(out, "// File: '%s' (%d bytes)\n", filename, (int)data_sz); in binary_to_compressed_c()
|
/third_party/gstreamer/gstplugins_bad/tests/check/libs/ |
D | av1parser.c | 116 guint data_sz = sizeof (aom_testdata_av1_1_b8_01_size_16x16); in GST_START_TEST() local 120 ret = gst_av1_parser_identify_one_obu (parser, data_ptr, data_sz, in GST_START_TEST() 124 data_sz -= consumed; in GST_START_TEST() 135 ret = gst_av1_parser_identify_one_obu (parser, data_ptr, data_sz, in GST_START_TEST() 139 data_sz -= consumed; in GST_START_TEST() 187 ret = gst_av1_parser_identify_one_obu (parser, data_ptr, data_sz, in GST_START_TEST() 191 data_sz -= consumed; in GST_START_TEST() 263 ret = gst_av1_parser_identify_one_obu (parser, data_ptr, data_sz, in GST_START_TEST() 267 data_sz -= consumed; in GST_START_TEST() 278 ret = gst_av1_parser_identify_one_obu (parser, data_ptr, data_sz, in GST_START_TEST() [all …]
|
/third_party/mesa3d/src/util/ |
D | fossilize_db.c | 401 uint32_t data_sz = entry->header.payload_size; in foz_read_entry() local 402 data = malloc(data_sz); in foz_read_entry() 403 if (fread(data, 1, data_sz, foz_db->file[file_idx]) != data_sz) in foz_read_entry() 408 if (util_hash_crc32(data, data_sz) != entry->header.crc) in foz_read_entry() 415 *size = data_sz; in foz_read_entry()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_vmafmotion.c | 237 size_t data_sz; in ff_vmafmotion_init() local 248 data_sz = (size_t) s->stride * h; in ff_vmafmotion_init() 249 if (!(s->blur_data[0] = av_malloc(data_sz)) || in ff_vmafmotion_init() 250 !(s->blur_data[1] = av_malloc(data_sz)) || in ff_vmafmotion_init() 251 !(s->temp_data = av_malloc(data_sz))) { in ff_vmafmotion_init()
|
/third_party/openssl/crypto/rand/ |
D | rand_vms.c | 289 size_t data_sz = 0; in prepare_item_list() local 304 data_sz += items_input->length; in prepare_item_list() 310 return data_sz / sizeof(databuffer[0]); in prepare_item_list()
|
/third_party/ffmpeg/libavcodec/ |
D | libvpxdec.c | 198 uint8_t *data, uint32_t data_sz) in decode_frame() argument 200 if (vpx_codec_decode(decoder, data, data_sz, NULL, 0) != VPX_CODEC_OK) { in decode_frame()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/ |
D | cache_service.cc | 118 all_data.emplace_back(buf.at(i + 1), msg->data_sz()->Get(i)); in CacheRow() 119 total_sz += msg->data_sz()->Get(i); in CacheRow()
|
D | de_tensor.fbs | 52 data_sz:[int64] (required);
|
D | cache_request.cc | 194 ReadableSlice data(row_data, ts_offset, msg->data_sz()->Get(k)); in RestoreRows()
|
D | cache_server.cc | 778 p += msg->data_sz()->Get(k); in BatchCacheRows()
|
/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_state.h | 190 GLuint data_sz,
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_eu.h | 1256 enum lsc_data_size data_sz, unsigned num_channels, in lsc_msg_desc() argument 1262 DIV_ROUND_UP(lsc_data_size_bytes(data_sz) * num_channels * simd_size, in lsc_msg_desc() 1274 SET_BITS(data_sz, 11, 9) | in lsc_msg_desc()
|
/third_party/libsoup/libsoup/ |
D | soup-auth-ntlm.c | 813 …_hmac_md5 (unsigned char *hmac, const guchar *key, gsize key_sz, const guchar *data, gsize data_sz) in calc_hmac_md5() argument 818 hmac_hex = g_compute_hmac_for_data(G_CHECKSUM_MD5, key, key_sz, data, data_sz); in calc_hmac_md5()
|