Lines Matching defs:formatVersion
74 STRINGS_UTF16_V1, /* formatVersion 1: int length + UChars + NUL + padding to 4 bytes */
75 STRINGS_UTF16_V2 /* formatVersion 2 & up: optional length in 1..3 UChars + UChars + NUL */
99 {1, 3, 0, 0}, /* formatVersion */
103 static const UVersionInfo gFormatVersions[4] = { /* indexed by a major-formatVersion integer */
126 void setFormatVersion(int32_t formatVersion) {
128 gFormatVersion = formatVersion;
204 * formatVersion 1: compare key strings in native-charset order
205 * formatVersion 2 and up: compare key strings in ASCII order
854 * Note: This cannot be changed without changing the major formatVersion.
892 int32_t formatVersion = gFormatVersion;
908 } else if (gIsDefaultFormatVersion && formatVersion == 3 && !fIsPoolBundle) {
909 // If we just default to formatVersion 3
912 // then write formatVersion 2 which is just as good.
913 formatVersion = 2;
988 uprv_memcpy(dataInfo.formatVersion, gFormatVersions + formatVersion, sizeof(UVersionInfo));
1000 * formatVersion 1.1 (ICU 2.8):
1012 * formatVersion 1.2 (ICU 3.6):
1020 * formatVersion 2.0 (ICU 4.4):
1056 // formatVersion 3 (ICU 56):
1159 /* formatVersion 1.1 and up: start fKeysTop after the root item and indexes[] */
1164 } else /* formatVersion 1 */ {