Home
last modified time | relevance | path

Searched refs:searchRange (Results 1 – 25 of 40) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DMtxFontBuilder.java103 int searchRange = searchRange(nTables); in build() local
104 putUshort(buf, 6, searchRange * FONT_HEADER_PER_TABLE_SIZE); in build()
105 putUshort(buf, 8, log2(searchRange)); in build()
106 putUshort(buf, 10, (nTables - searchRange) * FONT_HEADER_PER_TABLE_SIZE); in build()
130 static int searchRange(int x) { in searchRange() method in MtxFontBuilder
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DMtxFontBuilder.java103 int searchRange = searchRange(nTables); in build() local
104 putUshort(buf, 6, searchRange * FONT_HEADER_PER_TABLE_SIZE); in build()
105 putUshort(buf, 8, log2(searchRange)); in build()
106 putUshort(buf, 10, (nTables - searchRange) * FONT_HEADER_PER_TABLE_SIZE); in build()
130 static int searchRange(int x) { in searchRange() method in MtxFontBuilder
/third_party/icu/icu4c/source/test/perf/leperf/
DFontObject.cpp21 : directory(NULL), numTables(0), searchRange(0),entrySelector(0), in FontObject()
38 searchRange = SWAPW(tempDir.searchRange) >> 4; in FontObject()
150 cmSearchRange = SWAPW(header->searchRange); in initUnicodeCMAP()
DFontObject.h39 le_uint16 searchRange; member
89 le_uint16 searchRange; member
216 le_uint16 searchRange; variable
Dsfnt.h41 le_uint16 searchRange; member
135 le_uint16 searchRange; member
153 le_uint16 searchRange; member
/third_party/icu/icu4c/source/test/letest/
DFontObject.cpp17 : directory(NULL), numTables(0), searchRange(0),entrySelector(0), in FontObject()
34 searchRange = SWAPW(tempDir.searchRange) >> 4; in FontObject()
146 cmSearchRange = SWAPW(header->searchRange); in initUnicodeCMAP()
DFontObject.h35 le_uint16 searchRange; member
85 le_uint16 searchRange; member
212 le_uint16 searchRange; variable
Dsfnt.h37 le_uint16 searchRange; member
131 le_uint16 searchRange; member
149 le_uint16 searchRange; member
/third_party/flutter/skia/third_party/externals/freetype/src/gxvalid/
Dgxvcommn.c250 FT_UShort searchRange; member
261 FT_UShort searchRange; in gxv_BinSrchHeader_check_consistency() local
271 if ( binSrchHeader->searchRange == 0 && in gxv_BinSrchHeader_check_consistency()
279 for ( searchRange = 1, entrySelector = 1; in gxv_BinSrchHeader_check_consistency()
280 ( searchRange * 2 ) <= binSrchHeader->nUnits && in gxv_BinSrchHeader_check_consistency()
281 searchRange < 0x8000U; in gxv_BinSrchHeader_check_consistency()
282 searchRange *= 2, entrySelector++ ) in gxv_BinSrchHeader_check_consistency()
286 searchRange = (FT_UShort)( searchRange * binSrchHeader->unitSize ); in gxv_BinSrchHeader_check_consistency()
288 - searchRange ); in gxv_BinSrchHeader_check_consistency()
290 if ( searchRange != binSrchHeader->searchRange || in gxv_BinSrchHeader_check_consistency()
[all …]
/third_party/freetype/src/gxvalid/
Dgxvcommn.c250 FT_UShort searchRange; member
261 FT_UShort searchRange; in gxv_BinSrchHeader_check_consistency() local
271 if ( binSrchHeader->searchRange == 0 && in gxv_BinSrchHeader_check_consistency()
279 for ( searchRange = 1, entrySelector = 1; in gxv_BinSrchHeader_check_consistency()
280 ( searchRange * 2 ) <= binSrchHeader->nUnits && in gxv_BinSrchHeader_check_consistency()
281 searchRange < 0x8000U; in gxv_BinSrchHeader_check_consistency()
282 searchRange *= 2, entrySelector++ ) in gxv_BinSrchHeader_check_consistency()
286 searchRange = (FT_UShort)( searchRange * binSrchHeader->unitSize ); in gxv_BinSrchHeader_check_consistency()
288 - searchRange ); in gxv_BinSrchHeader_check_consistency()
290 if ( searchRange != binSrchHeader->searchRange || in gxv_BinSrchHeader_check_consistency()
[all …]
/third_party/skia/third_party/externals/freetype/src/gxvalid/
Dgxvcommn.c249 FT_UShort searchRange; member
260 FT_UShort searchRange; in gxv_BinSrchHeader_check_consistency() local
270 if ( binSrchHeader->searchRange == 0 && in gxv_BinSrchHeader_check_consistency()
278 for ( searchRange = 1, entrySelector = 1; in gxv_BinSrchHeader_check_consistency()
279 ( searchRange * 2 ) <= binSrchHeader->nUnits && in gxv_BinSrchHeader_check_consistency()
280 searchRange < 0x8000U; in gxv_BinSrchHeader_check_consistency()
281 searchRange *= 2, entrySelector++ ) in gxv_BinSrchHeader_check_consistency()
285 searchRange = (FT_UShort)( searchRange * binSrchHeader->unitSize ); in gxv_BinSrchHeader_check_consistency()
287 - searchRange ); in gxv_BinSrchHeader_check_consistency()
289 if ( searchRange != binSrchHeader->searchRange || in gxv_BinSrchHeader_check_consistency()
[all …]
/third_party/freetype/src/sfnt/
Dsfwoff.c171 FT_UInt searchRange, entrySelector, rangeShift, x; in woff_open_font() local
183 searchRange = ( 1 << entrySelector ) * 16; in woff_open_font()
184 rangeShift = woff.num_tables * 16 - searchRange; in woff_open_font()
188 WRITE_USHORT( sfnt_header, searchRange ); in woff_open_font()
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dsfwoff.c174 FT_UInt searchRange, entrySelector, rangeShift, x; in woff_open_font() local
186 searchRange = ( 1 << entrySelector ) * 16; in woff_open_font()
187 rangeShift = woff.num_tables * 16 - searchRange; in woff_open_font()
191 WRITE_USHORT( sfnt_header, searchRange ); in woff_open_font()
/third_party/flutter/skia/third_party/externals/freetype/src/sfnt/
Dsfwoff.c172 FT_UInt searchRange, entrySelector, rangeShift, x; in woff_open_font() local
184 searchRange = ( 1 << entrySelector ) * 16; in woff_open_font()
185 rangeShift = woff.num_tables * 16 - searchRange; in woff_open_font()
189 WRITE_USHORT( sfnt_header, searchRange ); in woff_open_font()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/
DFont.java72 searchRange(6), enumConstant
506 int searchRange = 2 << (log2OfMaxPowerOf2 - 1 + 4); in serializeHeader() local
507 fos.writeUShort(searchRange); in serializeHeader()
509 fos.writeUShort((tableHeaders.size() * 16) - searchRange); in serializeHeader()
607 private int searchRange; field in Font.Builder
944 this.searchRange = is.readUShort(); in readHeader()
983 this.searchRange = fd.readUShort(offset + Offset.searchRange.offset); in readHeader()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/
DFont.java72 searchRange(6), enumConstant
506 int searchRange = 2 << (log2OfMaxPowerOf2 - 1 + 4); in serializeHeader() local
507 fos.writeUShort(searchRange); in serializeHeader()
509 fos.writeUShort((tableHeaders.size() * 16) - searchRange); in serializeHeader()
607 private int searchRange; field in Font.Builder
944 this.searchRange = is.readUShort(); in readHeader()
983 this.searchRange = fd.readUShort(offset + Offset.searchRange.offset); in readHeader()
/third_party/icu/icu4c/source/samples/layout/
Dsfnt.h42 le_uint16 searchRange; member
92 le_uint16 searchRange; member
/third_party/skia/third_party/externals/icu/source/samples/layout/
Dsfnt.h42 le_uint16 searchRange; member
92 le_uint16 searchRange; member
/third_party/flutter/skia/third_party/externals/icu/source/samples/layout/
Dsfnt.h42 le_uint16 searchRange; member
92 le_uint16 searchRange; member
/third_party/flutter/engine/flutter/third_party/txt/tests/
DCmapCoverageTest.cpp64 const uint16_t searchRange = in buildCmapFormat4Table() local
68 head = writeU16(searchRange, out.data(), head); // searchRange in buildCmapFormat4Table()
70 head = writeU16(ctz_win(searchRange) - 1, out.data(), head); in buildCmapFormat4Table()
72 head = writeU16(__builtin_ctz(searchRange) - 1, out.data(), in buildCmapFormat4Table()
76 writeU16(segmentCount * 2 - searchRange, out.data(), head); // rangeShift in buildCmapFormat4Table()
/third_party/skia/src/sfnt/
DSkSFNTHeader.h52 SK_SFNT_USHORT searchRange; member
/third_party/flutter/skia/src/sfnt/
DSkSFNTHeader.h52 SK_SFNT_USHORT searchRange; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsDelaySlotFiller.cpp262 bool searchRange(MachineBasicBlock &MBB, IterTy Begin, IterTy End,
689 bool MipsDelaySlotFiller::searchRange(MachineBasicBlock &MBB, IterTy Begin, in searchRange() function in MipsDelaySlotFiller
784 if (!searchRange(MBB, ++SlotI.getReverse(), MBB.rend(), RegDU, MemDU, Slot, in searchBackward()
809 if (!searchRange(MBB, std::next(Slot), MBB.end(), RegDU, NM, Slot, Filler)) { in searchForward()
857 if (!searchRange(MBB, SuccBB->begin(), SuccBB->end(), RegDU, *IM, Slot, in searchSuccBBs()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
DCMapFormat4.java480 int searchRange = 1 << (log2SegCount + 1); in subSerialize() local
481 index += newData.writeUShort(index, searchRange); in subSerialize()
484 int rangeShift = 2 * segCount - searchRange; in subSerialize()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
DCMapFormat4.java480 int searchRange = 1 << (log2SegCount + 1); in subSerialize() local
481 index += newData.writeUShort(index, searchRange); in subSerialize()
484 int rangeShift = 2 * segCount - searchRange; in subSerialize()

12