Lines Matching defs:hStrCache
52 RTDECL(int) RTStrCacheDestroy(RTSTRCACHE hStrCache)
54 if ( hStrCache == NIL_RTSTRCACHE
55 || hStrCache == RTSTRCACHE_DEFAULT)
57 return RTMemPoolDestroy((RTMEMPOOL)hStrCache);
62 RTDECL(const char *) RTStrCacheEnterN(RTSTRCACHE hStrCache, const char *pchString, size_t cchString)
68 return (const char *)RTMemPoolDupEx((RTMEMPOOL)hStrCache, pchString, cchString, 1);
73 RTDECL(const char *) RTStrCacheEnter(RTSTRCACHE hStrCache, const char *psz)
75 return RTStrCacheEnterN(hStrCache, psz, strlen(psz));
80 RTDECL(const char *) RTStrCacheEnterLowerN(RTSTRCACHE hStrCache, const char *pchString, size_t cchString)
86 char *pszRet = (char *)RTMemPoolDupEx((RTMEMPOOL)hStrCache, pchString, cchString, 1);
94 RTDECL(const char *) RTStrCacheEnterLower(RTSTRCACHE hStrCache, const char *psz)
96 return RTStrCacheEnterLowerN(hStrCache, psz, strlen(psz));
109 RTDECL(uint32_t) RTStrCacheRelease(RTSTRCACHE hStrCache, const char *psz)
113 return RTMemPoolRelease((RTMEMPOOL)hStrCache, (void *)psz);
134 RTDECL(uint32_t) RTStrCacheGetStats(RTSTRCACHE hStrCache, size_t *pcbStrings, size_t *pcbChunks, size_t *pcbBigEntries,