Searched refs:luaO_str2num (Results 1 - 5 of 5) sorted by relevance

/freebsd-11-stable/contrib/lua/src/
H A Dllex.c211 ** this function is quite liberal in what it accepts, as 'luaO_str2num'
232 if (luaO_str2num(luaZ_buffer(ls->buff), &obj) == 0) /* format error? */
H A Dlobject.c331 size_t luaO_str2num (const char *s, TValue *o) { function
H A Dlobject.h539 LUAI_FUNC size_t luaO_str2num (const char *s, TValue *o);
H A Dlvm.c79 luaO_str2num(svalue(obj), &v) == vslen(obj) + 1) {
80 *n = nvalue(&v); /* convert result of 'luaO_str2num' to a float */
112 luaO_str2num(svalue(obj), &v) == vslen(obj) + 1) {
114 goto again; /* convert result from 'luaO_str2num' to an integer */
H A Dlapi.c338 size_t sz = luaO_str2num(s, L->top);

Completed in 88 milliseconds