Searched refs:rot (Results 1 - 2 of 2) sorted by relevance

/ast/src/lib/libcodex/
H A Dcode-rot13.c32 unsigned char rot[256]; member in struct:State_s
38 static const char rot[] = "abcdefghijklmnopqrstuvwxyz"; variable
53 for (i = 0; i < sizeof(state->rot); i++)
54 state->rot[i] = i;
55 for (i = 0; i < sizeof(rot); i++)
56 state->rot[rot[i]] = rot[(i + 13) % 26];
58 state->rot[ROT[i]] = ROT[(i + 13) % 26];
86 *s = state->rot[*
[all...]
/ast/src/cmd/tests/
H A Dopt.c90 static char rot[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMabcdefghijklmnopqrstuvwxyzabcdefghijklm"; local
134 if (r = strchr(rot, c))

Completed in 18 milliseconds