Home
last modified time | relevance | path

Searched refs:formatVersion (Results 1 – 25 of 43) sorted by relevance

12

/external/icu/icu4c/source/tools/toolutil/
Dswapimpl.cpp91 pInfo->formatVersion[0]==2 in upname_swap()
96 pInfo->formatVersion[0]); in upname_swap()
180 (3<=pInfo->formatVersion[0] && pInfo->formatVersion[0]<=7) && in uprops_swap()
181 (pInfo->formatVersion[0]>=7 || in uprops_swap()
182 (pInfo->formatVersion[2]==UTRIE_SHIFT && in uprops_swap()
183 pInfo->formatVersion[3]==UTRIE_INDEX_SHIFT)) in uprops_swap()
188 pInfo->formatVersion[0]); in uprops_swap()
333 ((pInfo->formatVersion[0]==1 && in ucase_swap()
334 pInfo->formatVersion[2]==UTRIE_SHIFT && in ucase_swap()
335 pInfo->formatVersion[3]==UTRIE_INDEX_SHIFT) || in ucase_swap()
[all …]
Dpkgitems.cpp376 pInfo->formatVersion[0], pInfo->formatVersion[1]); in ures_enumDependencies()
384 if(pInfo->formatVersion[0]>1 || (pInfo->formatVersion[0]==1 && pInfo->formatVersion[1]>=1)) { in ures_enumDependencies()
409 if(poolInfo->formatVersion[0]<=1) { in ures_enumDependencies()
457 pInfo->formatVersion[0]==6 && in ucnv_enumDependencies()
458 pInfo->formatVersion[1]>=2 in ucnv_enumDependencies()
461 pInfo->formatVersion[0], pInfo->formatVersion[1]); in ucnv_enumDependencies()
/external/icu/icu4c/source/common/
Ducol_swp.cpp146 inHeader->formatVersion[0]==3 /*&& in ucol_looksLikeCollationBinary()
209 inHeader->formatVersion[0]==3 /*&& in swapFormatVersion3()
214 inHeader->formatVersion[0], inHeader->formatVersion[1]); in swapFormatVersion3()
569 (3<=info.formatVersion[0] && info.formatVersion[0]<=5) in ucol_swap()
575 info.formatVersion[0], info.formatVersion[1]); in ucol_swap()
584 if(info.formatVersion[0]>=4) { in ucol_swap()
624 pInfo->formatVersion[0]==2 && in ucol_swapInverseUCA()
625 pInfo->formatVersion[1]>=1 in ucol_swapInverseUCA()
630 pInfo->formatVersion[0], pInfo->formatVersion[1]); in ucol_swapInverseUCA()
Duresdata.cpp139 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()
[all …]
Dusprep.cpp87 pInfo->formatVersion[0]==3 && in isSPrepAcceptable()
88 pInfo->formatVersion[2]==UTRIE_SHIFT && in isSPrepAcceptable()
89 pInfo->formatVersion[3]==UTRIE_INDEX_SHIFT in isSPrepAcceptable()
802 pInfo->formatVersion[0]==3 in usprep_swap()
807 pInfo->formatVersion[0]); in usprep_swap()
Ducol_data.h69 UVersionInfo formatVersion; /* format version from the UDataInfo header */ member
Ddictionarydata.cpp177 pInfo->formatVersion[0] == 1)) { in udict_swap()
179 …mat[0], pInfo->dataFormat[1], pInfo->dataFormat[2], pInfo->dataFormat[3], pInfo->formatVersion[0]); in udict_swap()
Ducmndata.c334 udm->pHeader->info.formatVersion[0]==1 in udata_checkCommonData()
344 udm->pHeader->info.formatVersion[0]==1 in udata_checkCommonData()
Drbbidata.cpp324 pInfo->formatVersion[0]==3 )) { in ubrk_swap()
328 pInfo->formatVersion[0]); in ubrk_swap()
Ducnv_bld.cpp275 pInfo->formatVersion[0]==6); /* Everything will be version 6 */ in isCnvAcceptable()
1360 pInfo->formatVersion[0]==6 && in ucnv_swap()
1361 pInfo->formatVersion[1]>=2 in ucnv_swap()
1366 pInfo->formatVersion[0], pInfo->formatVersion[1]); in ucnv_swap()
Ducnvsel.cpp390 if(pInfo->formatVersion[0] != 1) { in ucnvsel_swap()
392 pInfo->formatVersion[0]); in ucnvsel_swap()
495 if (pHeader->info.formatVersion[0] != 1) { in ucnvsel_openFromSerialized()
Dubidi_props.c38 uint8_t formatVersion[4]; member
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUBinary.java594 byte[] formatVersion = new byte[] {
601 (authenticate != null && !authenticate.isDataVersionAcceptable(formatVersion))) {
605 formatVersion[0] & 0xff, formatVersion[1] & 0xff,
606 formatVersion[2] & 0xff, formatVersion[3] & 0xff));
624 public static int writeHeader(int dataFormat, int formatVersion, int dataVersion,
638 dos.writeInt(formatVersion);
DICUResourceBundleReader.java38 public boolean isDataVersionAcceptable(byte formatVersion[]) { in isDataVersionAcceptable() argument
40 (formatVersion[0] == 1 && (formatVersion[1] & 0xff) >= 1) || in isDataVersionAcceptable()
41 (2 <= formatVersion[0] && formatVersion[0] <= 3); in isDataVersionAcceptable()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUBinary.java598 byte[] formatVersion = new byte[] {
605 (authenticate != null && !authenticate.isDataVersionAcceptable(formatVersion))) {
609 formatVersion[0] & 0xff, formatVersion[1] & 0xff,
610 formatVersion[2] & 0xff, formatVersion[3] & 0xff));
628 public static int writeHeader(int dataFormat, int formatVersion, int dataVersion,
642 dos.writeInt(formatVersion);
DICUResourceBundleReader.java40 public boolean isDataVersionAcceptable(byte formatVersion[]) { in isDataVersionAcceptable() argument
42 (formatVersion[0] == 1 && (formatVersion[1] & 0xff) >= 1) || in isDataVersionAcceptable()
43 (2 <= formatVersion[0] && formatVersion[0] <= 3); in isDataVersionAcceptable()
/external/icu/icu4c/source/i18n/
Duspoof_impl.cpp488 pInfo->formatVersion[0] == 1 in spoofDataIsAcceptable()
742 pInfo->formatVersion[0]==1 )) { in uspoof_swap()
747 pInfo->formatVersion[0], pInfo->formatVersion[1], in uspoof_swap()
748 pInfo->formatVersion[2], pInfo->formatVersion[3]); in uspoof_swap()
/external/icu/icu4c/source/tools/gencfu/
Dgencfu.cpp264 uprv_memcpy(dh.info.formatVersion, in main()
266 sizeof(dh.info.formatVersion)); in main()
/external/icu/icu4c/source/tools/genbrk/
Dgenbrk.cpp308 …uprv_memcpy(dh.info.formatVersion, ((RBBIDataHeader *)outData)->fFormatVersion, sizeof(dh.info.for… in main()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DUConverterDataReader.java409 public boolean isDataVersionAcceptable(byte formatVersion[]) { in isDataVersionAcceptable() argument
410 return formatVersion[0] == 6; in isDataVersionAcceptable()
/external/icu/icu4c/source/samples/udata/
Dreader.c64 pInfo->formatVersion[0]==1 && in isAcceptable()
/external/icu/icu4c/source/common/unicode/
Dudata.h143 uint8_t formatVersion[4]; member
/external/icu/icu4c/source/test/cintltst/
Dudatatst.c567 pInfo->formatVersion[0]==3 ) in isAcceptable1()
579 … name, type, pInfo->size, pInfo->isBigEndian, pInfo->charsetFamily, pInfo->formatVersion[0], in isAcceptable1()
602 pInfo->formatVersion[0]==1 && in isAcceptable2()
627 pInfo->formatVersion[0]==1 && in isAcceptable3()
726 pInfo->formatVersion[0]==1 && in isAcceptable()
830 dataInfo.formatVersion[0]!=9 && /*formatVersion is also set to the one for cnvalias*/ in TestUDataGetInfo()
854 dataInfo.formatVersion[0]==1 && /*formatVersion is also set to the one for test*/ in TestUDataGetInfo()
/external/icu/icu4c/source/tools/genrb/
Dreslist.cpp124 void setFormatVersion(int32_t formatVersion) { in setFormatVersion() argument
126 gFormatVersion = formatVersion; in setFormatVersion()
890 int32_t formatVersion = gFormatVersion; in write() local
906 } else if (gIsDefaultFormatVersion && formatVersion == 3 && !fIsPoolBundle) { in write()
911 formatVersion = 2; in write()
986 uprv_memcpy(dataInfo.formatVersion, gFormatVersions + formatVersion, sizeof(UVersionInfo)); in write()
/external/icu/icu4c/source/tools/icuswap/
Dicuswap.cpp368 pInfo->formatVersion[0]==1 in udata_swapPackage()
373 pInfo->formatVersion[0]); in udata_swapPackage()

12