Lines Matching refs:formatVersion
139 uprv_memcpy(context, pInfo->formatVersion, 4); in isAcceptable()
149 (1<=pInfo->formatVersion[0] && pInfo->formatVersion[0]<=3)); in isAcceptable()
156 UVersionInfo formatVersion, const void *inBytes, int32_t length, in res_init() argument
166 if(length>=0 && (length/4)<((formatVersion[0]==1 && formatVersion[1]==0) ? 1 : 1+5)) { in res_init()
180 if(formatVersion[0]==1 && formatVersion[1]==0) { in res_init()
202 if(formatVersion[0]>=3) { in res_init()
229 if(formatVersion[0]==1 || U_CHARSET_FAMILY==U_ASCII_FAMILY) { in res_init()
242 UVersionInfo formatVersion; in res_read() local
248 if(!isAcceptable(formatVersion, NULL, NULL, pInfo)) { in res_read()
252 res_init(pResData, formatVersion, inBytes, length, errorCode); in res_read()
258 UVersionInfo formatVersion; in res_load() local
263 pResData->data=udata_openChoice(path, "res", name, isAcceptable, formatVersion, errorCode); in res_load()
269 res_init(pResData, formatVersion, udata_getMemory(pResData->data), -1, errorCode); in res_load()
1316 ((pInfo->formatVersion[0]==1 && pInfo->formatVersion[1]>=1) || in ures_swap()
1317 pInfo->formatVersion[0]==2 || pInfo->formatVersion[0]==3) in ures_swap()
1322 pInfo->formatVersion[0], pInfo->formatVersion[1]); in ures_swap()
1326 tempTable.majorFormatVersion=pInfo->formatVersion[0]; in ures_swap()