Home
last modified time | relevance | path

Searched refs:isnum (Results 1 – 13 of 13) 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.c421 int isnum; in luaL_checknumber() local
422 lua_Number d = lua_tonumberx(L, arg, &isnum); in luaL_checknumber()
423 if (!isnum) in luaL_checknumber()
443 int isnum; in luaL_checkinteger() local
444 lua_Integer d = lua_tointegerx(L, arg, &isnum); in luaL_checkinteger()
445 if (!isnum) { in luaL_checkinteger()
851 int isnum; in luaL_len() local
853 l = lua_tointegerx(L, -1, &isnum); in luaL_len()
854 if (!isnum) in luaL_len()
Dloslib.c252 int isnum; in getfield() local
254 lua_Integer res = lua_tointegerx(L, -1, &isnum); in getfield()
255 if (!isnum) { /* field is not an integer? */ in getfield()
Dlua.h190 LUA_API lua_Number (lua_tonumberx) (lua_State *L, int idx, int *isnum);
191 LUA_API lua_Integer (lua_tointegerx) (lua_State *L, int idx, int *isnum);
Dlapi.c358 int isnum = tonumber(o, &n); in lua_tonumberx() local
360 *pisnum = isnum; in lua_tonumberx()
368 int isnum = tointeger(o, &res); in lua_tointegerx() local
370 *pisnum = isnum; in lua_tointegerx()
/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.h217 #define isnum(n) ((n)->tval & NUM) macro
Dtran.c392 if (!isnum(vp)) { /* not a number */ in getfval()
481 } else if ((vp->tval & DONTFREE) != 0 || ! isnum(vp) || isfld(vp)) { in get_str_val()
Drun.c955 if (isnum(x)) { in format()
1144 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/python/pycparser/utils/benchmark/inputs/
Dtccgen.c.ppout2986 static inline int isnum(int c) {