/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArrayImageTextureSize.cpp | 480 glw::GLuint read_size[m_n_varyings * m_n_tf_components]; in checkResults() local 481 memcpy(read_size, temp_buff, m_n_varyings * m_n_tf_components * sizeof(glw::GLint)); in checkResults() 489 …if (read_size[0] != width || read_size[1] != height || read_size[2] != (depth / m_n_layers_per_cub… in checkResults() 495 << "[" << read_size[0] << "][" << read_size[1] << "][" << read_size[2] << "] but should be " in checkResults() 502 …if (read_size[3] != width || read_size[4] != height || read_size[5] != (depth / m_n_layers_per_cub… in checkResults() 509 << "[" << read_size[3] << "][" << read_size[4] << "][" << read_size[5] in checkResults() 1176 glw::GLuint read_size[m_n_rt_components]; in checkResults() local 1177 memset(read_size, 0, m_n_rt_components * sizeof(glw::GLuint)); in checkResults() 1188 gl.readPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_UNSIGNED_INT, read_size); in checkResults() 1191 …if (read_size[0] != width || read_size[1] != height || read_size[2] != (depth / m_n_layers_per_cub… in checkResults() [all …]
|
/third_party/libsnd/programs/ |
D | sndfile-salvage.c | 96 int fd, read_size ; in salvage_file() local 138 read_size = 1 ; in salvage_file() 142 read_size = 2 ; in salvage_file() 146 read_size = 3 ; in salvage_file() 151 read_size = 4 ; in salvage_file() 155 read_size = 8 ; in salvage_file() 163 read_size *= sfinfo.channels ; in salvage_file() 172 copy_data (fd, sndfile, read_size) ; in salvage_file()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/tag/ |
D | id3v2.c | 194 guint read_size; in gst_tag_list_from_id3v2_tag() local 201 read_size = gst_tag_get_id3v2_tag_size (buffer); in gst_tag_list_from_id3v2_tag() 204 if (read_size < ID3V2_HDR_SIZE) in gst_tag_list_from_id3v2_tag() 226 if (info.size < read_size) in gst_tag_list_from_id3v2_tag() 230 version & 0xff, read_size); in gst_tag_list_from_id3v2_tag() 232 GST_MEMDUMP ("ID3v2 tag", info.data, read_size); in gst_tag_list_from_id3v2_tag() 237 work.hdr.size = read_size; in gst_tag_list_from_id3v2_tag() 242 if (read_size < ID3V2_HDR_SIZE + 10) in gst_tag_list_from_id3v2_tag() 244 work.hdr.frame_data_size = read_size - ID3V2_HDR_SIZE - 10; in gst_tag_list_from_id3v2_tag() 246 g_assert (read_size >= ID3V2_HDR_SIZE); /* checked above */ in gst_tag_list_from_id3v2_tag() [all …]
|
/third_party/ffmpeg/libavformat/ |
D | mms.c | 46 int read_size; in ff_mms_read_data() local 47 read_size = FFMIN(size, mms->remaining_in_len); in ff_mms_read_data() 48 memcpy(buf, mms->read_in_ptr, read_size); in ff_mms_read_data() 49 mms->remaining_in_len -= read_size; in ff_mms_read_data() 50 mms->read_in_ptr += read_size; in ff_mms_read_data() 51 return read_size; in ff_mms_read_data()
|
D | dss.c | 210 int read_size, ret, offset = 0, buff_offset = 0; in dss_sp_read_packet() local 217 read_size = DSS_FRAME_SIZE - 2; in dss_sp_read_packet() 220 read_size = DSS_FRAME_SIZE; in dss_sp_read_packet() 233 if (ctx->counter < read_size) { in dss_sp_read_packet() 242 ctx->counter -= read_size; in dss_sp_read_packet() 245 read_size - offset); in dss_sp_read_packet() 246 if (ret < read_size - offset) in dss_sp_read_packet()
|
D | segafilmenc.c | 177 int read_size[2]; in write_header() local 185 read_size[1] = header_size; in write_header() 209 read_size[read_buf_id] = avio_read(read_pb, read_buf[read_buf_id], in write_header() 212 n = read_size[read_buf_id]; in write_header()
|
D | ty.c | 338 int read_size, num_recs; in get_chunk() local 347 read_size = avio_read(pb, ty->chunk, CHUNK_SIZE); in get_chunk() 350 if ((read_size < 4) || (AV_RB32(ty->chunk) == 0)) { in get_chunk()
|
/third_party/exfatprogs/lib/ |
D | exfat_dir.c | 40 for (i = 0; i < iter->read_size / iter->write_size; i++) { in write_block() 182 if (block > iter->parent->size / iter->read_size) in read_block() 186 if (prev_desc->offset + 2 * iter->read_size <= in read_block() 189 desc->offset = prev_desc->offset + iter->read_size; in read_block() 203 iter->read_size, device_offset); in read_block() 211 if (desc->buffer[iter->read_size - 32] != EXFAT_LAST) in read_block() 213 (block * iter->read_size) / exfat->clus_size, in read_block() 214 (block * iter->read_size) % exfat->clus_size, in read_block() 227 iter->read_size = exfat->clus_size <= 4*KB ? exfat->clus_size : 4*KB; in exfat_de_iter_init() 237 iter->next_read_offset = iter->read_size; in exfat_de_iter_init() [all …]
|
/third_party/flutter/engine/flutter/fml/platform/linux/ |
D | paths_linux.cc | 17 auto read_size = ::readlink("/proc/self/exe", path, path_size); in GetExecutableDirectoryPath() local 18 if (read_size == -1) { in GetExecutableDirectoryPath() 22 std::string{path, static_cast<size_t>(read_size)})}; in GetExecutableDirectoryPath()
|
/third_party/flutter/engine/flutter/fml/platform/win/ |
D | paths_win.cc | 61 DWORD read_size = GetModuleFileNameA(module, path, MAX_PATH); in GetExecutableDirectoryPath() local 62 if (read_size == 0 || read_size == MAX_PATH) { in GetExecutableDirectoryPath() 65 return {true, GetDirectoryName(std::string{path, read_size})}; in GetExecutableDirectoryPath()
|
/third_party/gstreamer/gstreamer/tests/examples/adapter/ |
D | adapter_test.c | 12 gint read_size; member 56 data = gst_adapter_take (adapter, params->read_size); in run_test_take() 85 buf = gst_adapter_take_buffer (adapter, params->read_size); in run_test_take_buffer() 102 params->tot_size, params->write_size, params->read_size); in run_tests()
|
/third_party/littlefs/bd/ |
D | lfs_rambd.c | 20 cfg->read_size, cfg->prog_size, cfg->block_size, cfg->block_count, in lfs_rambd_createcfg() 56 cfg->read_size, cfg->prog_size, cfg->block_size, cfg->block_count); in lfs_rambd_create() 82 LFS_ASSERT(off % cfg->read_size == 0); in lfs_rambd_read() 83 LFS_ASSERT(size % cfg->read_size == 0); in lfs_rambd_read()
|
D | lfs_filebd.c | 29 cfg->read_size, cfg->prog_size, cfg->block_size, cfg->block_count, in lfs_filebd_createcfg() 60 cfg->read_size, cfg->prog_size, cfg->block_size, cfg->block_count, in lfs_filebd_create() 89 LFS_ASSERT(off % cfg->read_size == 0); in lfs_filebd_read() 90 LFS_ASSERT(size % cfg->read_size == 0); in lfs_filebd_read()
|
D | lfs_testbd.c | 27 cfg->read_size, cfg->prog_size, cfg->block_size, cfg->block_count, in lfs_testbd_createcfg() 80 cfg->read_size, cfg->prog_size, cfg->block_size, cfg->block_count, in lfs_testbd_create() 155 LFS_ASSERT(off % cfg->read_size == 0); in lfs_testbd_read() 156 LFS_ASSERT(size % cfg->read_size == 0); in lfs_testbd_read()
|
/third_party/musl/libc-test/src/functionalext/fortify/ |
D | stdio.c | 78 size_t read_size = 64*1024; in stdio_dynamic_chk_002() local 81 EXPECT_EQ(1u, fread(buf, read_size, 1, fp)); in stdio_dynamic_chk_002() 85 for (size_t i = 0; i < read_size; ++i) { in stdio_dynamic_chk_002() 90 for (size_t i = read_size; i < bufferSize; ++i) { in stdio_dynamic_chk_002()
|
/third_party/libuv/test/ |
D | test-tcp-close-reset.c | 48 static int read_size; variable 130 read_size += nread; in read_cb() 131 if (read_size == 16 && client_close == 0) in read_cb()
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_renderer_vtest.c | 281 size_t read_size = (vtest_hdr[VTEST_CMD_LEN] - 1) * 4; in vtest_vcmd_get_capset() local 282 if (capset_size >= read_size) { in vtest_vcmd_get_capset() 283 vtest_read(vtest, capset, read_size); in vtest_vcmd_get_capset() 284 memset(capset + read_size, 0, capset_size - read_size); in vtest_vcmd_get_capset() 289 read_size -= capset_size; in vtest_vcmd_get_capset() 290 while (read_size) { in vtest_vcmd_get_capset() 291 const size_t temp_size = MIN2(read_size, ARRAY_SIZE(temp)); in vtest_vcmd_get_capset() 293 read_size -= temp_size; in vtest_vcmd_get_capset()
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
D | ecma-builtin-global.c | 458 lit_utf8_size_t read_size = lit_read_code_unit_from_utf8 (input_char_p, &next_ch); in ecma_builtin_global_object_encode_uri_helper() local 463 input_char_p += read_size; in ecma_builtin_global_object_encode_uri_helper() 508 lit_utf8_size_t read_size = lit_read_code_unit_from_utf8 (input_char_p, &next_ch); in ecma_builtin_global_object_encode_uri_helper() local 513 input_char_p += read_size; in ecma_builtin_global_object_encode_uri_helper()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_prim_restart.c | 48 unsigned read_size = 3 * sizeof(uint32_t); in read_indirect_elements() local 52 read_size, in read_indirect_elements() 56 memcpy(&ret, map, read_size); in read_indirect_elements()
|
/third_party/cef/tests/ceftests/ |
D | stream_unittest.cc | 229 size_t read_size = sizeof(read_ptr); in TEST() local 232 static_cast<void*>(const_cast<char*>(read_ptr)), read_size, read_n); in TEST() 236 ASSERT_EQ(read_size, handler->read_size_); in TEST()
|
/third_party/elfutils/libdwfl/ |
D | dwfl_segment_report_module.c | 1004 size_t read_size = MIN (filesz, file_trimmed_end - offset); in dwfl_segment_report_module() local 1007 &into, &read_size, vaddr + bias, read_size, in dwfl_segment_report_module() 1022 size_t read_size = file_trimmed_end - have; in dwfl_segment_report_module() local 1026 &into, &read_size, start + have, in dwfl_segment_report_module() 1027 read_size, memory_callback_arg); in dwfl_segment_report_module()
|
/third_party/gstreamer/gstplugins_bad/ext/modplug/ |
D | gstmodplug.cc | 646 guint64 read_size = modplug->song_size - modplug->offset; in gst_modplug_loop() local 648 if (read_size > 4096) in gst_modplug_loop() 649 read_size = 4096; in gst_modplug_loop() 652 gst_pad_pull_range (modplug->sinkpad, modplug->offset, read_size, in gst_modplug_loop() 666 modplug->offset += read_size; in gst_modplug_loop()
|
/third_party/libuv/src/win/ |
D | fs.c | 753 size_t read_size, done_read; in fs__read_filemap() local 781 read_size = 0; in fs__read_filemap() 783 read_size += req->fs.info.bufs[index].len; in fs__read_filemap() 785 read_size = (size_t) MIN((LONGLONG) read_size, in fs__read_filemap() 787 if (read_size == 0) { in fs__read_filemap() 792 end_pos.QuadPart = pos.QuadPart + read_size; in fs__read_filemap() 800 view_offset + read_size); in fs__read_filemap() 808 index < req->fs.info.nbufs && done_read < read_size; in fs__read_filemap() 811 read_size - done_read); in fs__read_filemap() 830 assert(done_read == read_size); in fs__read_filemap() [all …]
|
/third_party/exfatprogs/include/ |
D | exfat_dir.h | 23 unsigned int read_size; /* cluster size */ member
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
D | cord_rep_btree_reader_test.cc | 247 for (size_t read_size : {kChars - 1, kChars, kChars + 7, cap * cap}) { in TEST() 257 size_t n = (std::min)(remaining, read_size); in TEST()
|