Lines Matching refs:strfrmt
1189 static const char *scanformat (lua_State *L, const char *strfrmt, char *form) { in scanformat() argument
1190 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() local
1229 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()
1235 else if (*++strfrmt == L_ESC) in str_format()
1236 luaL_addchar(&b, *strfrmt++); /* %% */ in str_format()
1244 strfrmt = scanformat(L, strfrmt, form); in str_format()
1245 switch (*strfrmt++) { in str_format()