Lines Matching defs:cache
50 * internal hash-table cache. This means that each IP number will only
77 static apr_hash_t *cache;
202 cache = apr_hash_make(pool);
236 /* See if we have it in our cache */
237 hostname = (char *) apr_hash_get(cache, line, APR_HASH_KEY_STRING);
260 /* From here on our we cache each result, even if it was not
273 /* Add to cache */
275 apr_hash_set(cache, line, APR_HASH_KEY_STRING,
276 apr_pstrdup(apr_hash_pool_get(cache), line));
294 /* Add to cache */
296 apr_hash_set(cache, line, APR_HASH_KEY_STRING,
297 apr_pstrdup(apr_hash_pool_get(cache), line));
305 /* Store it in the cache */
306 apr_hash_set(cache, line, APR_HASH_KEY_STRING,
307 apr_pstrdup(apr_hash_pool_get(cache), hostname));