Searched refs:setfield (Results 1 – 2 of 2) sorted by relevance
/external/lua/src/ |
D | loslib.c | 209 static void setfield (lua_State *L, const char *key, int value, int delta) { in setfield() function 231 setfield(L, "year", stm->tm_year, 1900); in setallfields() 232 setfield(L, "month", stm->tm_mon, 1); in setallfields() 233 setfield(L, "day", stm->tm_mday, 0); in setallfields() 234 setfield(L, "hour", stm->tm_hour, 0); in setallfields() 235 setfield(L, "min", stm->tm_min, 0); in setallfields() 236 setfield(L, "sec", stm->tm_sec, 0); in setallfields() 237 setfield(L, "yday", stm->tm_yday, 1); in setallfields() 238 setfield(L, "wday", stm->tm_wday, 1); in setallfields()
|
/external/starlark-go/starlark/testdata/ |
D | builtins.star | 207 # spell check in setfield too 208 def setfield(): hf.noForty_Five = 46 # "no" prefix => SetField returns NoSuchField 209 assert.fails(setfield, 'no .noForty_Five field.*did you mean .forty_five')
|