Home
last modified time | relevance | path

Searched refs:tmp_size (Results 1 – 25 of 27) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dexrenc.c67 unsigned int tmp_size; member
220 int64_t tmp_size = element_size * s->planes * frame->width; in encode_scanline_rle() local
221 int64_t max_compressed_size = tmp_size * 3 / 2; in encode_scanline_rle()
223 av_fast_padded_malloc(&scanline->uncompressed_data, &scanline->uncompressed_size, tmp_size); in encode_scanline_rle()
227 av_fast_padded_malloc(&scanline->tmp, &scanline->tmp_size, tmp_size); in encode_scanline_rle()
256 reorder_pixels(scanline->tmp, scanline->uncompressed_data, tmp_size); in encode_scanline_rle()
257 predictor(scanline->tmp, tmp_size); in encode_scanline_rle()
260 scanline->tmp, tmp_size); 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()
[all …]
Dexr.c116 int tmp_size; member
1309 av_fast_padded_malloc(&td->tmp, &td->tmp_size, uncompressed_size); in decode_block()
/third_party/python/Modules/
D_dbmmodule.c131 Py_ssize_t tmp_size; in dbm_subscript() local
134 if (!PyArg_Parse(key, "s#", &krec.dptr, &tmp_size)) { in dbm_subscript()
138 krec.dsize = tmp_size; in dbm_subscript()
157 Py_ssize_t tmp_size; in dbm_ass_sub() local
159 if ( !PyArg_Parse(v, "s#", &krec.dptr, &tmp_size) ) { in dbm_ass_sub()
166 krec.dsize = tmp_size; in dbm_ass_sub()
186 if ( !PyArg_Parse(w, "s#", &drec.dptr, &tmp_size) ) { in dbm_ass_sub()
191 drec.dsize = tmp_size; in dbm_ass_sub()
347 Py_ssize_t tmp_size; in _dbm_dbm_setdefault_impl() local
366 if ( !PyArg_Parse(default_value, "s#", &val.dptr, &tmp_size) ) { in _dbm_dbm_setdefault_impl()
[all …]
/third_party/boost/boost/format/
Dfeed_args.hpp249 size_type tmp_size = (std::min)( in put() local
253 if(static_cast<size_type>(w) <= tmp_size) { in put()
255 res.assign(tmp_beg, tmp_size); in put()
259 size_type sz = (std::min)(res_size + (prefix_space ? 1 : 0), tmp_size); in put()
262 if(i>=tmp_size) i=prefix_space; in put()
264 … std::streamsize d = w - static_cast<std::streamsize>(tmp_size); in put()
267 res.append(tmp_beg+i, tmp_size-i); in put()
268 BOOST_ASSERT(i+(tmp_size-i)+(std::max)(d,(std::streamsize)0) in put()
/third_party/ltp/lib/
Dtst_net.c143 size_t tmp_size; in tst_get_connect_address() local
164 tmp_size = sizeof(struct in6_addr); in tst_get_connect_address()
166 if (!memcmp(&inet6_ptr->sin6_addr, &in6addr_any, tmp_size)) { in tst_get_connect_address()
168 tmp_size); in tst_get_connect_address()
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/nnacl/int8/
Dconv2d_3x3_int8_coder.cc33 size_t tmp_size = output_channel * iC8 * C8NUM * kernel_plane * sizeof(int16_t); in ProcessFilterUint8() local
34 auto tmp_addr = reinterpret_cast<int16_t *>(malloc(tmp_size)); in ProcessFilterUint8()
36 int ret = memset_s(tmp_addr, tmp_size, 0, tmp_size); in ProcessFilterUint8()
Dconv2d_int8_coder.cc38 int tmp_size; in InitTmpBuffer() local
40 tmp_size = MSMAX(UP_ROUND(kernel_plane * conv_param_->input_channel_, C4NUM), in InitTmpBuffer()
44 tmp_size = UP_ROUND(kernel_plane * conv_param_->input_channel_, C4NUM); in InitTmpBuffer()
46 tmp_size = UP_ROUND(kernel_plane * conv_param_->input_channel_, C16NUM); in InitTmpBuffer()
50 packed_input_size_ = tmp_size * thread_num_ * tile_num_ * sizeof(int8_t); in InitTmpBuffer()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/
Dconvolution_int8.cc148 int tmp_size; in InitTmpBuffer() local
150 tmp_size = UP_ROUND(kernel_plane * conv_param_->input_channel_, C4NUM); in InitTmpBuffer()
152 tmp_size = UP_ROUND(kernel_plane * conv_param_->input_channel_, C16NUM); in InitTmpBuffer()
160 …packed_input_ = reinterpret_cast<int8_t *>(ctx_->allocator->Malloc(tmp_size * thread_count_ * tile… in InitTmpBuffer()
Dconvolution_3x3_int8.cc36 size_t tmp_size = output_channel * iC8 * C8NUM * kernel_plane * sizeof(int16_t); in ProcessFilterUint8() local
37 auto tmp_addr = reinterpret_cast<int16_t *>(malloc(tmp_size)); in ProcessFilterUint8()
41 memset(tmp_addr, 0, tmp_size); in ProcessFilterUint8()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv98_video.c96 u32 tmp_size = 0; in nv98_create_decoder() local
204 tmp_size = mb(templ->height)*16 * mb(templ->width)*16; in nv98_create_decoder()
210 tmp_size = mb(templ->height)*16 * mb(templ->width)*16; in nv98_create_decoder()
217 tmp_size = dec->tmp_stride * (templ->max_references + 1); in nv98_create_decoder()
244 dec->ref_stride * (templ->max_references+2) + tmp_size, in nv98_create_decoder()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_video.c106 u32 tmp_size = 0; in nvc0_create_decoder() local
226 tmp_size = mb(templ->height)*16 * mb(templ->width)*16; in nvc0_create_decoder()
232 tmp_size = mb(templ->height)*16 * mb(templ->width)*16; in nvc0_create_decoder()
239 tmp_size = dec->tmp_stride * (templ->max_references + 1); in nvc0_create_decoder()
268 dec->ref_stride * (templ->max_references+2) + tmp_size, in nvc0_create_decoder()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/hccl/
Dhcom_util.cc94 size_t tmp_size = 1; in GetHcclOpSize() local
97 tmp_size = SizetMulWithOverflowCheck(tmp_size, shape[i]); in GetHcclOpSize()
104 *size = SizetMulWithOverflowCheck(tmp_size, type_size); in GetHcclOpSize()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/
Dcommon_infer.c49 …orListMergeShape(int *element_shape, size_t *element_shape_size, const int *tmp, size_t tmp_size) { in TensorListMergeShape() argument
51 ShapeSet(element_shape, element_shape_size, tmp, tmp_size); in TensorListMergeShape()
54 if (*element_shape_size != tmp_size) { in TensorListMergeShape()
57 for (size_t j = 0; j < tmp_size; ++j) { in TensorListMergeShape()
Dcommon_infer.h165 …sorListMergeShape(int *element_shape, size_t *element_shape_size, const int *tmp, size_t tmp_size);
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/
Dio_dec.c308 size_t tmp_size, rescaler_size; in InitYUVRescaler() local
313 tmp_size = (work_size + 2 * uv_work_size) * sizeof(*work); in InitYUVRescaler()
315 tmp_size += work_size * sizeof(*work); in InitYUVRescaler()
319 p->memory = WebPSafeMalloc(1ULL, tmp_size + rescaler_size); in InitYUVRescaler()
325 scalers = (WebPRescaler*)WEBP_ALIGN((const uint8_t*)work + tmp_size); in InitYUVRescaler()
/third_party/ffmpeg/libavfilter/
Dvf_zscale.c118 size_t tmp_size; member
483 void **tmp, size_t *tmp_size) in graph_build() argument
497 if (size > *tmp_size) { in graph_build()
503 *tmp_size = size; in graph_build()
630 &s->tmp, &s->tmp_size); in filter_frame()
755 s->tmp_size = 0; in uninit()
/third_party/ffmpeg/libavformat/
Dnutdec.c199 int tmp_stream, tmp_mul, tmp_pts, tmp_size, tmp_res, tmp_head_idx; in decode_main_header() local
253 tmp_size = ffio_read_varlen(bc); in decode_main_header()
255 tmp_size = 0; in decode_main_header()
263 count = tmp_mul - (unsigned)tmp_size; in decode_main_header()
289 if (tmp_size < 0 || tmp_size > INT_MAX - count) { in decode_main_header()
305 nut->frame_code[i].size_lsb = tmp_size + j; in decode_main_header()
Dnutenc.c351 int i, j, tmp_pts, tmp_flags, tmp_stream, tmp_mul, tmp_size, tmp_fields, in write_mainheader() local
374 tmp_size = 0; in write_mainheader()
379 if (tmp_size != nut->frame_code[i].size_lsb ) tmp_fields = 4; in write_mainheader()
387 tmp_size = nut->frame_code[i].size_lsb; in write_mainheader()
400 nut->frame_code[i].size_lsb != tmp_size + j || in write_mainheader()
405 if (j != tmp_mul - tmp_size) in write_mainheader()
413 if (tmp_fields > 3) put_v(bc, tmp_size); in write_mainheader()
/third_party/mbedtls/tests/suites/
Dtest_suite_mps.function874 size_t tmp_size;
878 tmp_size = ( rand() % max_chunk_size ) + 1;
879 ASSERT_ALLOC( tmp, tmp_size );
881 TEST_ASSERT( mbedtls_test_rnd_std_rand( NULL, tmp, tmp_size ) == 0 );
882 ret = mbedtls_mps_reader_feed( &rd, tmp, tmp_size );
887 memcpy( outgoing + out_pos, tmp, tmp_size );
888 out_pos += tmp_size;
/third_party/mbedtls/library/
Dpk_wrap.c540 size_t tmp_size; in extract_ecdsa_sig() local
542 if( ( ret = mbedtls_asn1_get_tag( p, end, &tmp_size, in extract_ecdsa_sig()
/third_party/libusb/libusb/os/
Dwindows_winusb.c3233 size_t tmp_size; in _hid_get_config_descriptor() local
3270 tmp_size = LIBUSB_DT_HID_SIZE; in _hid_get_config_descriptor()
3271 _hid_get_hid_descriptor(hid_priv, hd, &tmp_size); in _hid_get_config_descriptor()
3304 size_t tmp_size = 0; in _hid_get_string_descriptor() local
3312 tmp_size = sizeof(string_langid) + 2; in _hid_get_string_descriptor()
3317 tmp_size = (_hid_wcslen(hid_priv->string[i]) + 1) * sizeof(WCHAR); in _hid_get_string_descriptor()
3326 tmp_size = (_hid_wcslen(string) + 1) * sizeof(WCHAR); in _hid_get_string_descriptor()
3330 if (!tmp_size) in _hid_get_string_descriptor()
3333 if (tmp_size < *size) in _hid_get_string_descriptor()
3334 *size = tmp_size; in _hid_get_string_descriptor()
/third_party/ntfs-3g/ntfsprogs/
Dntfsdecrypt.c414 size_t tmp_size; in ntfs_rsa_private_key_import_from_gnutls() local
429 rd[i].size, &tmp_size) != GPG_ERR_NO_ERROR) { in ntfs_rsa_private_key_import_from_gnutls()
/third_party/glib/gio/
Dgwin32registrykey.c1610 gsize tmp_size; in g_win32_registry_value_iter_get_data() local
1665 &tmp_size, in g_win32_registry_value_iter_get_data()
/third_party/alsa-utils/aplay/
Daplay.c2041 static size_t tmp_size; in remap_data() local
2051 if (tmp_size < chunk_bytes) { in remap_data()
2058 tmp_size = count; in remap_data()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp3832 unsigned tmp_size = 0; in emit_load() local
3834 while ((!tmp_size || (tmp_size % component_size)) && i < num_vals) { in emit_load()
3837 tmp_size += vals[i].bytes(); in emit_load()
3845 tmp[0] = bld.tmp(RegClass::get(reg_type, tmp_size)); in emit_load()
3863 if (tmp_size == elem_rc.bytes()) { in emit_load()
3866 assert(tmp_size % elem_rc.bytes() == 0); in emit_load()
3868 aco_opcode::p_split_vector, Format::PSEUDO, 1, tmp_size / elem_rc.bytes())}; in emit_load()

12