Home
last modified time | relevance | path

Searched refs:co_ref (Results 1 – 22 of 22) sorted by relevance

/dports/www/nginx-full/lua-nginx-module-0.10.19/src/
H A Dngx_http_lua_util.h268 ctx->entry_co_ctx.co_ref = LUA_NOREF; in ngx_http_lua_init_ctx()
585 tref->ref = co_ref; in ngx_http_lua_free_thread()
594 co_ref); in ngx_http_lua_free_thread()
602 "lua unref lua thread %p (ref %d)", co, co_ref); in ngx_http_lua_free_thread()
608 luaL_unref(L, -1, co_ref); in ngx_http_lua_free_thread()
617 int co_ref; local
632 co_ref = tref->ref;
646 lua_rawgeti(L, -1, co_ref);
657 co_ref = luaL_ref(L, -3);
660 "lua ref lua thread %p (ref %d)", co, co_ref);
[all …]
H A Dngx_http_lua_timer.c37 int co_ref; member
136 int co_ref; in ngx_http_lua_ngx_timer_helper() local
221 co_ref = ngx_http_lua_new_cached_thread(vm, &co, lmcf, 1); in ngx_http_lua_ngx_timer_helper()
282 tctx->co_ref = co_ref; in ngx_http_lua_ngx_timer_helper()
360 ngx_http_lua_free_thread(r, L, co_ref, co, lmcf); in ngx_http_lua_ngx_timer_helper()
369 int nargs, co_ref, i; in ngx_http_lua_timer_copy() local
385 co_ref = ngx_http_lua_new_cached_thread(vm, &co, lmcf, 1); in ngx_http_lua_timer_copy()
448 tctx->co_ref = co_ref; in ngx_http_lua_timer_copy()
497 ngx_http_lua_free_thread(NULL, L, co_ref, co, lmcf); in ngx_http_lua_timer_copy()
531 ngx_http_lua_assert(tctx.co_ref && tctx.co); in ngx_http_lua_timer_handler()
[all …]
H A Dngx_http_lua_uthread.c52 int n, co_ref; in ngx_http_lua_uthread_spawn() local
69 ngx_http_lua_coroutine_create_helper(L, r, ctx, &coctx, &co_ref); in ngx_http_lua_uthread_spawn()
78 coctx->co_ref = co_ref; in ngx_http_lua_uthread_spawn()
H A Dngx_http_lua_coroutine.c107 ngx_http_lua_ctx_t *ctx, ngx_http_lua_co_ctx_t **pcoctx, int *co_ref) in ngx_http_lua_coroutine_create_helper() argument
124 if (co_ref == NULL) { in ngx_http_lua_coroutine_create_helper()
129 *co_ref = ngx_http_lua_new_cached_thread(vm, &co, lmcf, 0); in ngx_http_lua_coroutine_create_helper()
144 coctx->co_ref = LUA_NOREF; in ngx_http_lua_coroutine_create_helper()
163 if (co_ref) { in ngx_http_lua_coroutine_create_helper()
H A Dngx_http_lua_contentby.c27 int co_ref; in ngx_http_lua_content_by_chunk() local
54 co = ngx_http_lua_new_thread(r, L, &co_ref); in ngx_http_lua_content_by_chunk()
77 ctx->cur_co_ctx->co_ref = co_ref; in ngx_http_lua_content_by_chunk()
H A Dngx_http_lua_accessby.c236 int co_ref; in ngx_http_lua_access_by_chunk() local
248 co = ngx_http_lua_new_thread(r, L, &co_ref); in ngx_http_lua_access_by_chunk()
285 ctx->cur_co_ctx->co_ref = co_ref; in ngx_http_lua_access_by_chunk()
H A Dngx_http_lua_rewriteby.c237 int co_ref; in ngx_http_lua_rewrite_by_chunk() local
249 co = ngx_http_lua_new_thread(r, L, &co_ref); in ngx_http_lua_rewrite_by_chunk()
285 ctx->cur_co_ctx->co_ref = co_ref; in ngx_http_lua_rewrite_by_chunk()
H A Dngx_http_lua_control.c308 int co_ref; in ngx_http_lua_on_abort() local
339 ngx_http_lua_coroutine_create_helper(L, r, ctx, &coctx, &co_ref); in ngx_http_lua_on_abort()
341 coctx->co_ref = co_ref; in ngx_http_lua_on_abort()
H A Dngx_http_lua_coroutine.h18 ngx_http_lua_ctx_t *ctx, ngx_http_lua_co_ctx_t **pcoctx, int *co_ref);
H A Dngx_http_lua_ssl_session_fetchby.c464 int co_ref; in ngx_http_lua_ssl_sess_fetch_by_chunk() local
488 co = ngx_http_lua_new_thread(r, L, &co_ref); in ngx_http_lua_ssl_sess_fetch_by_chunk()
513 ctx->cur_co_ctx->co_ref = co_ref; in ngx_http_lua_ssl_sess_fetch_by_chunk()
H A Dngx_http_lua_uthread.h23 ((ctx)->entry_co_ctx.co_ref != LUA_NOREF)
H A Dngx_http_lua_util.c443 if (coctx->co_ref == LUA_NOREF) {
449 coctx->co_ref);
467 tref->ref = coctx->co_ref;
475 coctx->co_ref);
481 coctx->co_ref);
486 luaL_unref(L, -1, coctx->co_ref);
492 coctx->co_ref = LUA_NOREF;
992 ctx->entry_co_ctx.co_ref = LUA_NOREF;
3275 coctx->co_ref = LUA_NOREF;
3402 ref = coctx->co_ref;
[all …]
H A Dngx_http_lua_ssl_certby.c442 int co_ref; in ngx_http_lua_ssl_cert_by_chunk() local
466 co = ngx_http_lua_new_thread(r, L, &co_ref); in ngx_http_lua_ssl_cert_by_chunk()
491 ctx->cur_co_ctx->co_ref = co_ref; in ngx_http_lua_ssl_cert_by_chunk()
H A Dngx_http_lua_common.h476 int co_ref; /* reference to anchor the thread member
H A Dngx_http_lua_socket_tcp.c3455 || coctx->co_ref >= 0)); in ngx_http_lua_socket_handle_conn_success()
3492 || coctx->co_ref >= 0)); in ngx_http_lua_socket_handle_read_success()
3529 || coctx->co_ref >= 0)); in ngx_http_lua_socket_handle_write_success()
3574 || coctx->co_ref >= 0)); in ngx_http_lua_socket_handle_conn_error()
3615 || coctx->co_ref >= 0)); in ngx_http_lua_socket_handle_read_error()
3656 || coctx->co_ref >= 0)); in ngx_http_lua_socket_handle_write_error()
3913 || coctx->co_ref >= 0));
4066 || coctx->co_ref >= 0));
/dports/graphics/blender/blender-2.91.0/source/blender/editors/gizmo_library/gizmo_types/
H A Dmove3d_gizmo.c170 float co_ref[3]; in move3d_get_translate() local
171 mul_v3_mat3_m4v3(co_ref, gz->matrix_space, inter->init.prop_co); in move3d_get_translate()
172 const float zfac = ED_view3d_calc_zfac(rv3d, co_ref, NULL); in move3d_get_translate()
/dports/devel/cligen/cligen-4.8.0/
H A Dcligen_match.c517 if (co->co_type != CO_VARIABLE && co->co_ref == NULL){ in pt_onlyvars()
768 co_orig = co->co_ref?co->co_ref: co; in match_bindvars()
893 co_orig = co_match->co_ref?co_match->co_ref: co_match; in match_pattern_sets_local()
H A Dcligen_object.h176 struct cg_obj *co_ref; /* Ref to original (if this is expanded) */ member
H A Dcligen_expand.c143 con->co_ref = co; in co_expand_sub()
363 cot->co_ref = co; /* Backpointer so we know where this treeref is from */ in pt_expand_treeref()
H A Dcligen_object.c360 if (co->co_ref && !exact) in co_pref()
514 con->co_ref = NULL; in co_copy()
H A Dcligen_read.c672 if (match_obj && match_obj->co_ref) in cliread_parse()
673 *co_orig = match_obj->co_ref; in cliread_parse()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/mesh/
H A Deditmesh_bisect.c93 const float *co_ref = rv3d->ofs; in mesh_bisect_interactive_calc() local
96 const float zfac = ED_view3d_calc_zfac(rv3d, co_ref, NULL); in mesh_bisect_interactive_calc()
110 ED_view3d_win_to_3d(v3d, region, co_ref, co_a_ss, plane_co); in mesh_bisect_interactive_calc()