Lines Matching defs:allOK
111 int allOK = 1;
122 allOK = ReadMBRData(myDisk);
124 allOK = 0;
127 if (allOK)
130 return allOK;
139 int allOK = 1, i, logicalNum = 3;
182 allOK = 0;
195 if (allOK) {
207 if (allOK) { // Loaded logicals OK
215 if (allOK) {
236 return allOK;
249 int i, another = 1, allOK = 1;
256 while (another && (partNum < MAX_MBR_PARTS) && (partNum >= 0) && (allOK > 0)) {
260 allOK = -1;
267 allOK = -1;
272 allOK = -1;
282 allOK = -1;
293 if ((partNum >= 0) && (partNum < MAX_MBR_PARTS) && (allOK > 0)) {
318 return (partNum * allOK);
325 int allOK = 1;
329 allOK = WriteMBRData(myDisk);
332 allOK = 0;
335 } else allOK = 0;
336 return allOK;
342 int i, j, partNum, next, allOK = 1, moreLogicals = 0;
347 allOK = CreateExtended();
348 if (allOK) {
362 allOK = allOK && WriteMBRData(tempMBR, theDisk, 0);
378 while (allOK && moreLogicals && (partNum < MAX_MBR_PARTS) && (partNum >= 0)) {
397 allOK = WriteMBRData(tempMBR, theDisk, writeEbrTo);
402 return allOK;
415 int i, allOK;
429 allOK = theDisk->OpenForWrite();
430 if (allOK && theDisk->Seek(sector)) {
432 allOK = 0;
436 allOK = 0;
451 return allOK;
567 int allOK = 1, err;
573 allOK = 0;
580 allOK = 0;
582 } else allOK = 0;
588 allOK = 0;
590 } else allOK = 0;
595 allOK = 0;
598 allOK = 0;
600 } else allOK = 0;
605 return allOK;
863 int allOK = 1, i = 0;
873 allOK = 0;
876 } while ((i < MAX_MBR_PARTS) && allOK);
878 return allOK;
884 int i, allOK = 1;
888 allOK = 0;
891 return allOK;
898 int i = 0, allOK = 1;
902 allOK = allOK && (SectorUsedAs(partitions[i].GetStartLBA() - 1) == EBR);
905 } while (allOK && (i < MAX_MBR_PARTS));
906 return allOK;
918 int allOK = 1;
920 allOK = (FindOverlaps() == 0);
921 allOK = (allOK && (NumPrimaries() <= 4));
922 allOK = (allOK && AreLogicalsContiguous());
923 allOK = (allOK && DoTheyFit());
924 allOK = (allOK && SpaceBeforeAllLogicals());
925 return allOK;
1025 int allOK = 1;
1029 allOK = partitions[num].SetType(type);
1030 } else allOK = 0;
1031 } else allOK = 0;
1032 return allOK;
1039 int allOK = 1;
1047 } else allOK = 0;
1048 } else allOK = 0;
1049 return allOK;
1095 int allOK = 1, origValue;
1110 allOK = 0;
1112 return allOK;
1332 int allOK = 1, i = 0, swapped = 0;
1358 allOK = 0;
1361 } else allOK = 0;
1366 allOK = 0;
1367 return allOK;