Home
last modified time | relevance | path

Searched refs:BSIZE (Results 1 – 21 of 21) sorted by relevance

/freebsd-9-stable/lib/libc/db/hash/
Dhash_page.c85 ((u_int16_t *)(P))[1] = hashp->BSIZE - 3 * sizeof(u_int16_t); \
86 ((u_int16_t *)(P))[2] = hashp->BSIZE; \
138 newoff = hashp->BSIZE; in __delpair()
192 copyto = (u_int16_t)hashp->BSIZE; in __split_page()
193 off = (u_int16_t)hashp->BSIZE; in __split_page()
338 scopyto = hashp->BSIZE; in ugly_split()
346 off = hashp->BSIZE; in ugly_split()
524 size = hashp->BSIZE; in __get_page()
551 max = hashp->BSIZE >> 2; /* divide by 4 */ in __get_page()
576 size = hashp->BSIZE; in __put_page()
[all …]
Dhash.c174 (hashp->BSIZE << BYTE_SHIFT) - 1) >> in __hash_open()
211 "BUCKET SIZE ", hashp->BSIZE, in __hash_open()
281 hashp->BSIZE = DEF_BUCKET_SIZE; in init_hash()
295 hashp->BSIZE = statbuf.st_blksize; in init_hash()
296 if (hashp->BSIZE > MAX_BSIZE) in init_hash()
297 hashp->BSIZE = MAX_BSIZE; in init_hash()
298 hashp->BSHIFT = __log2(hashp->BSIZE); in init_hash()
305 hashp->BSIZE = 1 << hashp->BSHIFT; in init_hash()
306 if (hashp->BSIZE > MAX_BSIZE) { in init_hash()
583 off = hashp->BSIZE; in hash_access()
[all …]
Dhash_bigkey.c253 FREESPACE(bp) = hashp->BSIZE - PAGE_META(n); in __big_delete()
254 OFFSET(bp) = hashp->BSIZE; in __big_delete()
286 for (bytes = hashp->BSIZE - bp[ndx]; in __find_bigpair()
288 bytes = hashp->BSIZE - bp[ndx]) { in __find_bigpair()
455 mylen = hashp->BSIZE - bp[1]; in collect_data()
521 mylen = hashp->BSIZE - bp[1]; in collect_key()
Dhash_buf.c195 if ((bp->page = (char *)calloc(1, hashp->BSIZE)) == NULL) { in newbuf()
303 npages = (nbytes + hashp->BSIZE - 1) >> hashp->BSHIFT; in __buf_init()
338 (void)memset(bp->page, 0, hashp->BSIZE); in __buf_free()
Dhash.h271 #define BSIZE hdr.bsize macro
/freebsd-9-stable/usr.bin/tee/
Dtee.c72 #define BSIZE (8 * 1024) in main() macro
90 if ((buf = malloc(BSIZE)) == NULL) in main()
103 while ((rval = read(STDIN_FILENO, buf, BSIZE)) > 0) in main()
/freebsd-9-stable/crypto/openssl/crypto/des/
Denc_read.c106 tmpbuf = OPENSSL_malloc(BSIZE); in DES_enc_read()
111 net = OPENSSL_malloc(BSIZE); in DES_enc_read()
116 unnet = OPENSSL_malloc(BSIZE); in DES_enc_read()
Denc_writ.c97 outbuf = OPENSSL_malloc(BSIZE + HDRSIZE); in DES_enc_write()
Ddes_locl.h106 # define BSIZE (MAXWRITE+4) macro
/freebsd-9-stable/usr.bin/rs/
Drs.c332 #define BSIZE (LINE_MAX * 2) macro
333 char ibuf[BSIZE];
339 static char *endblock = ibuf + BSIZE; in getline()
357 if (!(curline = (char *) malloc(BSIZE))) in getline()
359 endblock = curline + BSIZE; in getline()
/freebsd-9-stable/crypto/openssl/demos/
Db64.c71 #undef BSIZE
75 #define BSIZE (8*1024) macro
84 int bsize = BSIZE, verbose = 0;
/freebsd-9-stable/crypto/openssl/apps/
Dapps.c1428 #undef BSIZE in IMPLEMENT_LHASH_HASH_FN()
1429 #define BSIZE 256 in IMPLEMENT_LHASH_HASH_FN() macro
1484 char buf[1][BSIZE]; in save_serial()
1494 if (j >= BSIZE) { in save_serial()
1500 BUF_strlcpy(buf[0], serialfile, BSIZE); in save_serial()
1542 char buf[5][BSIZE]; in rotate_serial()
1550 if (j + 1 >= BSIZE) { in rotate_serial()
1632 char buf[1][BSIZE]; in load_index()
1725 char buf[3][BSIZE]; in save_index()
1735 if (j + 6 >= BSIZE) { in save_index()
[all …]
Denc.c74 #undef BSIZE
78 #define BSIZE (8*1024) macro
105 int bsize = BSIZE, verbose = 0; in MAIN()
Dca.c320 #undef BSIZE in MAIN()
321 #define BSIZE 256 in MAIN() macro
322 MS_STATIC char buf[3][BSIZE]; in MAIN()
1206 if (strlen(outdir) >= (size_t)(j ? BSIZE - j * 2 - 6 : BSIZE - 8)) { in MAIN()
/freebsd-9-stable/contrib/gnu-sort/src/
Dsystem.h284 #if !defined DEV_BSIZE && defined BSIZE
285 # define DEV_BSIZE BSIZE
300 # if defined _POSIX_SOURCE || !defined BSIZE /* fileblocks.c uses BSIZE. */
/freebsd-9-stable/usr.sbin/bluetooth/sdpcontrol/
Dsearch.c56 #define BSIZE 256 /* one attribute buffer size */ macro
57 static uint8_t buffer[NRECS * attrs_len][BSIZE];
593 values[n].vlen = BSIZE; in do_sdp_search()
/freebsd-9-stable/lib/libc/gen/
Dgetcap.c55 #define BSIZE 1024 macro
651 char *cp, *line, *rp, *np, buf[BSIZE], nbuf[BSIZE]; in cgetnext()
/freebsd-9-stable/crypto/heimdal/lib/roken/
Dgetcap.c58 #define BSIZE 1024
729 char *cp, *line, *rp, *np, buf[BSIZE], nbuf[BSIZE];
/freebsd-9-stable/sys/crypto/des/
Ddes_locl.h67 #define BSIZE (MAXWRITE+4) macro
/freebsd-9-stable/contrib/ncurses/ncurses/tinfo/
Dread_termcap.c134 #define BSIZE 1024 macro
/freebsd-9-stable/contrib/binutils/ld/
DChangeLog-0001783 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
800 * ldmain.c (main): Declare BSIZE as static.