/external/webkit/WebKit/win/Interfaces/ |
DOMRange.idl | 77 HRESULT startOffset([out, retval] int* offset); 87 HRESULT endOffset([out, retval] int* offset); 100 - (void)setStart:(DOMNode *)refNode :(int)offset; 102 HRESULT setStart([in] IDOMNode* refNode, [in] int offset); 105 - (void)setEnd:(DOMNode *)refNode :(int)offset; 107 HRESULT setEnd([in] IDOMNode* refNode, [in] int offset);
|
/frameworks/base/awt/java/awt/font/ |
OpenType.java | 365 * @param offset 366 * the offset of the returned table. 370 * starting at offset byte and including count bytes. 372 public byte[] getFontTable(int sfntTag, int offset, int count); 391 * @param offset 392 * the offset of the returned table. 396 * starting at offset byte and including count bytes. 398 public byte[] getFontTable(String strSfntTag, int offset, int count);
|
/frameworks/base/core/java/android/app/backup/ |
BackupDataInputStream.java | 69 * {@code offset} within the array. 72 * @param offset The data will be stored in {@code b} beginning at this index 80 public int read(byte[] b, int offset, int size) throws IOException { 81 return mData.readEntityData(b, offset, size);
|
/frameworks/base/include/binder/ |
MemoryHeapPmem.h | 53 virtual sp<IMemory> mapMemory(size_t offset, size_t size); 66 virtual sp<MemoryPmem> createMemory(size_t offset, size_t size);
|
/frameworks/base/include/utils/ |
Asset.h | 74 * Read data from the current offset. Returns the actual number of 80 * Seek to the specified offset. "whence" uses the same values as 84 virtual off_t seek(off_t offset, int whence) = 0; 132 off_t handleSeek(off_t offset, int whence, off_t curPosn, off_t maxPosn); 161 * if "offset" and "length" don't fit within the bounds of the file. 165 static Asset* createFromFileSegment(int fd, off_t offset, size_t length, 178 static Asset* createFromCompressedData(int fd, off_t offset, 233 status_t openChunk(const char* fileName, int fd, off_t offset, size_t length); 246 virtual off_t seek(off_t offset, int whence); 255 off_t mStart; // absolute file offset of start of chun [all...] |
/frameworks/base/libs/rs/ |
rsVertexArray.h | 40 uint32_t offset; member in class:android::renderscript::VertexArray::Attrib 57 void addLegacy(uint32_t type, uint32_t size, uint32_t stride, RsDataKind kind, bool normalized, uint32_t offset);
|
/frameworks/base/libs/utils/ |
FileMap.cpp | 89 bool FileMap::create(const char* origFileName, int fd, off_t offset, size_t length, bool readOnly) 113 adjust = offset % mPageSize; 114 adjOffset = offset - adjust; 139 assert(offset >= 0); 156 adjust = offset % mPageSize; 158 adjOffset = offset - adjust; 168 // Cygwin does not seem to like file mapping files from an offset. 169 // So if we fail, try again with offset zero 171 adjust = offset; 184 mDataOffset = offset; [all...] |
/frameworks/base/media/tests/omxjpegdecoder/ |
StreamSource.cpp | 38 ssize_t StreamSource::readAt(off_t offset, void *data, size_t size) { 42 mStream->skip(offset);
|
/packages/apps/Email/src/com/android/email/ |
FixedLengthInputStream.java | 53 public int read(byte[] b, int offset, int length) throws IOException { 55 int d = mIn.read(b, offset, Math.min(mLength - mCount, length));
|
/system/extras/tests/bionic/libstdc++/ |
test_cstddef.cpp | 42 // Dummy struct used to calculate offset of some of its fields. 81 volatile size_t offset = offsetof(struct Foo, field2); local 82 return offset == 1;
|
/frameworks/base/opengl/java/android/opengl/ |
GLLogWrapper.java | 118 private void arg(String name, int n, int[] arr, int offset) { 119 arg(name, toString(n, FORMAT_INT, arr, offset)); 122 private void arg(String name, int n, short[] arr, int offset) { 123 arg(name, toString(n, arr, offset)); 126 private void arg(String name, int n, float[] arr, int offset) { 127 arg(name, toString(n, arr, offset)); 144 private String toString(int n, int format, int[] arr, int offset) { 149 int index = offset + i; 162 private String toString(int n, short[] arr, int offset) { 167 int index = offset + i 1032 int offset = byteBuffer.arrayOffset(); local 1740 getIntegerStateFormat(pname), params, offset)); local [all...] |
/bionic/libc/kernel/common/linux/ |
android_pmem.h | 44 unsigned long offset; member in struct:pmem_region
|
/bionic/libc/kernel/common/linux/mtd/ |
partitions.h | 20 u_int32_t offset; member in struct:mtd_partition
|
/dalvik/dx/src/com/android/dx/util/ |
Output.java | 101 * @param offset {@code >= 0;} offset into {@code bytes} for the first 105 public void write(byte[] bytes, int offset, int length);
|
/dalvik/libcore/crypto/src/main/java/javax/crypto/spec/ |
SecretKeySpec.java | 78 * specified buffer <code>key</code> starting at <code>offset</code> with 83 * @param offset 84 * the offset. 91 * is empty or <code>offset</code> and <code>len</code> do not 94 * if <code>offset</code> or <code>len</code> is negative. 96 public SecretKeySpec(byte[] key, int offset, int len, String algorithm) { 104 if (len < 0 || offset < 0) { 108 if ((key.length - offset < len)) { 116 System.arraycopy(key, offset, this.key, 0, len);
|
/dalvik/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
DdmServer.java | 96 nativeSendChunk(chunk.type, chunk.data, chunk.offset, chunk.length); 101 int offset, int length); 139 private static Chunk dispatch(int type, byte[] data, int offset, int length) 170 Chunk chunk = new Chunk(type, data, offset, length);
|
/dalvik/libcore/luni/src/main/java/java/io/ |
ByteArrayOutputStream.java | 182 * offset {@code index} to this stream. 186 * @param offset 193 * if {@code offset < 0} or {@code len < 0}, or if 194 * {@code offset + len} is greater than the length of 198 public synchronized void write(byte[] buffer, int offset, int len) { 204 // used (offset | len) < 0 instead of (offset < 0) || (len < 0) 209 if ((offset | len) < 0 || len > buffer.length - offset) { 219 System.arraycopy(buffer, offset, buf, this.count, len) [all...] |
DataInput.java | 126 * offset {@code offset}. This method blocks until {@code count} number of 131 * @param offset 143 public abstract void readFully(byte[] buffer, int offset, int count)
|
SequenceInputStream.java | 153 * stores them in the byte array {@code buffer} starting at {@code offset}. 170 * @param offset 179 * if {@code offset < 0} or {@code count < 0}, or if {@code 180 * offset + count} is greater than the size of {@code buffer}. 187 public int read(byte[] buffer, int offset, int count) throws IOException { 198 // used (offset | count) < 0 instead of (offset < 0) || (count < 0) 200 if ((offset | count) < 0 || offset > buffer.length - count) { 205 int result = in.read(buffer, offset, count) [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/ |
ObjectDigestInfo.java | 59 int offset = 0; local 64 offset++; 67 digestAlgorithm = AlgorithmIdentifier.getInstance(seq.getObjectAt(1 + offset)); 69 objectDigest = DERBitString.getInstance(seq.getObjectAt(2 + offset));
|
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
Logger.java | 65 public void print(byte[] data, int offset, int len) { 66 printAsHex(16, " ", "", data, offset, len); 79 byte[] data, int offset, int len) { 83 Integer.toHexString(0x00ff & data[i+offset]).toUpperCase();
|
/dalvik/tests/021-string2/src/ |
Main.java | 27 String offset = new String("xxx0123456789yyy"); local 28 String sub = offset.substring(3, 13); 39 /* compare string with a nonzero offset, in left/right side */ 45 Assert.assertFalse(offset.equals(sub)); 46 Assert.assertFalse(sub.equals(offset));
|
/dalvik/vm/analysis/ |
VerifySubs.c | 121 u4 offset; local 160 offset = dexGetFirstHandlerOffset(pCode); 163 dexCatchIteratorInit(&iterator, pCode, offset); 184 offset = dexCatchIteratorGetEndOffset(&iterator, pCode); 191 * Verify a switch table. "curOffset" is the offset of the switch 203 int offset, absOffset; local 213 "VFY: invalid switch start: at %d, switch offset %d, count %d\n", 218 /* offset to switch table is a relative branch-style offset */ 224 "VFY: unaligned switch table: at %d, switch offset %d\n" 315 int offset, absOffset; local [all...] |
/dalvik/vm/mterp/x86-atom/ |
zcmp.S | 34 FETCHs 1, %edx # %edx<- BBBB; branch offset 35 sal $$1, %edx # %edx<- adjust byte offset
|
/external/bluetooth/glib/gio/ |
gseekable.c | 86 * Returns: the offset from the beginning of the buffer. 123 * @offset: a #goffset. 129 * Seeks in the stream by the given @offset, modified by @type. 141 goffset offset, 152 return (* iface->seek) (seekable, offset, type, cancellable, error); 178 * @offset: a #goffset. 183 * Truncates a stream with a given #offset. 197 goffset offset, 207 return (* iface->truncate_fn) (seekable, offset, cancellable, error);
|