Lines Matching defs:str
57 decode_add(t_decode **root, const char *str, short code)
65 if (str == NULL)
68 start = str;
80 node->ch = *str++;
84 for (node = *root; *str != '\0'; ++str, node = node->child) {
85 while (node->ch != *str &&
89 if (node->ch != *str) {
97 node->ch = *str++;
108 while (*str != '\0') {
117 node->ch = *str++;
123 /* (str - start) should be enough small to fit in "int" */
124 return ((int)(str - start));