Lines Matching refs:formatVersion
142 uprv_memcpy(context, pInfo->formatVersion, 4); in isAcceptable()
152 (1<=pInfo->formatVersion[0] && pInfo->formatVersion[0]<=3)); in isAcceptable()
159 UVersionInfo formatVersion, const void *inBytes, int32_t length, in res_init() argument
169 if(length>=0 && (length/4)<((formatVersion[0]==1 && formatVersion[1]==0) ? 1 : 1+5)) { in res_init()
183 if(formatVersion[0]==1 && formatVersion[1]==0) { in res_init()
205 if(formatVersion[0]>=3) { in res_init()
232 if(formatVersion[0]==1 || U_CHARSET_FAMILY==U_ASCII_FAMILY) { in res_init()
245 UVersionInfo formatVersion; in res_read() local
251 if(!isAcceptable(formatVersion, NULL, NULL, pInfo)) { in res_read()
255 res_init(pResData, formatVersion, inBytes, length, errorCode); in res_read()
261 UVersionInfo formatVersion; in res_load() local
266 pResData->data=udata_openChoice(path, "res", name, isAcceptable, formatVersion, errorCode); in res_load()
272 res_init(pResData, formatVersion, udata_getMemory(pResData->data), -1, errorCode); in res_load()
1360 ((pInfo->formatVersion[0]==1 && pInfo->formatVersion[1]>=1) || in ures_swap()
1361 pInfo->formatVersion[0]==2 || pInfo->formatVersion[0]==3) in ures_swap()
1366 pInfo->formatVersion[0], pInfo->formatVersion[1]); in ures_swap()
1370 tempTable.majorFormatVersion=pInfo->formatVersion[0]; in ures_swap()