| 35 | } |
| 36 | |
| 37 | U32 xStrHashCat(U32 prefix, const char* str) |
| 38 | { |
| 39 | U32 hash; |
| 40 | U32 i; |
| 41 | |
| 42 | while (i = *str, i != NULL) |
| 43 | { |
| 44 | str++; |
| 45 | hash = (i - (i & (S32)i >> 1 & 0x20) & 0xff) + hash * 0x83; |
| 46 | } |
| 47 | |
| 48 | return hash; |
| 49 | } |
| 50 | |
| 51 | char* xStrTok(char* string, const char* control, char** nextoken) |
| 52 | { |
no outgoing calls
no test coverage detected