Searched refs:PBLKSIZ (Results 1 - 3 of 3) sorted by relevance
/freebsd-10.0-release/contrib/apr-util/dbm/sdbm/ |
H A D | sdbm_private.h | 34 #define PBLKSIZ 8192 35 #define PAIRMAX 8008 /* arbitrary on PBLKSIZ-N */ 38 #define PBLKSIZ 1024 macro 39 #define PAIRMAX 1008 /* arbitrary on PBLKSIZ-N */ 61 char pagbuf[PBLKSIZ]; /* page file block buffer */
|
H A D | sdbm_pair.c | 72 off = ((n = ino[0]) > 0) ? ino[n] : PBLKSIZ; 91 off = ((n = ino[0]) > 0) ? ino[n] : PBLKSIZ; 153 off = (num > 1) ? ino[num - 1] : PBLKSIZ; 184 register char *dst = pag + (i == 1 ? PBLKSIZ : ino[i - 1]); 241 register int off = PBLKSIZ; 263 register int off = PBLKSIZ; 264 char cur[PBLKSIZ]; 267 (void) memcpy(cur, pag, PBLKSIZ); 268 (void) memset(pag, 0, PBLKSIZ); 269 (void) memset(new, 0, PBLKSIZ); [all...] |
H A D | sdbm.c | 53 #define OFF_PAG(off) (apr_off_t) (off) * PBLKSIZ 212 status = apr_file_write_full(db->pagf, buf, PBLKSIZ, NULL); 305 char twin[PBLKSIZ]; 335 (void) memcpy(pag, new, PBLKSIZ); 413 if ((status = read_from(db->pagf, db->pagbuf, OFF_PAG(0), PBLKSIZ)) 473 if ((status = read_from(db->pagf, db->pagbuf, OFF_PAG(pagb), PBLKSIZ)) 566 if ((status = apr_file_read_full(db->pagf, db->pagbuf, PBLKSIZ, NULL))
|
Completed in 108 milliseconds