Lines Matching refs:dbmval
199 apr_datum_t dbmval;
224 dbmval.dsize = sizeof(apr_time_t) + nData;
225 dbmval.dptr = (char *)ap_malloc(dbmval.dsize);
226 memcpy((char *)dbmval.dptr, &expiry, sizeof(apr_time_t));
227 memcpy((char *)dbmval.dptr+sizeof(apr_time_t), ucaData, nData);
238 free(dbmval.dptr);
241 if ((rv = apr_dbm_store(dbm, dbmkey, dbmval)) != APR_SUCCESS) {
246 free(dbmval.dptr);
252 free(dbmval.dptr);
267 apr_datum_t dbmval;
293 rc = apr_dbm_fetch(dbm, dbmkey, &dbmval);
298 if (dbmval.dptr == NULL || dbmval.dsize <= sizeof(apr_time_t)) {
304 nData = dbmval.dsize-sizeof(apr_time_t);
311 memcpy(&expiry, dbmval.dptr, sizeof(apr_time_t));
312 memcpy(dest, (char *)dbmval.dptr + sizeof(apr_time_t), nData);
359 apr_datum_t dbmval;
417 apr_dbm_fetch(dbm, dbmkey, &dbmval);
418 if (dbmval.dsize <= sizeof(apr_time_t) || dbmval.dptr == NULL)
421 memcpy(&expiry, dbmval.dptr, sizeof(apr_time_t));
467 apr_datum_t dbmval;
490 apr_dbm_fetch(dbm, dbmkey, &dbmval);
491 if (dbmval.dptr == NULL)
494 size += dbmval.dsize;
523 apr_datum_t dbmval;
543 apr_dbm_fetch(dbm, dbmkey, &dbmval);
544 if (dbmval.dsize <= sizeof(apr_time_t) || dbmval.dptr == NULL)
547 memcpy(&expiry, dbmval.dptr, sizeof(apr_time_t));
554 (unsigned char *)dbmval.dptr + sizeof(apr_time_t),
555 dbmval.dsize - sizeof(apr_time_t), pool);