/third_party/ffmpeg/libavcodec/ |
H A D | pthread_frame.c | 735 AVCodecContext *ctx = p->avctx; in ff_frame_thread_free() local 737 if (ctx->internal) { in ff_frame_thread_free() 747 codec->close(ctx); in ff_frame_thread_free() 755 if (ctx->priv_data) { in ff_frame_thread_free() 757 av_opt_free(ctx->priv_data); in ff_frame_thread_free() 758 av_freep(&ctx->priv_data); in ff_frame_thread_free() 761 av_freep(&ctx->slice_offset); in ff_frame_thread_free() 763 av_buffer_unref(&ctx->internal->pool); in ff_frame_thread_free() 764 av_freep(&ctx->internal); in ff_frame_thread_free() 765 av_buffer_unref(&ctx in ff_frame_thread_free() [all...] |
H A D | avcodec.c | 85 static int64_t get_bit_rate(AVCodecContext *ctx) in get_bit_rate() argument 90 switch (ctx->codec_type) { in get_bit_rate() 95 bit_rate = ctx->bit_rate; in get_bit_rate() 98 bits_per_sample = av_get_bits_per_sample(ctx->codec_id); in get_bit_rate() 100 bit_rate = ctx->sample_rate * (int64_t)ctx->ch_layout.nb_channels; in get_bit_rate() 106 bit_rate = ctx->bit_rate; in get_bit_rate()
|
/third_party/node/src/ |
H A D | node_zlib.cc | 290 CompressionStream* ctx; in Close() local 291 ASSIGN_OR_RETURN_UNWRAP(&ctx, args.Holder()); in Close() 292 ctx->Close(); in Close() 341 CompressionStream* ctx; in Write() local 342 ASSIGN_OR_RETURN_UNWRAP(&ctx, args.Holder()); in Write() 344 ctx->Write<async>(flush, in, in_len, out, out_len); in Write() 494 CompressionStream* ctx = static_cast<CompressionStream*>(data); in AllocForBrotli() local 498 ctx->unreported_allocations_.fetch_add(size, in AllocForBrotli() 505 CompressionStream* ctx = static_cast<CompressionStream*>(data); in FreeForZlib() 508 ctx in FreeForZlib() [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | map_type_handler.h | 172 static inline const char* Read(const char* ptr, ParseContext* ctx, 228 static inline const char* Read(const char* begin, ParseContext* ctx, \ 428 const char* ptr, ParseContext* ctx, MapEntryAccessorType* value) { in Read() 429 return ctx->ParseMessage(value, ptr); in Read() 434 const char* ptr, ParseContext* ctx, MapEntryAccessorType* value) { in Read() 437 return ctx->ReadString(ptr, size, value); in Read() 442 const char* ptr, ParseContext* ctx, MapEntryAccessorType* value) { in Read() 445 return ctx->ReadString(ptr, size, value); in Read() 512 const char* begin, ParseContext* ctx, MapEntryAccessorType* value) { \ 513 (void)ctx; \ 427 Read( const char* ptr, ParseContext* ctx, MapEntryAccessorType* value) Read() argument 433 Read( const char* ptr, ParseContext* ctx, MapEntryAccessorType* value) Read() argument 441 Read( const char* ptr, ParseContext* ctx, MapEntryAccessorType* value) Read() argument [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_morpho.c | 769 AVFilterContext *ctx = inlink->dst; in config_input_structure() local 772 av_assert0(ctx->inputs[0]->format == ctx->inputs[1]->format); in config_input_structure() 782 static int activate(AVFilterContext *ctx) in activate() argument 784 MorphoContext *s = ctx->priv; in activate() 790 AVFilterContext *ctx = fs->parent; in do_morpho() local 791 AVFilterLink *outlink = ctx->outputs[0]; in do_morpho() 792 MorphoContext *s = ctx->priv; in do_morpho() 824 if (ctx->is_disabled || !(s->planes & (1 << p))) { in do_morpho() 941 AVFilterContext *ctx in config_output() local 972 uninit(AVFilterContext *ctx) uninit() argument [all...] |
H A D | vf_removegrain.c | 516 static int filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in filter_slice() argument 518 RemoveGrainContext *s = ctx->priv; in filter_slice() 586 AVFilterContext *ctx = inlink->dst; in filter_frame() local 587 AVFilterLink *outlink = ctx->outputs[0]; in filter_frame() 588 RemoveGrainContext *s = ctx->priv; in filter_frame() 614 ff_filter_execute(ctx, filter_slice, &td, NULL, in filter_frame() 615 FFMIN(s->planeheight[i], ff_filter_get_nb_threads(ctx))); in filter_frame()
|
H A D | vf_vaguedenoiser.c | 532 AVFilterContext *ctx = inlink->dst; in filter_frame() local 533 VagueDenoiserContext *s = ctx->priv; in filter_frame() 534 AVFilterLink *outlink = ctx->outputs[0]; in filter_frame() 558 static av_cold int init(AVFilterContext *ctx) in init() argument 560 VagueDenoiserContext *s = ctx->priv; in init() 577 static av_cold void uninit(AVFilterContext *ctx) in uninit() argument 579 VagueDenoiserContext *s = ctx->priv; in uninit()
|
/third_party/openssl/test/ |
H A D | destest.c | 717 EVP_CIPHER_CTX *ctx = NULL; in test_des_key_wrap() local 726 || !TEST_ptr(ctx = EVP_CIPHER_CTX_new())) in test_des_key_wrap() 740 if (!TEST_true(EVP_EncryptInit(ctx, cipher, key, NULL)) in test_des_key_wrap() 741 || !TEST_true(EVP_EncryptUpdate(ctx, c_txt, &clen_upd, in test_des_key_wrap() 750 if (!TEST_true(EVP_EncryptFinal(ctx, c_txt + clen_upd, &clen_fin)) in test_des_key_wrap() 757 if (!TEST_true(EVP_DecryptInit(ctx, cipher, key, NULL)) in test_des_key_wrap() 758 || !TEST_true(EVP_DecryptUpdate(ctx, p_txt, &plen_upd, in test_des_key_wrap() 762 if (!TEST_true(EVP_DecryptFinal(ctx, p_txt + plen_upd, &plen_fin))) in test_des_key_wrap() 771 EVP_CIPHER_CTX_free(ctx); in test_des_key_wrap() 847 EVP_CIPHER_CTX *ctx in test_des_two_key() local [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | validationCL.cpp | 832 const Context &ctx = context->cast<Context>(); in ValidateCreateBuffer() local 836 if (!ValidateMemoryFlags(flags, ctx.getPlatform())) in ValidateCreateBuffer() 846 for (const DevicePtr &device : ctx.getDevices()) in ValidateCreateBuffer() 890 const Context &ctx = context->cast<Context>(); in ValidateGetSupportedImageFormats() local 893 if (!ValidateMemoryFlags(flags, ctx.getPlatform()) || !Image::IsTypeValid(image_type)) in ValidateGetSupportedImageFormats() 1054 const Context &ctx = context->cast<Context>(); in ValidateCreateProgramWithBinary() local 1066 if (!ctx.hasDevice(*device_list++)) in ValidateCreateProgramWithBinary() 2702 const Context &ctx = context->cast<Context>(); in ValidateCreateImage() local 2705 if (!ValidateMemoryFlags(flags, ctx.getPlatform())) in ValidateCreateImage() 2712 if (!IsValidImageFormat(image_format, ctx in ValidateCreateImage() 2873 const Context &ctx = context->cast<Context>(); ValidateCreateProgramWithBuiltInKernels() local 2995 const Context &ctx = context->cast<Context>(); ValidateLinkProgram() local 3511 const Context &ctx = context->cast<Context>(); ValidateCreateProgramWithIL() local [all...] |
/third_party/ltp/scripts/ |
H A D | checkpatch.pl | 2912 my $ctx = $1; 2913 my ($email_name, $email_comment, $email_address, $comment1) = parse_email($ctx); 2917 $author_sob = $ctx; 2920 $author_sob = $ctx; 2923 $author_sob = $ctx; 4115 my $ctx = $s; 4116 substr($ctx, 0, $name_len + 1, ''); 4117 $ctx =~ s/\)[^\)]*$//; 4119 for my $arg (split(/\s*,\s*/, $ctx)) { 4138 my @ctx [all...] |
/third_party/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_texture.c | 1023 struct pipe_context *ctx, in r300_resource_get_handle() 1193 struct pipe_surface* r300_create_surface_custom(struct pipe_context * ctx, in r300_create_surface_custom() argument 1210 surface->base.context = ctx; in r300_create_surface_custom() 1256 DBG(r300_context(ctx), DBG_CBZB, in r300_create_surface_custom() 1268 struct pipe_surface* r300_create_surface(struct pipe_context * ctx, in r300_create_surface() argument 1272 return r300_create_surface_custom(ctx, texture, surf_tmpl, in r300_create_surface() 1277 void r300_surface_destroy(struct pipe_context *ctx, struct pipe_surface* s) in r300_surface_destroy() argument 1022 r300_resource_get_handle(struct pipe_screen* screen, struct pipe_context *ctx, struct pipe_resource *texture, struct winsys_handle *whandle, unsigned usage) r300_resource_get_handle() argument
|
/third_party/node/deps/openssl/openssl/crypto/sha/asm/ |
H A D | sha256-armv4.pl | 64 $ctx="r0"; $t0="r0"; 249 stmdb sp!,{$ctx,$inp,$len,r4-r11,lr} 250 ldmia $ctx,{$A,$B,$C,$D,$E,$F,$G,$H} 269 ldreq $t3,[sp,#16*4] @ pull ctx 509 str $ctx,[sp,#64] 526 ldmia $ctx,{$A-$H} 625 vld1.32 {$ABCD,$EFGH},[$ctx] 685 vst1.32 {$ABCD,$EFGH},[$ctx]
|
/third_party/openssl/crypto/sha/asm/ |
H A D | sha256-armv4.pl | 64 $ctx="r0"; $t0="r0"; 249 stmdb sp!,{$ctx,$inp,$len,r4-r11,lr} 250 ldmia $ctx,{$A,$B,$C,$D,$E,$F,$G,$H} 269 ldreq $t3,[sp,#16*4] @ pull ctx 509 str $ctx,[sp,#64] 526 ldmia $ctx,{$A-$H} 625 vld1.32 {$ABCD,$EFGH},[$ctx] 685 vst1.32 {$ABCD,$EFGH},[$ctx]
|
/third_party/skia/third_party/externals/imgui/backends/ |
H A D | imgui_impl_wgpu.cpp | 293 static void ImGui_ImplWGPU_SetupRenderState(ImDrawData* draw_data, WGPURenderPassEncoder ctx, FrameResources* fr) in ImGui_ImplWGPU_SetupRenderState() argument 313 wgpuRenderPassEncoderSetViewport(ctx, 0, 0, draw_data->FramebufferScale.x * draw_data->DisplaySize.x, draw_data->FramebufferScale.y * draw_data->DisplaySize.y, 0, 1); in ImGui_ImplWGPU_SetupRenderState() 316 wgpuRenderPassEncoderSetVertexBuffer(ctx, 0, fr->VertexBuffer, 0, 0); in ImGui_ImplWGPU_SetupRenderState() 317 wgpuRenderPassEncoderSetIndexBuffer(ctx, fr->IndexBuffer, sizeof(ImDrawIdx) == 2 ? WGPUIndexFormat_Uint16 : WGPUIndexFormat_Uint32, 0, 0); in ImGui_ImplWGPU_SetupRenderState() 318 wgpuRenderPassEncoderSetPipeline(ctx, g_pipelineState); in ImGui_ImplWGPU_SetupRenderState() 319 wgpuRenderPassEncoderSetBindGroup(ctx, 0, g_resources.CommonBindGroup, 0, NULL); in ImGui_ImplWGPU_SetupRenderState() 323 wgpuRenderPassEncoderSetBlendConstant(ctx, &blend_color); in ImGui_ImplWGPU_SetupRenderState()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
H A D | driver_macsec_qca.c | 134 static void macsec_qca_handle_data(void *ctx, unsigned char *buf, size_t len) in macsec_qca_handle_data() argument 159 wpa_supplicant_event(ctx, EVENT_NEW_STA, &event); in macsec_qca_handle_data() 163 drv_event_eapol_rx(ctx, sa, pos, left); in macsec_qca_handle_data() 205 drv->common.ctx, NULL)) { in macsec_qca_init_sockets() 260 static void * macsec_qca_init(void *ctx, const char *ifname) in macsec_qca_init() argument 276 if (driver_wired_init_common(&drv->common, ifname, ctx) < 0) { in macsec_qca_init() 318 drv->common.ctx = hapd; in macsec_qca_hapd_init()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
H A D | wps_upnp_web.c | 436 if (!iface || iface->ctx->ap_pin == NULL) in web_process_get_device_info() 453 cfg.pin = (u8 *) iface->ctx->ap_pin; in web_process_get_device_info() 454 cfg.pin_len = os_strlen(iface->ctx->ap_pin); in web_process_get_device_info() 655 if (iface->ctx->rx_req_put_wlan_response && in web_process_put_wlan_response() 656 iface->ctx->rx_req_put_wlan_response(iface->priv, ev_type, in web_process_put_wlan_response() 663 wpa_printf(MSG_INFO, "WPS UPnP: Fail: sm->ctx->" in web_process_put_wlan_response() 1348 static void web_connection_check_data(void *ctx, struct http_request *req) in web_connection_check_data() argument 1350 struct upnp_wps_device_sm *sm = ctx; in web_connection_check_data()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | mesh_rsn.c | 66 static void auth_logger(void *ctx, const u8 *addr, logger_level level, in auth_logger() argument 77 static const u8 *auth_get_psk(void *ctx, const u8 *addr, in auth_get_psk() argument 81 struct mesh_rsn *mesh_rsn = ctx; in auth_get_psk() 102 static int auth_set_key(void *ctx, int vlan_id, enum wpa_alg alg, in auth_set_key() argument 105 struct mesh_rsn *mesh_rsn = ctx; in auth_set_key() 125 static int auth_start_ampe(void *ctx, const u8 *addr) in auth_start_ampe() argument 127 struct mesh_rsn *mesh_rsn = ctx; in auth_start_ampe()
|
H A D | wpa_supplicant_i.h | 335 void *ctx; member 344 void *ctx); 348 void radio_remove_pending_work(struct wpa_supplicant *wpa_s, void *ctx); 418 void (*notify_neighbor_rep)(void *ctx, struct wpabuf *neighbor_rep); 814 void (*ap_configured_cb)(void *ctx, void *data); 1345 void wpa_supplicant_rx_eapol(void *ctx, const u8 *src_addr, 1372 void (*cb)(void *ctx,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
H A D | driver_macsec_qca.c | 134 static void macsec_qca_handle_data(void *ctx, unsigned char *buf, size_t len) in macsec_qca_handle_data() argument 159 wpa_supplicant_event(ctx, EVENT_NEW_STA, &event); in macsec_qca_handle_data() 163 drv_event_eapol_rx(ctx, sa, pos, left); in macsec_qca_handle_data() 205 drv->common.ctx, NULL)) { in macsec_qca_init_sockets() 287 static void * macsec_qca_init(void *ctx, const char *ifname) in macsec_qca_init() argument 302 if (driver_wired_init_common(&drv->common, ifname, ctx) < 0) { in macsec_qca_init() 340 drv->common.ctx = hapd; in macsec_qca_hapd_init()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
H A D | wps_upnp_web.c | 436 if (!iface || iface->ctx->ap_pin == NULL) in web_process_get_device_info() 453 cfg.pin = (u8 *) iface->ctx->ap_pin; in web_process_get_device_info() 454 cfg.pin_len = os_strlen(iface->ctx->ap_pin); in web_process_get_device_info() 655 if (iface->ctx->rx_req_put_wlan_response && in web_process_put_wlan_response() 656 iface->ctx->rx_req_put_wlan_response(iface->priv, ev_type, in web_process_put_wlan_response() 663 wpa_printf(MSG_INFO, "WPS UPnP: Fail: sm->ctx->" in web_process_put_wlan_response() 1348 static void web_connection_check_data(void *ctx, struct http_request *req) in web_connection_check_data() argument 1350 struct upnp_wps_device_sm *sm = ctx; in web_connection_check_data()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | mesh_rsn.c | 66 static void auth_logger(void *ctx, const u8 *addr, logger_level level, in auth_logger() argument 77 static const u8 *auth_get_psk(void *ctx, const u8 *addr, in auth_get_psk() argument 81 struct mesh_rsn *mesh_rsn = ctx; in auth_get_psk() 102 static int auth_set_key(void *ctx, int vlan_id, enum wpa_alg alg, in auth_set_key() argument 106 struct mesh_rsn *mesh_rsn = ctx; in auth_set_key() 130 static int auth_start_ampe(void *ctx, const u8 *addr) in auth_start_ampe() argument 132 struct mesh_rsn *mesh_rsn = ctx; in auth_start_ampe()
|
/third_party/mbedtls/library/ |
H A D | psa_crypto.c | 2310 memset(&operation->ctx, 0, sizeof(operation->ctx)); in psa_hash_setup() 3838 &operation->ctx); in mbedtls_psa_sign_hash_start() 3845 operation->ctx->grp.nbits); in mbedtls_psa_sign_hash_start() 3910 mbedtls_ecdsa_sign_det_restartable(&operation->ctx->grp, in mbedtls_psa_sign_hash_complete() 3913 &operation->ctx->d, in mbedtls_psa_sign_hash_complete() 3926 mbedtls_ecdsa_sign_restartable(&operation->ctx->grp, in mbedtls_psa_sign_hash_complete() 3929 &operation->ctx->d, in mbedtls_psa_sign_hash_complete() 3998 if (operation->ctx) { in mbedtls_psa_sign_hash_abort() 3999 mbedtls_ecdsa_free(operation->ctx); in mbedtls_psa_sign_hash_abort() 8017 mbedtls_psa_crypto_configure_entropy_sources( void (* entropy_init)(mbedtls_entropy_context *ctx), void (* entropy_free)(mbedtls_entropy_context *ctx)) mbedtls_psa_crypto_configure_entropy_sources() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | radeon_uvd.c | 84 struct rvid_buffer ctx; member 994 si_vid_destroy_buffer(&dec->ctx); in ruvd_destroy() 1123 dec->msg->body.decode.dpb_reserved = dec->ctx.res->buf->size; in ruvd_end_frame() 1138 if (dec->ctx.res == NULL) { in ruvd_end_frame() 1144 if (!si_vid_create_buffer(dec->screen, &dec->ctx, ctx_size, PIPE_USAGE_DEFAULT)) { in ruvd_end_frame() 1147 si_vid_clear_buffer(decoder->context, &dec->ctx); in ruvd_end_frame() 1150 if (dec->ctx.res) in ruvd_end_frame() 1151 dec->msg->body.decode.dpb_reserved = dec->ctx.res->buf->size; in ruvd_end_frame() 1188 if (dec->ctx.res) in ruvd_end_frame() 1189 send_cmd(dec, RUVD_CMD_CONTEXT_BUFFER, dec->ctx in ruvd_end_frame() [all...] |
H A D | si_clear.c | 1102 static void si_clear(struct pipe_context *ctx, unsigned buffers, in si_clear() argument 1106 struct si_context *sctx = (struct si_context *)ctx; in si_clear() 1231 struct pipe_context *ctx = &sctx->b; in si_try_normal_clear() local 1246 ctx->set_framebuffer_state(ctx, &fb); in si_try_normal_clear() 1247 ctx->clear(ctx, buffers, NULL, color, depth, stencil); in si_try_normal_clear() 1248 ctx->set_framebuffer_state(ctx, &saved_fb); in si_try_normal_clear() 1258 static void si_clear_render_target(struct pipe_context *ctx, struc argument 1284 si_clear_depth_stencil(struct pipe_context *ctx, struct pipe_surface *dst, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height, bool render_condition_enabled) si_clear_depth_stencil() argument [all...] |
/third_party/node/lib/internal/ |
H A D | errors.js | 355 [SymbolFor('nodejs.util.inspect.custom')](recurseTimes, ctx) { 357 ...ctx, 366 constructor(ctx) { 367 super(key, ctx); 508 * @param {object} ctx 511 const uvException = hideStackFrames(function uvException(ctx) { 512 const { 0: code, 1: uvmsg } = uvErrmapGet(ctx.errno) || uvUnmappedError; 513 let message = `${code}: ${ctx.message || uvmsg}, ${ctx.syscall}`; 517 if (ctx [all...] |