/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/ |
H A D | mali_gp.c | 38 _mali_osk_errcode_t ret; in mali_gp_create() local 40 ret = mali_gp_reset(core); in mali_gp_create() 42 if (_MALI_OSK_ERR_OK == ret) { in mali_gp_create() 43 ret = mali_group_add_gp_core(group, core); in mali_gp_create() 44 if (_MALI_OSK_ERR_OK == ret) { in mali_gp_create()
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/pipeline_core/nodes/uvc_node/ |
H A D | uvc_node.cpp | 164 int ret = FindCameraMetadataItem(data, OHOS_CONTROL_FPS_RANGES, &entry); in GetUpdateFps() local 165 if (ret == 0) { in GetUpdateFps() 239 int ret = memcpy_s(static_cast<uint8_t *>(buffer->GetVirAddress()), buffer->GetSize(), in DeliverBuffer() local 242 if (ret != 0) { in DeliverBuffer() 243 CAMERA_LOGI("Memcpy_s failed, ret = %{public}d\n", ret); in DeliverBuffer()
|
/drivers/peripheral/bluetooth/audio/hal/hdi_binder/proxy/src/ |
H A D | audio_proxy_common.cpp | 229 int32_t ret = AudioProxyDispatchCall(hwRender->proxyRemoteHandle, cmId, data, reply); in AudioProxyCommonSetRenderCtrlParam() local 231 return ret; in AudioProxyCommonSetRenderCtrlParam() 250 int32_t ret = AudioProxyDispatchCall(hwRender->proxyRemoteHandle, cmId, data, reply); in AudioProxyCommonGetRenderCtrlParam() local 251 if (ret < 0) { in AudioProxyCommonGetRenderCtrlParam() 253 return ret; in AudioProxyCommonGetRenderCtrlParam()
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/device_manager/include/ |
H A D | v4l2_device_manager.h | 78 int32_t ret = GetCameraMetadataItemType(entry.item, &data_type);
in MergeMetadata() local 79 if (ret != CAM_META_SUCCESS) {
in MergeMetadata() 101 int ret = FindCameraMetadataItem(data, ohosTag, &entry);
in AddOrUpdateOhosTag() local 102 if (ret == CAM_META_ITEM_NOT_FOUND) {
in AddOrUpdateOhosTag() 108 } else if (ret == CAM_META_SUCCESS) {
in AddOrUpdateOhosTag()
|
/test/testfwk/xdevice/src/xdevice/_core/executor/ |
H A D | listener.py | 87 ret = ResultCode(test_result.code).name 91 test_result.test_class, test_result.test_name, ret)) 95 test_result.test_class, test_result.test_name, ret)) 106 ret = ResultCode(test_result.code).name 107 LOG.debug("[{}] {}#{}".format(ret, test_result.test_class,
|
/test/xts/hats/kernel/syscalls/net/socket/ |
H A D | SocketApiTest.cpp | 252 int ret; in HWTEST_F() local 259 ret = socketpair(g_socketPairOpt[i].domain, g_socketPairOpt[i].type, 0, socketPair); in HWTEST_F() 260 if (ret < 0) { in HWTEST_F() 261 printf("id = %d, ret = %d\n", g_socketPairOpt[i].id, ret); in HWTEST_F() 263 EXPECT_EQ(ret, 0); in HWTEST_F()
|
/third_party/ffmpeg/libavcodec/ |
H A D | escape130.c | 196 int ret; in escape130_decode_frame() local 215 if ((ret = ff_get_buffer(avctx, pic, 0)) < 0) in escape130_decode_frame() 216 return ret; in escape130_decode_frame() 218 if ((ret = init_get_bits8(&gb, avpkt->data, avpkt->size)) < 0) in escape130_decode_frame() 219 return ret; in escape130_decode_frame()
|
H A D | aptxenc.c | 216 int pos, ipos, channel, sample, output_size, ret; in aptx_encode_frame() local 218 if ((ret = ff_af_queue_add(&s->afq, frame)) < 0) in aptx_encode_frame() 219 return ret; in aptx_encode_frame() 222 if ((ret = ff_get_encode_buffer(avctx, avpkt, output_size, 0)) < 0) in aptx_encode_frame() 223 return ret; in aptx_encode_frame()
|
H A D | libxavs2.c | 175 int ret; in xavs2_encode_frame() local 208 ret = cae->api->encoder_encode(cae->encoder, &pic, &cae->packet); in xavs2_encode_frame() 210 if (ret) { in xavs2_encode_frame() 220 if ((ret = ff_get_encode_buffer(avctx, pkt, cae->packet.len, 0)) < 0) { in xavs2_encode_frame() 222 return ret; in xavs2_encode_frame()
|
H A D | msvideo1.c | 303 int ret; in msvideo1_decode_frame() local 314 if ((ret = ff_reget_buffer(avctx, s->frame, 0)) < 0) in msvideo1_decode_frame() 315 return ret; in msvideo1_decode_frame() 326 if ((ret = av_frame_ref(rframe, s->frame)) < 0) in msvideo1_decode_frame() 327 return ret; in msvideo1_decode_frame()
|
H A D | targa.c | 116 int idlen, pal, compr, y, w, h, bpp, flags, ret; in decode_frame() local 176 if ((ret = ff_set_dimensions(avctx, w, h)) < 0) in decode_frame() 177 return ret; in decode_frame() 192 if ((ret = ff_get_buffer(avctx, p, 0)) < 0) in decode_frame() 193 return ret; in decode_frame()
|
/third_party/ffmpeg/libavcodec/aarch64/ |
H A D | aacpsdsp_neon.S | 31 ret 44 ret 66 ret 100 ret 147 ret
|
/third_party/ffmpeg/libavformat/ |
H A D | mmf.c | 283 int ret; in mmf_read_packet() local 290 ret = av_get_packet(s->pb, pkt, size); in mmf_read_packet() 291 if (ret < 0) in mmf_read_packet() 292 return ret; in mmf_read_packet() 296 return ret; in mmf_read_packet()
|
H A D | yuv4mpegdec.c | 269 int ret; in yuv4_read_packet() local 289 ret = av_get_packet(s->pb, pkt, s->packet_size - Y4M_FRAME_MAGIC_LEN); in yuv4_read_packet() 290 if (ret < 0) in yuv4_read_packet() 291 return ret; in yuv4_read_packet() 292 else if (ret != s->packet_size - Y4M_FRAME_MAGIC_LEN) { in yuv4_read_packet()
|
H A D | rtpdec_jpeg.c | 223 int ret, dri = 0; in jpeg_parse_packet() local 324 if ((ret = avio_open_dyn_buf(&jpeg->frame)) < 0) in jpeg_parse_packet() 325 return ret; in jpeg_parse_packet() 370 if ((ret = ff_rtp_finalize_packet(pkt, &jpeg->frame, st->index)) < 0) { in jpeg_parse_packet() 373 return ret; in jpeg_parse_packet()
|
/third_party/libunwind/libunwind/tests/ |
H A D | Gtest-bt.c | 63 int ret; in do_backtrace() local 106 ret = unw_step (&cursor); in do_backtrace() 107 if (ret < 0) in do_backtrace() 111 ret, (long) ip); in do_backtrace() 115 while (ret > 0); in do_backtrace()
|
/third_party/mbedtls/tests/include/test/ |
H A D | ssl_helpers.h | 492 ret = -1; \ 632 ret = (use_opaque_arg) ? \ 635 TEST_EQUAL(ret, exp_ret_val) 638 ret = mbedtls_ssl_set_hs_ecjpake_password(&ssl, \ 640 TEST_EQUAL(ret, exp_ret_val)
|
/third_party/mesa3d/src/etnaviv/drm/ |
H A D | etnaviv_cmd_stream.c | 204 int ret, id = priv->pipe->id; in etna_cmd_stream_flush() local 232 ret = 0; in etna_cmd_stream_flush() 234 ret = drmCommandWriteRead(gpu->dev->fd, DRM_ETNAVIV_GEM_SUBMIT, in etna_cmd_stream_flush() 237 if (ret) in etna_cmd_stream_flush() 238 ERROR_MSG("submit failed: %d (%s)", ret, strerror(errno)); in etna_cmd_stream_flush()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_android.c | 183 int ret; in tu_gralloc_info_cros() local 185 ret = gralloc->perform(gralloc, CROS_GRALLOC_DRM_GET_BUFFER_INFO, in tu_gralloc_info_cros() 187 if (ret) in tu_gralloc_info_cros() 205 int ret = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, in tu_gralloc_info() local 208 if (ret) { in tu_gralloc_info()
|
/third_party/ltp/testcases/kernel/device-drivers/agp/kernel_space/ |
H A D | tagp.c | 422 int ret = agp_num_entries(); in test_agp_num_entries() local 423 printk("<1> tagp : agp_num_entries return %d\n", ret); in test_agp_num_entries() 431 int ret; in test_agp_copy_info() local 440 ret = agp_copy_info(info); in test_agp_copy_info() 441 if (ret) { in test_agp_copy_info() 454 int ret = 0 , i = 0; 464 ret = agp_bind_memory(local_agp_memory, 64); 465 if (ret) 472 ret = agp_unbind_memory(local_agp_memory); 473 if (ret) [all...] |
/third_party/node/deps/v8/src/wasm/ |
H A D | function-compiler.cc | 184 ValueType ret = sig->GetReturn(0); in UseGenericWrapper() local 185 if (ret.kind() == kS128) return false; in UseGenericWrapper() 186 if (ret.is_reference()) { in UseGenericWrapper() 187 if (ret.heap_representation() != wasm::HeapType::kAny && in UseGenericWrapper() 188 ret.heap_representation() != wasm::HeapType::kFunc) { in UseGenericWrapper()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | syncobj.c | 340 GLenum ret; in client_wait_sync() local 351 ret = GL_ALREADY_SIGNALED; in client_wait_sync() 354 ret = GL_TIMEOUT_EXPIRED; in client_wait_sync() 358 ret = syncObj->StatusFlag in client_wait_sync() 364 return ret; in client_wait_sync()
|
/third_party/libfuse/example/ |
H A D | hello_ll_uds.c | 315 int ret = -1; in main() local 323 ret = 0; in main() 328 ret = 0; in main() 348 ret = fuse_session_loop(se); in main() 357 return ret ? 1 : 0; in main()
|
/third_party/ltp/testcases/kernel/io/aio/ |
H A D | aio01.c | 363 int ret; in setup() local 383 if ((ret = in setup() 388 if ((ret = in setup() 402 if ((ret = io_queue_init(1, &io_ctx)) != 0) in setup() 404 strerror(ret)); in setup()
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
H A D | lima_context.c | 74 void *ret = NULL; in lima_ctx_buff_alloc() local 79 &cbs->res, &ret); in lima_ctx_buff_alloc() 81 return ret; in lima_ctx_buff_alloc() 89 int ret = drmIoctl(screen->fd, DRM_IOCTL_LIMA_CTX_CREATE, &req); in lima_context_create_drm_ctx() local 90 if (ret) in lima_context_create_drm_ctx()
|