/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/ |
D | conv_depthwise_int8.c | 161 int tmp_buffer[C8NUM]; in ConvDw3x3Int8Window() local 163 tmp_buffer[i] = 0; in ConvDw3x3Int8Window() 173 tmp_buffer[c] += (src_kw[c] - in_zp) * weight_kw[c]; in ConvDw3x3Int8Window() 183 tmp_buffer[c] += bias[c]; in ConvDw3x3Int8Window() 184 tmp_buffer[c] = RoundingDivideByPOT( in ConvDw3x3Int8Window() 185 …SaturatingRoundingDoublingHighMul(tmp_buffer[c] * (1 << (unsigned int)left_shift[c]), out_multipli… in ConvDw3x3Int8Window() 187 tmp_buffer[c] += out_zp; in ConvDw3x3Int8Window() 188 tmp_buffer[c] = MSMAX(tmp_buffer[c], acc_min); in ConvDw3x3Int8Window() 189 tmp_buffer[c] = MSMIN(tmp_buffer[c], acc_max); in ConvDw3x3Int8Window() 190 *output_tmp++ = (tmp_buffer[c]); in ConvDw3x3Int8Window() [all …]
|
/third_party/mindspore/mindspore/lite/micro/coder/wrapper/fp32/ |
D | deconvolution_fp32_wrapper.c | 39 …float *tmp_buffer = tmp_ori_buffer + task_id * thread_stride * C8NUM * kernel_plane * matmul_param… in DoDeconvFp32() local 41 …tmp_buffer, NULL, ActType_No, matmul_param->deep_, matmul_param->row_4_, oc * C8NUM * kernel_plane, in DoDeconvFp32() 44 …float *tmp_buffer = tmp_ori_buffer + task_id * thread_stride * C8NUM * kernel_plane * matmul_param… in DoDeconvFp32() local 46 …tmp_buffer, NULL, ActType_No, matmul_param->deep_, matmul_param->row_12_, oc * C8NUM * kernel_plan… in DoDeconvFp32() 50 DeConvPostFp32C8(tmp_buffer, packed_output + task_id * thread_stride * C8NUM * output_plane, in DoDeconvFp32() 65 float *tmp_buffer = args->tmp_buffer_; in DeConvFp32Run() local 66 …DoDeconvFp32(packed_input, packed_weight, packed_bias, packed_output, output, tmp_buffer, matmul_p… in DeConvFp32Run()
|
/third_party/gstreamer/gstplugins_good/ext/qt/ |
D | qtitem.cc | 132 GstBuffer *tmp_buffer; in ~QtGLVideoItem() local 150 while ((tmp_buffer = (GstBuffer*) g_queue_pop_head (&this->priv->potentially_unbound_buffers))) { in ~QtGLVideoItem() 151 GST_TRACE ("old buffer %p should be unbound now, unreffing", tmp_buffer); in ~QtGLVideoItem() 152 gst_buffer_unref (tmp_buffer); in ~QtGLVideoItem() 154 while ((tmp_buffer = (GstBuffer*) g_queue_pop_head (&this->priv->bound_buffers))) { in ~QtGLVideoItem() 155 GST_TRACE ("old buffer %p should be unbound now, unreffing", tmp_buffer); in ~QtGLVideoItem() 156 gst_buffer_unref (tmp_buffer); in ~QtGLVideoItem() 313 GstBuffer *tmp_buffer; in updatePaintNode() local 319 … while ((tmp_buffer = (GstBuffer*) g_queue_pop_head (&this->priv->potentially_unbound_buffers))) { in updatePaintNode() 320 GST_TRACE ("old buffer %p should be unbound now, unreffing", tmp_buffer); in updatePaintNode() [all …]
|
/third_party/grpc/src/core/ext/filters/client_channel/ |
D | http_connect_handshaker.cc | 204 grpc_slice_buffer tmp_buffer; in OnReadDone() local 205 grpc_slice_buffer_init(&tmp_buffer); in OnReadDone() 209 &tmp_buffer, in OnReadDone() 213 grpc_slice_buffer_addn(&tmp_buffer, in OnReadDone() 216 grpc_slice_buffer_swap(handshaker->args_->read_buffer, &tmp_buffer); in OnReadDone() 217 grpc_slice_buffer_destroy_internal(&tmp_buffer); in OnReadDone()
|
/third_party/weston/clients/ |
D | clickdot.c | 73 cairo_surface_t *tmp_buffer = NULL; in draw_line() local 76 tmp_buffer = clickdot->buffer; in draw_line() 100 if (tmp_buffer) { in draw_line() 101 cairo_set_source_surface(bcr, tmp_buffer, 0, 0); in draw_line() 107 cairo_surface_destroy(tmp_buffer); in draw_line()
|
D | confine.c | 80 cairo_surface_t *tmp_buffer = NULL; in draw_line() local 83 tmp_buffer = confine->buffer; in draw_line() 107 if (tmp_buffer) { in draw_line() 108 cairo_set_source_surface(bcr, tmp_buffer, 0, 0); in draw_line() 114 cairo_surface_destroy(tmp_buffer); in draw_line()
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/ |
D | deconvolution_fp32.cc | 139 …auto tmp_buffer = tmp_buffer_ + task_id * thread_stride_ * C8NUM * kernel_plane_ * matmul_param_->… in DoDeconv() local 144 …tmp_buffer, matmul_param_->deep_, matmul_param_->row_align_, oc * C8NUM * kernel_plane_, kernel_pl… in DoDeconv() 149 tmp_buffer, matmul_param_->deep_, matmul_param_->row_align_, oc * C8NUM * kernel_plane_); in DoDeconv() 154 …tmp_buffer, nullptr, ActType_No, matmul_param_->deep_, matmul_param_->row_align_, oc * C8NUM * ker… in DoDeconv() 158 DeConvPostFp32C8(tmp_buffer, pack_output_ + task_id * thread_stride_ * C8NUM * output_plane_, in DoDeconv()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | gfx10_query.c | 285 struct pipe_resource *tmp_buffer = NULL; in gfx10_sh_query_get_result_resource() local 295 u_suballocator_alloc(&sctx->allocator_zeroed_memory, 16, 16, &tmp_buffer_offset, &tmp_buffer); in gfx10_sh_query_get_result_resource() 296 if (!tmp_buffer) in gfx10_sh_query_get_result_resource() 352 ssbo[1].buffer = tmp_buffer; in gfx10_sh_query_get_result_resource() 415 pipe_resource_reference(&tmp_buffer, NULL); in gfx10_sh_query_get_result_resource()
|
D | si_query.c | 1433 struct pipe_resource *tmp_buffer = NULL; in si_query_hw_get_result_resource() local 1457 u_suballocator_alloc(&sctx->allocator_zeroed_memory, 16, 16, &tmp_buffer_offset, &tmp_buffer); in si_query_hw_get_result_resource() 1458 if (!tmp_buffer) in si_query_hw_get_result_resource() 1474 ssbo[1].buffer = tmp_buffer; in si_query_hw_get_result_resource() 1562 pipe_resource_reference(&tmp_buffer, NULL); in si_query_hw_get_result_resource()
|
/third_party/e2fsprogs/ext2ed/ |
D | general_com.c | 496 char *ptr,buffer [80],tmp_buffer [80]; in set_type() local 508 sprintf (tmp_buffer,"show");dispatch (tmp_buffer); in set_type() 522 sprintf (tmp_buffer,"show");dispatch (tmp_buffer); in set_type()
|
/third_party/skia/third_party/externals/libwebp/src/enc/ |
D | picture_csp_enc.c | 460 fixed_y_t* const tmp_buffer = SAFE_ALLOC(w * 3, 2, fixed_y_t); // scratch in PreprocessARGB() local 477 tmp_buffer == NULL) { in PreprocessARGB() 489 fixed_y_t* const src1 = tmp_buffer + 0 * w; in PreprocessARGB() 490 fixed_y_t* const src2 = tmp_buffer + 3 * w; in PreprocessARGB() 527 fixed_y_t* const src1 = tmp_buffer + 0 * w; in PreprocessARGB() 528 fixed_y_t* const src2 = tmp_buffer + 3 * w; in PreprocessARGB() 566 WebPSafeFree(tmp_buffer); in PreprocessARGB()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/ |
D | picture_csp_enc.c | 456 fixed_y_t* const tmp_buffer = SAFE_ALLOC(w * 3, 2, fixed_y_t); // scratch in PreprocessARGB() local 473 tmp_buffer == NULL) { in PreprocessARGB() 485 fixed_y_t* const src1 = tmp_buffer + 0 * w; in PreprocessARGB() 486 fixed_y_t* const src2 = tmp_buffer + 3 * w; in PreprocessARGB() 523 fixed_y_t* const src1 = tmp_buffer + 0 * w; in PreprocessARGB() 524 fixed_y_t* const src2 = tmp_buffer + 3 * w; in PreprocessARGB() 562 WebPSafeFree(tmp_buffer); in PreprocessARGB()
|
/third_party/gettext/gnulib-local/lib/libxml/ |
D | parserInternals.c | 2061 xmlParserNodeInfo *tmp_buffer; in xmlParserAddNodeInfo() local 2070 tmp_buffer = (xmlParserNodeInfo *) xmlMalloc(byte_size); in xmlParserAddNodeInfo() 2072 tmp_buffer = in xmlParserAddNodeInfo() 2076 if (tmp_buffer == NULL) { in xmlParserAddNodeInfo() 2080 ctxt->node_seq.buffer = tmp_buffer; in xmlParserAddNodeInfo()
|
/third_party/libxml2/ |
D | parserInternals.c | 2033 xmlParserNodeInfo *tmp_buffer; in xmlParserAddNodeInfo() local 2042 tmp_buffer = (xmlParserNodeInfo *) xmlMalloc(byte_size); in xmlParserAddNodeInfo() 2044 tmp_buffer = in xmlParserAddNodeInfo() 2048 if (tmp_buffer == NULL) { in xmlParserAddNodeInfo() 2052 ctxt->node_seq.buffer = tmp_buffer; in xmlParserAddNodeInfo()
|
/third_party/lz4/tests/ |
D | fuzzer.c | 1180 { char tmp_buffer[240] = { 0 }; in FUZ_unitTests() local 1181 FUZ_CHECKTEST( LZ4_saveDict(ctx, tmp_buffer, sizeof(tmp_buffer)) != 0, in FUZ_unitTests() 1297 { char tmp_buffer[240] = { 0 }; in FUZ_unitTests() local 1298 FUZ_CHECKTEST( LZ4_saveDictHC(ctx, tmp_buffer, sizeof(tmp_buffer)) != 0, in FUZ_unitTests()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_query.c | 1611 struct pipe_resource *tmp_buffer = NULL; in r600_query_hw_get_result_resource() local 1638 &tmp_buffer_offset, &tmp_buffer); in r600_query_hw_get_result_resource() 1639 if (!tmp_buffer) in r600_query_hw_get_result_resource() 1655 ssbo[1].buffer = tmp_buffer; in r600_query_hw_get_result_resource() 1749 pipe_resource_reference(&tmp_buffer, NULL); in r600_query_hw_get_result_resource()
|
/third_party/ffmpeg/libavcodec/ |
D | exr.c | 817 uint16_t tmp_buffer[16]; /* B44 use 4x4 half float pixel */ in b44_uncompress() local 840 unpack_3(sr, tmp_buffer); in b44_uncompress() 848 unpack_14(sr, tmp_buffer); in b44_uncompress() 861 td->uncompressed_data[index_out] = tmp_buffer[index_tmp] & 0xff; in b44_uncompress() 862 td->uncompressed_data[index_out + 1] = tmp_buffer[index_tmp] >> 8; in b44_uncompress()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cDirectStateAccessBuffersTests.cpp | 4505 glw::GLuint tmp_buffer = too_much_buffers.top(); in TestErrorsOfNamedBufferData() local 4507 if (tmp_buffer) in TestErrorsOfNamedBufferData() 4509 gl.deleteBuffers(1, &tmp_buffer); in TestErrorsOfNamedBufferData() 4720 glw::GLuint tmp_buffer = too_much_buffers.top(); in TestErrorsOfNamedBufferStorage() local 4722 if (tmp_buffer) in TestErrorsOfNamedBufferStorage() 4724 gl.deleteBuffers(1, &tmp_buffer); in TestErrorsOfNamedBufferStorage()
|
D | gl3cTransformFeedbackTests.cpp | 875 glw::GLchar tmp_buffer[256]; in testExtension1() local 881 …ormFeedbackVarying(m_program_id_with_output, transform_feedback_varyings, sizeof(tmp_buffer), NULL, in testExtension1() 882 &tmp_size, &tmp_type, tmp_buffer); in testExtension1()
|
/third_party/gstreamer/gstplugins_bad/ext/hls/ |
D | gsthlsdemux.c | 1155 GstBuffer *tmp_buffer; in gst_hls_demux_data_received() local 1180 tmp_buffer = hls_stream->pending_decrypted_buffer; in gst_hls_demux_data_received() 1182 buffer = tmp_buffer; in gst_hls_demux_data_received()
|