/external/fonttools/Tests/ufoLib/ |
D | UFO2_test.py | 799 writer = UFOWriter(self.dstDir, formatVersion=2) 810 writer = UFOWriter(self.dstDir, formatVersion=2) 815 writer = UFOWriter(self.dstDir, formatVersion=2) 820 writer = UFOWriter(self.dstDir, formatVersion=2) 826 writer = UFOWriter(self.dstDir, formatVersion=2) 831 writer = UFOWriter(self.dstDir, formatVersion=2) 836 writer = UFOWriter(self.dstDir, formatVersion=2) 841 writer = UFOWriter(self.dstDir, formatVersion=2) 846 writer = UFOWriter(self.dstDir, formatVersion=2) 851 writer = UFOWriter(self.dstDir, formatVersion=2) [all …]
|
D | UFO3_test.py | 1726 writer = UFOWriter(self.dstDir, formatVersion=3) 1738 writer = UFOWriter(self.dstDir, formatVersion=3) 1744 writer = UFOWriter(self.dstDir, formatVersion=3) 1750 writer = UFOWriter(self.dstDir, formatVersion=3) 1757 writer = UFOWriter(self.dstDir, formatVersion=3) 1763 writer = UFOWriter(self.dstDir, formatVersion=3) 1769 writer = UFOWriter(self.dstDir, formatVersion=3) 1775 writer = UFOWriter(self.dstDir, formatVersion=3) 1781 writer = UFOWriter(self.dstDir, formatVersion=3) 1787 writer = UFOWriter(self.dstDir, formatVersion=3) [all …]
|
D | UFOConversion_test.py | 164 def makeUFO(self, formatVersion): argument 169 metaInfo = dict(creator="test", formatVersion=formatVersion) 220 self.makeUFO(formatVersion=2) 230 self.makeUFO(formatVersion=2) 333 writer = UFOWriter(self.dstDir, formatVersion=2)
|
D | UFO1_test.py | 112 writer = UFOWriter(self.dstDir, formatVersion=1) 129 writer = UFOWriter(self.dstDir, formatVersion=1) 149 writer = UFOWriter(self.dstDir, formatVersion=1)
|
D | UFOZ_test.py | 47 assert reader.formatVersion == 3 92 assert reader.formatVersion == 3
|
/external/cldr/tools/java/org/unicode/cldr/icu/ |
D | UDataInfo.java | 82 public byte[] formatVersion; field in UDataInfo 105 byte reservedByte, byte[] dataFormat, byte[] formatVersion, byte[] dataVersion) in UDataInfo() argument 110 if (formatVersion.length != 4) { in UDataInfo() 123 this.formatVersion = formatVersion; in UDataInfo() 186 b[12] = formatVersion[0]; in getByteArray() 187 b[13] = formatVersion[1]; in getByteArray() 188 b[14] = formatVersion[2]; in getByteArray() 189 b[15] = formatVersion[3]; in getByteArray()
|
D | LDML2ICUBinaryWriter.java | 188 byte[] formatVersion; in writeBinaryFile() 224 formatVersion = new byte[4]; in writeBinaryFile() 225 formatVersion[0] = 1; in writeBinaryFile() 226 formatVersion[1] = 2; in writeBinaryFile() 227 formatVersion[2] = 0; in writeBinaryFile() 228 formatVersion[3] = 0; in writeBinaryFile() 244 UDataInfo.SIZE_OF_UCHAR, (byte) 0, dataFormat, formatVersion, dataVersion); in writeBinaryFile()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | swapimpl.cpp | 94 pInfo->formatVersion[0]==2 in upname_swap() 99 pInfo->formatVersion[0]); in upname_swap() 183 (3<=pInfo->formatVersion[0] && pInfo->formatVersion[0]<=7) && in uprops_swap() 184 (pInfo->formatVersion[0]>=7 || in uprops_swap() 185 (pInfo->formatVersion[2]==UTRIE_SHIFT && in uprops_swap() 186 pInfo->formatVersion[3]==UTRIE_INDEX_SHIFT)) in uprops_swap() 191 pInfo->formatVersion[0]); in uprops_swap() 336 ((pInfo->formatVersion[0]==1 && in ucase_swap() 337 pInfo->formatVersion[2]==UTRIE_SHIFT && in ucase_swap() 338 pInfo->formatVersion[3]==UTRIE_INDEX_SHIFT) || in ucase_swap() [all …]
|
D | pkgitems.cpp | 378 pInfo->formatVersion[0], pInfo->formatVersion[1]); in ures_enumDependencies() 386 if(pInfo->formatVersion[0]>1 || (pInfo->formatVersion[0]==1 && pInfo->formatVersion[1]>=1)) { in ures_enumDependencies() 411 if(poolInfo->formatVersion[0]<=1) { in ures_enumDependencies() 459 pInfo->formatVersion[0]==6 && in ucnv_enumDependencies() 460 pInfo->formatVersion[1]>=2 in ucnv_enumDependencies() 463 pInfo->formatVersion[0], pInfo->formatVersion[1]); in ucnv_enumDependencies()
|
/external/fonttools/Lib/fontTools/ufoLib/ |
D | glifLib.py | 357 …def writeGlyph(self, glyphName, glyphObject=None, drawPointsFunc=None, formatVersion=None, validat… argument 388 if formatVersion is None: 390 formatVersion = 2 392 formatVersion = 1 393 if formatVersion not in supportedGLIFFormatVersions: 394 raise GlifLibError("Unsupported GLIF format version: %s" % formatVersion) 395 if formatVersion == 2 and self.ufoFormatVersion < 3: 398 % (formatVersion, self.ufoFormatVersion) 417 formatVersion=formatVersion, 578 formatVersion=2, validate=True): argument [all …]
|
D | __init__.py | 288 …formatVersion = property(_get_formatVersion, doc="The format version of the UFO. This is determine… variable in UFOReader 395 formatVersion = data["formatVersion"] 397 if not isinstance(formatVersion, int): 402 if formatVersion not in supportedUFOFormatVersions: 405 % (formatVersion, METAINFO_FILENAME, self.fs) 407 self._formatVersion = formatVersion 821 formatVersion=3, argument 826 if formatVersion not in supportedUFOFormatVersions: 827 raise UFOLibError("Unsupported UFO format (%d)." % formatVersion) 935 self._formatVersion = formatVersion [all …]
|
/external/icu/icu4c/source/common/ |
D | ucol_swp.cpp | 73 inHeader->formatVersion[0]==3 /*&& in ucol_looksLikeCollationBinary() 136 inHeader->formatVersion[0]==3 /*&& in swapFormatVersion3() 141 inHeader->formatVersion[0], inHeader->formatVersion[1]); in swapFormatVersion3() 496 (3<=info.formatVersion[0] && info.formatVersion[0]<=5) in ucol_swap() 502 info.formatVersion[0], info.formatVersion[1]); in ucol_swap() 511 if(info.formatVersion[0]>=4) { in ucol_swap() 551 pInfo->formatVersion[0]==2 && in ucol_swapInverseUCA() 552 pInfo->formatVersion[1]>=1 in ucol_swapInverseUCA() 557 pInfo->formatVersion[0], pInfo->formatVersion[1]); in ucol_swapInverseUCA()
|
D | uresdata.cpp | 141 uprv_memcpy(context, pInfo->formatVersion, 4); in isAcceptable() 151 (1<=pInfo->formatVersion[0] && pInfo->formatVersion[0]<=3)); in isAcceptable() 158 UVersionInfo formatVersion, const void *inBytes, int32_t length, in res_init() argument 168 if(length>=0 && (length/4)<((formatVersion[0]==1 && formatVersion[1]==0) ? 1 : 1+5)) { in res_init() 182 if(formatVersion[0]==1 && formatVersion[1]==0) { in res_init() 204 if(formatVersion[0]>=3) { in res_init() 231 if(formatVersion[0]==1 || U_CHARSET_FAMILY==U_ASCII_FAMILY) { in res_init() 244 UVersionInfo formatVersion; in res_read() local 250 if(!isAcceptable(formatVersion, NULL, NULL, pInfo)) { in res_read() 254 res_init(pResData, formatVersion, inBytes, length, errorCode); in res_read() [all …]
|
D | usprep.cpp | 89 pInfo->formatVersion[0]==3 && in isSPrepAcceptable() 90 pInfo->formatVersion[2]==UTRIE_SHIFT && in isSPrepAcceptable() 91 pInfo->formatVersion[3]==UTRIE_INDEX_SHIFT in isSPrepAcceptable() 802 pInfo->formatVersion[0]==3 in usprep_swap() 807 pInfo->formatVersion[0]); in usprep_swap()
|
D | rbbidata.cpp | 58 isDataVersionAcceptable(dh->info.formatVersion)) in RBBIDataWrapper() 303 RBBIDataWrapper::isDataVersionAcceptable(pInfo->formatVersion) )) { in ubrk_swap() 307 pInfo->formatVersion[0]); in ubrk_swap()
|
D | dictionarydata.cpp | 179 pInfo->formatVersion[0] == 1)) { in udict_swap() 181 …mat[0], pInfo->dataFormat[1], pInfo->dataFormat[2], pInfo->dataFormat[3], pInfo->formatVersion[0]); in udict_swap()
|
D | ucol_data.h | 71 UVersionInfo formatVersion; /* format version from the UDataInfo header */ member
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ICUBinary.java | 597 byte[] formatVersion = new byte[] { 604 (authenticate != null && !authenticate.isDataVersionAcceptable(formatVersion))) { 608 formatVersion[0] & 0xff, formatVersion[1] & 0xff, 609 formatVersion[2] & 0xff, formatVersion[3] & 0xff)); 627 public static int writeHeader(int dataFormat, int formatVersion, int dataVersion, 641 dos.writeInt(formatVersion);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | ICUBinary.java | 602 byte[] formatVersion = new byte[] { 609 (authenticate != null && !authenticate.isDataVersionAcceptable(formatVersion))) { 613 formatVersion[0] & 0xff, formatVersion[1] & 0xff, 614 formatVersion[2] & 0xff, formatVersion[3] & 0xff)); 632 public static int writeHeader(int dataFormat, int formatVersion, int dataVersion, 646 dos.writeInt(formatVersion);
|
/external/icu/icu4c/source/i18n/ |
D | uspoof_impl.cpp | 538 pInfo->formatVersion[0] == USPOOF_CONFUSABLE_DATA_FORMAT_VERSION in spoofDataIsAcceptable() 873 pInfo->formatVersion[0]==USPOOF_CONFUSABLE_DATA_FORMAT_VERSION && in uspoof_swap() 874 pInfo->formatVersion[1]==0 && in uspoof_swap() 875 pInfo->formatVersion[2]==0 && in uspoof_swap() 876 pInfo->formatVersion[3]==0 )) { in uspoof_swap() 881 pInfo->formatVersion[0], pInfo->formatVersion[1], in uspoof_swap() 882 pInfo->formatVersion[2], pInfo->formatVersion[3]); in uspoof_swap()
|
/external/icu/icu4c/source/tools/gencfu/ |
D | gencfu.cpp | 258 uprv_memcpy(dh.info.formatVersion, in main() 260 sizeof(dh.info.formatVersion)); in main()
|
/external/icu/icu4c/source/tools/genbrk/ |
D | genbrk.cpp | 310 …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/ |
D | UConverterDataReader.java | 411 public boolean isDataVersionAcceptable(byte formatVersion[]) { in isDataVersionAcceptable() argument 412 return formatVersion[0] == 6; in isDataVersionAcceptable()
|
/external/icu/icu4c/source/test/cintltst/ |
D | udatatst.c | 569 pInfo->formatVersion[0]==3 ) in isAcceptable1() 581 … name, type, pInfo->size, pInfo->isBigEndian, pInfo->charsetFamily, pInfo->formatVersion[0], in isAcceptable1() 604 pInfo->formatVersion[0]==1 && in isAcceptable2() 629 pInfo->formatVersion[0]==1 && in isAcceptable3() 728 pInfo->formatVersion[0]==1 && in isAcceptable() 832 dataInfo.formatVersion[0]!=9 && /*formatVersion is also set to the one for cnvalias*/ in TestUDataGetInfo() 856 dataInfo.formatVersion[0]==1 && /*formatVersion is also set to the one for test*/ in TestUDataGetInfo()
|
/external/icu/icu4c/source/samples/udata/ |
D | reader.c | 70 pInfo->formatVersion[0]==1 && in isAcceptable()
|