Searched refs:dbdata (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | adb_policy.c | 82 DBT dbdata; in osa_adb_create_policy() local 95 switch(db->db->get(db->db, &dbkey, &dbdata, 0)) { in osa_adb_create_policy() 111 dbdata.data = xdralloc_getdata(&xdrs); in osa_adb_create_policy() 112 dbdata.size = xdr_getpos(&xdrs); in osa_adb_create_policy() 113 switch(db->db->put(db->db, &dbkey, &dbdata, R_NOOVERWRITE)) { in osa_adb_create_policy() 211 DBT dbdata; in osa_adb_get_policy() local 226 dbdata.data = NULL; in osa_adb_get_policy() 227 dbdata.size = 0; in osa_adb_get_policy() 228 switch((db->db->get(db->db, &dbkey, &dbdata, 0))) { in osa_adb_get_policy() 243 if (!(aligned_data = (char *) malloc(dbdata.size))) { in osa_adb_get_policy() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/libsmdb/ |
H A D | smndbm.c | 169 datum dbkey, dbdata; local 172 (void) memset(&dbdata, '\0', sizeof dbdata); 177 dbdata = dbm_fetch(dbm, dbkey); 178 if (dbdata.dptr == NULL) 190 data->data = dbdata.dptr; 191 data->size = dbdata.dsize; 205 datum dbkey, dbdata; local 208 (void) memset(&dbdata, '\0', sizeof dbdata); 211 dbdata.dptr = data->data; 212 dbdata.dsize = data->size; [all …]
|
H A D | smdb1.c | 234 DBT dbkey, dbdata; local 236 (void) memset(&dbdata, '\0', sizeof dbdata); 241 result = db->get(db, &dbkey, &dbdata, flags); 248 data->data = dbdata.data; 249 data->size = dbdata.size; 261 DBT dbkey, dbdata; local 263 (void) memset(&dbdata, '\0', sizeof dbdata); 267 dbdata.data = data->data; 268 dbdata.size = data->size; 270 return db->put(db, &dbkey, &dbdata, [all …]
|
H A D | smdb2.c | 285 DBT dbkey, dbdata; local 287 (void) memset(&dbdata, '\0', sizeof dbdata); 292 result = db->get(db, NULL, &dbkey, &dbdata, flags); 293 data->data = dbdata.data; 294 data->size = dbdata.size; 306 DBT dbkey, dbdata; local 308 (void) memset(&dbdata, '\0', sizeof dbdata); 312 dbdata.data = data->data; 313 dbdata.size = data->size; 315 return db2_error_to_smdb(db->put(db, NULL, &dbkey, &dbdata, [all …]
|