Home
last modified time | relevance | path

Searched refs:actual_size (Results 1 – 25 of 29) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dexrenc.c69 int64_t actual_size; member
258 scanline->actual_size = rle_compress(scanline->compressed_data, in encode_scanline_rle()
262 if (scanline->actual_size <= 0 || scanline->actual_size >= tmp_size) { in encode_scanline_rle()
265 scanline->actual_size = tmp_size; in encode_scanline_rle()
281 unsigned long actual_size, source_size; in encode_scanline_zip() local
328 actual_size = max_compressed_size; in encode_scanline_zip()
329 compress(scanline->compressed_data, &actual_size, in encode_scanline_zip()
332 scanline->actual_size = actual_size; in encode_scanline_zip()
333 if (scanline->actual_size >= tmp_size) { in encode_scanline_zip()
336 scanline->actual_size = tmp_size; in encode_scanline_zip()
[all …]
/third_party/glib/glib/
Dgstringchunk.c121 gsize actual_size = 1; in g_string_chunk_new() local
123 actual_size = nearest_power (1, size); in g_string_chunk_new()
127 new_chunk->storage_next = actual_size; in g_string_chunk_new()
128 new_chunk->default_size = actual_size; in g_string_chunk_new()
129 new_chunk->this_size = actual_size; in g_string_chunk_new()
/third_party/openssl/crypto/
Dmem_sec.c124 size_t actual_size; in CRYPTO_secure_malloc() local
131 actual_size = ret ? sh_actual_size(ret) : 0; in CRYPTO_secure_malloc()
132 secure_mem_used += actual_size; in CRYPTO_secure_malloc()
153 size_t actual_size; in CRYPTO_secure_free() local
162 actual_size = sh_actual_size(ptr); in CRYPTO_secure_free()
163 CLEAR(ptr, actual_size); in CRYPTO_secure_free()
164 secure_mem_used -= actual_size; in CRYPTO_secure_free()
176 size_t actual_size; in CRYPTO_secure_clear_free() local
186 actual_size = sh_actual_size(ptr); in CRYPTO_secure_clear_free()
187 CLEAR(ptr, actual_size); in CRYPTO_secure_clear_free()
[all …]
/third_party/mesa3d/src/gallium/winsys/i915/drm/
Di915_drm_batchbuffer.c24 size_t actual_size; member
44 batch->actual_size, in i915_drm_batchbuffer_reset()
47 memset(batch->base.map, 0, batch->actual_size); in i915_drm_batchbuffer_reset()
49 batch->base.size = batch->actual_size - BATCH_RESERVED; in i915_drm_batchbuffer_reset()
59 batch->actual_size = idws->max_batch_size; in i915_drm_batchbuffer_create()
61 batch->base.map = MALLOC(batch->actual_size); in i915_drm_batchbuffer_create()
/third_party/boost/boost/process/detail/windows/
Dhandles.hpp81 ::boost::winapi::ULONG_ actual_size; in is_stream_handle()
86 0, &actual_size); in is_stream_handle()
89 vec.resize(actual_size); in is_stream_handle()
96 actual_size, &actual_size); in is_stream_handle()
/third_party/googletest/googletest/test/
Dgoogletest-listener-test.cc249 const size_t actual_size = data.size(); in VerifyResults() local
252 EXPECT_EQ(expected_data_size, actual_size); in VerifyResults()
255 const size_t shorter_size = expected_data_size <= actual_size ? in VerifyResults()
256 expected_data_size : actual_size; in VerifyResults()
264 for (; i < actual_size; ++i) { in VerifyResults()
/third_party/musl/porting/linux/user/src/fortify/
Dfortify.c228 void* __memchr_diagnose(const void* s, int c, size_t n, size_t actual_size) in __memchr_diagnose() argument
230 __diagnose_buffer_access("memchr", "read from", n, actual_size); in __memchr_diagnose()
298 void* __memrchr_chk(const void *s, int c, size_t n, size_t actual_size) in __memrchr_chk() argument
300 __diagnose_buffer_access("memrchr", "read from", n, actual_size); in __memrchr_chk()
306 char* __getcwd_chk(char* buf, size_t len, size_t actual_size) in __getcwd_chk() argument
308 __diagnose_buffer_access("getcwd", "write into", len, actual_size); in __getcwd_chk()
/third_party/flutter/engine/flutter/third_party/txt/src/txt/
Dfont_skia.cc35 size_t actual_size = typeface->getTableData(tag, 0, table_size, buffer); in GetTable() local
36 if (table_size != actual_size) { in GetTable()
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Dwire_format_test.py107 actual_size = byte_size_fn(field_number, value)
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/
Dwire_format_test.py111 actual_size = byte_size_fn(field_number, value)
112 self.assertEqual(expected_size, actual_size,
115 byte_size_fn, field_number, value, expected_size, actual_size))
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/
Dcommon_utils.h164 #define CHECK_KERNEL_WORKSPACE_SIZE(actual_size, expect_size, kernel_name) … argument
166 …if ((actual_size) != (expect_size)) { …
167 …ION) << (kernel_name) << " requires " << (expect_size) << " workspace, but got " << (actual_size) \
/third_party/ffmpeg/libavutil/
Dbprint.c219 unsigned char **mem, unsigned *actual_size) in av_bprint_get_buffer() argument
223 *actual_size = av_bprint_room(buf); in av_bprint_get_buffer()
224 *mem = *actual_size ? buf->str + buf->len : NULL; in av_bprint_get_buffer()
Dbprint.h172 unsigned char **mem, unsigned *actual_size);
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/
Darena.cc173 uint64_t actual_size = static_cast<uint64_t>(new_sz) + ARENA_WALL_OVERHEAD_SZ; in Reallocate() local
174 if (actual_size > this->get_max_size()) { in Reallocate()
177 uint64_t req_blk = SizeToBlk(actual_size); in Reallocate()
/third_party/boost/boost/spirit/home/x3/operator/detail/
Dsequence.hpp133 static int constexpr actual_size = fusion::result_of::size<Attribute>::value; member
140 actual_size >= expected_size
144 actual_size <= expected_size
/third_party/e2fsprogs/lib/ext2fs/
Dundo_io.c166 static int actual_size; variable
397 actual_size = 0; in undo_write_tdb()
413 data_size = actual_size; in undo_write_tdb()
488 actual_size = actual; in undo_io_read_error()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/
Dclean.cc41 inline void CheckInputsSize(size_t actual_size, size_t expect_size, const std::string &op_name) { in CheckInputsSize() argument
42 if (actual_size != expect_size) { in CheckInputsSize()
43 …_LOG(EXCEPTION) << op_name << " should have " << expect_size << " inputs, but got " << actual_size; in CheckInputsSize()
/third_party/musl/porting/linux/user/include/fortify/
Dstring.h26 void *__memchr_diagnose(const void* s, int c, size_t n, size_t actual_size);
/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto_se_driver_hal.function352 size_t actual_size;
355 actual_size = PSA_BITS_TO_BYTES( ram_slots[slot_number].bits );
356 if( actual_size > data_size )
358 *data_length = actual_size;
359 memcpy( data, ram_slots[slot_number].content, actual_size );
/third_party/boost/libs/dynamic_bitset/test/
Dbitset_test.hpp205 const std::size_t actual_size = size_upon_string? rlen : num_bits; in from_string() local
206 BOOST_TEST(b.size() == actual_size); in from_string()
212 for (; j < actual_size; ++j) in from_string()
/third_party/protobuf/python/google/protobuf/pyext/
Dmessage.cc2070 Py_ssize_t actual_size = 0; in ListFields() local
2123 PyList_SET_ITEM(all_fields.get(), actual_size, t.release()); in ListFields()
2124 ++actual_size; in ListFields()
2126 if (static_cast<size_t>(actual_size) != fields.size() && in ListFields()
2127 (PyList_SetSlice(all_fields.get(), actual_size, fields.size(), NULL) < in ListFields()
/third_party/flutter/skia/third_party/externals/libwebp/src/demux/
Ddemux.c295 uint32_t min_size, uint32_t actual_size, in NewFrame() argument
298 if (actual_size < min_size) return PARSE_ERROR; in NewFrame()
/third_party/skia/third_party/externals/libwebp/src/demux/
Ddemux.c299 uint32_t min_size, uint32_t actual_size, in NewFrame() argument
302 if (actual_size < min_size) return PARSE_ERROR; in NewFrame()
/third_party/python/Lib/test/
Dtest_zipfile.py872 actual_size = 8
877 file_size = actual_size
881 local_zip64_fields.append(actual_size)
882 central_zip64_fields.append(actual_size)
885 compress_size = actual_size
889 local_zip64_fields.append(actual_size)
890 central_zip64_fields.append(actual_size)
/third_party/mindspore/mindspore/lite/tools/optimizer/graph/
Dslice_prepose_pass.cc469 auto actual_size = size[j] > 0 ? size[j] : ref_shape[axe] - begin[j]; in SiblingsAreSameSlice() local
471 if (actual_size != actual_first_size) { in SiblingsAreSameSlice()

12