Searched refs:lua_tonumber (Results 1 – 12 of 12) sorted by relevance
/external/libtextclassifier/actions/ |
D | lua-utils.cc | 133 static_cast<int>(lua_tonumber(env->state(), /*idx=*/-1)); in ReadSpan() 136 static_cast<int>(lua_tonumber(env->state(), /*idx=*/-1)); in ReadSpan() 139 static_cast<int>(lua_tonumber(env->state(), /*idx=*/-1)); in ReadSpan() 206 static_cast<float>(lua_tonumber(env->state(), /*idx=*/-1)); in ReadClassificationResult() 209 static_cast<int64>(lua_tonumber(env->state(), /*idx=*/-1)); in ReadClassificationResult() 213 lua_tonumber(env->state(), /*idx=*/-1)); in ReadClassificationResult() 288 action.score = static_cast<float>(lua_tonumber(env->state(), /*idx=*/-1)); in ReadAction() 291 static_cast<float>(lua_tonumber(env->state(), /*idx=*/-1)); in ReadAction()
|
/external/libtextclassifier/utils/ |
D | lua-utils.cc | 189 buffer->Set(field, static_cast<int>(lua_tonumber(state_, /*idx=*/-1))); in ReadFlatbuffer() 193 static_cast<int64>(lua_tonumber(state_, /*idx=*/-1))); in ReadFlatbuffer() 197 static_cast<float>(lua_tonumber(state_, /*idx=*/-1))); in ReadFlatbuffer() 201 static_cast<double>(lua_tonumber(state_, /*idx=*/-1))); in ReadFlatbuffer()
|
D | regex-match.cc | 100 const int group_id = static_cast<int>(lua_tonumber(state_, /*idx=*/-1)); in GetCapturingGroup()
|
D | lua-utils.h | 150 static_cast<int64>(lua_tonumber(state, /*idx=*/-1)) - 1; in Item()
|
/external/libtextclassifier/utils/intents/ |
D | intent-generator.cc | 452 resource_id = static_cast<int>(lua_tonumber(state_, /*idx=*/-1)); in HandleAndroidStringResources() 620 value = Variant(static_cast<int>(lua_tonumber(state_, /*idx=*/-1))); in ReadExtras() 622 value = Variant(static_cast<int64>(lua_tonumber(state_, /*idx=*/-1))); in ReadExtras() 624 value = Variant(static_cast<float>(lua_tonumber(state_, /*idx=*/-1))); in ReadExtras()
|
/external/lua/src/ |
D | ltablib.c | 69 lua_Number v = lua_tonumber(L, -1); in maxn()
|
D | lua.h | 341 #define lua_tonumber(L,i) lua_tonumberx(L,(i),NULL) macro
|
D | liolib.c | 630 (LUAI_UACNUMBER)lua_tonumber(L, arg)); in g_write()
|
D | lauxlib.c | 821 lua_pushfstring(L, "%f", (LUAI_UACNUMBER)lua_tonumber(L, idx)); in luaL_tolstring()
|
D | lstrlib.c | 955 lua_Number n = lua_tonumber(L, arg); /* write as hexa ('%a') */ in addliteral()
|
/external/skqp/src/utils/ |
D | SkLua.cpp | 195 return (int)lua_tonumber(L, index); in lua2int_def() 203 return SkLuaToScalar(lua_tonumber(L, index)); in lua2scalar() 208 return SkLuaToScalar(lua_tonumber(L, index)); in lua2scalar_def()
|
/external/skia/src/utils/ |
D | SkLua.cpp | 195 return (int)lua_tonumber(L, index); in lua2int_def() 203 return SkLuaToScalar(lua_tonumber(L, index)); in lua2scalar() 208 return SkLuaToScalar(lua_tonumber(L, index)); in lua2scalar_def()
|