Lines Matching refs:pItem
691 Item *pItem; in writePackage() local
866 for(pItem=items, i=0; i<itemCount; ++pItem, ++i) { in writePackage()
867 int32_t type=makeTypeEnum(pItem->type); in writePackage()
872 pItem->data, pItem->length, pItem->data, in writePackage()
879 length=(int32_t)fwrite(pItem->data, 1, pItem->length, file); in writePackage()
880 if(length!=pItem->length) { in writePackage()
1078 const Item *pItem; in addItems() local
1081 for(pItem=listPkg.items, i=0; i<listPkg.itemCount; ++pItem, ++i) { in addItems()
1082 addItem(pItem->name, pItem->data, pItem->length, FALSE, pItem->type); in addItems()
1118 const Item *pItem; in removeItems() local
1121 for(pItem=listPkg.items, i=0; i<listPkg.itemCount; ++pItem, ++i) { in removeItems()
1122 removeItems(pItem->name); in removeItems()
1131 Item *pItem; in extractItem() local
1139 pItem=items+idx; in extractItem()
1143 if(outType!=0 && pItem->type!=outType) { in extractItem()
1146 makeTypeProps(pItem->type, itemCharset, itemIsBigEndian); in extractItem()
1159 udata_swap(ds, pItem->data, pItem->length, pItem->data, &errorCode); in extractItem()
1165 pItem->type=outType; in extractItem()
1175 fileLength=(int32_t)fwrite(pItem->data, 1, pItem->length, file); in extractItem()
1177 if(ferror(file) || fileLength!=pItem->length) { in extractItem()
1201 const Item *pItem; in extractItems() local
1204 for(pItem=listPkg.items, i=0; i<listPkg.itemCount; ++pItem, ++i) { in extractItems()
1205 extractItems(filesPath, pItem->name, outType); in extractItems()