Home
last modified time | relevance | path

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

/external/toybox/lib/
Dlib.c966 int i, j, dowho, dohow, dowhat, amask; in string_to_mode() local
968 dowho = dohow = dowhat = amask = 0; in string_to_mode()
984 while (*++str && (s = strchr(whats, *str))) dowhat |= 1<<(s-whats); in string_to_mode()
987 if ((dowhat&32) && (S_ISDIR(mode) || (mode&0111))) dowhat |= 1; in string_to_mode()
990 if (!dowhat && -1 != (i = stridx(whys, *str))) { in string_to_mode()
991 dowhat = (mode>>(3*i))&7; in string_to_mode()
1006 if (!j) bit = dowhat&16; // o+s = t but a+s doesn't set t, hence t in string_to_mode()
1007 else if ((dowhat&8) && (dowho&(8|(1<<j)))) bit++; in string_to_mode()
1010 else if (dowhat&(1<<j)) bit++; in string_to_mode()