Lines Matching refs:fontPtr
89 const void* fontPtr = env->GetDirectBufferAddress(buffer); in Font_Builder_build() local
90 if (fontPtr == nullptr) { in Font_Builder_build()
103 sk_sp<SkData> data(SkData::MakeWithProc(fontPtr, fontSize, in Font_Builder_build()
107 fontPtr, fontSize, ttcIndex, builder->axes); in Font_Builder_build()
125 static jlong Font_Builder_clone(JNIEnv* env, jobject clazz, jlong fontPtr, jlong builderPtr, in Font_Builder_clone() argument
127 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_Builder_clone()
195 static jlong Font_getMinikinFontPtr(CRITICAL_JNI_PARAMS_COMMA jlong fontPtr) { in Font_getMinikinFontPtr() argument
196 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_getMinikinFontPtr()
201 static jlong Font_cloneFont(CRITICAL_JNI_PARAMS_COMMA jlong fontPtr) { in Font_cloneFont() argument
202 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_cloneFont()
208 static jobject Font_newByteBuffer(JNIEnv* env, jobject, jlong fontPtr) { in Font_newByteBuffer() argument
209 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_newByteBuffer()
216 static jlong Font_getBufferAddress(CRITICAL_JNI_PARAMS_COMMA jlong fontPtr) { in Font_getBufferAddress() argument
217 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_getBufferAddress()
227 static jstring Font_getFontPath(JNIEnv* env, jobject, jlong fontPtr) { in Font_getFontPath() argument
228 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_getFontPath()
247 static jstring Font_getLocaleList(JNIEnv* env, jobject, jlong fontPtr) { in Font_getLocaleList() argument
248 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_getLocaleList()
261 static jint Font_getPackedStyle(CRITICAL_JNI_PARAMS_COMMA jlong fontPtr) { in Font_getPackedStyle() argument
262 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_getPackedStyle()
269 static jint Font_getIndex(CRITICAL_JNI_PARAMS_COMMA jlong fontPtr) { in Font_getIndex() argument
270 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_getIndex()
282 static jint Font_getAxisCount(CRITICAL_JNI_PARAMS_COMMA jlong fontPtr) { in Font_getAxisCount() argument
283 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_getAxisCount()
296 static jlong Font_getAxisInfo(CRITICAL_JNI_PARAMS_COMMA jlong fontPtr, jint index) { in Font_getAxisInfo() argument
297 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_getAxisInfo()
313 static jint Font_getSourceId(CRITICAL_JNI_PARAMS_COMMA jlong fontPtr) { in Font_getSourceId() argument
314 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_getSourceId()
337 const void* fontPtr = env->GetDirectBufferAddress(buffer); in FontFileUtil_getFontRevision() local
338 if (fontPtr == nullptr) { in FontFileUtil_getFontRevision()
348 minikin::FontFileParser parser(fontPtr, fontSize, index); in FontFileUtil_getFontRevision()
359 const void* fontPtr = env->GetDirectBufferAddress(buffer); in FontFileUtil_getFontPostScriptName() local
360 if (fontPtr == nullptr) { in FontFileUtil_getFontPostScriptName()
370 minikin::FontFileParser parser(fontPtr, fontSize, index); in FontFileUtil_getFontPostScriptName()
380 const void* fontPtr = env->GetDirectBufferAddress(buffer); in FontFileUtil_isPostScriptType1Font() local
381 if (fontPtr == nullptr) { in FontFileUtil_isPostScriptType1Font()
391 minikin::FontFileParser parser(fontPtr, fontSize, index); in FontFileUtil_isPostScriptType1Font()
450 sk_sp<SkData>&& data, std::string_view fontPath, const void *fontPtr, size_t fontSize, in createMinikinFontSkia() argument
468 return std::make_shared<MinikinFontSkia>(std::move(face), getNewSourceId(), fontPtr, fontSize, in createMinikinFontSkia()