/** * @since Available in iOS 2.0 and later. */ public String getName(long index) { BytePtr.BytePtrPtr ptr = new BytePtr.BytePtrPtr(); if (getName(index, ptr)) { return ptr.get().toStringZ(); } return null; } public boolean hasString(long index) {
/** * @since Available in iOS 2.0 and later. */ public String getName(String key) { BytePtr.BytePtrPtr ptr = new BytePtr.BytePtrPtr(); if (getName(key, ptr)) { return ptr.get().toStringZ(); } return null; } public boolean hasString(String key) {
/** * @since Available in iOS 2.0 and later. */ public String popName() { BytePtr.BytePtrPtr ptr = new BytePtr.BytePtrPtr(); if (popName(ptr)) { return ptr.get().toStringZ(); } return null; } /**
public boolean hasName(long index) { BytePtr.BytePtrPtr ptr = new BytePtr.BytePtrPtr(); return getName(index, ptr); } /**
public boolean hasName(String key) { BytePtr.BytePtrPtr ptr = new BytePtr.BytePtrPtr(); return getName(key, ptr); } /**
@Override public void glShaderSource(int shader, String source) { BytePtr.BytePtrPtr sources = Struct.allocate(BytePtr.BytePtrPtr.class, 1); sources.next(0).set(BytePtr.toBytePtrAsciiZ(source)); OpenGLES.glShaderSource(shader, 1, sources, null); } @Override public void glStencilFunc(int func, int ref, int mask) {
public boolean hasName(String key) { BytePtr.BytePtrPtr ptr = new BytePtr.BytePtrPtr(); return getName(key, ptr); } /**
/** * @throws OSStatusException * @since Available in iOS 4.0 and later. */ public BytePtr accessDataBytes(long offset, @MachineSizedUInt long length, VoidPtr temporaryBlock) throws OSStatusException { BytePtr.BytePtrPtr ptr = new BytePtr.BytePtrPtr(); OSStatus status = accessDataBytes0(this, offset, length, temporaryBlock, ptr); OSStatusException.throwIfNecessary(status); return ptr.get(); } /**
/** * @since Available in iOS 2.0 and later. */ public String popName() { BytePtr.BytePtrPtr ptr = new BytePtr.BytePtrPtr(); if (popName(ptr)) { return ptr.get().toStringZ(); } return null; } /**
/** * @throws OSStatusException * @since Available in iOS 4.0 and later. */ public BytePtr accessDataBytes(long offset, @MachineSizedUInt long length, VoidPtr temporaryBlock) throws OSStatusException { BytePtr.BytePtrPtr ptr = new BytePtr.BytePtrPtr(); OSStatus status = accessDataBytes0(this, offset, length, temporaryBlock, ptr); OSStatusException.throwIfNecessary(status); return ptr.get(); } /**
/** * @since Available in iOS 2.0 and later. */ public String getName(String key) { BytePtr.BytePtrPtr ptr = new BytePtr.BytePtrPtr(); if (getName(key, ptr)) { return ptr.get().toStringZ(); } return null; } public boolean hasString(String key) {
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public String getPeerID() throws OSStatusException { BytePtr.BytePtrPtr peerIDPtr = new BytePtr.BytePtrPtr(); MachineSizedUIntPtr peerIDLenPtr = new MachineSizedUIntPtr(); OSStatus status = getPeerID0(peerIDPtr, peerIDLenPtr); OSStatusException.throwIfNecessary(status); return peerIDPtr.get().toStringZ(); } /**
/** * @since Available in iOS 2.0 and later. */ public String getName(long index) { BytePtr.BytePtrPtr ptr = new BytePtr.BytePtrPtr(); if (getName(index, ptr)) { return ptr.get().toStringZ(); } return null; } public boolean hasString(long index) {
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public String getPeerID() throws OSStatusException { BytePtr.BytePtrPtr peerIDPtr = new BytePtr.BytePtrPtr(); MachineSizedUIntPtr peerIDLenPtr = new MachineSizedUIntPtr(); OSStatus status = getPeerID0(peerIDPtr, peerIDLenPtr); OSStatusException.throwIfNecessary(status); return peerIDPtr.get().toStringZ(); } /**
public boolean hasName(long index) { BytePtr.BytePtrPtr ptr = new BytePtr.BytePtrPtr(); return getName(index, ptr); } /**
public boolean hasName(String key) { BytePtr.BytePtrPtr ptr = new BytePtr.BytePtrPtr(); return getName(key, ptr); } /**