/dalvik/libcore/nio/src/main/java/java/nio/ |
HeapByteBuffer.java | 38 protected final int offset; field in class:HeapByteBuffer 48 HeapByteBuffer(byte[] backingArray, int capacity, int offset) { 51 this.offset = offset; 53 if (offset + capacity > backingArray.length) { 74 System.arraycopy(backingArray, offset + position, dest, off, len); 84 return backingArray[offset + position++]; 92 return backingArray[offset + index]; 178 int baseOffset = offset + index; 195 int baseOffset = offset + index [all...] |
ReadWriteHeapByteBuffer.java | 34 other.backingArray, other.capacity(), other.offset); 61 System.arraycopy(backingArray, position + offset, backingArray, offset, 86 return offset; 99 backingArray[offset + position++] = b; 108 backingArray[offset + index] = b; 130 System.arraycopy(src, off, backingArray, offset + position, len); 218 backingArray, remaining(), offset + position);
|
/external/v8/src/x64/ |
fast-codegen-x64.cc | 47 // Offset 2 is due to return address and saved frame pointer. 78 int offset = index * kPointerSize; local 85 if (offset < 0) { 86 offset += map->instance_size(); 87 __ movq(FieldOperand(receiver_reg(), offset), accumulator0()); 93 offset += FixedArray::kHeaderSize; 96 __ movq(FieldOperand(scratch0(), offset), accumulator0()); 103 __ RecordWrite(scratch0(), offset, accumulator0(), scratch1()); local 111 __ RecordWrite(scratch0(), offset, value_scratch, scratch1()); local 130 int offset = index * kPointerSize local 135 __ movq(destination(), FieldOperand(receiver_reg(), offset)); local 140 __ movq(destination(), FieldOperand(scratch0(), offset)); local [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
Util.java | 96 public static String toString(byte[] bytes, int offset, int length) { 99 return new String(bytes, offset, length, defaultEncoding); 103 return new String(bytes, offset, length); 106 public static String toUTF8String(byte[] bytes, int offset, int length) { 108 return new String(bytes, offset, length, "UTF-8"); 110 return toString(bytes, offset, length); 123 int offset = 0, length = string.length(), state = 0; local 129 while (offset <= length) { 130 char next = offset < length ? string.charAt(offset) : '\r' [all...] |
Inet6Util.java | 49 int offset = 0; // offset for [] IP addresses local 68 offset = 1; 98 if (numberOfColons == 7 && ipAddress.charAt(0 + offset) != ':' 99 && ipAddress.charAt(1 + offset) != ':') { 172 if (word == "" && ipAddress.charAt(length - 1 - offset) == ':' 173 && ipAddress.charAt(length - 2 - offset) != ':') {
|
/system/core/libpixelflinger/codeflinger/ |
ARMAssemblerProxy.cpp | 121 void ARMAssemblerProxy::LDR(int cc, int Rd, int Rn, uint32_t offset) { 122 mTarget->LDR(cc, Rd, Rn, offset); 124 void ARMAssemblerProxy::LDRB(int cc, int Rd, int Rn, uint32_t offset) { 125 mTarget->LDRB(cc, Rd, Rn, offset); 127 void ARMAssemblerProxy::STR(int cc, int Rd, int Rn, uint32_t offset) { 128 mTarget->STR(cc, Rd, Rn, offset); 130 void ARMAssemblerProxy::STRB(int cc, int Rd, int Rn, uint32_t offset) { 131 mTarget->STRB(cc, Rd, Rn, offset); 133 void ARMAssemblerProxy::LDRH(int cc, int Rd, int Rn, uint32_t offset) { 134 mTarget->LDRH(cc, Rd, Rn, offset); [all...] |
/external/webkit/WebCore/dom/ |
Range.cpp | 128 return m_start.offset(); 148 return m_end.offset(); 182 void Range::setStart(PassRefPtr<Node> refNode, int offset, ExceptionCode& ec) 200 Node* childNode = checkNodeWOffset(refNode.get(), offset, ec); 204 m_start.set(refNode, offset, childNode); 220 void Range::setEnd(PassRefPtr<Node> refNode, int offset, ExceptionCode& ec) 238 Node* childNode = checkNodeWOffset(refNode.get(), offset, ec); 242 m_end.set(refNode, offset, childNode); 271 bool Range::isPointInRange(Node* refNode, int offset, ExceptionCode& ec) 294 checkNodeWOffset(refNode, offset, ec) [all...] |
/dalvik/vm/mterp/x86-atom/ |
OP_PACKED_SWITCH.S | 44 call $func # call code-unit branch offset 45 shl $$1, %eax # shift for byte offset 46 movl %eax, %edx # %edx<- offset
|
/development/tools/jdwpspy/ |
Main.c | 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; 100 offset += count;
|
/external/elfutils/libdw/ |
dwarf_getaranges.c | 71 3. A 4-byte or 8-byte offset into the .debug_info section. [...] 74 an address (or the offset portion of an address for segmented 95 Dwarf_Word offset; local 97 offset = read_4ubyte_unaligned_inc (dbg, readp); 99 offset = read_8ubyte_unaligned_inc (dbg, readp); 113 //arange_info->offset = offset; 141 /* We store the actual CU DIE offset, not the CU header offset. */ 143 + offset); [all...] |
/external/proguard/src/proguard/classfile/attribute/preverification/ |
FullFrame.java | 83 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationTypeVisitor verificationTypeVisitor) 87 variables[index].variablesAccept(clazz, method, codeAttribute, offset, index, verificationTypeVisitor); 95 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationTypeVisitor verificationTypeVisitor) 99 stack[index].stackAccept(clazz, method, codeAttribute, offset, index, verificationTypeVisitor); 112 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, StackMapFrameVisitor stackMapFrameVisitor) 114 stackMapFrameVisitor.visitFullFrame(clazz, method, codeAttribute, offset, this);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
FocusFinderTest.java | 52 dest.offset(0, -src.height()); 115 rect2.offset(0, rect1.height() - 1); 120 rect2.offset(0, 1); 125 rect2.offset(0, 1); 131 rect2.offset(0, -(rect1.height() - 1)); 136 rect2.offset(0, -1); 141 rect2.offset(0, -1); 152 rect2.offset(rect1.width() - 1, 0); 157 rect2.offset(1, 0); 162 rect2.offset(1, 0) [all...] |
/cts/tests/tests/content/src/android/content/res/cts/ |
AssetManager_AssetInputStreamTest.java | 167 int offset = 0; local 168 ret = mAssetInputStream.read(data, offset, dataLength); 170 for (int i = offset; i < ret; i++) { 171 assertEquals(bytes[i], data[offset + i]); 174 offset = 2; 175 ret = mAssetInputStream.read(data, offset, dataLength); 177 for (int i = offset; i < ret; i++) { 178 assertEquals(bytes[i], data[offset + i]); 180 data = new byte[len + offset]; 181 ret = mAssetInputStream.read(data, offset, len) [all...] |
/dalvik/libcore/auth/src/main/java/javax/security/auth/ |
PrivateCredentialPermission.java | 61 // current offset 62 private transient int offset; field in class:PrivateCredentialPermission 104 for (int ii = 0; ii < offset; ii++) { 111 set[offset++] = element; 176 for (int ii = 0; ii < offset; ii++) { 183 set[offset++] = element; 211 String[][] s = new String[offset][2]; 237 for (int i = 0; i < offset; i++) { 255 return credentialClass.equals(that.credentialClass) && (offset == that.offset) [all...] |
/external/proguard/src/proguard/classfile/instruction/ |
VariableInstruction.java | 256 protected void readInfo(byte[] code, int offset) 271 variableIndex = readValue(code, offset, variableIndexSize); offset += variableIndexSize; 274 constant = readSignedValue(code, offset, constantSize); 278 protected void writeInfo(byte[] code, int offset) 285 throw new IllegalArgumentException("Instruction has invalid variable index size ("+this.toString(offset)+")"); 290 throw new IllegalArgumentException("Instruction has invalid constant size ("+this.toString(offset)+")"); 293 writeValue(code, offset, variableIndex, variableIndexSize); offset += variableIndexSize; 294 writeSignedValue(code, offset, constant, constantSize) [all...] |
/external/skia/src/gl/ |
SkGLTextCache.cpp | 43 SkGLTextCache::Strike::findGlyph(const SkGlyph& glyph, int* offset) { 53 if (offset) { 54 *offset = strike->fGlyphOffsetX[index]; 65 size_t offset = index * elemSize; local 66 memmove((char*)buffer + offset + elemSize, 67 (const char*)buffer + offset, 73 const uint8_t image[], int* offset) { 103 // need to insert the offset 111 if (offset) { 112 *offset = strike->fNextFreeOffsetX [all...] |
/external/v8/src/arm/ |
fast-codegen-arm.cc | 47 // Offset 2 is due to return address and saved frame pointer. 79 int offset = index * kPointerSize; local 86 if (offset < 0) { 87 offset += map->instance_size(); 88 __ str(accumulator0(), FieldMemOperand(receiver_reg(), offset)); local 94 offset += FixedArray::kHeaderSize; 97 __ str(accumulator0(), FieldMemOperand(scratch0(), offset)); local 101 __ mov(scratch1(), Operand(offset)); 125 int offset = index * kPointerSize; local 128 if (offset < 0) 130 __ ldr(destination(), FieldMemOperand(receiver_reg(), offset)); local 135 __ ldr(destination(), FieldMemOperand(scratch0(), offset)); local [all...] |
/frameworks/base/libs/rs/ |
rsVertexArray.cpp | 53 offset = a.offset; 65 offset = 0; 88 void VertexArray::addLegacy(uint32_t type, uint32_t size, uint32_t stride, RsDataKind kind, bool normalized, uint32_t offset) 94 mAttribs[mCount].offset = offset; 103 LOGE("va %i: slot=%i name=%s buf=%i size=%i type=0x%x kind=%i stride=0x%x norm=%i offset=0x%x", idx, slot, 111 mAttribs[idx].offset); 131 (void *)mAttribs[ct].offset); 141 (void *)mAttribs[ct].offset); [all...] |
/external/webkit/JavaScriptCore/assembler/ |
MacroAssemblerX86Common.h | 98 m_assembler.addl_im(imm.m_value, address.offset, address.base); 108 m_assembler.addl_mr(src.offset, src.base, dest); 113 m_assembler.addl_rm(src, dest.offset, dest.base); 128 m_assembler.andl_rm(src, dest.offset, dest.base); 133 m_assembler.andl_mr(src.offset, src.base, dest); 138 m_assembler.andl_im(imm.m_value, address.offset, address.base); 175 m_assembler.imull_mr(src.offset, src.base, dest); 190 m_assembler.negl_m(srcDest.offset, srcDest.base); 200 m_assembler.notl_m(srcDest.offset, srcDest.base); 215 m_assembler.orl_rm(src, dest.offset, dest.base) [all...] |
/bootable/bootloader/legacy/arch_msm7k/ |
smem.c | 40 unsigned offset; member in struct:smem_heap_entry 89 dprintf("%x: alloc=%x offset=%x size=%x\n", 90 n, he->allocated, he->offset, he->size);
|
/cts/tools/host/src/com/android/cts/ |
MultiplexingLogListener.java | 50 public void newData(byte[] data, int offset, int length) { 52 listener.newData(data, offset, length);
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
MemberListParser.java | 41 /** offset in the byte array of the classfile to the start of the list */ 42 private final int offset; field in class:MemberListParser 47 /** {@code >= -1;} the end offset of this list in the byte array of the 59 * @param offset offset in {@code bytes} to the start of the list 63 int offset, AttributeFactory attributeFactory) { 68 if (offset < 0) { 69 throw new IllegalArgumentException("offset < 0"); 78 this.offset = offset; [all...] |
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/support/ |
MyMacSpi.java | 61 protected void engineUpdate(byte[] input, int offset, int len) { 62 if (offset >= 0 && len >= 0) {
|
/dalvik/libcore/luni/src/main/java/java/io/ |
FilterInputStream.java | 135 * byte array {@code buffer} starting at {@code offset}. Returns the number 142 * @param offset 153 public int read(byte[] buffer, int offset, int count) throws IOException { 154 return in.read(buffer, offset, count);
|
FilterReader.java | 120 * in the byte array {@code buffer} starting at {@code offset}. Returns the 126 * @param offset 137 public int read(char[] buffer, int offset, int count) throws IOException { 139 return in.read(buffer, offset, count);
|