Lines Matching refs:word
23 static void metaphone(unsigned char *word, size_t word_len, zend_long max_phonemes, zend_string **p…
105 #define Next_Letter (toupper(word[w_idx+1]))
107 #define Curr_Letter (toupper(word[w_idx]))
109 #define Look_Back_Letter(n) (w_idx >= n ? toupper(word[w_idx-n]) : '\0')
113 #define After_Next_Letter (Next_Letter != '\0' ? toupper(word[w_idx+2]) \
115 #define Look_Ahead_Letter(n) (toupper(Lookahead((char *) word+w_idx, n)))
120 static char Lookahead(char *word, int how_far) in Lookahead() argument
124 for (idx = 0; word[idx] != '\0' && idx < how_far; idx++); in Lookahead()
127 letter_ahead = word[idx]; /* idx will be either == to how_far or in Lookahead()
162 static void metaphone(unsigned char *word, size_t word_len, zend_long max_phonemes, zend_string **p… in metaphone() argument
167 ZEND_ASSERT(word != NULL); in metaphone()