/netbsd-current/external/bsd/openldap/dist/libraries/liblmdb/ |
H A D | mtest.c | 57 key.mv_size = sizeof(int); 64 data.mv_size = sizeof(sval); 68 data.mv_size = sizeof(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); 110 (int) key.mv_size, (char *) key.mv_data, 111 (int) data.mv_size, (char *) data.mv_data); 117 (int) key.mv_size, (char *) key.mv_data, 118 (int) data.mv_size, (char *) data.mv_data); 122 (int) key.mv_size, (cha [all...] |
H A D | mtest5.c | 63 key.mv_size = sizeof(int); 65 data.mv_size = sizeof(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); 100 key.mv_size = sizeof(int); 102 data.mv_size = sizeof(sval); 120 (int) key.mv_size, (char *) key.mv_data, 121 (int) data.mv_size, (char *) data.mv_data); 127 (int) key.mv_size, (char *) key.mv_data, 128 (int) data.mv_size, (cha [all...] |
H A D | mtest3.c | 62 key.mv_size = sizeof(int); 64 data.mv_size = sizeof(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); 98 key.mv_size = sizeof(int); 100 data.mv_size = sizeof(sval); 118 (int) key.mv_size, (char *) key.mv_data, 119 (int) data.mv_size, (char *) data.mv_data); 125 (int) key.mv_size, (char *) key.mv_data, 126 (int) data.mv_size, (cha [all...] |
H A D | mdb_load.c | 75 while (fgets(dbuf.mv_data, dbuf.mv_size, stdin) != NULL) { 95 ptr = memchr(dbuf.mv_data, '\n', dbuf.mv_size); 107 ptr = memchr(dbuf.mv_data, '\n', dbuf.mv_size); 117 ptr = memchr(dbuf.mv_data, '\n', dbuf.mv_size); 127 ptr = memchr(dbuf.mv_data, '\n', dbuf.mv_size); 145 ptr = memchr(dbuf.mv_data, '=', dbuf.mv_size); 194 if (fgets(buf->mv_data, buf->mv_size, stdin) == NULL) { 205 if (fgets(buf->mv_data, buf->mv_size, stdin) == NULL) { 217 buf->mv_data = realloc(buf->mv_data, buf->mv_size*2); 226 if (fgets((char *)c1, buf->mv_size [all...] |
H A D | mtest6.c | 58 key.mv_size = sizeof(long); 60 sdata.mv_size = mst.ms_psize / 4 - 30; 89 data.mv_data, (int) data.mv_size, (char *) data.mv_data); 104 key.mv_size = sizeof(int); 106 data.mv_size = sizeof(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, 132 (int) data.mv_size, (char *) data.mv_data);
|
H A D | mtest4.c | 60 key.mv_size = sizeof(int); 62 data.mv_size = sizeof(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); 95 key.mv_size = sizeof(int); 97 data.mv_size = sizeof(sval); 120 (int) key.mv_size, (char *) key.mv_data, 121 (int) data.mv_size, (char *) data.mv_data); 133 key.mv_size = sizeof(int); 135 data.mv_size [all...] |
H A D | mtest2.c | 60 key.mv_size = sizeof(int); 66 data.mv_size = sizeof(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); 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, 117 (int) data.mv_size, (char *) data.mv_data);
|
H A D | mdb_dump.c | 70 end = c + v->mv_size; 91 end = c + v->mv_size; 280 if (memchr(key.mv_data, '\0', key.mv_size)) 283 str = malloc(key.mv_size+1); 284 memcpy(str, key.mv_data, key.mv_size); 285 str[key.mv_size] = '\0';
|
H A D | mdb.c | 933 #define INDXSIZE(k) (NODESIZE + ((k) == NULL ? 0 : (k)->mv_size)) 938 #define LEAFSIZE(k, d) (NODESIZE + (k)->mv_size + (d)->mv_size) 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); } 1578 if (key->mv_size > DKBUF_MAXKEYSIZE) 1585 for (i=0; i<key->mv_size; i++) 1588 sprintf(buf, "%.*s", key->mv_size, key->mv_data); 1636 key.mv_size = nsize = mp->mp_pad; 1643 key.mv_size [all...] |
H A D | mdb_stat.c | 234 if (memchr(key.mv_data, '\0', key.mv_size)) 236 str = malloc(key.mv_size+1); 237 memcpy(str, key.mv_data, key.mv_size); 238 str[key.mv_size] = '\0';
|
H A D | lmdb.h | 260 size_t mv_size; /**< size of the data item */ member in struct:MDB_val 1492 * array of two MDB_vals. The mv_size of the first MDB_val must be 1495 * The mv_size of the second MDB_val must be the count of the number
|
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-mdb/ |
H A D | key.c | 55 key.mv_size = sizeof(kbuf); 62 key.mv_size = k->bv_len;
|
H A D | dn2id.c | 126 key.mv_size = sizeof(ID); 137 data.mv_size = sizeof(diskNode); 143 data.mv_size = sizeof(diskNode) + rlen + nrlen + sizeof( ID ); 153 data.mv_size -= sizeof( ID ); 173 ptr = (char *)data.mv_data + data.mv_size - sizeof( ID ); 186 ptr = (char *)data.mv_data + data.mv_size - sizeof( ID ); 189 p2 = op->o_tmpalloc( data.mv_size, op->o_tmpmemctx ); 190 memcpy( p2, data.mv_data, data.mv_size - sizeof( ID )); 191 memcpy( p2+data.mv_size - sizeof( ID ), &subs, sizeof( ID )); 235 key.mv_size [all...] |
H A D | idl.c | 304 mdb_show_key( keybuf, key->mv_data, key->mv_size ) ); 336 key2.mv_size = key->mv_size; 337 AC_MEMCPY( keybuf, key->mv_data, key->mv_size ); 342 len = key->mv_size; 346 while (rc == 0 && kptr->mv_size != len) { 353 key->mv_data, key->mv_size ) > 0 ) { 360 memcpy( i, data.mv_data, data.mv_size ); 361 i += data.mv_size / sizeof(ID); 377 data.mv_size [all...] |
H A D | id2entry.c | 84 ptr = curkey->mv_data + curkey->mv_size - 2; 87 bv2.bv_len = curkey->mv_size - 3; 92 bv1.bv_len = usrkey[1].mv_size; 127 key.mv_size = sizeof(ivk); 138 data[1].mv_size = a->a_nvals[i].bv_len; 141 data[1].mv_size = a->a_vals[i].bv_len; 143 data[0].mv_size = len; 181 key.mv_size = sizeof(ivk); 190 data[0].mv_size = a->a_nvals[i].bv_len+1; 193 data[1].mv_size [all...] |
H A D | tools.c | 299 if ( !data.mv_size ) 389 key.mv_size = sizeof(ID); 397 if ( !data.mv_size ) { 538 key.mv_size = sizeof(ID); 540 data.mv_size = 0; 958 key.mv_size = sizeof(ID); 1294 key.mv_size = ic->kstr.bv_len; 1324 data[0].mv_size = sizeof(ID); 1343 data[0].mv_size = sizeof(ID); 1354 data[1].mv_size [all...] |
H A D | attr.c | 753 key.mv_size = sizeof(int); 759 bdata.bv_len = data.mv_size; 801 key.mv_size = sizeof(int); 803 val.mv_size = ad->ad_cname.bv_len;
|
H A D | search.c | 287 key.mv_size = sizeof(ID); 360 ww->data.mv_size = data.mv_size; 361 ww->data.mv_data = op->o_tmpalloc( data.mv_size, op->o_tmpmemctx ); 362 memcpy(ww->data.mv_data, data.mv_data, data.mv_size); 387 key.mv_size = sizeof(ID); 667 key.mv_size = sizeof( ID );
|
H A D | init.c | 254 if (data.mv_size < 2*len + 4 + 2*sizeof(ID)) {
|
H A D | config.c | 226 key.mv_size = 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) 95 printf("zone \"%.*s\" %.*s;\n", (int)key.mv_size, 96 (char *)key.mv_data, (int)data.mv_size,
|
/netbsd-current/external/ibm-public/postfix/dist/src/util/ |
H A D | dict_lmdb.c | 176 mdb_key.mv_size = klen + 1; 181 mdb_value.mv_size); 195 mdb_key.mv_size = klen; 200 mdb_value.mv_size); 246 mdb_key.mv_size = strlen(name); 247 mdb_value.mv_size = strlen(value); 266 mdb_key.mv_size++; 267 mdb_value.mv_size++; 350 mdb_key.mv_size = klen + 1; 370 mdb_key.mv_size [all...] |
H A D | slmdb.c | 337 slmdb->saved_key.mv_size = 0; 360 if (slmdb->saved_key_size < key_val->mv_size) { 362 slmdb->saved_key.mv_data = malloc(key_val->mv_size); 365 realloc(slmdb->saved_key.mv_data, key_val->mv_size); 370 slmdb->saved_key_size = key_val->mv_size; 377 memcpy(slmdb->saved_key.mv_data, key_val->mv_data, key_val->mv_size); 378 slmdb->saved_key.mv_size = key_val->mv_size;
|
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/hdb/ |
H A D | hdb-mdb.c | 118 key.mv_size = 0; 119 value.mv_size = 0; 127 key_data.length = key.mv_size; 129 data.length = value.mv_size; 216 k.mv_size = key.length; 224 krb5_data_copy(reply, v.mv_data, v.mv_size); 241 k.mv_size = key.length; 243 v.mv_size = value.length; 272 k.mv_size = key.length;
|
/netbsd-current/external/mpl/bind/dist/bin/named/ |
H A D | server.c | 8098 zone_name_len = key->mv_size; 8102 zone_config_len = data->mv_size; 8343 key.mv_size = strlen(zname); 13162 key->mv_size = strlen(namebuf); 13239 data.mv_size = isc_buffer_usedlength(text); 13607 key.mv_size = strlen(zname); 13631 data.mv_size = isc_buffer_usedlength(text);
|