Lines Matching defs:value
166 /* ### should test this result value... */
197 /* no key could be created (namespace not known) => no value */
207 dav_error * dav_dbm_store(dav_db *db, apr_datum_t key, apr_datum_t value)
209 apr_status_t status = apr_dbm_store(db->file, key, value);
272 ** This introduced the xml:lang value into the property value's
289 apr_datum_t value;
300 ** value must be copied or no longer used if this function is
345 const char *name, const char *value,
349 const char *lang = value;
351 /* skip past the xml:lang value */
352 value += strlen(lang) + 1;
354 if (*value == '\0') {
355 /* the property is an empty value */
368 name+1, lang, value, name+1);
372 name, lang, value, name);
377 s = apr_psprintf(pool, "<%s>%s</%s>" DEBUG_CR, name+1, value, name+1);
380 s = apr_psprintf(pool, "<ns%s>%s</ns%s>" DEBUG_CR, name, value, name);
393 apr_datum_t value = { 0 };
412 if ((err = dav_dbm_fetch(db, key, &value)) != NULL) {
417 if (value.dptr == NULL) {
448 dav_set_bufsize(pool, &db->ns_table, value.dsize);
449 memcpy(db->ns_table.buf, value.dptr, value.dsize);
451 memcpy(&m, value.dptr, sizeof(m));
463 dav_dbm_freedatum(db, value);
487 apr_datum_t value;
493 value.dptr = db->ns_table.buf;
494 value.dsize = db->ns_table.cur_len;
503 err = dav_dbm_store(db, key, value);
521 namespace prefix. when we generate the value, we will simply
527 /* ns_table.buf can move, so copy its value (we want the values to
544 apr_datum_t value;
547 if ((err = dav_dbm_fetch(db, key, &value)) != NULL)
549 if (value.dptr == NULL) {
555 dav_append_prop(db->pool, key.dptr, value.dptr, phdr);
557 dav_dbm_freedatum(db, value);
615 apr_datum_t value;
629 (const char **)&value.dptr, &value.dsize);
631 return dav_dbm_store(db, key, value);
721 apr_datum_t value;
728 if ((err = dav_dbm_fetch(db, key, &value)) != NULL)
730 if (value.dptr != NULL) {
731 rb->value.dptr = apr_pmemdup(db->pool, value.dptr, value.dsize);
732 rb->value.dsize = value.dsize;
746 if (rollback->value.dptr == NULL) {
752 return dav_dbm_store(db, rollback->key, rollback->value);