/netbsd-current/external/bsd/openldap/dist/libraries/liblmdb/ |
H A D | mtest.c | 58 key.mv_data = sval; 65 data.mv_data = sval; 69 data.mv_data = sval; 80 key.mv_data, (int) key.mv_size, (char *) key.mv_data, 81 data.mv_data, (int) data.mv_size, (char *) data.mv_data); 88 key.mv_data = sval; 110 (int) key.mv_size, (char *) key.mv_data, 111 (int) data.mv_size, (char *) data.mv_data); [all...] |
H A D | mdb_load.c | 75 while (fgets(dbuf.mv_data, dbuf.mv_size, stdin) != NULL) { 77 if (!strncmp(dbuf.mv_data, "VERSION=", STRLENOF("VERSION="))) { 78 version=atoi((char *)dbuf.mv_data+STRLENOF("VERSION=")); 84 } else if (!strncmp(dbuf.mv_data, "HEADER=END", STRLENOF("HEADER=END"))) { 86 } else if (!strncmp(dbuf.mv_data, "format=", STRLENOF("format="))) { 87 if (!strncmp((char *)dbuf.mv_data+STRLENOF("FORMAT="), "print", STRLENOF("print"))) 89 else if (strncmp((char *)dbuf.mv_data+STRLENOF("FORMAT="), "bytevalue", STRLENOF("bytevalue"))) { 91 prog, lineno, (char *)dbuf.mv_data+STRLENOF("FORMAT=")); 94 } else if (!strncmp(dbuf.mv_data, "database=", STRLENOF("database="))) { 95 ptr = memchr(dbuf.mv_data, '\ [all...] |
H A D | mtest5.c | 64 key.mv_data = kval; 66 data.mv_data = sval; 85 key.mv_data, (int) key.mv_size, (char *) key.mv_data, 86 data.mv_data, (int) data.mv_size, (char *) data.mv_data); 101 key.mv_data = kval; 103 data.mv_data = sval; 120 (int) key.mv_size, (char *) key.mv_data, 121 (int) data.mv_size, (char *) data.mv_data); [all...] |
H A D | mtest3.c | 63 key.mv_data = kval; 65 data.mv_data = sval; 83 key.mv_data, (int) key.mv_size, (char *) key.mv_data, 84 data.mv_data, (int) data.mv_size, (char *) data.mv_data); 99 key.mv_data = kval; 101 data.mv_data = sval; 118 (int) key.mv_size, (char *) key.mv_data, 119 (int) data.mv_size, (char *) data.mv_data); [all...] |
H A D | mtest6.c | 59 key.mv_data = &kval; 61 sdata.mv_data = sval; 88 key.mv_data, mdb_dkey(&key, dkbuf), 89 data.mv_data, (int) data.mv_size, (char *) data.mv_data); 105 key.mv_data = kval; 107 data.mv_data = sval; 124 (int) key.mv_size, (char *) key.mv_data, 125 (int) data.mv_size, (char *) data.mv_data); 131 (int) key.mv_size, (char *) key.mv_data, [all...] |
H A D | mtest2.c | 61 key.mv_data = sval; 67 data.mv_data = sval; 79 key.mv_data, (int) key.mv_size, (char *) key.mv_data, 80 data.mv_data, (int) data.mv_size, (char *) data.mv_data); 87 key.mv_data = sval; 109 (int) key.mv_size, (char *) key.mv_data, 110 (int) data.mv_size, (char *) data.mv_data); 116 (int) key.mv_size, (char *) key.mv_data, [all...] |
H A D | mtest4.c | 61 key.mv_data = kval; 63 data.mv_data = sval; 82 key.mv_data, (int) key.mv_size, (char *) key.mv_data, 83 data.mv_data, (int) data.mv_size, (char *) data.mv_data); 96 key.mv_data = kval; 98 data.mv_data = sval; 120 (int) key.mv_size, (char *) key.mv_data, 121 (int) data.mv_size, (char *) data.mv_data); [all...] |
H A D | mdb_dump.c | 69 c = v->mv_data; 90 c = v->mv_data; 280 if (memchr(key.mv_data, '\0', key.mv_size)) 284 memcpy(str, key.mv_data, key.mv_size);
|
H A D | mdb_stat.c | 177 iptr = data.mv_data; 193 *(size_t *)key.mv_data, j, span, bad); 234 if (memchr(key.mv_data, '\0', key.mv_size)) 237 memcpy(str, key.mv_data, key.mv_size);
|
H A D | mdb.c | 998 (keyptr)->mv_size = NODEKSZ(node); (keyptr)->mv_data = NODEKEY(node); } } 1001 #define MDB_GET_KEY2(node, key) { key.mv_size = NODEKSZ(node); key.mv_data = NODEKEY(node); } 1572 unsigned char *c = key->mv_data; 1588 sprintf(buf, "%.*s", key->mv_size, key->mv_data); 1637 key.mv_data = LEAF2KEY(mp, i, nsize); 1644 key.mv_data = node->mn_data; 1709 freecount += *(MDB_ID *)data.mv_data; 2221 key.mv_data = &last; /* will look up last+1 */ 2247 last = *(txnid_t*)key.mv_data; 2262 idl = (MDB_ID *) data.mv_data; [all...] |
H A D | lmdb.h | 261 void *mv_data; /**< address of the data item */ member in struct:MDB_val 1493 * the size of a single data element. The mv_data of the first MDB_val 1497 * the count of the number of elements actually written. The mv_data
|
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-mdb/ |
H A D | dn2id.c | 70 un = (diskNode *)usrkey->mv_data; 71 cn = (diskNode *)curkey->mv_data; 127 key.mv_data = &nid; 136 data.mv_data = &dummy; 142 data.mv_data = d; 173 ptr = (char *)data.mv_data + data.mv_size - sizeof( ID ); 176 d = data.mv_data; 179 memcpy( p2, data.mv_data, rlen+2 ); 181 data.mv_data = p2; 186 ptr = (char *)data.mv_data [all...] |
H A D | key.c | 56 key.mv_data = kbuf; 63 key.mv_data = k->bv_val;
|
H A D | nextid.c | 44 memcpy( &id, key.mv_data, sizeof( id ));
|
H A D | id2entry.c | 57 memcpy(&ui, usrkey->mv_data, sizeof(ID)); 58 memcpy(&ci, curkey->mv_data, sizeof(ID)); 63 uv = usrkey->mv_data; 64 cv = curkey->mv_data; 78 AttributeDescription *ad = usrkey[2].mv_data; 84 ptr = curkey->mv_data + curkey->mv_size - 2; 86 bv2.bv_val = curkey->mv_data; 91 bv1.bv_val = usrkey[1].mv_data; 126 key.mv_data = &ivk; 129 data[2].mv_data [all...] |
H A D | idl.c | 304 mdb_show_key( keybuf, key->mv_data, key->mv_size ) ); 335 key2.mv_data = keybuf; 337 AC_MEMCPY( keybuf, key->mv_data, key->mv_size ); 352 if (rc == 0 && get_flag == LDAP_FILTER_LE && memcmp( kptr->mv_data, 353 key->mv_data, key->mv_size ) > 0 ) { 360 memcpy( i, data.mv_data, data.mv_size ); 451 key.mv_data = kbuf; 452 memcpy(key.mv_data, keys[k].bv_val, keys[k].bv_len); 457 key.mv_data = keys[k].bv_val; 462 i = data.mv_data; [all...] |
H A D | tools.c | 296 previd = *(ID *)key.mv_data; 390 key.mv_data = &id; 539 key.mv_data = &e->e_id; 541 data.mv_data = NULL; 957 key.mv_data = &id; 1293 key.mv_data = ic->kstr.bv_val; 1312 data[0].mv_data = &ic->last; 1316 ic->first = *(ID *)data[0].mv_data; 1325 data[0].mv_data = &nid; 1328 data[0].mv_data [all...] |
H A D | init.c | 46 return *(ID *)a->mv_data < *(ID *)b->mv_data ? -1 : *(ID *)a->mv_data > *(ID *)b->mv_data; 252 ptr = data.mv_data;
|
H A D | search.c | 218 mid.mval.mv_data = NULL; 286 key.mv_data = &id; 291 memcpy( cursor, key.mv_data, sizeof(ID)); 299 p2 = p1[0].mval.mv_data; 313 void *r2 = ret[0].mval.mv_data; 326 scopes[0].mval.mv_data = ret; 359 memcpy( &ww->key, key.mv_data, sizeof(ID) ); 361 ww->data.mv_data = op->o_tmpalloc( data.mv_size, op->o_tmpmemctx ); 362 memcpy(ww->data.mv_data, data.mv_data, dat [all...] |
H A D | attr.c | 754 key.mv_data = &i; 760 bdata.bv_val = data.mv_data; 802 key.mv_data = &i; 804 val.mv_data = ad->ad_cname.bv_val;
|
H A D | config.c | 242 key.mv_data = &id; 250 memcpy( &id, key.mv_data, sizeof( id ));
|
/netbsd-current/external/mpl/bind/dist/bin/tools/ |
H A D | named-nzd2nzf.c | 84 if (key.mv_data == NULL || key.mv_size == 0 || 85 data.mv_data == NULL || data.mv_size == 0) 96 (char *)key.mv_data, (int)data.mv_size, 97 (char *)data.mv_data);
|
/netbsd-current/external/ibm-public/postfix/dist/src/util/ |
H A D | dict_lmdb.c | 175 mdb_key.mv_data = (void *) name; 180 result = SCOPY(dict_lmdb->val_buf, mdb_value.mv_data, 194 mdb_key.mv_data = (void *) name; 199 result = SCOPY(dict_lmdb->val_buf, mdb_value.mv_data, 244 mdb_key.mv_data = (void *) name; 245 mdb_value.mv_data = (void *) value; 349 mdb_key.mv_data = (void *) name; 369 mdb_key.mv_data = (void *) name; 440 *key = SCOPY(dict_lmdb->key_buf, mdb_key.mv_data, mdb_key.mv_size); 441 if (mdb_value.mv_data ! [all...] |
H A D | slmdb.c | 336 slmdb->saved_key.mv_data = 0; 345 free(slmdb->saved_key.mv_data); 349 #define HAVE_SLMDB_SAVED_KEY(s) ((s)->saved_key.mv_data != 0) 361 if (slmdb->saved_key.mv_data == 0) 362 slmdb->saved_key.mv_data = malloc(key_val->mv_size); 364 slmdb->saved_key.mv_data = 365 realloc(slmdb->saved_key.mv_data, key_val->mv_size); 366 if (slmdb->saved_key.mv_data == 0) { 377 memcpy(slmdb->saved_key.mv_data, key_val->mv_data, key_va [all...] |
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/hdb/ |
H A D | hdb-mdb.c | 126 key_data.data = key.mv_data; 128 data.data = value.mv_data; 215 k.mv_data = key.data; 224 krb5_data_copy(reply, v.mv_data, v.mv_size); 240 k.mv_data = key.data; 242 v.mv_data = value.data; 271 k.mv_data = key.data;
|