Searched refs:strfrmt (Results 1 – 1 of 1) sorted by relevance
1189 static const char *scanformat (lua_State *L, const char *strfrmt, char *form) { in scanformat() argument1190 const char *p = strfrmt; in scanformat()1192 if ((size_t)(p - strfrmt) >= sizeof(L_FMTFLAGS)/sizeof(char)) in scanformat()1204 memcpy(form, strfrmt, ((p - strfrmt) + 1) * sizeof(char)); in scanformat()1205 form += (p - strfrmt) + 1; in scanformat()1228 const char *strfrmt = luaL_checklstring(L, arg, &sfl); in str_format() local1229 const char *strfrmt_end = strfrmt+sfl; in str_format()1232 while (strfrmt < strfrmt_end) { in str_format()1233 if (*strfrmt != L_ESC) in str_format()1234 luaL_addchar(&b, *strfrmt++); in str_format()[all …]