/frameworks/base/tools/preload/ |
Record.java | 120 int offset = result.indexOf("\\u"); local 121 while (offset >= 0) { 122 String before = result.substring(0, offset); 123 String escaped = result.substring(offset+2, offset+6); 124 String after = result.substring(offset+6); 129 offset = result.indexOf("\\u", offset + 1);
|
/ndk/build/platforms/android-3/arch-arm/usr/include/linux/ |
efs_dir.h | 42 #define EFS_REALOFF(offset) ((offset << 1))
|
/ndk/build/platforms/android-4/arch-arm/usr/include/linux/ |
efs_dir.h | 42 #define EFS_REALOFF(offset) ((offset << 1))
|
/ndk/build/platforms/android-5/arch-arm/usr/include/linux/ |
efs_dir.h | 42 #define EFS_REALOFF(offset) ((offset << 1))
|
/ndk/build/platforms/android-5/arch-x86/usr/include/linux/ |
efs_dir.h | 42 #define EFS_REALOFF(offset) ((offset << 1))
|
/ndk/build/platforms/android-8/arch-arm/usr/include/linux/ |
efs_dir.h | 42 #define EFS_REALOFF(offset) ((offset << 1))
|
/ndk/build/platforms/android-8/arch-x86/usr/include/linux/ |
efs_dir.h | 42 #define EFS_REALOFF(offset) ((offset << 1))
|
/system/core/include/cutils/ |
ashmem.h | 21 int ashmem_pin_region(int fd, size_t offset, size_t len); 22 int ashmem_unpin_region(int fd, size_t offset, size_t len);
|
/bionic/libc/kernel/arch-arm/asm/arch/ |
io.h | 34 typedef struct { volatile u16 offset[256]; } __regbase16; member in struct:__anon62 35 #define __REGV16(vaddr) ((__regbase16 *)((vaddr)&~0xff)) ->offset[((vaddr)&0xff)>>1] 38 typedef struct { volatile u8 offset[4096]; } __regbase8; member in struct:__anon63 39 #define __REGV8(vaddr) ((__regbase8 *)((vaddr)&~4095)) ->offset[((vaddr)&4095)>>0] 42 typedef struct { volatile u32 offset[4096]; } __regbase32; member in struct:__anon64 43 #define __REGV32(vaddr) ((__regbase32 *)((vaddr)&~4095)) ->offset[((vaddr)&4095)>>2]
|
/bootable/diskinstaller/libdiskconfig/ |
diskutils.c | 33 write_raw_image(const char *dst, const char *src, loff_t offset, int test) 43 LOGI("Writing RAW image '%s' to '%s' (offset=%llu)", src, dst, offset); 55 if (lseek64(dst_fd, offset, SEEK_SET) != offset) { 56 LOGE("Could not seek to offset %lld in %s.", offset, dst); 104 LOGI("Wrote %llu bytes to %s @ %lld", total, dst, offset);
|
/dalvik/libcore/luni/src/main/java/java/io/ |
FilterOutputStream.java | 111 * {@code offset} to the target stream. 115 * @param offset 120 * if {@code offset < 0} or {@code count < 0}, or if 121 * {@code offset + count} is bigger than the length of 127 public void write(byte[] buffer, int offset, int length) throws IOException { 132 if (offset > buffer.length || offset < 0) { 133 // K002e=Offset out of bounds \: {0} 134 throw new ArrayIndexOutOfBoundsException(Msg.getString("K002e", offset)); //$NON-NLS-1$ 136 if (length < 0 || length > buffer.length - offset) { [all...] |
InputStream.java | 164 * the byte array {@code b} starting at {@code offset}. 168 * @param offset 176 * if {@code offset < 0} or {@code length < 0}, or if 177 * {@code offset + length} is greater than the length of 182 public int read(byte[] b, int offset, int length) throws IOException { 187 if (offset > b.length || offset < 0) { 188 // K002e=Offset out of bounds \: {0} 189 throw new ArrayIndexOutOfBoundsException(Msg.getString("K002e", offset)); //$NON-NLS-1$ 191 if (length < 0 || length > b.length - offset) { [all...] |
LineNumberInputStream.java | 138 * them in the byte array {@code buffer} starting at {@code offset}. 149 * @param offset 157 * if {@code offset < 0} or {@code length < 0}, or if 158 * {@code offset + length} is greater than the length of 166 public int read(byte[] buffer, int offset, int length) throws IOException { 168 if (offset > buffer.length || offset < 0) { 169 // K002e=Offset out of bounds \: {0} 170 throw new ArrayIndexOutOfBoundsException(Msg.getString("K002e", offset)); //$NON-NLS-1$ 172 if (length < 0 || length > buffer.length - offset) { [all...] |
StringBufferInputStream.java | 83 * in the byte array {@code b} starting at {@code offset}. 87 * @param offset 95 * if {@code offset < 0} or {@code length < 0}, or if 96 * {@code offset + length} is greater than the length of 102 public synchronized int read(byte[] b, int offset, int length) { 116 if (offset < 0 || offset > b.length) { 117 // K002e=Offset out of bounds \: {0} 118 throw new ArrayIndexOutOfBoundsException(Msg.getString("K002e", offset)); //$NON-NLS-1$ 120 if (length < 0 || length > b.length - offset) { [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/net/ |
SocketInputStream.java | 71 public int read(byte[] buffer, int offset, int count) throws IOException { 80 if (0 > offset || offset >= buffer.length) { 81 // K002e=Offset out of bounds \: {0} 82 throw new ArrayIndexOutOfBoundsException(Msg.getString("K002e", offset));//$NON-NLS-1$ 84 if (0 > count || offset + count > buffer.length) { 88 return socket.read(buffer, offset, count);
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/ |
IFileSystem.java | 64 public long read(int fileDescriptor, byte[] bytes, int offset, int length) 67 public long write(int fileDescriptor, byte[] bytes, int offset, int length) 77 public long readDirect(int fileDescriptor, int address, int offset, 80 public long writeDirect(int fileDescriptor, int address, int offset, 89 public long seek(int fileDescriptor, long offset, int whence) 107 long offset, long count) throws IOException; 111 // public long ttyRead(byte[] bytes, int offset, int length) throws IOException;
|
/external/elfutils/libelf/ |
elf_readall.c | 29 set_address (Elf *elf, size_t offset) 40 child->start_offset -= offset; 42 child->state.ar.offset -= offset; 44 set_address (child, offset); 102 elf->state.ar.offset -= elf->start_offset;
|
/external/proguard/src/proguard/optimize/peephole/ |
GotoReturnReplacer.java | 72 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 75 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) 83 int targetOffset = offset + branchInstruction.branchOffset; 85 if (!codeAttributeEditor.isModified(offset) && 101 codeAttributeEditor.replaceInstruction(offset, 107 extraInstructionVisitor.visitBranchInstruction(clazz, method, codeAttribute, offset, branchInstruction);
|
/external/v8/src/ia32/ |
frames-ia32.cc | 44 const int offset = StandardFrameConstants::kMarkerOffset; local 45 Object* marker = Memory::Object_at(state->fp + offset); 92 const int offset = StandardFrameConstants::kCallerSPOffset; local 93 return fp() + offset + (arguments * kPointerSize); 99 const int offset = StandardFrameConstants::kCallerSPOffset; local 100 return fp() + offset + (arguments + 1) * kPointerSize; 106 // caller is at a fixed offset from the frame pointer.
|
/external/v8/src/x64/ |
frames-x64.cc | 44 const int offset = StandardFrameConstants::kMarkerOffset; local 45 Object* marker = Memory::Object_at(state->fp + offset); 76 // caller is at a fixed offset from the frame pointer. 97 const int offset = StandardFrameConstants::kCallerSPOffset; local 98 return fp() + offset + (arguments * kPointerSize); 104 const int offset = StandardFrameConstants::kCallerSPOffset; local 105 return fp() + offset + (arguments + 1) * kPointerSize;
|
/external/webkit/WebCore/html/canvas/ |
WebGLByteArray.cpp | 62 WebGLByteArray::WebGLByteArray(PassRefPtr<WebGLArrayBuffer> buffer, int offset, unsigned length) 63 : WebGLArray(buffer, offset) 76 PassRefPtr<WebGLArray> WebGLByteArray::slice(unsigned offset, unsigned length) { 79 unsigned startByte = m_byteOffset + offset * sizeof(signed char); 87 void WebGLByteArray::set(WebGLByteArray* array, unsigned offset, ExceptionCode& ec) { 88 setImpl(array, offset * sizeof(signed char), ec);
|
/external/webkit/WebCore/platform/graphics/wince/ |
GlyphPageTreeNodeWince.cpp | 36 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) 49 setGlyphDataForIndex(offset + i, buffer[i], fontData); 51 setGlyphDataForIndex(offset + i, buffer[i], 0); 63 setGlyphDataForIndex(offset + i, buffer[i], fontData); 65 setGlyphDataForIndex(offset + i, buffer[i], 0); 73 setGlyphDataForIndex(offset + i, buffer[i], fontData);
|
/external/webkit/WebCore/rendering/ |
SVGInlineTextBox.h | 62 virtual int positionForOffset(int offset) const; 79 float calculateGlyphWidth(RenderStyle* style, int offset, int extraCharsAvailable, int& charsConsumed, String& glyphName) const; 80 float calculateGlyphHeight(RenderStyle*, int offset, int extraCharsAvailable) const; 82 FloatRect calculateGlyphBoundaries(RenderStyle*, int offset, const SVGChar&) const; 83 SVGChar* closestCharacterToPosition(int x, int y, int& offset) const; 87 bool svgCharacterHitsPosition(int x, int y, int& offset) const;
|
/frameworks/base/awt/java/awt/font/ |
TextHitInfo.java | 104 * offset from the character index of this TextHitInfo. 106 * @param offset 107 * the offset. 110 public TextHitInfo getOffsetHit(int offset) { 111 return new TextHitInfo(charIdx + offset, isTrailing); 192 * before the specified offset. 194 * @param offset 195 * the offset. 197 * specified offset. 199 public static TextHitInfo beforeOffset(int offset) { [all...] |
/frameworks/base/cmds/keystore/ |
keystore_cli.c | 80 int offset; local 86 for (offset = 0; offset < length; offset += i) { 87 i = recv(sock, &bytes[offset], length - offset, 0);
|