Home
last modified time | relevance | path

Searched refs:NBG (Results 1 – 4 of 4) sorted by relevance

/freebsd/usr.bin/locate/locate/
H A Dfastfind.c48 u_char bigram1[NBG], bigram2[NBG], path[LOCATE_PATH_MAX]; in statistic()
50 for (c = 0, p = bigram1, s = bigram2; c < NBG; c++) { in statistic()
56 size = NBG + NBG; in statistic()
95 size_nbg = size - (2 * NBG); in statistic()
149 u_char bigram1[NBG], bigram2[NBG], path[LOCATE_PATH_MAX + 2];
160 for (c = 0, p = bigram1, s = bigram2; c < NBG; c++, len-= 2) {
165 for (c = 0, p = bigram1, s = bigram2; c < NBG; c++) {
H A Dutil.c290 if (len < (2 * NBG)) { in check_size()
291 warnx("the locate database '%s' is smaller than %d bytes large.", db, (2 * NBG)); in check_size()
H A Dlocate.h35 #define NBG 128 /* number of bigrams considered */ macro
/freebsd/usr.bin/locate/code/
H A Dlocate.code.c89 #define BGBUFSIZE (NBG * 2) /* size of bigram buffer */