Lines Matching refs:s_pfconverting
68 ConvertJob* CPartFileConvert::s_pfconverting = NULL;
171 s_pfconverting = NULL;
174 s_pfconverting = *it;
180 if (s_pfconverting) {
183 s_pfconverting->state = CONV_INPROGRESS;
186 Notify_ConvertUpdateJobInfo(s_pfconverting);
188 ConvStatus convertResult = performConvertToeMule(s_pfconverting->folder);
191 s_pfconverting->state = convertResult;
194 if (s_pfconverting->state == CONV_OK) {
198 Notify_ConvertUpdateJobInfo(s_pfconverting);
200 AddLogLineC(CFormat(_("Importing %s: %s")) % s_pfconverting->folder % GetConversionState(s_pfconverting->state));
237 Notify_ConvertUpdateProgressFull(0, _("Reading temp folder"), s_pfconverting->folder.GetPrintable());
244 s_pfconverting->partmettype = file->LoadPartFile(folder, partfile, false, true);
246 switch (s_pfconverting->partmettype) {
257 s_pfconverting->size = file->GetFileSize();
258 s_pfconverting->filename = file->GetFileName();
259 s_pfconverting->filehash = file->GetFileHash().Encode();
262 Notify_ConvertUpdateJobInfo(s_pfconverting);
269 if (s_pfconverting->partmettype == PMT_SPLITTED) {
292 if (maxindex * PARTSIZE <= s_pfconverting->size) {
293 s_pfconverting->spaceneeded = maxindex * PARTSIZE;
295 s_pfconverting->spaceneeded = s_pfconverting->size;
299 s_pfconverting->spaceneeded = 0;
303 Notify_ConvertUpdateJobInfo(s_pfconverting);
320 file->m_hpartfile.SetLength( s_pfconverting->spaceneeded );
370 if (!s_pfconverting->removeSource) {
372 s_pfconverting->spaceneeded = oldfile.GetFileSize();
375 Notify_ConvertUpdateJobInfo(s_pfconverting);
381 } else if (freespace < s_pfconverting->spaceneeded) {
400 } else if (s_pfconverting->removeSource) {
416 if (s_pfconverting->removeSource) {
430 if (s_pfconverting->partmettype == PMT_NEWOLD || s_pfconverting->partmettype == PMT_SPLITTED) {
445 if (s_pfconverting->removeSource) {
452 if (s_pfconverting->partmettype == PMT_SPLITTED) {