Home
last modified time | relevance | path

Searched refs:LUA_TSTRING (Results 1 – 10 of 10) sorted by relevance

/external/lua/src/
Dlbaselib.c89 luaL_checktype(L, 1, LUA_TSTRING); /* no numbers as strings */ in luaB_tonumber()
105 if (lua_type(L, 1) == LUA_TSTRING && level > 0) { in luaB_error()
148 luaL_argcheck(L, t == LUA_TTABLE || t == LUA_TSTRING, 1, in luaB_rawlen()
387 if (lua_type(L, 1) == LUA_TSTRING && *lua_tostring(L, 1) == '#') { in luaB_select()
Dlauxlib.c51 if (lua_type(L, -2) == LUA_TSTRING) { /* ignore non-string keys */ in findfield()
185 if (luaL_getmetafield(L, arg, "__name") == LUA_TSTRING) in typeerror()
392 if (!s) tag_error(L, arg, LUA_TSTRING); in luaL_checklstring()
824 case LUA_TSTRING: in luaL_tolstring()
835 const char *kind = (tt == LUA_TSTRING) ? lua_tostring(L, -1) : in luaL_tolstring()
Dlobject.h53 #define LUA_TSHRSTR (LUA_TSTRING | (0 << 4)) /* short strings */
54 #define LUA_TLNGSTR (LUA_TSTRING | (1 << 4)) /* long strings */
148 #define ttisstring(o) checktype((o), LUA_TSTRING)
Dlcorolib.c78 if (lua_type(L, -1) == LUA_TSTRING) { /* error object is a string? */ in luaB_auxwrap()
Dlstate.h226 check_exp(novariant((o)->tt) == LUA_TSTRING, &((cast_u(o))->ts))
Dlua.c183 lua_type(L, -1) == LUA_TSTRING) /* that produces a string? */ in msghandler()
Dlua.h68 #define LUA_TSTRING 4 macro
Dlstrlib.c773 luaL_argcheck(L, tr == LUA_TNUMBER || tr == LUA_TSTRING || in str_gsub()
945 case LUA_TSTRING: { in addliteral()
/external/libtextclassifier/utils/
Dlua-utils.h158 case LUA_TSTRING: { in Item()
/external/libtextclassifier/utils/intents/
Dintent-generator.cc420 if (lua_type(state_, 2) != LUA_TSTRING) { in LookupModelStringResource()
454 case LUA_TSTRING: { in HandleAndroidStringResources()