tag | line | file | source code |
lkp | 170 | fs/umsdos/mangle.c | static char lkp[256]; |
lkp | 180 | fs/umsdos/mangle.c | for (i=0; i<=32; i++) lkp[i] = '#'; |
lkp | 181 | fs/umsdos/mangle.c | for (i=33; i<'A'; i++) lkp[i] = (char)i; |
lkp | 182 | fs/umsdos/mangle.c | for (i='A'; i<='Z'; i++) lkp[i] = (char)(i+('a'-'A')); |
lkp | 183 | fs/umsdos/mangle.c | for (i='Z'+1; i<127; i++) lkp[i] = (char)i; |
lkp | 184 | fs/umsdos/mangle.c | for (i=128; i<256; i++) lkp[i] = '#'; |
lkp | 186 | fs/umsdos/mangle.c | lkp['.'] = '_'; |
lkp | 187 | fs/umsdos/mangle.c | while (*spc != '\0') lkp[(unsigned char)(*spc++)] = '#'; |
lkp | 248 | fs/umsdos/mangle.c | }else if (lkp[(unsigned char)(*pt)] != *pt){ |
lkp | 294 | fs/umsdos/mangle.c | for (i=0; i<msdos_len; i++, pt++) *pt = lkp[(unsigned char)(*pt)]; |