Lines Matching refs:lcidCount
36 static int32_t lcidCount = 0; variable
46 if (lcidCount >= lcidMax) { in EnumLocalesProc()
58 sscanf(lpLocaleString, "%8x", &lcidRecords[lcidCount].lcid); in EnumLocalesProc()
60 …localeIDLen = uprv_convertToPosix(lcidRecords[lcidCount].lcid, localeID, UPRV_LENGTHOF(localeID), … in EnumLocalesProc()
62 lcidRecords[lcidCount].localeID = new char[localeIDLen + 1]; in EnumLocalesProc()
63 memcpy(lcidRecords[lcidCount].localeID, localeID, localeIDLen); in EnumLocalesProc()
64 lcidRecords[lcidCount].localeID[localeIDLen] = 0; in EnumLocalesProc()
66 lcidRecords[lcidCount].localeID = NULL; in EnumLocalesProc()
69 lcidCount += 1; in EnumLocalesProc()
81 localeCount = lcidCount; in getLocales()
84 lcidCount = lcidMax = 0; in getLocales()
92 for (int i = 0; i < lcidCount; i++) { in freeLocales()