Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Dcgen.py61 def isnum(s): function
175 elif not isnum(sub) and (sub[:3] <> 'arg' or not isnum(sub[3:])):
233 if a_sub and not isnum(a_sub):
239 if a_sub and isnum(a_sub):
249 if a_mode == 's' and a_sub[:3] == 'arg' and isnum(a_sub[3:]):
298 if a_sub and not isnum(a_sub):
353 if a_mode == 's' and a_sub and not isnum(a_sub):
/external/python/cpython2/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):
/external/python/cpython3/Lib/test/
Dtest_binop.py17 def isnum(x): function
88 if isnum(other):
101 if isnum(other):
112 if isnum(other):
122 if isnum(other):
134 if isnum(other):
144 if isnum(other):
193 if isnum(other):
/external/lua/src/
Dlauxlib.c409 int isnum; in luaL_checknumber() local
410 lua_Number d = lua_tonumberx(L, arg, &isnum); in luaL_checknumber()
411 if (!isnum) in luaL_checknumber()
431 int isnum; in luaL_checkinteger() local
432 lua_Integer d = lua_tointegerx(L, arg, &isnum); in luaL_checkinteger()
433 if (!isnum) { in luaL_checkinteger()
800 int isnum; in luaL_len() local
802 l = lua_tointegerx(L, -1, &isnum); in luaL_len()
803 if (!isnum) in luaL_len()
Dloslib.c240 int isnum; in getfield() local
242 lua_Integer res = lua_tointegerx(L, -1, &isnum); in getfield()
243 if (!isnum) { /* field is not an integer? */ in getfield()
Dlapi.c348 int isnum = tonumber(o, &n); in lua_tonumberx() local
349 if (!isnum) in lua_tonumberx()
351 if (pisnum) *pisnum = isnum; in lua_tonumberx()
359 int isnum = tointeger(o, &res); in lua_tointegerx() local
360 if (!isnum) in lua_tointegerx()
362 if (pisnum) *pisnum = isnum; in lua_tointegerx()
Dlua.h181 LUA_API lua_Number (lua_tonumberx) (lua_State *L, int idx, int *isnum);
182 LUA_API lua_Integer (lua_tointegerx) (lua_State *L, int idx, int *isnum);
Dlparser.c1291 static void forbody (LexState *ls, int base, int line, int nvars, int isnum) { in forbody() argument
1298 prep = isnum ? luaK_codeAsBx(fs, OP_FORPREP, base, NO_JUMP) : luaK_jump(fs); in forbody()
1305 if (isnum) /* numeric for? */ in forbody()
/external/python/dateutil/dateutil/parser/
D_parser.py125 elif self.isnum(nextchar):
147 if self.isnum(nextchar):
161 elif self.isnum(nextchar) and token[-1] == '.':
170 if nextchar == '.' or self.isnum(nextchar):
215 def isnum(cls, nextchar): member in _timelex
/external/one-true-awk/
Dawk.h201 #define isnum(n) ((n)->tval & NUM) macro
Dtran.c397 if (!isnum(vp)) { /* not a number */ in getfval()
467 } else if ((vp->tval & DONTFREE) != 0 || ! isnum(vp) || isfld(vp)) { in get_str_val()
Drun.c958 if (isnum(x)) { in format()
1143 else if (isnum(y)) in assign()
/external/ipsec-tools/src/racoon/
Dcfparse.y2542 int isnum; local
2551 isnum = !errno;
2552 if (((pw = getpwnam(owner->v)) == NULL) && !isnum)
2565 isnum = !errno;
2566 if (((gr = getgrnam(group->v)) == NULL) && !isnum)
/external/eigen/unsupported/test/mpreal/
Dmpreal.h489 friend bool isnum (const mpreal& v);