Lines Matching refs:word
28 static int metaphone(unsigned char *word, size_t word_len, zend_long max_phonemes, zend_string **ph…
110 #define Next_Letter (toupper(word[w_idx+1]))
112 #define Curr_Letter (toupper(word[w_idx]))
114 #define Look_Back_Letter(n) (w_idx >= n ? toupper(word[w_idx-n]) : '\0')
118 #define After_Next_Letter (Next_Letter != '\0' ? toupper(word[w_idx+2]) \
120 #define Look_Ahead_Letter(n) (toupper(Lookahead((char *) word+w_idx, n)))
125 static char Lookahead(char *word, int how_far) in Lookahead() argument
129 for (idx = 0; word[idx] != '\0' && idx < how_far; idx++); in Lookahead()
132 letter_ahead = word[idx]; /* idx will be either == to how_far or in Lookahead()
168 static int metaphone(unsigned char *word, size_t word_len, zend_long max_phonemes, zend_string **ph… in metaphone() argument
184 if (word == NULL) in metaphone()