Lines Matching refs:key

114   /* Read a key length line.  Might be END, though. */
121 entry->key = NULL;
136 /* Get the length of the key */
141 _("Serialized hash malformed key length"));
145 entry->key = apr_palloc(pool, entry->keylen + 1);
146 SVN_ERR(svn_stream_read_full(stream, entry->key, &entry->keylen));
147 entry->key[entry->keylen] = '\0';
149 /* Suck up extra newline after key data */
154 _("Serialized hash malformed key data"));
187 /* Get the length of the key */
192 _("Serialized hash malformed key length"));
196 entry->key = apr_palloc(pool, entry->keylen + 1);
197 SVN_ERR(svn_stream_read_full(stream, entry->key, &entry->keylen));
198 entry->key[entry->keylen] = '\0';
200 /* Suck up extra newline after key data */
205 _("Serialized hash malformed key data"));
235 if (entry.key == NULL)
241 apr_hash_set(hash, apr_pstrmemdup(pool, entry.key, entry.keylen),
248 apr_hash_set(hash, entry.key, entry.keylen, NULL);
280 svn_string_t *oldstr = apr_hash_get(oldhash, item->key, item->klen);
295 (const char *) item->key,
314 if (! apr_hash_get(hash, item->key, item->klen))
317 item->klen, (const char *) item->key));
387 /* Read a key length line. Might be END, though. */
425 /* Get the length of the key */
436 /* Suck up extra newline after key data */
502 const void *key;
505 apr_hash_this(hi, &key, &klen, NULL);
507 if (hash_b && (apr_hash_get(hash_b, key, klen)))
508 SVN_ERR((*diff_func)(key, klen, svn_hash_diff_key_both,
511 SVN_ERR((*diff_func)(key, klen, svn_hash_diff_key_a,
518 const void *key;
521 apr_hash_this(hi, &key, &klen, NULL);
523 if (! (hash_a && apr_hash_get(hash_a, key, klen)))
524 SVN_ERR((*diff_func)(key, klen, svn_hash_diff_key_b,
562 const char *key =
564 svn_hash_sets(hash, key, key);
572 svn_hash__gets_debug(apr_hash_t *ht, const char *key)
574 return apr_hash_get(ht, key, APR_HASH_KEY_STRING);
579 svn_hash__sets_debug(apr_hash_t *ht, const char *key, const void *val)
581 apr_hash_set(ht, key, APR_HASH_KEY_STRING, val);
591 const char *key,
596 const char *value = svn_hash_gets(hash, key);
605 svn_hash__get_bool(apr_hash_t *hash, const char *key,
608 const char *tmp_value = svn_hash__get_cstring(hash, key, NULL);
624 /* apr_hashfunc_t optimized for the key that we use in SVN: paths and
628 * bits with differences spanning a larger section of the key), we can be
639 const unsigned char *key = (const unsigned char *)char_key;
647 for (p = key, i = *klen; i >= 4; i-=4, p+=4)
656 for (p = key, i = *klen; i >= 4; i-=4, p+=4)