Lines Matching defs:itemp
120 Item *itemp;
135 if ((itemp = lookup_cache(med_db_cache, medp, len)) == Null_Item) {
136 if ((itemp = (Item *) Malloc(sizeof (*itemp))) == NULL) {
137 med_eprintf("add_key(): itemp = Malloc(%d)\n",
138 sizeof (*itemp));
141 if ((tmedp = itemp->key = Malloc(len)) == NULL) {
142 med_eprintf("add_key(): itemp->key = Malloc(%d)\n",
167 itemp->keyl = len;
169 if ((itemp->data = Malloc(sizeof (int))) == NULL) {
170 med_eprintf("add_key(): itemp->data = Malloc(%d)\n",
175 *(int *)itemp->data = medridx;
177 itemp->datal = sizeof (int);
179 if (add_cache(med_db_cache, itemp) == -1) {
191 Item *itemp;
199 if ((itemp = lookup_cache(med_db_cache, medp, len)) == Null_Item)
202 (void) del_cache(med_db_cache, itemp);
210 Item *itemp;
218 if ((itemp = lookup_cache(med_db_cache, medp, len)) == Null_Item)
221 return (*(int *)itemp->data);