Searched refs:offsetMap (Results 1 – 5 of 5) sorted by relevance
29 var offsetMap = { variable61 return typeof position == 'object' ? position : offsetMap[position];85 out[pos] = offsetMap[token];
1772 const int64_t* offsetMap = (const int64_t*)ut->p; in u32MapOffsetToNative() local1773 int64_t u16Offset = offsetMap[ut->chunkNativeStart] + ut->chunkOffset; in u32MapOffsetToNative()1775 while (u16Offset < offsetMap[index]) { in u32MapOffsetToNative()1791 const int64_t* offsetMap = (const int64_t*)ut->p; in u32MapNativeIndexToUTF16() local1797 return (offsetMap[index] - offsetMap[ut->chunkNativeStart]); in u32MapNativeIndexToUTF16()1808 const int64_t* offsetMap = (const int64_t*)ut->p; in u32Access() local1852 int64_t u16Offset = offsetMap[index]; // guaranteed to be on code point boundary in u32Access()1860 while (u16ChunkTryEnd < offsetMap[nativeIndexEnd]) { in u32Access()1864 while (u16ChunkTryStart < offsetMap[nativeIndexStart]) { in u32Access()1867 if (forward && nativeIndexEnd < length && u16Offset >= offsetMap[nativeIndexEnd]) { in u32Access()[all …]
1770 const int64_t* offsetMap = static_cast<const int64_t*>(ut->p); in u32MapOffsetToNative() local1771 int64_t u16Offset = offsetMap[ut->chunkNativeStart] + ut->chunkOffset; in u32MapOffsetToNative()1773 while (u16Offset < offsetMap[index]) { in u32MapOffsetToNative()1789 const int64_t* offsetMap = static_cast<const int64_t*>(ut->p); in u32MapNativeIndexToUTF16() local1795 return (offsetMap[index] - offsetMap[ut->chunkNativeStart]); in u32MapNativeIndexToUTF16()1806 const int64_t* offsetMap = static_cast<const int64_t*>(ut->p); in u32Access() local1850 int64_t u16Offset = offsetMap[index]; // guaranteed to be on code point boundary in u32Access()1858 while (u16ChunkTryEnd < offsetMap[nativeIndexEnd]) { in u32Access()1862 while (u16ChunkTryStart < offsetMap[nativeIndexStart]) { in u32Access()1865 if (forward && nativeIndexEnd < length && u16Offset >= offsetMap[nativeIndexEnd]) { in u32Access()[all …]
124 static void serializeHeader(SkPDFOffsetMap* offsetMap, SkWStream* wStream) { in serializeHeader() argument125 offsetMap->markStartOfDocument(wStream); in serializeHeader()133 static void begin_indirect_object(SkPDFOffsetMap* offsetMap, in begin_indirect_object() argument136 offsetMap->markStartOfObject(ref.fValue, s); in begin_indirect_object()144 static void serialize_footer(const SkPDFOffsetMap& offsetMap, in serialize_footer() argument149 int xRefFileOffset = offsetMap.emitCrossReferenceTable(wStream); in serialize_footer()151 trailerDict.insertInt("Size", offsetMap.objectCount()); in serialize_footer()