Lines Matching refs:lcidCount
36 static int32_t lcidCount = 0; variable
45 if (lcidCount >= lcidMax) { in EnumLocalesProc()
57 sscanf(lpLocaleString, "%8x", &lcidRecords[lcidCount].lcid); in EnumLocalesProc()
59 …localeIDLen = uprv_convertToPosix(lcidRecords[lcidCount].lcid, localeID, UPRV_LENGTHOF(localeID), … in EnumLocalesProc()
61 lcidRecords[lcidCount].localeID = new char[localeIDLen + 1]; in EnumLocalesProc()
62 memcpy(lcidRecords[lcidCount].localeID, localeID, localeIDLen); in EnumLocalesProc()
63 lcidRecords[lcidCount].localeID[localeIDLen] = 0; in EnumLocalesProc()
65 lcidRecords[lcidCount].localeID = NULL; in EnumLocalesProc()
68 lcidCount += 1; in EnumLocalesProc()
79 localeCount = lcidCount; in getLocales()
82 lcidCount = lcidMax = 0; in getLocales()
90 for (int i = 0; i < lcidCount; i++) { in freeLocales()