@Method(selector = "count") public static native @MachineSizedUInt long count (@Pointer long thiz); }
/** * @since Available in iOS 5.0 and later. */ @Bridge(symbol="dispatch_data_create_subrange", optional=true) public native DispatchData createSubrange(@MachineSizedUInt long offset, @MachineSizedUInt long length); /**
/** * @since Available in iOS 8.3 and later. */ @Method(selector = "setBufferOffset:atIndex:") public native void setBufferOffset(@MachineSizedUInt long offset, @MachineSizedUInt long index); @Method(selector = "setBuffers:offsets:withRange:")
/** * @since Available in iOS 8.0 and later. */ @Property(selector = "shadowSampleCount") public native @MachineSizedUInt long getShadowSampleCount(); /**
/** * @since Available in iOS 9.0 and later. */ @Method(selector = "copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage:options:") public native void copyFromTextureToBuffer(MTLTexture sourceTexture, @MachineSizedUInt long sourceSlice, @MachineSizedUInt long sourceLevel, @ByVal MTLOrigin sourceOrigin, @ByVal MTLSize sourceSize, MTLBuffer destinationBuffer, @MachineSizedUInt long destinationOffset, @MachineSizedUInt long destinationBytesPerRow, @MachineSizedUInt long destinationBytesPerImage, MTLBlitOption options); @Method(selector = "generateMipmapsForTexture:")
/** * @since Available in iOS 2.0 and later. */ @Bridge(symbol="SecKeyRawVerify", optional=true) protected native OSStatus rawVerify0(SecPadding padding, @Pointer long signedData, @MachineSizedUInt long signedDataLen, @Pointer long sig, @MachineSizedUInt long sigLen); /**
public byte[] getBytes(int length, @MachineSizedUInt long bytesPerRow, @MachineSizedUInt long bytesPerImage, @ByVal MTLRegion region, @MachineSizedUInt long level, @MachineSizedUInt long slice) { byte[] bytes = new byte[length]; getBytes(VM.getArrayValuesAddress(bytes), bytesPerRow, bytesPerImage, region, level, slice); return bytes; } public void replaceRegion(@ByVal MTLRegion region, @MachineSizedUInt long level, @MachineSizedUInt long slice, byte[] pixelBytes, @MachineSizedUInt long bytesPerRow, @MachineSizedUInt long bytesPerImage) {
/** * @since Available in iOS 4.2 and later. */ @Bridge(symbol="CFStringGetHyphenationLocationBeforeIndex", optional=true) protected native @MachineSizedSInt long getHyphenationLocationBeforeIndex(@MachineSizedSInt long location, @ByVal CFRange limitRange, @MachineSizedUInt long options, CFLocale locale, IntPtr character); /**
/** * @since Available in iOS 6.0 and later. */ @Property(selector = "matchDataMaximumSize") public native @MachineSizedUInt long getMatchDataMaximumSize(); /**
/** * @since Available in iOS 9.0 and later. */ @Method(selector = "copyFromBuffer:sourceOffset:sourceBytesPerRow:sourceBytesPerImage:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:options:") public native void copyFromBufferToTexture(MTLBuffer sourceBuffer, @MachineSizedUInt long sourceOffset, @MachineSizedUInt long sourceBytesPerRow, @MachineSizedUInt long sourceBytesPerImage, @ByVal MTLSize sourceSize, MTLTexture destinationTexture, @MachineSizedUInt long destinationSlice, @MachineSizedUInt long destinationLevel, @ByVal MTLOrigin destinationOrigin, MTLBlitOption options); @Method(selector = "copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage:")
/** * @since Available in iOS 5.0 and later. */ @Bridge(symbol="SSLSetPeerID", optional=true) protected native OSStatus setPeerID0(@Pointer long peerID, @MachineSizedUInt long peerIDLen); /**
/** * @since Available in iOS 8.3 and later. */ @Method(selector = "setFragmentBufferOffset:atIndex:") public native void setFragmentBufferOffset(@MachineSizedUInt long offset, @MachineSizedUInt long index); @Method(selector = "setFragmentBuffers:offsets:withRange:")
@Method(selector = "count") public static native @MachineSizedUInt long count (@Pointer long thiz); }
/** * @since Available in iOS 4.0 and later. */ @Bridge(symbol="CFURLEnumeratorGetTypeID", optional=true) public static native @MachineSizedUInt long getClassTypeID(); /**
/** * @since Available in iOS 7.0 and later. */ @NotImplemented("layoutManager:boundingBoxForControlGlyphAtIndex:forTextContainer:proposedLineFragment:glyphPosition:characterIndex:") public @ByVal CGRect getBoundingBoxForControlGlyph(NSLayoutManager layoutManager, @MachineSizedUInt long glyphIndex, NSTextContainer textContainer, @ByVal CGRect proposedRect, @ByVal CGPoint glyphPosition, @MachineSizedUInt long charIndex) { return null; } /**
/** * @since Available in iOS 7.0 and later. */ @Property(selector = "exchangeMaxInitiatedExchangesPerPlayer") public native @MachineSizedUInt long getExchangeMaxInitiatedExchangesPerPlayer(); /*</properties>*/
/** * @since Available in iOS 9.0 and later. */ @Method(selector = "lineFragmentUsedRectForGlyphAtIndex:effectiveRange:withoutAdditionalLayout:") public native @ByVal CGRect getLineFragmentUsedRect(@MachineSizedUInt long glyphIndex, NSRange effectiveGlyphRange, boolean withoutAdditionalLayout); @Method(selector = "locationForGlyphAtIndex:")
/** * @since Available in iOS 5.0 and later. */ @Bridge(symbol="SSLWrite", optional=true) protected native OSStatus write0(@Pointer long data, @MachineSizedUInt long dataLength, MachineSizedUIntPtr processed); /**
/** * @since Available in iOS 8.0 and later. */ @Method(selector = "cancelContentEditingInputRequest:") public native void cancelContentEditingInputRequest(@MachineSizedUInt long requestID); /*</methods>*/
@Method(selector = "objectAtIndex:") public static native @Pointer long objectAtIndex$ (@Pointer long thiz, @MachineSizedUInt long index);