Lines Matching refs:prefix
425 const char *prefix, const char *uri)
427 /* this "should" not overwrite a prefix mapping */
428 apr_hash_set(xi->prefix_uri, prefix, APR_HASH_KEY_STRING, uri);
430 /* note: this may overwrite an existing URI->prefix mapping, but it
431 doesn't matter -- any prefix is usuable to specify the URI. */
432 apr_hash_set(xi->uri_prefix, uri, APR_HASH_KEY_STRING, prefix);
438 const char *prefix;
440 if ((prefix = apr_hash_get(xi->uri_prefix, uri,
442 return prefix;
444 prefix = apr_psprintf(xi->pool, "g%d", xi->count++);
445 dav_xmlns_add(xi, prefix, uri);
446 return prefix;
450 const char *prefix)
452 return apr_hash_get(xi->prefix_uri, prefix, APR_HASH_KEY_STRING);
467 const void *prefix;
471 apr_hash_this(hi, &prefix, NULL, &uri);
474 (const char *)prefix, (const char *)uri);