Searched refs:strfrmt (Results 1 – 2 of 2) sorted by relevance
/external/syslinux/com32/lua/src/ |
D | lstrlib.c | 857 static const char *scanformat (lua_State *L, const char *strfrmt, char *form) { in scanformat() argument 858 const char *p = strfrmt; in scanformat() 860 if ((size_t)(p - strfrmt) >= sizeof(FLAGS)/sizeof(char)) in scanformat() 872 memcpy(form, strfrmt, (p - strfrmt + 1) * sizeof(char)); in scanformat() 873 form += p - strfrmt + 1; in scanformat() 896 const char *strfrmt = luaL_checklstring(L, arg, &sfl); in str_format() local 897 const char *strfrmt_end = strfrmt+sfl; in str_format() 900 while (strfrmt < strfrmt_end) { in str_format() 901 if (*strfrmt != L_ESC) in str_format() 902 luaL_addchar(&b, *strfrmt++); in str_format() [all …]
|
/external/skia/third_party/lua/src/ |
D | lstrlib.c | 857 static const char *scanformat (lua_State *L, const char *strfrmt, char *form) { in scanformat() argument 858 const char *p = strfrmt; in scanformat() 860 if ((size_t)(p - strfrmt) >= sizeof(FLAGS)/sizeof(char)) in scanformat() 872 memcpy(form, strfrmt, (p - strfrmt + 1) * sizeof(char)); in scanformat() 873 form += p - strfrmt + 1; in scanformat() 896 const char *strfrmt = luaL_checklstring(L, arg, &sfl); in str_format() local 897 const char *strfrmt_end = strfrmt+sfl; in str_format() 900 while (strfrmt < strfrmt_end) { in str_format() 901 if (*strfrmt != L_ESC) in str_format() 902 luaL_addchar(&b, *strfrmt++); in str_format() [all …]
|