/titanic_50/usr/src/cmd/sendmail/db/include/ |
H A D | db_page.h | 136 db_indx_t entries; /* 20-21: Number of item pairs on the page. */ 137 db_indx_t hf_offset; /* 22-23: High free byte page offset. */ 160 db_indx_t inp[1]; /* Variable length index of items. */ 216 #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) 312 (HKEYDATA_SIZE(len) + sizeof(db_indx_t)) 354 #define HOFFPAGE_PSIZE (HOFFPAGE_SIZE + sizeof(db_indx_t)) 371 #define HOFFDUP_PSIZE (HOFFDUP_SIZE + sizeof(db_indx_t)) 404 db_indx_t len; /* 00-01: Key/data item length. */ 420 (BKEYDATA_SIZE(len) + sizeof(db_indx_t)) 427 db_indx_t unused1; /* 00-01: Padding, unused. */ [all …]
|
H A D | btree.h | 125 db_indx_t indx; /* The index on the page. */ 187 db_indx_t indx; /* Page item ref'd by the cursor. */ 190 db_indx_t dindx; /* Page item ref'd by the cursor. */ 247 db_indx_t bt_maxkey; /* Maximum keys per page. */ 248 db_indx_t bt_minkey; /* Minimum keys per page. */ 255 db_indx_t bt_ovflsize; /* Maximum key/data on-page size. */
|
H A D | hash.h | 65 db_indx_t bndx; /* Index within the current page. */ 68 db_indx_t dndx; /* Index within a duplicate set. */ 69 db_indx_t dup_off; /* Offset within a duplicate set. */ 70 db_indx_t dup_len; /* Length of current duplicate. */ 71 db_indx_t dup_tlen; /* Total length of duplicate entry. */ 178 #define DUP_SIZE(len) ((len) + 2 * sizeof(db_indx_t))
|
H A D | db_ext.h | 72 PAGE **, db_indx_t *, int (*)(DBC *, u_int32_t, PAGE **))); 82 int, DBT *, db_pgno_t, db_indx_t *, PAGE **, int *));
|
H A D | btree_ext.h | 37 PAGE **, db_indx_t *, DBT *, DBT *, u_int32_t, u_int32_t));
|
/titanic_50/usr/src/cmd/sendmail/db/hash/ |
H A D | hash_dup.c | 282 db_indx_t dndx, i, len, off; 345 memcpy(&len, p, sizeof(db_indx_t)); 347 p += sizeof(db_indx_t); 349 p += len + sizeof(db_indx_t); 350 off += len + 2 * sizeof(db_indx_t); 386 db_indx_t tsize, item_size; 390 item_size = (db_indx_t)notdup->size; 400 memcpy(p, &item_size, sizeof(db_indx_t)); 401 p += sizeof(db_indx_t); 404 memcpy(p, &item_size, sizeof(db_indx_t)); [all …]
|
H A D | hash_page.c | 124 hcp->dup_off, sizeof(db_indx_t)); 152 if (hcp->bndx >= (db_indx_t)H_NUMPAIRS(hcp->pagep)) { 354 + h->dup_off - sizeof(db_indx_t), 355 sizeof(db_indx_t)); 562 db_indx_t i, movebytes, newbytes; 610 db_indx_t ndx; 1024 db_indx_t i; 1071 db_indx_t n; 1111 for (n = 0; n < (db_indx_t)H_NUMPAIRS(temp_pagep); n++) { 1132 2 * sizeof(db_indx_t); [all …]
|
H A D | hash.c | 906 db_indx_t ndx; 911 db_indx_t len; 946 sizeof(db_indx_t)); 954 HKEYDATA_DATA(hk), sizeof(db_indx_t)); 1056 tmp_val.doff = hcp->dup_off + sizeof(db_indx_t);
|
/titanic_50/usr/src/cmd/sendmail/db/db/ |
H A D | db_dup.c | 27 PAGE **, db_indx_t *, int (*)(DBC *, u_int32_t, PAGE **))); 29 PAGE **, db_indx_t *, u_int32_t, int (*)(DBC *, u_int32_t, PAGE **))); 43 db_indx_t *indxp; 49 db_indx_t size, isize; 211 db_indx_t *indxp; 220 db_indx_t halfbytes, i, indx, lastsum, nindex, oindex, s, sum; 253 if ((db_indx_t)(halfbytes - lastsum) < 254 (db_indx_t)(sum - halfbytes)) { 271 if ((db_indx_t)(sum - halfbytes) < 272 (db_indx_t)(halfbytes - lastsum)) [all …]
|
H A D | db_conv.c | 108 db_indx_t i, len, tmp; 140 p, sizeof(db_indx_t)); 141 p += sizeof(db_indx_t); 144 p, sizeof(db_indx_t));
|
H A D | db_pr.c | 385 db_indx_t dlen, len, i; 507 memcpy(&dlen, p, sizeof(db_indx_t)); 508 p += sizeof(db_indx_t); 511 p += sizeof(db_indx_t) + dlen; 593 db_indx_t i;
|
H A D | db_overflow.c | 91 db_indx_t bytes; 177 db_indx_t pagespace;
|
H A D | db.c | 493 dbp->pgsize & (sizeof(db_indx_t) - 1)) {
|
/titanic_50/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_search.c | 84 db_indx_t base, i, indx, lim; 154 lim = NUM_ENT(h) / (db_indx_t)jump; lim != 0; lim >>= 1) { 265 while (indx < (db_indx_t)(NUM_ENT(h) - P_INDX) && 285 indx < (db_indx_t)(NUM_ENT(h) - P_INDX) &&
|
H A D | bt_split.c | 65 static int __bam_psplit __P((DBC *, EPG *, PAGE *, PAGE *, db_indx_t *)); 134 (db_indx_t)P_FREESPACE(cp->csp[0].page)) { 181 db_indx_t split; 262 db_indx_t split; 576 db_indx_t off; 771 db_indx_t *splitret; 775 db_indx_t half, nbytes, off, splitp, top; 870 if (off < (db_indx_t)NUM_ENT(pp) && 877 if (splitp <= (db_indx_t)(cnt * adjust)) 903 if (splitp <= (db_indx_t)(cnt * adjust)) [all …]
|
H A D | bt_delete.c | 256 db_indx_t copy; 272 sizeof(db_indx_t) * (NUM_ENT(h) - indx)); 279 sizeof(db_indx_t) * (NUM_ENT(h) - indx)); 415 db_indx_t nitems;
|
H A D | bt_put.c | 82 db_indx_t *indxp; 91 db_indx_t indx, nbytes; 184 need_bytes = sizeof(db_indx_t); 472 db_indx_t cnt, lo, ln, min, off, prefix, suffix; 577 db_indx_t cnt, cpindx, first, sz;
|
H A D | bt_rsearch.c | 77 db_indx_t indx, top; 365 db_indx_t indx, top;
|
H A D | bt_cursor.c | 240 db_indx_t indx; 763 db_indx_t indx; 1171 db_indx_t adjust, indx; 1284 db_indx_t indx, adjust; 1402 db_indx_t indx; 1510 indx < (db_indx_t)(NUM_ENT(h) - P_INDX) && 1639 db_indx_t indx;
|
H A D | bt_recno.c | 251 db_indx_t indx; 537 db_indx_t indx; 1275 db_indx_t indx;
|
/titanic_50/usr/src/cmd/sendmail/db/ |
H A D | db.h | 79 typedef u_int16_t db_indx_t; /* Page offset type. */ typedef
|