Lines Matching refs:gCommonICUDataArray
104 static UDataMemory *gCommonICUDataArray[10] = { NULL }; // Access protected by icu global mutex. variable
125 for (i = 0; i < UPRV_LENGTHOF(gCommonICUDataArray) && gCommonICUDataArray[i] != NULL; ++i) { in udata_cleanup()
126 udata_close(gCommonICUDataArray[i]); in udata_cleanup()
127 gCommonICUDataArray[i] = NULL; in udata_cleanup()
146 for (i = 0; i < UPRV_LENGTHOF(gCommonICUDataArray); ++i) { in findCommonICUDataByName()
147 … if ((gCommonICUDataArray[i] != NULL) && (gCommonICUDataArray[i]->pHeader == pData->pHeader)) { in findCommonICUDataByName()
180 for (i = 0; i < UPRV_LENGTHOF(gCommonICUDataArray); ++i) { in setCommonICUData()
181 if (gCommonICUDataArray[i] == NULL) { in setCommonICUData()
182 gCommonICUDataArray[i] = newCommonData; in setCommonICUData()
185 } else if (gCommonICUDataArray[i]->pHeader == pData->pHeader) { in setCommonICUData()
192 if (i == UPRV_LENGTHOF(gCommonICUDataArray) && warn) { in setCommonICUData()
667 if(commonDataIndex >= UPRV_LENGTHOF(gCommonICUDataArray)) { in openCommonData()
672 if(gCommonICUDataArray[commonDataIndex] != NULL) { in openCommonData()
673 return gCommonICUDataArray[commonDataIndex]; in openCommonData()
677 if(gCommonICUDataArray[i]->pHeader == &U_ICUDATA_ENTRY_POINT) { in openCommonData()
700 return gCommonICUDataArray[commonDataIndex]; in openCommonData()