Lines Matching refs:data
250 /* No key data yet */
413 * DESCRIPTION: Sets up the key data freeing any that already exists.
417 * point to the key data.
422 set_key_data(map_ctrl *map, datum *data)
427 * Free up any existing key data. Because each dbm file can only have
437 if (NULL == data->dptr)
441 map->key_data.dptr = (char *)am(myself, data->dsize);
443 logmsg(MSG_NOMEM, LOG_ERR, "Cannot alloc memory for key data");
445 memcpy(map->key_data.dptr, data->dptr, data->dsize);
446 map->key_data.dsize = data->dsize;
449 /* Set datum to point to malloced version of the data */
450 data->dptr = map->key_data.dptr;