Home
last modified time | relevance | path

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

/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/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/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/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/cups-filters/fontembed/
Dsfnt.c17 int *searchRange, in otf_bsearch_params() argument
22 assert(searchRange); in otf_bsearch_params()
29 *searchRange=iA*recordSize/2; in otf_bsearch_params()
31 *rangeShift=num*recordSize-*searchRange; in otf_bsearch_params()
37 int searchRange, in otf_bsearch() argument
48 searchRange>>=1; in otf_bsearch()
49 ret+=searchRange; in otf_bsearch()
51 ret-=searchRange; in otf_bsearch()
59 return ret+searchRange; in otf_bsearch()
/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()
Dsfwoff2.c2171 FT_UInt searchRange, entrySelector, rangeShift, x; in woff2_open_font() local
2183 searchRange = ( 1 << entrySelector ) * 16; in woff2_open_font()
2184 rangeShift = ( woff2.num_tables * 16 ) - searchRange; in woff2_open_font()
2187 WRITE_USHORT( sfnt_header, searchRange ); in woff2_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/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/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/skia/src/ports/
DSkTypeface_mac_ct.cpp742 uint16_t searchRange = 1; in onOpenStream() local
743 while (searchRange < numTables >> 1) { in onOpenStream()
745 searchRange <<= 1; in onOpenStream()
747 searchRange <<= 4; in onOpenStream()
748 uint16_t rangeShift = (numTables << 4) - searchRange; in onOpenStream()
754 header->searchRange = SkEndian_SwapBE16(searchRange); in onOpenStream()
/third_party/skia/src/sfnt/
DSkSFNTHeader.h52 SK_SFNT_USHORT searchRange; member
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-open-type.hh985 searchRange = 16 * (1u << entrySelector); in operator =()
986 rangeShift = v * 16 > searchRange in operator =()
987 ? 16 * v - searchRange in operator =()
994 LenType searchRange; member
1017 HBUINT16 searchRange; /* The value of unitSize times the largest power of 2 member
Dhb-ot-cmap-table.hh293 this->searchRange = 2 * (1u << this->entrySelector); in serialize()
294 this->rangeShift = segcount * 2 > this->searchRange in serialize()
295 ? 2 * segcount - this->searchRange in serialize()
502 HBUINT16 searchRange; /* 2 * (2**floor(log2(segCount))) */ member
/third_party/skia/third_party/externals/imgui/
Dimstb_truetype.h1483 stbtt_uint16 searchRange = ttUSHORT(data+index_map+8) >> 1; in stbtt_FindGlyphIndex() local
1503 searchRange >>= 1; in stbtt_FindGlyphIndex()
1504 end = ttUSHORT(data + search + searchRange*2); in stbtt_FindGlyphIndex()
1506 search += searchRange*2; in stbtt_FindGlyphIndex()
/third_party/mesa3d/src/imgui/
Dimstb_truetype.h1483 stbtt_uint16 searchRange = ttUSHORT(data+index_map+8) >> 1; in stbtt_FindGlyphIndex() local
1503 searchRange >>= 1; in stbtt_FindGlyphIndex()
1504 end = ttUSHORT(data + search + searchRange*2); in stbtt_FindGlyphIndex()
1506 search += searchRange*2; in stbtt_FindGlyphIndex()
/third_party/skia/third_party/externals/harfbuzz/perf/texts/
Den-words.txt9590 searchRange