Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dldblib.c276 static int makemask (const char *smask, int count) { in makemask() argument
278 if (strchr(smask, 'c')) mask |= LUA_MASKCALL; in makemask()
279 if (strchr(smask, 'r')) mask |= LUA_MASKRET; in makemask()
280 if (strchr(smask, 'l')) mask |= LUA_MASKLINE; in makemask()
286 static char *unmakemask (int mask, char *smask) { in unmakemask() argument
288 if (mask & LUA_MASKCALL) smask[i++] = 'c'; in unmakemask()
289 if (mask & LUA_MASKRET) smask[i++] = 'r'; in unmakemask()
290 if (mask & LUA_MASKLINE) smask[i++] = 'l'; in unmakemask()
291 smask[i] = '\0'; in unmakemask()
292 return smask; in unmakemask()
[all …]