Lines Matching refs:temp
202 Prop *temp; /* newly allocated property */
279 if ((temp = (Prop *) malloc(sizeof (Prop))) == NULL) {
287 * di_data will be via temp->name.val_ptr and
288 * temp->value.val_ptr respectively. However, this may
290 * temp->name.opp and temp->value.opp.
294 * temp->name.opp.oprom_array to temp->name.val_ptr.
298 * We thus set temp->value.opp.oprom_node[] (although
304 * temp->value.opp.oprom_array. If di_ptype is
308 temp->name.val_ptr = (void *)di_name;
309 temp->name.opp.oprom_array = temp->name.val_ptr;
310 temp->name.opp.holds_array = 1;
312 temp->value.val_ptr = (void *)di_data;
315 temp->value.opp.oprom_node[i] = *((int *)di_data+i);
317 temp->value.opp.holds_array = 0;
319 temp->value.opp.oprom_array = temp->value.val_ptr;
321 temp->value.opp.holds_array = 0;
323 temp->value.opp.holds_array = 1;
326 temp->size = retval;
330 pnode->props = temp;
332 prop->next = temp;
333 prop = temp;
357 if ((temp = (Prop *) malloc(sizeof (Prop))) == NULL) {
365 * temp->name.opp.oprom_array to temp->name.val_ptr.
369 * number, so we set temp->value.opp.oprom_node[] (again
375 * temp->value.opp.oprom_array.
377 temp->name.val_ptr = (void *)p_name;
378 temp->name.opp.oprom_array = temp->name.val_ptr;
379 temp->name.opp.holds_array = 1;
381 temp->value.val_ptr = (void *)p_data;
385 temp->value.opp.oprom_node[i] = *((int *)p_data+i);
387 temp->value.opp.holds_array = 0;
389 temp->value.opp.oprom_array = temp->value.val_ptr;
390 temp->value.opp.holds_array = 1;
393 temp->size = retval;
397 pnode->props = temp;
399 prop->next = temp;
401 prop = temp;