/external/libtextclassifier/actions/ |
D | lua-utils.cc | 87 lua_setfield(env->state(), /*idx=*/-2, kTimeUsecKey); in PushAnnotation() 90 lua_setfield(env->state(), /*idx=*/-2, kGranularityKey); in PushAnnotation() 92 lua_setfield(env->state(), /*idx=*/-2, kCollectionKey); in PushAnnotation() 94 lua_setfield(env->state(), /*idx=*/-2, kScoreKey); in PushAnnotation() 96 lua_setfield(env->state(), /*idx=*/-2, kSerializedEntity); in PushAnnotation() 105 lua_setfield(env->state(), /*idx=*/-2, kTextKey); in PushAnnotation() 116 lua_setfield(env->state(), /*idx=*/-2, kBeginKey); in PushAnnotatedSpan() 118 lua_setfield(env->state(), /*idx=*/-2, kEndKey); in PushAnnotatedSpan() 120 lua_setfield(env->state(), /*idx=*/-2, kSpanKey); in PushAnnotatedSpan() 123 lua_setfield(env->state(), /*idx=*/-2, kClassificationKey); in PushAnnotatedSpan() [all …]
|
D | lua-actions.cc | 116 lua_setfield(state_, /*idx=*/-2, "actions_scores"); in Initialize() 121 lua_setfield(state_, /*idx=*/-2, "reply_scores"); in Initialize() 126 lua_setfield(state_, /*idx=*/-2, "sensitivity"); in Initialize() 131 lua_setfield(state_, /*idx=*/-2, "triggering_score"); in Initialize()
|
/external/lua/src/ |
D | loadlib.c | 307 lua_setfield(L, -3, fieldname); /* package[fieldname] = path value */ in setpath() 335 lua_setfield(L, -3, path); /* CLIBS[path] = plib */ in addtoclib() 611 lua_setfield(L, 2, name); /* LOADED[name] = returned value */ in ll_require() 615 lua_setfield(L, 2, name); /* LOADED[name] = true */ in ll_require() 661 lua_setfield(L, -2, "_M"); /* module._M = module */ in modinit() 663 lua_setfield(L, -2, "_NAME"); in modinit() 669 lua_setfield(L, -2, "_PACKAGE"); in modinit() 699 lua_setfield(L, -2, "__index"); /* mt.__index = _G */ in ll_seeall() 747 lua_setfield(L, -3, "loaders"); /* put it in field 'loaders' */ in createsearcherstable() 749 lua_setfield(L, -2, "searchers"); /* put it in field 'searchers' */ in createsearcherstable() [all …]
|
D | ldblib.c | 109 lua_setfield(L, -2, k); in settabss() 114 lua_setfield(L, -2, k); in settabsi() 119 lua_setfield(L, -2, k); in settabsb() 135 lua_setfield(L, -2, fname); /* put object into table */ in treatstackoption() 366 lua_setfield(L, -2, "__mode"); /** hooktable.__mode = "k" */ in db_sethook()
|
D | lmathlib.c | 401 lua_setfield(L, -2, "pi"); in luaopen_math() 403 lua_setfield(L, -2, "huge"); in luaopen_math() 405 lua_setfield(L, -2, "maxinteger"); in luaopen_math() 407 lua_setfield(L, -2, "mininteger"); in luaopen_math()
|
D | lauxlib.c | 305 lua_setfield(L, -2, "__name"); /* metatable.__name = tname */ in luaL_newmetatable() 307 lua_setfield(L, LUA_REGISTRYINDEX, tname); /* registry.name = metatable */ in luaL_newmetatable() 488 lua_setfield(L, -2, "__gc"); /* metatable.__gc = boxgc */ in newbox() 907 lua_setfield(L, -3, modname); /* LOADED[modname] = new table */ in luaL_pushmodule() 941 lua_setfield(L, -(nup + 2), l->name); in luaL_setfuncs() 959 lua_setfield(L, idx, fname); /* assign new table to field */ in luaL_getsubtable() 981 lua_setfield(L, -3, modname); /* LOADED[modname] = module */ in luaL_requiref()
|
D | liolib.c | 312 lua_setfield(L, LUA_REGISTRYINDEX, f); in g_iofile() 736 lua_setfield(L, -2, "__index"); /* metatable.__index = metatable */ in createmeta() 761 lua_setfield(L, LUA_REGISTRYINDEX, k); /* add file to registry */ in createstdfile() 763 lua_setfield(L, -2, fname); /* add file to module */ in createstdfile()
|
D | loslib.c | 199 lua_setfield(L, -2, key); in setfield() 206 lua_setfield(L, -2, key); in setboolfield()
|
D | lbaselib.c | 492 lua_setfield(L, -2, "_G"); in luaopen_base() 495 lua_setfield(L, -2, "_VERSION"); in luaopen_base()
|
D | lutf8lib.c | 253 lua_setfield(L, -2, "charpattern"); in luaopen_utf8()
|
D | ltablib.c | 202 lua_setfield(L, 1, "n"); /* t.n = number of elements */ in pack()
|
D | lua.c | 569 lua_setfield(L, LUA_REGISTRYINDEX, "LUA_NOENV"); in pmain()
|
D | lua.h | 260 LUA_API void (lua_setfield) (lua_State *L, int idx, const char *k); variable
|
D | lstrlib.c | 1571 lua_setfield(L, -2, "__index"); /* metatable.__index = string */ in createmetatable()
|
D | lapi.c | 777 LUA_API void lua_setfield (lua_State *L, int idx, const char *k) { in lua_setfield() function
|
/external/libtextclassifier/utils/intents/ |
D | intent-generator.cc | 180 lua_setfield(state_, /*idx=*/-2, "user_restrictions"); in SetupExternalHook() 186 lua_setfield(state_, /*idx=*/-2, "R"); in SetupExternalHook() 188 lua_setfield(state_, /*idx=*/-2, "android"); in SetupExternalHook() 216 lua_setfield(state_, -2, "language"); in HandleAndroidCallback() 218 lua_setfield(state_, -2, "region"); in HandleAndroidCallback() 220 lua_setfield(state_, -2, "script"); in HandleAndroidCallback() 721 lua_setfield(state_, /*idx=*/-2, kReferenceTimeUsecKey); in SetupExternalHook() 724 lua_setfield(state_, /*idx=*/-2, "entity"); in SetupExternalHook() 756 lua_setfield(state_, /*idx=*/-2, "conversation"); in SetupExternalHook() 759 lua_setfield(state_, /*idx=*/-2, "entity"); in SetupExternalHook()
|
/external/libtextclassifier/utils/ |
D | lua-utils.h | 96 lua_setfield(state, -2, kIndexKey); in NewIterator() 100 lua_setfield(state, -2, kLengthKey); in NewIterator() 104 lua_setfield(state, -2, kPairsKey); in NewIterator() 212 lua_setfield(state_, -2, kIndexKey); in BindTable()
|
D | regex-match.cc | 112 lua_setfield(state_, /*idx=*/-2, "begin"); in GetCapturingGroup() 114 lua_setfield(state_, /*idx=*/-2, "end"); in GetCapturingGroup() 116 lua_setfield(state_, /*idx=*/-2, "text"); in GetCapturingGroup()
|
D | lua-utils.cc | 84 lua_setfield(state, -2, kIndexKey); in PushFlatbuffer()
|
/external/skqp/src/utils/ |
D | SkLua.cpp | 159 #define CHECK_SETFIELD(key) do if (key) lua_setfield(fL, -2, key); while (0) 164 lua_setfield(L, -2, key); in setfield_bool_if() 170 lua_setfield(L, -2, key); in setfield_string() 175 lua_setfield(L, -2, key); in setfield_number() 180 lua_setfield(L, -2, key); in setfield_boolean() 190 lua_setfield(L, -2, key); in setfield_function() 1082 lua_setfield(L, -2, "positions"); in lshader_asAGradient() 1991 lua_setfield(L, -2, "__index"); \
|
/external/skia/src/utils/ |
D | SkLua.cpp | 159 #define CHECK_SETFIELD(key) do if (key) lua_setfield(fL, -2, key); while (0) 164 lua_setfield(L, -2, key); in setfield_bool_if() 170 lua_setfield(L, -2, key); in setfield_string() 175 lua_setfield(L, -2, key); in setfield_number() 180 lua_setfield(L, -2, key); in setfield_boolean() 190 lua_setfield(L, -2, key); in setfield_function() 1082 lua_setfield(L, -2, "positions"); in lshader_asAGradient() 1991 lua_setfield(L, -2, "__index"); \
|