Lines Matching refs:formatVersion
140 uprv_memcpy(context, pInfo->formatVersion, 4);
150 (pInfo->formatVersion[0]==1 || pInfo->formatVersion[0]==2));
157 UVersionInfo formatVersion, const void *inBytes, int32_t length,
166 /* formatVersion 1.1 must have a root item and at least 5 indexes */
167 if(length>=0 && (length/4)<((formatVersion[0]==1 && formatVersion[1]==0) ? 1 : 1+5)) {
181 if(formatVersion[0]==1 && formatVersion[1]==0) {
184 /* bundles with formatVersion 1.1 and later contain an indexes[] array */
221 if(formatVersion[0]==1 || U_CHARSET_FAMILY==U_ASCII_FAMILY) {
223 * formatVersion 1: compare key strings in native-charset order
224 * formatVersion 2 and up: compare key strings in ASCII order
234 UVersionInfo formatVersion;
240 if(!isAcceptable(formatVersion, NULL, NULL, pInfo)) {
244 res_init(pResData, formatVersion, inBytes, length, errorCode);
250 UVersionInfo formatVersion;
255 pResData->data=udata_openChoice(path, "res", name, isAcceptable, formatVersion, errorCode);
261 res_init(pResData, formatVersion, udata_getMemory(pResData->data), -1, errorCode);
995 ((pInfo->formatVersion[0]==1 && pInfo->formatVersion[1]>=1) || /* formatVersion 1.1+ or 2.x */
996 pInfo->formatVersion[0]==2)
1001 pInfo->formatVersion[0], pInfo->formatVersion[1]);
1005 tempTable.majorFormatVersion=pInfo->formatVersion[0];
1013 /* formatVersion 1.1 must have a root item and at least 5 indexes */
1025 /* formatVersion 1.1 adds the indexes[] array */