Lines Matching refs:type

758 void proxy_out_errstring(mc_resp *resp, char *type, const char *str) {  in proxy_out_errstring()  argument
760 size_t prefix_len = strlen(type); in proxy_out_errstring()
776 memcpy(w, type, prefix_len); in proxy_out_errstring()
905 int type = lua_type(Lc, 1); in proxy_run_rcontext() local
907 P_DEBUG("%s: coroutine completed. return type: %d\n", __func__, type); in proxy_run_rcontext()
908 if (type == LUA_TUSERDATA && (r = luaL_testudata(Lc, 1, "mcp.response")) != NULL) { in proxy_run_rcontext()
910 if (r->status != MCMC_OK && r->resp.type != MCMC_RESP_ERRMSG) { in proxy_run_rcontext()
930 } else if (type == LUA_TSTRING) { in proxy_run_rcontext()
1528 int type = lua_type(L, i); in dump_stack() local
1534 if (type == LUA_TUSERDATA) { in dump_stack()
1537 …fprintf(stderr, "--|%d| [%s] (%s) [ptr: %p]\n", i, lua_typename(L, type), lua_tostring(L, -1), uda… in dump_stack()
1543 if (type == LUA_TSTRING) { in dump_stack()
1544 fprintf(stderr, "--|%d| [%s] | %s\n", i, lua_typename(L, type), lua_tostring(L, i)); in dump_stack()
1546 if (type == LUA_TUSERDATA) { in dump_stack()
1549 fprintf(stderr, "--|%d| [%s] [ptr: %p]\n", i, lua_typename(L, type), udata); in dump_stack()
1572 int type = lua_type(L, -1); in dump_registry() local
1573 if (type == LUA_TUSERDATA) { in dump_registry()
1575 } else if (type == LUA_TNUMBER) { in dump_registry()
1577 } else if (type == LUA_TSTRING) { in dump_registry()
1579 } else if (type == LUA_TFUNCTION) { in dump_registry()
1581 } else if (type == LUA_TTABLE) { in dump_registry()
1605 int type = lua_type(L, -1); in dump_funcgen() local
1606 if (type == LUA_TUSERDATA) { in dump_funcgen()
1659 int type = lua_type(L, -1); in dump_pools() local
1660 if (type == LUA_TUSERDATA) { in dump_pools()