Lines Matching refs:gNumFileLines
208 int gNumFileLines; variable
380 double dLoopCount = double(opt_loopCount) * (1000. / double(gNumFileLines)); in doKeyGen()
389 for (line=0; line < gNumFileLines; line++) { in doKeyGen()
404 for (line=0; line < gNumFileLines; line++) { in doKeyGen()
417 for (line=0; line < gNumFileLines; line++) { in doKeyGen()
426 int ns = (int)(float(1000000) * (float)elapsedTime / (float)(adj_loopCount*gNumFileLines)); in doKeyGen()
429 printf("Sort Key Generation: total # of keys = %d\n", loops*gNumFileLines); in doKeyGen()
438 for (line=0; line<gNumFileLines; line++) { in doKeyGen()
479 …LoopCount = double(opt_loopCount) * 3000. / (log10((double)gNumFileLines) * double(gNumFileLines)); in doBinarySearch()
499 for (line=0; line < gNumFileLines; line++) { in doBinarySearch()
500 int hi = gNumFileLines-1; in doBinarySearch()
532 for (line=0; line < gNumFileLines; line++) { in doBinarySearch()
538 int hi = gNumFileLines-1; in doBinarySearch()
583 for (line=0; line < gNumFileLines; line++) { in doBinarySearch()
589 int hi = gNumFileLines-1; in doBinarySearch()
639 for (line=0; line < gNumFileLines; line++) { in doBinarySearch()
640 int hi = gNumFileLines-1; in doBinarySearch()
702 Line **sortBuf = new Line *[gNumFileLines]; in doQSort()
705 …LoopCount = double(opt_loopCount) * 3000. / (log10((double)gNumFileLines) * double(gNumFileLines)); in doQSort()
715 memcpy(sortBuf, gRandomLines, gNumFileLines * sizeof(Line *)); in doQSort()
716 qsort(sortBuf, gNumFileLines, sizeof(Line *), WinstrcmpK); in doQSort()
722 memcpy(sortBuf, gRandomLines, gNumFileLines * sizeof(Line *)); in doQSort()
723 qsort(sortBuf, gNumFileLines, sizeof(Line *), WinstrcmpL); in doQSort()
730 memcpy(sortBuf, gRandomLines, gNumFileLines * sizeof(Line *)); in doQSort()
731 qsort(sortBuf, gNumFileLines, sizeof(Line *), Winstrcmp); in doQSort()
737 memcpy(sortBuf, gRandomLines, gNumFileLines * sizeof(Line *)); in doQSort()
738 qsort(sortBuf, gNumFileLines, sizeof(Line *), ICUstrcmpK); in doQSort()
744 memcpy(sortBuf, gRandomLines, gNumFileLines * sizeof(Line *)); in doQSort()
745 qsort(sortBuf, gNumFileLines, sizeof(Line *), ICUstrcmpL); in doQSort()
752 memcpy(sortBuf, gRandomLines, gNumFileLines * sizeof(Line *)); in doQSort()
753 qsort(sortBuf, gNumFileLines, sizeof(Line *), ICUstrcmp); in doQSort()
759 memcpy(sortBuf, gRandomLines, gNumFileLines * sizeof(Line *)); in doQSort()
760 qsort(sortBuf, gNumFileLines, sizeof(Line *), UNIXstrcmp); in doQSort()
787 for (i=0; i<gNumFileLines; i++) { in doKeyHist()
800 for (i=0; i<gNumFileLines; i++) { in doKeyHist()
846 while (linecount < gNumFileLines) { in doForwardIterTest()
866 while (linecount < gNumFileLines) { in doForwardIterTest()
880 printf("Total number of strings compared %d in %d loops\n", gNumFileLines, in doForwardIterTest()
890 while (linecount < gNumFileLines) { in doForwardIterTest()
1009 while (linecount < gNumFileLines) { in doBackwardIterTest()
1030 while (linecount < gNumFileLines) { in doBackwardIterTest()
1044 printf("Total number of strings compared %d in %d loops\n", gNumFileLines, in doBackwardIterTest()
1054 while (linecount < gNumFileLines) { in doBackwardIterTest()
1175 for (line=0; line < gNumFileLines; line++) { in UnixConvert()
1573 gFileLines[gNumFileLines].name = new UChar[column]; in main()
1574 gFileLines[gNumFileLines].len = column-1; in main()
1575 memcpy(gFileLines[gNumFileLines].name, buf, column * sizeof(UChar)); in main()
1576 gNumFileLines++; in main()
1578 if (gNumFileLines >= MAXLINES) { in main()
1602 printf("file \"%s\", %d lines.\n", opt_fName, gNumFileLines); in main()
1617 for (line=0; line<gNumFileLines; line++) { in main()
1635 for (line=0; line<gNumFileLines; line++) { in main()
1651 for (line=0; line<gNumFileLines; line++) { in main()
1670 for (line=0; line<gNumFileLines; line++) { in main()
1723 gSortedLines = new Line *[gNumFileLines]; in main()
1724 for (i=0; i<gNumFileLines; i++) { in main()
1729 qsort(gSortedLines, gNumFileLines, sizeof(Line *), Winstrcmp); in main()
1732 qsort(gSortedLines, gNumFileLines, sizeof(Line *), UNIXstrcmp); in main()
1736 qsort(gSortedLines, gNumFileLines, sizeof(Line *), ICUstrcmp); in main()
1743 gRandomLines = new Line *[gNumFileLines]; in main()
1744 for (i=0; i<gNumFileLines; i++) { in main()
1747 qsort(gRandomLines, gNumFileLines, sizeof(Line *), ICURandomCmp); in main()