/external/webkit/Source/WebCore/platform/graphics/win/ |
GlyphPageTreeNodeCairoWin.cpp | 36 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) 59 setGlyphDataForIndex(offset + i, 0, 0); 61 setGlyphDataForIndex(offset + i, glyph, fontData);
|
/external/webkit/Source/WebCore/platform/image-decoders/bmp/ |
BMPImageReader.h | 43 // Read a value from |data[offset]|, converting from little to native 45 static inline uint16_t readUint16(SharedBuffer* data, int offset) 48 memcpy(&result, &data->data()[offset], 2); 55 static inline uint32_t readUint32(SharedBuffer* data, int offset) 58 memcpy(&result, &data->data()[offset], 4); 122 inline uint16_t readUint16(int offset) const 124 return readUint16(m_data.get(), m_decodedOffset + offset); 127 inline uint32_t readUint32(int offset) const 129 return readUint32(m_data.get(), m_decodedOffset + offset); 197 const int offset = m_coord.x() * bytesPerPixel local [all...] |
/frameworks/av/include/media/stagefright/ |
FileSource.h | 33 FileSource(int fd, int64_t offset, int64_t length); 37 virtual ssize_t readAt(off64_t offset, void *data, size_t size); 61 ssize_t readAtDRM(off64_t offset, void *data, size_t size);
|
/frameworks/av/media/libstagefright/httplive/ |
LiveDataSource.h | 35 virtual ssize_t readAt(off64_t offset, void *data, size_t size); 36 ssize_t readAtNonBlocking(off64_t offset, void *data, size_t size); 57 ssize_t readAt_l(off64_t offset, void *data, size_t size);
|
/frameworks/av/media/libstagefright/include/ |
ESDS.h | 54 size_t offset, size_t size, 58 status_t parseESDescriptor(size_t offset, size_t size); 59 status_t parseDecoderConfigDescriptor(size_t offset, size_t size);
|
/frameworks/base/core/java/android/content/pm/ |
MacAuthenticatedInputStream.java | 71 public int read(byte[] buffer, int offset, int count) throws IOException { 72 int numRead = super.read(buffer, offset, count); 74 mMac.update(buffer, offset, numRead);
|
/frameworks/base/core/java/android/webkit/ |
KeyStoreHandler.java | 62 int offset = 0; local 68 System.arraycopy(c.mArray, 0, cert, offset, c.mLength); 69 offset += c.mLength;
|
/frameworks/base/media/mca/filterfw/native/core/ |
native_frame.cpp | 30 bool NativeFrame::WriteData(const uint8_t* data, int offset, int size) { 31 if (size_ >= (offset + size)) { 32 memcpy(data_ + offset, data, size);
|
/libcore/luni/src/main/java/java/io/ |
FilterOutputStream.java | 93 * {@code offset} to the target stream. 97 * @param offset 102 * if {@code offset < 0} or {@code count < 0}, or if 103 * {@code offset + count} is bigger than the length of 109 public void write(byte[] buffer, int offset, int length) throws IOException { 110 Arrays.checkOffsetAndCount(buffer.length, offset, length); 114 write(buffer[offset + i]);
|
InputStream.java | 168 * the byte array {@code b} starting at {@code offset}. 172 * @param offset 180 * if {@code offset < 0} or {@code length < 0}, or if 181 * {@code offset + length} is greater than the length of 186 public int read(byte[] buffer, int offset, int length) throws IOException { 187 Arrays.checkOffsetAndCount(buffer.length, offset, length); 200 buffer[offset + i] = (byte) c;
|
/libcore/luni/src/main/java/libcore/net/http/ |
FixedLengthOutputStream.java | 35 @Override public void write(byte[] buffer, int offset, int count) throws IOException { 37 Arrays.checkOffsetAndCount(buffer.length, offset, count); 41 socketOut.write(buffer, offset, count);
|
RetryableOutputStream.java | 54 @Override public synchronized void write(byte[] buffer, int offset, int count) 57 Arrays.checkOffsetAndCount(buffer.length, offset, count); 61 content.write(buffer, offset, count);
|
/packages/apps/Email/src/com/android/email/ |
PeekableInputStream.java | 55 public int read(byte[] b, int offset, int length) throws IOException { 57 return mIn.read(b, offset, length); 61 int r = mIn.read(b, offset + 1, length - 1);
|
/packages/apps/Email/src/org/apache/james/mime4j/util/ |
PartialInputStream.java | 29 public PartialInputStream(InputStream inputStream, long offset, long length) throws IOException {
31 inputStream.skip(offset);
32 this.limit = offset + length;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
ContextPullParser.java | 135 int offset = 0; local 138 while (currentLine < line && offset < length) { 139 int next = file.indexOf('\n', offset); 145 offset = next + 1; 148 offset += column; 149 if (offset < length) { 150 offset = file.indexOf('<', offset); 151 if (offset != -1 && file.startsWith(COMMENT_PREFIX, offset)) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
TraceFileReader.java | 37 * @param offset offset to start reading from 38 * @return protobuf message at given offset 42 public GLMessage getMessageAtOffset(RandomAccessFile file, long offset) throws IOException { 46 if (offset != -1) { 47 file.seek(offset);
|
/frameworks/base/opengl/java/android/opengl/ |
GLErrorWrapper.java | 207 public void glDeleteTextures(int n, int[] textures, int offset) { 209 mgl.glDeleteTextures(n, textures, offset); 297 public void glFogfv(int pname, float[] params, int offset) { 299 mgl.glFogfv(pname, params, offset); 315 public void glFogxv(int pname, int[] params, int offset) { 317 mgl.glFogxv(pname, params, offset); 347 public void glGenTextures(int n, int[] textures, int offset) { 349 mgl.glGenTextures(n, textures, offset); 365 public void glGetIntegerv(int pname, int[] params, int offset) { 367 mgl.glGetIntegerv(pname, params, offset); [all...] |
/external/chromium/net/disk_cache/ |
entry_impl.cc | 87 // sent to disk. The buffer can start at any offset, but if we try to write to 88 // anywhere in the first 16KB of the file (kMaxBlockSize), we set the offset to 102 // Returns true if we can handle writing |len| bytes to |offset|. 103 bool PreWrite(int offset, int len); 105 // Truncates the buffer to |offset| bytes. 106 void Truncate(int offset); 108 // Writes |len| bytes from |buf| at the given |offset|. 109 void Write(int offset, net::IOBuffer* buf, int len); 111 // Returns true if we can read |len| bytes from |offset|, given that the 115 bool PreRead(int eof, int offset, int* len) 428 size_t offset = 0; local 758 size_t offset = 0; local 1296 int offset = 0; local 1385 int offset = user_buffers_[index]->Start(); local [all...] |
/dalvik/vm/alloc/ |
HeapBitmapInlines.h | 30 const uintptr_t offset = (uintptr_t)obj - hb->base; local 31 const size_t index = HB_OFFSET_TO_INDEX(offset); 32 const unsigned long mask = HB_OFFSET_TO_MASK(offset); 100 const uintptr_t offset = (uintptr_t)obj - hb->base; local 101 return hb->bits[HB_OFFSET_TO_INDEX(offset)] & HB_OFFSET_TO_MASK(offset);
|
/development/tools/jdwpspy/ |
Main.cpp | 38 unsigned int offset; /* offset to show while printing */ local 44 offset = 0; 46 offset = (int) addr; 53 gap = (int) offset & 0x0f; 55 unsigned int lineOffset = offset & ~0x0f; 99 offset += count;
|
/external/emma/core/java12/com/vladium/jcd/cls/ |
MethodCollection.java | 28 public Method_info get (final int offset) 30 return (Method_info) m_methods.get (offset); 116 public Method_info set (final int offset, final Method_info method) 118 return (Method_info) m_methods.set (offset, method); 121 public Method_info remove (final int offset) 123 return (Method_info) m_methods.remove (offset);
|
/external/kernel-headers/original/asm-arm/arch/ |
io.h | 102 typedef struct { volatile u16 offset[256]; } __regbase16; member in struct:__anon7630 104 ->offset[((vaddr)&0xff)>>1] 108 typedef struct { volatile u8 offset[4096]; } __regbase8; member in struct:__anon7631 110 ->offset[((vaddr)&4095)>>0] 113 typedef struct { volatile u32 offset[4096]; } __regbase32; member in struct:__anon7632 115 ->offset[((vaddr)&4095)>>2]
|
/external/proguard/src/proguard/optimize/info/ |
SideEffectMethodMarker.java | 134 int offset = 0; local 138 Instruction instruction = InstructionFactory.create(code, offset); 144 offset, 151 offset += instruction.length(offset); 153 while (offset < length);
|
/external/proguard/src/proguard/optimize/peephole/ |
UnreachableCodeRemover.java | 123 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) 127 System.out.println(" "+(reachableCodeMarker.isReachable(offset) ? "+" : "-")+" "+instruction.toString(offset)); 131 if (!reachableCodeMarker.isReachable(offset)) 134 codeAttributeEditor.deleteInstruction(offset); 139 instruction.accept(clazz, method, codeAttribute, offset, extraInstructionVisitor);
|
UnreachableExceptionRemover.java | 119 int offset = startOffset; local 120 while (offset < endOffset) 123 Instruction instruction = InstructionFactory.create(code, offset); 129 offset, 136 offset += instruction.length(offset);
|