Home
last modified time | relevance | path

Searched refs:narg (Results 1 – 25 of 28) sorted by relevance

12

/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/bindings/lua/
Dupb.c136 bool lupb_checkbool(lua_State *L, int narg) { in lupb_checkbool() argument
137 if (!lua_isboolean(L, narg)) { in lupb_checkbool()
140 return lua_toboolean(L, narg); in lupb_checkbool()
145 const char *lupb_checkstring(lua_State *L, int narg, size_t *len) { in lupb_checkstring() argument
146 if (lua_type(L, narg) != LUA_TSTRING) { in lupb_checkstring()
150 return lua_tolstring(L, narg, len); in lupb_checkstring()
157 ctype lupb_check##type(lua_State *L, int narg) { \
160 if (lua_isinteger(L, narg)) { \
161 return lua_tointeger(L, narg); \
165 luaL_checktype(L, narg, LUA_TNUMBER); \
[all …]
Dupb.h51 int64_t lupb_checkint64(lua_State *L, int narg);
52 int32_t lupb_checkint32(lua_State *L, int narg);
53 uint64_t lupb_checkuint64(lua_State *L, int narg);
54 uint32_t lupb_checkuint32(lua_State *L, int narg);
55 double lupb_checkdouble(lua_State *L, int narg);
56 float lupb_checkfloat(lua_State *L, int narg);
57 bool lupb_checkbool(lua_State *L, int narg);
58 const char *lupb_checkstring(lua_State *L, int narg, size_t *len);
59 const char *lupb_checkname(lua_State *L, int narg);
68 const upb_msgdef *lupb_msgdef_check(lua_State *L, int narg);
[all …]
Dmsg.c94 static void lupb_msg_newmsgwrapper(lua_State *L, int narg, upb_msgval val);
95 static upb_msg *lupb_msg_check(lua_State *L, int narg);
97 static upb_fieldtype_t lupb_checkfieldtype(lua_State *L, int narg) { in lupb_checkfieldtype() argument
98 uint32_t n = lupb_checkuint32(L, narg); in lupb_checkfieldtype()
100 luaL_argcheck(L, ok, narg, "invalid field type"); in lupb_checkfieldtype()
169 static upb_arena *lupb_arena_check(lua_State *L, int narg) { in lupb_arena_check() argument
170 lupb_arena *a = luaL_checkudata(L, narg, LUPB_ARENA); in lupb_arena_check()
213 static upb_arena *lupb_arenaget(lua_State *L, int narg) { in lupb_arenaget() argument
215 lua_getiuservalue(L, narg, LUPB_ARENA_INDEX); in lupb_arenaget()
237 static upb_msgval lupb_tomsgval(lua_State *L, upb_fieldtype_t type, int narg, in lupb_tomsgval() argument
[all …]
Ddef.c18 static void lupb_symtab_pushwrapper(lua_State *L, int narg, const void *def,
32 static const void *lupb_wrapper_check(lua_State *L, int narg, in lupb_wrapper_check() argument
34 lupb_wrapper *w = luaL_checkudata(L, narg, type); in lupb_wrapper_check()
38 static void lupb_wrapper_pushsymtab(lua_State *L, int narg) { in lupb_wrapper_pushsymtab() argument
39 lua_getiuservalue(L, narg, LUPB_SYMTAB_INDEX); in lupb_wrapper_pushsymtab()
46 static void lupb_wrapper_pushwrapper(lua_State *L, int narg, const void *def, in lupb_wrapper_pushwrapper() argument
48 lupb_wrapper_pushsymtab(L, narg); in lupb_wrapper_pushwrapper()
68 const upb_fielddef *lupb_fielddef_check(lua_State *L, int narg) { in lupb_fielddef_check() argument
69 return lupb_wrapper_check(L, narg, LUPB_FIELDDEF); in lupb_fielddef_check()
217 const upb_oneofdef *lupb_oneofdef_check(lua_State *L, int narg) { in lupb_oneofdef_check() argument
[all …]
/external/one-true-awk/
Dparse.c56 x->narg[0]=b; in node1()
66 x->narg[0] = b; in node2()
67 x->narg[1] = c; in node2()
77 x->narg[0] = b; in node3()
78 x->narg[1] = c; in node3()
79 x->narg[2] = d; in node3()
89 x->narg[0] = b; in node4()
90 x->narg[1] = c; in node4()
91 x->narg[2] = d; in node4()
92 x->narg[3] = e; in node4()
[all …]
Dawkgram.y464 return isvalue(p) && ((Cell *) (p->narg[0]))->csub == CCON;
469 return ((Cell *)(p->narg[0]))->sval;
487 if (strcmp(s, ((Cell *)(vl->narg[0]))->nval) == 0) {
Dawk.h161 struct Node *narg[1]; /* variable: actual size set by calling malloc */ member
/external/rust/crates/ring/crypto/perlasm/
Dx86_64-xlate.pl400 my $narg = $current_function->{narg};
401 $narg=6 if (!defined($narg));
402 $func .= " movq %rcx,%rdi\n" if ($narg>0);
403 $func .= " movq %rdx,%rsi\n" if ($narg>1);
404 $func .= " movq %r8,%rdx\n" if ($narg>2);
405 $func .= " movq %r9,%rcx\n" if ($narg>3);
406 $func .= " movq 40(%rsp),%r8\n" if ($narg>4);
407 $func .= " movq 48(%rsp),%r9\n" if ($narg>5);
424 my $narg = $current_function->{narg};
425 $narg=6 if (!defined($narg));
[all …]
/external/boringssl/src/crypto/perlasm/
Dx86_64-xlate.pl400 my $narg = $current_function->{narg};
401 $narg=6 if (!defined($narg));
402 $func .= " movq %rcx,%rdi\n" if ($narg>0);
403 $func .= " movq %rdx,%rsi\n" if ($narg>1);
404 $func .= " movq %r8,%rdx\n" if ($narg>2);
405 $func .= " movq %r9,%rcx\n" if ($narg>3);
406 $func .= " movq 40(%rsp),%r8\n" if ($narg>4);
407 $func .= " movq 48(%rsp),%r9\n" if ($narg>5);
424 my $narg = $current_function->{narg};
425 $narg=6 if (!defined($narg));
[all …]
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_fog.c57 #define NEG_EXP( result, narg ) \ argument
59 GLfloat f = (GLfloat) (narg * (1.0/FOG_INCR)); \
67 #define NEG_EXP( result, narg ) \ argument
69 result = exp(-narg); \
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_fog.c57 #define NEG_EXP( result, narg ) \ argument
59 GLfloat f = (GLfloat) (narg * (1.0/FOG_INCR)); \
67 #define NEG_EXP( result, narg ) \ argument
69 result = exp(-narg); \
/external/lua/src/
Dlcorolib.c32 static int auxresume (lua_State *L, lua_State *co, int narg) { in auxresume() argument
34 if (!lua_checkstack(co, narg)) { in auxresume()
38 lua_xmove(L, co, narg); in auxresume()
39 status = lua_resume(co, L, narg, &nres); in auxresume()
Dlua.c132 static int docall (lua_State *L, int narg, int nres) { in docall() argument
134 int base = lua_gettop(L) - narg; /* function index */ in docall()
139 status = lua_pcall(L, narg, nres, base); in docall()
161 int i, narg; in createargtable() local
163 narg = argc - (script + 1); /* number of positive indices */ in createargtable()
164 lua_createtable(L, narg, script + 1); in createargtable()
Dldo.c477 int narg = cast_int(L->top - func) - 1; in luaD_call() local
478 luaD_hook(L, LUA_HOOKCALL, -1, 1, narg); in luaD_call()
490 int narg = cast_int(L->top - func) - 1; /* number of real arguments */ in luaD_call() local
501 for (; narg < nfixparams; narg++) in luaD_call()
620 static int resume_error (lua_State *L, const char *msg, int narg) { in resume_error() argument
621 L->top -= narg; /* remove args from the stack */ in resume_error()
/external/oss-fuzz/projects/lua/
Dfuzz_lua.c120 static int docall (lua_State *L, int narg, int nres) { in docall() argument
122 int base = lua_gettop(L) - narg; /* function index */ in docall()
127 status = lua_pcall(L, narg, nres, base); in docall()
/external/mesa3d/src/mesa/tnl/
Dt_vb_fog.c56 #define NEG_EXP( result, narg ) \ argument
58 GLfloat f = (GLfloat) (narg * (1.0F / FOG_INCR)); \
66 #define NEG_EXP( result, narg ) \ argument
68 result = exp(-narg); \
/external/bcc/src/lua/src/
Dmain.c87 static int docall(lua_State *L, int narg, int clear) { in docall() argument
89 int base = lua_gettop(L) - narg; /* function index */ in docall()
93 status = lua_pcall(L, narg, (clear ? 0 : LUA_MULTRET), base); in docall()
/external/ltp/testcases/kernel/firmware/fw_load_user/
Dfw_load.c62 static char *narg; variable
67 {"n:", &nflag, &narg},
109 if (sscanf(narg, "%i", &fw_size) != 1) in setup()
/external/ltp/testcases/kernel/controllers/cgroup_xattr/
Dcgroup_xattr.c95 static char *narg; variable
100 {"n:", &nflag, &narg},
168 if (sscanf(narg, "%i", &value_size) != 1) in setup()
/external/ltp/testcases/kernel/syscalls/kill/
Dkill10.c204 char *narg, *garg, *darg; variable
208 {"n:", &nflag, &narg}, /* -n #procs */
222 if (sscanf(narg, "%i", &num_procs) != 1) { in main()
/external/ltp/testcases/network/netstress/
Dnetstress.c108 static char *narg, *Narg, *qarg, *rarg, *Rarg, *aarg, *Targ, *barg, *targ, variable
856 if (tst_parse_int(narg, &init_cln_msg_len, min_msg_len, max_msg_len)) in setup()
857 tst_brk(TBROK, "Invalid client msg size '%s'", narg); in setup()
1012 {"n:", &narg, "-n x Client message size"},
/external/python/cpython2/Modules/_sqlite/
Dconnection.c867 int narg; in pysqlite_connection_create_function() local
875 &name, &narg, &func)) in pysqlite_connection_create_function()
880 …rc = sqlite3_create_function(self->db, name, narg, SQLITE_UTF8, (void*)func, _pysqlite_func_callba… in pysqlite_connection_create_function()
/external/python/cpython3/Modules/_sqlite/
Dconnection.c816 int narg; in pysqlite_connection_create_function() local
826 &name, &narg, &func, &deterministic)) in pysqlite_connection_create_function()
848 narg, in pysqlite_connection_create_function()
/external/bcc/src/lua/bcc/vendor/
Dargparse.lua426 function Argument:_get_argname(narg)
430 return argname[narg]
/external/mksh/src/
Dedit.c2247 size_t ndel, narg; in x_kill() local
2249 if (x_arg_defaulted || (narg = x_arg) > lastcol) in x_kill()
2250 narg = lastcol; in x_kill()
2251 if (narg < col) { in x_kill()
2252 x_goto(xbuf + narg); in x_kill()
2253 ndel = col - narg; in x_kill()
2255 ndel = narg - col; in x_kill()

12