Lines Matching refs:gFileLines
207 Line *gFileLines; // Ptr to array of Line structs, one per line in the file. variable
391 len = gFileLines[line].len; in doKeyGen()
395 gFileLines[line].name, len, in doKeyGen()
396 … (UChar *)gFileLines[line].winSortKey, 5000); // TODO something with length. in doKeyGen()
406 len = gFileLines[line].len; in doKeyGen()
409 …ucol_getSortKey(gCol, gFileLines[line].name, len, (unsigned char *)gFileLines[line].icuSortKey, 50… in doKeyGen()
419 strxfrm(gFileLines[line].unixSortKey, gFileLines[line].unixName, 5000); in doKeyGen()
439 totalChars += u_strlen(gFileLines[line].name); in doKeyGen()
441 totalKeyLen += strlen(gFileLines[line].winSortKey); in doKeyGen()
444 totalKeyLen += strlen(gFileLines[line].icuSortKey); in doKeyGen()
447 totalKeyLen += strlen(gFileLines[line].unixSortKey); in doKeyGen()
788 if (gFileLines[i].len > maxLen) maxLen = gFileLines[i].len; in doKeyHist()
801 int len = gFileLines[i].len; in doKeyHist()
802 accumulatedLen[len] += strlen(gFileLines[i].icuSortKey); in doKeyHist()
847 UChar *str = gFileLines[linecount].name; in doForwardIterTest()
848 int strlen = haslen?gFileLines[linecount].len:-1; in doForwardIterTest()
867 UChar *str = gFileLines[linecount].name; in doForwardIterTest()
868 int strlen = haslen?gFileLines[linecount].len:-1; in doForwardIterTest()
891 strlen += haslen?gFileLines[linecount].len: in doForwardIterTest()
892 u_strlen(gFileLines[linecount].name); in doForwardIterTest()
900 len += haslen?gFileLines[linecount].len: in doForwardIterTest()
901 u_strlen(gFileLines[linecount].name); in doForwardIterTest()
902 memcpy(str + strindex, gFileLines[linecount].name, in doForwardIterTest()
1010 UChar *str = gFileLines[linecount].name; in doBackwardIterTest()
1011 int strlen = haslen?gFileLines[linecount].len:-1; in doBackwardIterTest()
1031 UChar *str = gFileLines[linecount].name; in doBackwardIterTest()
1032 int strlen = haslen?gFileLines[linecount].len:-1; in doBackwardIterTest()
1055 strlen += haslen?gFileLines[linecount].len: in doBackwardIterTest()
1056 u_strlen(gFileLines[linecount].name); in doBackwardIterTest()
1064 len += haslen?gFileLines[linecount].len: in doBackwardIterTest()
1065 u_strlen(gFileLines[linecount].name); in doBackwardIterTest()
1066 memcpy(str + strindex, gFileLines[linecount].name, in doBackwardIterTest()
1179 gFileLines[line].name, in UnixConvert()
1187 gFileLines[line].unixName = new char[sizeNeeded+1]; in UnixConvert()
1189 gFileLines[line].unixName, // ptr to target buffer. in UnixConvert()
1191 gFileLines[line].name, in UnixConvert()
1198 gFileLines[line].unixName[sizeNeeded] = 0; in UnixConvert()
1548 gFileLines = new Line[MAXLINES]; in main()
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()
1618 t = ucol_getSortKey(gCol, gFileLines[line].name, -1, (unsigned char *)buf, sizeof(buf)); in main()
1619 gFileLines[line].icuSortKey = new char[t]; in main()
1622 …t = ucol_getSortKey(gCol, gFileLines[line].name, -1, (unsigned char *)gFileLines[line].icuSortKey … in main()
1626 memcpy(gFileLines[line].icuSortKey, buf, t); in main()
1636 t=LCMapStringW(gWinLCID, LCMAP_SORTKEY, gFileLines[line].name, -1, buf, sizeof(buf)); in main()
1637 gFileLines[line].winSortKey = new char[t]; in main()
1639 …t = LCMapStringW(gWinLCID, LCMAP_SORTKEY, gFileLines[line].name, -1, (UChar *)(gFileLines[line].wi… in main()
1643 memcpy(gFileLines[line].winSortKey, buf, t); in main()
1652 t=strxfrm((char *)buf, gFileLines[line].unixName, sizeof(buf)); in main()
1653 gFileLines[line].unixSortKey = new char[t]; in main()
1655 t = strxfrm(gFileLines[line].unixSortKey, gFileLines[line].unixName, sizeof(buf)); in main()
1659 memcpy(gFileLines[line].unixSortKey, buf, t); in main()
1672 UChar c = gFileLines[line].name[i]; in main()
1685 … UCollationElements *CEiter = ucol_openElements(gCol, gFileLines[line].name, -1, &status); in main()
1705 unsigned char c = gFileLines[line].icuSortKey[i]; in main()
1725 gSortedLines[i] = &gFileLines[i]; in main()
1745 gRandomLines[i] = &gFileLines[i]; in main()