Lines Matching defs:loc
48 tsdent_t *loc = ptr;
53 if (loc != NULL) {
55 if ((p = loc[i].buf) != NULL) {
56 destructor = loc[i].destructor;
59 lfree(p, loc[i].size);
62 lfree(loc, _T_NUM_ENTRIES * sizeof (tsdent_t));
70 tsdent_t *loc;
84 if ((loc = pthread_getspecific(key)) != NULL) {
85 if ((p = loc[n].buf) != NULL)
89 loc = lmalloc(_T_NUM_ENTRIES * sizeof (tsdent_t));
90 if (loc == NULL)
92 if ((error = thr_setspecific(key, loc)) != 0) {
93 lfree(loc, _T_NUM_ENTRIES * sizeof (tsdent_t));
100 loc[n].buf = p = lmalloc(size);
101 loc[n].size = size;
102 loc[n].destructor = destructor;