Searched refs:NBG (Results 1 – 4 of 4) sorted by relevance
/freebsd/usr.bin/locate/locate/ |
H A D | fastfind.c | 48 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 D | util.c | 290 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 D | locate.h | 35 #define NBG 128 /* number of bigrams considered */ macro
|
/freebsd/usr.bin/locate/code/ |
H A D | locate.code.c | 89 #define BGBUFSIZE (NBG * 2) /* size of bigram buffer */
|