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

/ast/src/lib/libast/misc/
H A Dfindlib.h52 #define FF_SET_TYPE(p,i) ((p)->decode.bigram1[((i)>>3)&((1<<CHAR_BIT)-1)]|=(1<<((i)&07)))
53 #define FF_OK_TYPE(p,i) (!(p)->types||((p)->decode.bigram1[((i)>>3)&((1<<CHAR_BIT)-1)]&(1<<((i)&07))))
67 char bigram1[(1<<(CHAR_BIT-1))]; member in struct:__anon278
H A Dfastfind.c414 for (i = 0; i < elementsof(fp->decode.bigram1); i++)
418 if (!(*s++ = fp->decode.bigram1[i] = j) && i)
425 if (!(*s++ = fp->decode.bigram2[i] = j) && (i || fp->decode.bigram1[0] >= '0' && fp->decode.bigram1[0] <= '1'))
433 memset(fp->decode.bigram1, 0, sizeof(fp->decode.bigram1));
475 while (++i < elementsof(fp->decode.bigram1))
479 fp->decode.bigram1[i] = j;
789 *p++ = fp->decode.bigram1[c & ((1<<(CHAR_BIT-1))-1)];

Completed in 13 milliseconds