Home
last modified time | relevance | path

Searched refs:isnum (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_binop.py16 def isnum(x): function
93 if isnum(other):
106 if isnum(other):
117 if isnum(other):
127 if isnum(other):
139 if isnum(other):
151 if isnum(other):
202 if isnum(other):
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlauxlib.c376 int isnum; in luaL_checknumber() local
377 lua_Number d = lua_tonumberx(L, narg, &isnum); in luaL_checknumber()
378 if (!isnum) in luaL_checknumber()
390 int isnum; in luaL_checkinteger() local
391 lua_Integer d = lua_tointegerx(L, narg, &isnum); in luaL_checkinteger()
392 if (!isnum) in luaL_checkinteger()
399 int isnum; in luaL_checkunsigned() local
400 lua_Unsigned d = lua_tounsignedx(L, narg, &isnum); in luaL_checkunsigned()
401 if (!isnum) in luaL_checkunsigned()
727 int isnum; in luaL_len() local
[all …]
Dlapi.c335 LUA_API lua_Number lua_tonumberx (lua_State *L, int idx, int *isnum) { in lua_tonumberx() argument
339 if (isnum) *isnum = 1; in lua_tonumberx()
343 if (isnum) *isnum = 0; in lua_tonumberx()
349 LUA_API lua_Integer lua_tointegerx (lua_State *L, int idx, int *isnum) { in lua_tointegerx() argument
356 if (isnum) *isnum = 1; in lua_tointegerx()
360 if (isnum) *isnum = 0; in lua_tointegerx()
366 LUA_API lua_Unsigned lua_tounsignedx (lua_State *L, int idx, int *isnum) { in lua_tounsignedx() argument
373 if (isnum) *isnum = 1; in lua_tounsignedx()
377 if (isnum) *isnum = 0; in lua_tounsignedx()
Dloslib.c158 int res, isnum; in getfield() local
160 res = (int)lua_tointegerx(L, -1, &isnum); in getfield()
161 if (!isnum) { in getfield()
Dlbaselib.c50 int isnum; in luaB_tonumber() local
51 lua_Number n = lua_tonumberx(L, 1, &isnum); in luaB_tonumber()
52 if (isnum) { in luaB_tonumber()
Dlparser.c1283 static void forbody (LexState *ls, int base, int line, int nvars, int isnum) { in forbody() argument
1290 prep = isnum ? luaK_codeAsBx(fs, OP_FORPREP, base, NO_JUMP) : luaK_jump(fs); in forbody()
1297 if (isnum) /* numeric for? */ in forbody()
/device/linaro/bootloader/edk2/StdLib/Include/Lua/
Dlua.h168 LUA_API lua_Number (lua_tonumberx) (lua_State *L, int idx, int *isnum);
169 LUA_API lua_Integer (lua_tointegerx) (lua_State *L, int idx, int *isnum);
170 LUA_API lua_Unsigned (lua_tounsignedx) (lua_State *L, int idx, int *isnum);