Home
last modified time | relevance | path

Searched refs:l_sprintf (Results 1 – 2 of 2) sorted by relevance

/external/lua/src/
Dluaconf.h437 l_sprintf((s), sz, LUA_NUMBER_FMT, (LUAI_UACNUMBER)(n))
531 l_sprintf((s), sz, LUA_INTEGER_FMT, (LUAI_UACINT)(n))
606 #define l_sprintf(s,sz,f,i) snprintf(s,sz,f,i) macro
608 #define l_sprintf(s,sz,f,i) ((void)(sz), sprintf(s,f,i)) macro
627 #define lua_pointer2str(buff,sz,p) l_sprintf(buff,sz,"%p",p)
638 ((void)L, l_sprintf(b,sz,f,(LUAI_UACNUMBER)(n)))
Dlstrlib.c844 return l_sprintf(buff, sz, LUA_NUMBER_FMT, (LUAI_UACNUMBER)x); in num2straux()
847 return l_sprintf(buff, sz, LUA_NUMBER_FMT "x0p+0", (LUAI_UACNUMBER)x); in num2straux()
866 n += l_sprintf(buff + n, sz - n, "p%+d", e); /* add exponent */ in num2straux()
918 l_sprintf(buff, sizeof(buff), "\\%d", (int)uchar(*s)); in addquoted()
920 l_sprintf(buff, sizeof(buff), "\\%03d", (int)uchar(*s)); in addquoted()
964 nb = l_sprintf(buff, MAX_ITEM, format, (LUAI_UACINT)n); in addliteral()
1038 nb = l_sprintf(buff, MAX_ITEM, form, (int)luaL_checkinteger(L, arg)); in str_format()
1045 nb = l_sprintf(buff, MAX_ITEM, form, (LUAI_UACINT)n); in str_format()
1057 nb = l_sprintf(buff, MAX_ITEM, form, (LUAI_UACNUMBER)n); in str_format()
1076 nb = l_sprintf(buff, MAX_ITEM, form, s); in str_format()