Home
last modified time | relevance | path

Searched refs:TOCCache (Results 1 – 3 of 3) sorted by relevance

/dports/news/inn-current/inn-2.7-20211226/storage/timecaf/
H A Dtimecaf.c103 static CAFTOCL3CACHE *TOCCache[256]; /* indexed by storage class! */ variable
253 if (TOCCache[tokenclass] == NULL) in CheckTOCCache()
257 l2 = TOCCache[tokenclass]->l2ptr[tmp]; in CheckTOCCache()
287 if (TOCCache[tokenclass] == NULL) { in AddTOCCache()
288 TOCCache[tokenclass] = xmalloc(sizeof(CAFTOCL3CACHE)); in AddTOCCache()
290 TOCCache[tokenclass]->l2ptr[i] = NULL; in AddTOCCache()
294 l2 = TOCCache[tokenclass]->l2ptr[tmp]; in AddTOCCache()
296 TOCCache[tokenclass]->l2ptr[tmp] = l2 = xmalloc(sizeof(CAFTOCL2CACHE)); in AddTOCCache()
/dports/news/inn/inn-2.6.4/storage/timecaf/
H A Dtimecaf.c98 static CAFTOCL3CACHE *TOCCache[256]; /* indexed by storage class! */ variable
237 if (TOCCache[tokenclass] == NULL) return NULL; /* cache is empty */ in CheckTOCCache()
240 l2 = TOCCache[tokenclass]->l2ptr[tmp]; in CheckTOCCache()
267 if (TOCCache[tokenclass] == NULL) { in AddTOCCache()
268 TOCCache[tokenclass] = xmalloc(sizeof(CAFTOCL3CACHE)); in AddTOCCache()
269 for (i = 0 ; i < 256 ; ++i) TOCCache[tokenclass]->l2ptr[i] = NULL; in AddTOCCache()
273 l2 = TOCCache[tokenclass]->l2ptr[tmp]; in AddTOCCache()
275 TOCCache[tokenclass]->l2ptr[tmp] = l2 = xmalloc(sizeof(CAFTOCL2CACHE)); in AddTOCCache()
/dports/sysutils/shlock/inn-2.6.4/storage/timecaf/
H A Dtimecaf.c98 static CAFTOCL3CACHE *TOCCache[256]; /* indexed by storage class! */ variable
237 if (TOCCache[tokenclass] == NULL) return NULL; /* cache is empty */ in CheckTOCCache()
240 l2 = TOCCache[tokenclass]->l2ptr[tmp]; in CheckTOCCache()
267 if (TOCCache[tokenclass] == NULL) { in AddTOCCache()
268 TOCCache[tokenclass] = xmalloc(sizeof(CAFTOCL3CACHE)); in AddTOCCache()
269 for (i = 0 ; i < 256 ; ++i) TOCCache[tokenclass]->l2ptr[i] = NULL; in AddTOCCache()
273 l2 = TOCCache[tokenclass]->l2ptr[tmp]; in AddTOCCache()
275 TOCCache[tokenclass]->l2ptr[tmp] = l2 = xmalloc(sizeof(CAFTOCL2CACHE)); in AddTOCCache()