• Home
  • Raw
  • Download

Lines Matching refs:fontPtr

88     const void* fontPtr = env->GetDirectBufferAddress(buffer);  in Font_Builder_build()  local
89 if (fontPtr == nullptr) { in Font_Builder_build()
102 sk_sp<SkData> data(SkData::MakeWithProc(fontPtr, fontSize, in Font_Builder_build()
106 fontPtr, fontSize, ttcIndex, builder->axes); in Font_Builder_build()
123 static jlong Font_Builder_clone(JNIEnv* env, jobject clazz, jlong fontPtr, jlong builderPtr, in Font_Builder_clone() argument
125 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_Builder_clone()
193 static jlong Font_getMinikinFontPtr(CRITICAL_JNI_PARAMS_COMMA jlong fontPtr) { in Font_getMinikinFontPtr() argument
194 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_getMinikinFontPtr()
199 static jlong Font_cloneFont(CRITICAL_JNI_PARAMS_COMMA jlong fontPtr) { in Font_cloneFont() argument
200 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_cloneFont()
206 static jobject Font_newByteBuffer(JNIEnv* env, jobject, jlong fontPtr) { in Font_newByteBuffer() argument
207 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_newByteBuffer()
214 static jlong Font_getBufferAddress(CRITICAL_JNI_PARAMS_COMMA jlong fontPtr) { in Font_getBufferAddress() argument
215 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_getBufferAddress()
225 static jstring Font_getFontPath(JNIEnv* env, jobject, jlong fontPtr) { in Font_getFontPath() argument
226 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_getFontPath()
245 static jstring Font_getLocaleList(JNIEnv* env, jobject, jlong fontPtr) { in Font_getLocaleList() argument
246 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_getLocaleList()
259 static jint Font_getPackedStyle(CRITICAL_JNI_PARAMS_COMMA jlong fontPtr) { in Font_getPackedStyle() argument
260 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_getPackedStyle()
267 static jint Font_getIndex(CRITICAL_JNI_PARAMS_COMMA jlong fontPtr) { in Font_getIndex() argument
268 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_getIndex()
280 static jint Font_getAxisCount(CRITICAL_JNI_PARAMS_COMMA jlong fontPtr) { in Font_getAxisCount() argument
281 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_getAxisCount()
294 static jlong Font_getAxisInfo(CRITICAL_JNI_PARAMS_COMMA jlong fontPtr, jint index) { in Font_getAxisInfo() argument
295 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_getAxisInfo()
311 static jint Font_getSourceId(CRITICAL_JNI_PARAMS_COMMA jlong fontPtr) { in Font_getSourceId() argument
312 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_getSourceId()
335 const void* fontPtr = env->GetDirectBufferAddress(buffer); in FontFileUtil_getFontRevision() local
336 if (fontPtr == nullptr) { in FontFileUtil_getFontRevision()
346 minikin::FontFileParser parser(fontPtr, fontSize, index); in FontFileUtil_getFontRevision()
357 const void* fontPtr = env->GetDirectBufferAddress(buffer); in FontFileUtil_getFontPostScriptName() local
358 if (fontPtr == nullptr) { in FontFileUtil_getFontPostScriptName()
368 minikin::FontFileParser parser(fontPtr, fontSize, index); in FontFileUtil_getFontPostScriptName()
378 const void* fontPtr = env->GetDirectBufferAddress(buffer); in FontFileUtil_isPostScriptType1Font() local
379 if (fontPtr == nullptr) { in FontFileUtil_isPostScriptType1Font()
389 minikin::FontFileParser parser(fontPtr, fontSize, index); in FontFileUtil_isPostScriptType1Font()
448 sk_sp<SkData>&& data, std::string_view fontPath, const void *fontPtr, size_t fontSize, in createMinikinFontSkia() argument
466 return std::make_shared<MinikinFontSkia>(std::move(face), getNewSourceId(), fontPtr, fontSize, in createMinikinFontSkia()