Searched refs:LUA_TSTRING (Results 1 – 10 of 10) sorted by relevance
/external/lua/src/ |
D | lbaselib.c | 89 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()
|
D | lauxlib.c | 51 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()
|
D | lobject.h | 53 #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)
|
D | lcorolib.c | 78 if (lua_type(L, -1) == LUA_TSTRING) { /* error object is a string? */ in luaB_auxwrap()
|
D | lstate.h | 226 check_exp(novariant((o)->tt) == LUA_TSTRING, &((cast_u(o))->ts))
|
D | lua.c | 183 lua_type(L, -1) == LUA_TSTRING) /* that produces a string? */ in msghandler()
|
D | lua.h | 68 #define LUA_TSTRING 4 macro
|
D | lstrlib.c | 773 luaL_argcheck(L, tr == LUA_TNUMBER || tr == LUA_TSTRING || in str_gsub() 945 case LUA_TSTRING: { in addliteral()
|
/external/libtextclassifier/utils/ |
D | lua-utils.h | 158 case LUA_TSTRING: { in Item()
|
/external/libtextclassifier/utils/intents/ |
D | intent-generator.cc | 420 if (lua_type(state_, 2) != LUA_TSTRING) { in LookupModelStringResource() 454 case LUA_TSTRING: { in HandleAndroidStringResources()
|