Lines Matching defs:temp

171 	cd9660node *temp = ecalloc(1, sizeof(*temp));
173 TAILQ_INIT(&temp->cn_children);
174 temp->parent = temp->dot_record = temp->dot_dot_record = NULL;
175 temp->ptnext = temp->ptprev = temp->ptlast = NULL;
176 temp->node = NULL;
177 temp->isoDirRecord = NULL;
178 temp->isoExtAttributes = NULL;
179 temp->rr_real_parent = temp->rr_relocated = NULL;
180 temp->su_tail_data = NULL;
181 return temp;
740 volume_descriptor *temp, *t;
743 temp = emalloc(sizeof(*temp));
744 temp->volumeDescriptorData =
746 temp->volumeDescriptorData[0] = ISO_VOLUME_DESCRIPTOR_PVD;
747 temp->volumeDescriptorData[6] = 1;
748 temp->sector = sector;
749 memcpy(temp->volumeDescriptorData + 1,
751 diskStructure->firstVolumeDescriptor = temp;
758 temp->next = t;
759 temp = t;
770 temp->next = t;
799 char temp[ISO_FILENAME_MAXLENGTH];
802 memset(temp, 0, sizeof(temp));
805 temp, sizeof(temp), !(S_ISDIR(newnode->node->type)));
812 flag, strlen(temp), temp);
1030 int numbts, digit, digits, temp, powers, count;
1104 temp = i;
1106 digit = (int)(temp / powers);
1107 temp = temp - digit * powers;
1903 cd9660node *temp;
1908 temp = cd9660_allocate_cd9660node();
1909 if (temp == NULL)
1914 temp->isoDirRecord = emalloc(sizeof(*temp->isoDirRecord));
1917 temp->isoDirRecord->name, sizeof(temp->isoDirRecord->name), file);
1919 temp->node = tfsnode;
1920 temp->parent = parent;
1923 if (temp->parent != NULL) {
1924 temp->level = temp->parent->level + 1;
1925 if (!TAILQ_EMPTY(&temp->parent->cn_children))
1926 cd9660_sorted_child_insert(temp->parent, temp);
1928 TAILQ_INSERT_HEAD(&temp->parent->cn_children,
1929 temp, cn_next_child);
1947 cd9660_copy_stat_info(parent, temp, file);
1949 return temp;
1956 cd9660node *temp;
1958 temp = cd9660_create_virtual_entry(diskStructure, name, parent, 1, 1);
1959 if (temp == NULL)
1962 temp->fileDataLength = 0;
1964 temp->type = CD9660_TYPE_FILE | CD9660_TYPE_VIRTUAL;
1966 temp->node->inode = ecalloc(1, sizeof(*temp->node->inode));
1967 *temp->node->inode = *me->node->inode;
1969 if (cd9660_translate_node_common(diskStructure, temp) == 0)
1971 return temp;
1984 cd9660node *temp;
1986 temp = cd9660_create_virtual_entry(diskStructure, name, parent, 0, 1);
1987 if (temp == NULL)
1989 temp->node->type |= S_IFDIR;
1991 temp->type = CD9660_TYPE_DIR | CD9660_TYPE_VIRTUAL;
1993 temp->node->inode = ecalloc(1, sizeof(*temp->node->inode));
1994 *temp->node->inode = *me->node->inode;
1996 if (cd9660_translate_node_common(diskStructure, temp) == 0)
1998 return temp;
2005 cd9660node *temp, *first;
2018 if ((temp = cd9660_create_virtual_entry(diskStructure, na, parent,
2022 temp->parent = parent;
2023 temp->type = type;
2024 temp->isoDirRecord->length[0] = 34;
2027 parent->dot_record = temp;
2028 TAILQ_INSERT_HEAD(&parent->cn_children, temp, cn_next_child);
2031 parent->dot_dot_record = temp;
2038 TAILQ_INSERT_HEAD(&parent->cn_children, temp,
2041 TAILQ_INSERT_AFTER(&parent->cn_children, first, temp,
2046 return temp;