Lines Matching refs:glyphPtrs
313 private static native void freeIntMemory(int[] glyphPtrs, long pContext);
314 private static native void freeLongMemory(long[] glyphPtrs, long pContext);
316 private static void freeCachedIntMemory(int[] glyphPtrs, long pContext) {
321 for (int i = 0; i < glyphPtrs.length; i++) {
322 if (glyphPtrs[i] != 0 && unsafe.getByte(glyphPtrs[i] + managedOffset) == 0) {
327 gids.add((long) glyphPtrs[i]);
339 freeIntMemory(glyphPtrs, pContext);
342 private static void freeCachedLongMemory(long[] glyphPtrs, long pContext) {
347 for (int i=0; i < glyphPtrs.length; i++) {
348 if (glyphPtrs[i] != 0
349 && unsafe.getByte(glyphPtrs[i] + managedOffset) == 0) {
354 gids.add((long) glyphPtrs[i]);
366 freeLongMemory(glyphPtrs, pContext);