/third_party/curl/lib/ |
D | file.c | 373 curl_off_t expected_size = -1; in file_do() local 396 expected_size = statbuf.st_size; in file_do() 416 if(expected_size >= 0) { in file_do() 419 expected_size); in file_do() 450 Curl_pgrsSetDownloadSize(data, expected_size); in file_do() 474 if(data->state.resume_from <= expected_size) in file_do() 475 expected_size -= data->state.resume_from; in file_do() 484 expected_size = data->req.maxdownload; in file_do() 486 if(!fstated || (expected_size <= 0)) in file_do() 496 Curl_pgrsSetDownloadSize(data, expected_size); in file_do() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/fallocate/ |
D | fallocate01.c | 194 loff_t expected_size; in main() local 204 expected_size = BLOCKS_WRITTEN * block_size + block_size; in main() 205 runtest(0, fd_mode1, expected_size); in main() 207 expected_size = BLOCKS_WRITTEN * block_size; in main() 208 runtest(FALLOC_FL_KEEP_SIZE, fd_mode2, expected_size); in main() 218 void runtest(int mode, int fd, loff_t expected_size) in runtest() argument 248 if (file_stat.st_size != expected_size) in runtest()
|
/third_party/cef/tests/ceftests/ |
D | image_util.cc | 15 const CefSize& expected_size) { in LoadImage() argument 28 EXPECT_EQ(expected_size.width, static_cast<int>(image->GetWidth())); in LoadImage() 29 EXPECT_EQ(expected_size.height, static_cast<int>(image->GetHeight())); in LoadImage()
|
D | image_util.h | 18 const CefSize& expected_size);
|
/third_party/glib/gio/tests/ |
D | async-close-output-stream.c | 34 gsize expected_size; member 106 g_assert_cmpmem (written, size, data->expected_output, data->expected_size); in compare_output() 148 …data->expected_size = g_memory_output_stream_get_data_size (G_MEMORY_OUTPUT_STREAM (data->data_str… in prepare_data() 150 g_assert_cmpuint (data->expected_size, >, 0); in prepare_data() 152 data->expected_output = g_memdup2 (written, data->expected_size); in prepare_data()
|
/third_party/cef/tests/ceftests/views/ |
D | panel_unittest.cc | 695 CefSize expected_size(100, 100); in SizeWithDelegateImpl() local 698 delegate->preferred_size_ = expected_size; in SizeWithDelegateImpl() 699 EXPECT_EQ(expected_size, panel->GetPreferredSize()); in SizeWithDelegateImpl() 708 delegate->minimum_size_ = expected_size; in SizeWithDelegateImpl() 709 EXPECT_EQ(expected_size, panel->GetMinimumSize()); in SizeWithDelegateImpl() 718 delegate->maximum_size_ = expected_size; in SizeWithDelegateImpl() 719 EXPECT_EQ(expected_size, panel->GetMaximumSize()); in SizeWithDelegateImpl() 773 CefSize expected_size(100, 100); in FillLayoutSizeToPreferredSizeImpl() local 775 delegate->preferred_size_ = expected_size; in FillLayoutSizeToPreferredSizeImpl() 788 EXPECT_EQ(expected_size, panel->GetSize()); in FillLayoutSizeToPreferredSizeImpl() [all …]
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | adaptive_demux_common.c | 178 testOutputStreamData->expected_size, stream->segment_start); in gst_adaptive_demux_test_check_received_data() 184 gst_buffer_get_size (buffer) <= testOutputStreamData->expected_size, in gst_adaptive_demux_test_check_received_data() 208 fail_unless (streamOffset + i < testOutputStreamData->expected_size); in gst_adaptive_demux_test_check_received_data() 263 testOutputStreamData->expected_size, in gst_adaptive_demux_test_check_size_of_received_data() 265 testOutputStreamData->expected_size, stream->total_received_size); in gst_adaptive_demux_test_check_size_of_received_data() 332 testOutputStreamData->expected_size += testData->threshold_for_seek; in testSeekAdaptiveDemuxSendsData() 501 testOutputStreamData->expected_size, in gst_adaptive_demux_test_download_error_size_of_received_data() 503 testOutputStreamData->name, testOutputStreamData->expected_size, in gst_adaptive_demux_test_download_error_size_of_received_data()
|
/third_party/glib/gio/ |
D | thumbnail-verify.c | 85 gsize expected_size; in check_png_info_chunk() local 87 expected_size = strlen (expected_info->uri); in check_png_info_chunk() 89 if (expected_size != value_size) in check_png_info_chunk()
|
/third_party/python/Lib/test/ |
D | test_urllibnet.py | 211 expected_size = int(fileheaders['Content-Length']) 219 self.assertEqual(records[0][2], expected_size) 220 self.assertEqual(records[-1][2], expected_size) 225 self.assertGreaterEqual(records[-1][0]*records[0][1], expected_size,
|
/third_party/flutter/skia/third_party/externals/libwebp/src/utils/ |
D | bit_writer_utils.c | 162 int VP8BitWriterInit(VP8BitWriter* const bw, size_t expected_size) { in VP8BitWriterInit() argument 171 return (expected_size > 0) ? BitWriterResize(bw, expected_size) : 1; in VP8BitWriterInit() 237 int VP8LBitWriterInit(VP8LBitWriter* const bw, size_t expected_size) { in VP8LBitWriterInit() argument 239 return VP8LBitWriterResize(bw, expected_size); in VP8LBitWriterInit()
|
D | bit_writer_utils.h | 39 int VP8BitWriterInit(VP8BitWriter* const bw, size_t expected_size); 108 int VP8LBitWriterInit(VP8LBitWriter* const bw, size_t expected_size);
|
/third_party/skia/third_party/externals/libwebp/src/utils/ |
D | bit_writer_utils.c | 162 int VP8BitWriterInit(VP8BitWriter* const bw, size_t expected_size) { in VP8BitWriterInit() argument 171 return (expected_size > 0) ? BitWriterResize(bw, expected_size) : 1; in VP8BitWriterInit() 237 int VP8LBitWriterInit(VP8LBitWriter* const bw, size_t expected_size) { in VP8LBitWriterInit() argument 239 return VP8LBitWriterResize(bw, expected_size); in VP8LBitWriterInit()
|
D | bit_writer_utils.h | 39 int VP8BitWriterInit(VP8BitWriter* const bw, size_t expected_size); 108 int VP8LBitWriterInit(VP8LBitWriter* const bw, size_t expected_size);
|
/third_party/gstreamer/gstplugins_base/sys/xvimage/ |
D | xvimageallocator.c | 355 gint expected_size = 0; in gst_xvimage_allocator_alloc() local 427 expected_size = in gst_xvimage_allocator_alloc() 439 expected_size = padded_height * GST_ROUND_UP_4 (padded_width * 2); in gst_xvimage_allocator_alloc() 446 expected_size = padded_height * GST_ROUND_UP_4 (padded_width * in gst_xvimage_allocator_alloc() 449 if (expected_size != 0 && mem->xvimage->data_size < expected_size) in gst_xvimage_allocator_alloc() 552 mem->xvimage->data_size, expected_size); in gst_xvimage_allocator_alloc()
|
/third_party/ffmpeg/libavformat/ |
D | vividas.c | 114 static unsigned recover_key(unsigned char sample[4], unsigned expected_size) in recover_key() argument 118 put_v(plaintext+2, expected_size); in recover_key() 233 uint32_t *key, unsigned expected_size) in read_sb_block() argument 248 if (sbuf[0] != 'S' || sbuf[1] != 'B' || (expected_size>0 && n != expected_size)) { in read_sb_block() 249 uint32_t tmpkey = recover_key(ibuf, expected_size); in read_sb_block() 253 if (sbuf[0] != 'S' || sbuf[1] != 'B' || expected_size != n) in read_sb_block() 490 static void load_sb_block(AVFormatContext *s, VividasDemuxContext *viv, unsigned expected_size) in load_sb_block() argument 504 viv->sb_buf = read_sb_block(s->pb, &size, &viv->sb_key, expected_size); in load_sb_block()
|
/third_party/grpc/test/core/iomgr/ |
D | timer_heap_test.cc | 232 size_t expected_size; in shrink_test() local 263 expected_size = pq.timer_count; in shrink_test() 269 expected_size--; in shrink_test() 270 GPR_ASSERT(expected_size == pq.timer_count); in shrink_test()
|
/third_party/boost/libs/geometry/test/geometries/ |
D | adapted.cpp | 61 void test_geometry(G const& geometry, std::size_t expected_size = 0) in BOOST_GEOMETRY_REGISTER_RING_TEMPLATED() 76 BOOST_CHECK_EQUAL(boost::size(geometry), expected_size); in BOOST_GEOMETRY_REGISTER_RING_TEMPLATED()
|
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/ |
D | wire_format_test.py | 106 expected_size = expected_value_size + tag_bytes 108 self.assertEqual(expected_size, actual_size, 111 byte_size_fn, field_number, value, expected_size, actual_size))
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | wire_format_test.py | 110 expected_size = expected_value_size + tag_bytes 112 self.assertEqual(expected_size, actual_size, 115 byte_size_fn, field_number, value, expected_size, actual_size))
|
/third_party/ffmpeg/libavcodec/ |
D | zmbv.c | 420 int expected_size; in decode_frame() local 517 expected_size = avctx->width * avctx->height * (c->bpp / 8); in decode_frame() 519 expected_size = (c->bx * c->by * 2 + 3) & ~3; in decode_frame() 523 expected_size += 768; in decode_frame() 550 if (expected_size > c->decomp_len || in decode_frame() 551 (c->flags & ZMBV_KEYFRAME) && expected_size < c->decomp_len) { in decode_frame() 552 …x, AV_LOG_ERROR, "decompressed size %d is incorrect, expected %d\n", c->decomp_len, expected_size); in decode_frame()
|
/third_party/grpc/test/core/transport/ |
D | metadata_test.cc | 321 size_t expected_size = 32 + strlen(key) + strlen(value); in verify_ascii_header_size() local 322 GPR_ASSERT(expected_size == elem_size); in verify_ascii_header_size() 338 size_t expected_size = 32 + strlen(key) + GRPC_SLICE_LENGTH(base64_encoded); in verify_binary_header_size() local 339 GPR_ASSERT(expected_size == elem_size); in verify_binary_header_size()
|
/third_party/boost/libs/geometry/test/formulas/ |
D | direct_meridian_cases.hpp | 55 size_t const expected_size = sizeof(expected) / sizeof(expected_results); variable
|
D | vertex_longitude_cases.hpp | 455 size_t const expected_size = sizeof(expected) / sizeof(expected_results); variable
|
D | inverse_cases.hpp | 624 size_t const expected_size = sizeof(expected) / sizeof(expected_results); variable
|
/third_party/boost/libs/geometry/test/strategies/ |
D | distance_cross_track_cases.hpp | 516 size_t const expected_size = sizeof(expected) / sizeof(expected_results); variable
|