Lines Matching refs:tmp
61 DLLchain tmp;
63 for (tmp = dlload; tmp; tmp = tmp->next)
64 if (id == tmp->id)
65 return tmp;
74 DLLchain tmp;
79 for (tmp = dlload; tmp; tmp = tmp->next)
80 if (strnicmp(tmp->name, filename, 999) == 0)
83 if (!tmp)
85 tmp = (DLLchain) malloc(sizeof(tDLLchain));
86 if (!tmp)
88 tmp->name = strdup(filename);
89 tmp->next = dlload;
96 tmp->handle = hm;
102 tmp->id = last_id;
103 dlload = tmp;
105 return tmp->id;
147 if (tmp)
149 if (tmp->name)
150 free(tmp->name);
151 free(tmp);
163 DLLchain tmp = find_id(handle);
165 if (!tmp)
171 switch (rc = DosQueryProcAddr(tmp->handle, symord, symbol, &addr))
195 DLLchain tmp = find_id(handle);
197 if (!tmp)
200 switch (rc = DosFreeModule(tmp->handle))
203 free(tmp->name);
204 dlload = tmp->next;
205 free(tmp);