/external/elfutils/libelf/ |
gelf_update_verdaux.c | 30 gelf_update_verdaux (data, offset, src) 32 int offset; 45 if (unlikely (offset < 0) 46 || unlikely ((offset + sizeof (GElf_Verdaux)) > data_scn->d.d_size)) 61 memcpy ((char *) data_scn->d.d_buf + offset, src, sizeof (GElf_Verdaux));
|
gelf_update_verdef.c | 30 gelf_update_verdef (data, offset, src) 32 int offset; 45 if (unlikely (offset < 0) 46 || unlikely ((offset + sizeof (GElf_Verdef)) > data_scn->d.d_size)) 61 memcpy ((char *) data_scn->d.d_buf + offset, src, sizeof (GElf_Verdef));
|
gelf_update_vernaux.c | 30 gelf_update_vernaux (data, offset, src) 32 int offset; 45 if (unlikely (offset < 0) 46 || unlikely ((offset + sizeof (GElf_Vernaux)) > data_scn->d.d_size)) 61 memcpy ((char *) data_scn->d.d_buf + offset, src, sizeof (GElf_Vernaux));
|
gelf_update_verneed.c | 30 gelf_update_verneed (data, offset, src) 32 int offset; 45 if (unlikely (offset < 0) 46 || unlikely ((offset + sizeof (GElf_Verneed)) > data_scn->d.d_size)) 61 memcpy ((char *) data_scn->d.d_buf + offset, src, sizeof (GElf_Verneed));
|
/external/proguard/src/proguard/classfile/attribute/preverification/visitor/ |
StackMapFrameVisitor.java | 35 public void visitSameZeroFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SameZeroFrame sameZeroFrame); 36 public void visitSameOneFrame( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SameOneFrame sameOneFrame); 37 public void visitLessZeroFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LessZeroFrame lessZeroFrame); 38 public void visitMoreZeroFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, MoreZeroFrame moreZeroFrame); 39 public void visitFullFrame( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, FullFrame fullFrame);
|
/external/webkit/Source/WebCore/css/ |
CSSReflectValue.h | 41 PassRefPtr<CSSPrimitiveValue> offset, PassRefPtr<CSSValue> mask) 43 return adoptRef(new CSSReflectValue(direction, offset, mask)); 47 CSSPrimitiveValue* offset() const { return m_offset.get(); } function in class:WebCore::CSSReflectValue 56 PassRefPtr<CSSPrimitiveValue> offset, PassRefPtr<CSSValue> mask) 58 , m_offset(offset)
|
/frameworks/base/media/mtp/ |
MtpPacket.cpp | 94 uint16_t MtpPacket::getUInt16(int offset) const { 95 return ((uint16_t)mBuffer[offset + 1] << 8) | (uint16_t)mBuffer[offset]; 98 uint32_t MtpPacket::getUInt32(int offset) const { 99 return ((uint32_t)mBuffer[offset + 3] << 24) | ((uint32_t)mBuffer[offset + 2] << 16) | 100 ((uint32_t)mBuffer[offset + 1] << 8) | (uint32_t)mBuffer[offset]; 103 void MtpPacket::putUInt16(int offset, uint16_t value) { 104 mBuffer[offset++] = (uint8_t)(value & 0xFF) 148 int offset = MTP_CONTAINER_PARAMETER_OFFSET + (index - 1) * sizeof(uint32_t); local [all...] |
/libcore/luni/src/main/java/java/io/ |
BufferedWriter.java | 165 * Writes {@code count} characters starting at {@code offset} in 172 * @param offset 177 * if {@code offset < 0} or {@code count < 0}, or if 178 * {@code offset + count} is greater than the size of 184 public void write(char[] cbuf, int offset, int count) throws IOException { 190 Arrays.checkOffsetAndCount(cbuf.length, offset, count); 192 out.write(cbuf, offset, count); 200 System.arraycopy(cbuf, offset, this.buf, pos, available); 207 offset += available; 210 out.write(cbuf, offset, available) [all...] |
CharArrayReader.java | 64 * read the buffer is set to {@code offset}. 68 * @param offset 73 * if {@code offset < 0} or {@code length < 0}, or if 74 * {@code offset} is greater than the size of {@code buf} . 76 public CharArrayReader(char[] buf, int offset, int length) { 79 * of offset and length, it doesn't consider buffer's length. And to be 81 * (offset + length) overflows. 83 if (offset < 0 || offset > buf.length || length < 0 || offset + length < 0) [all...] |
/dalvik/dx/src/com/android/dx/cf/direct/ |
AttributeFactory.java | 64 * @param offset offset into {@code dcf}'s {@code bytes} 69 public final Attribute parse(DirectClassFile cf, int context, int offset, 84 int nameIdx = bytes.getUnsignedShort(offset); 85 int length = bytes.getInt(offset + 2); 90 observer.parsed(bytes, offset, 2, 92 observer.parsed(bytes, offset + 2, 4, 96 return parse0(cf, context, name.getString(), offset + 6, length, 101 "attribute at offset " + Hex.u4(offset)); [all...] |
StdAttributeFactory.java | 81 int offset, int length, ParseObserver observer) { 85 return deprecated(cf, offset, length, observer); 88 return enclosingMethod(cf, offset, length, observer); 91 return innerClasses(cf, offset, length, observer); 94 return runtimeInvisibleAnnotations(cf, offset, length, 98 return runtimeVisibleAnnotations(cf, offset, length, 102 return synthetic(cf, offset, length, observer); 105 return signature(cf, offset, length, observer); 108 return sourceFile(cf, offset, length, observer); 114 return constantValue(cf, offset, length, observer) [all...] |
/external/elfutils/libdw/ |
dwarf_getabbrev.c | 1 /* Get abbreviation at given offset. 26 __libdw_getabbrev (dbg, cu, offset, lengthp, result) 29 Dwarf_Off offset; 38 = (unsigned char *) dbg->sectiondata[IDX_debug_abbrev]->d_buf + offset; 78 assert (abb->offset == offset); 92 abb->offset = offset; 119 dwarf_getabbrev (die, offset, lengthp) 121 Dwarf_Off offset; [all...] |
/external/elfutils/tests/ |
show-abbrev.c | 50 Dwarf_Off offset = 0; local 55 Dwarf_Abbrev *abbrev = dwarf_getabbrev (&die, offset, &length); 63 printf ("dwarf_getabbrevtag at offset %llu returned error: %s\n", 64 (unsigned long long int) offset, 72 printf ("dwarf_getabbrevcode at offset %llu returned error: %s\n", 73 (unsigned long long int) offset, 81 printf ("dwarf_abbrevhaschildren at offset %llu returned error: %s\n", 82 (unsigned long long int) offset, 88 (unsigned long long int) offset, code, tag, children); 93 printf ("dwarf_getattrcnt at offset %llu returned error: %s\n" [all...] |
/external/webkit/Source/WebCore/html/canvas/ |
TypedArrayBase.h | 40 void set(TypedArrayBase<T>* array, unsigned offset, ExceptionCode& ec) 42 setImpl(array, offset * sizeof(T), ec); 45 void setRange(const T* data, size_t dataLength, unsigned offset, ExceptionCode& ec) 47 setRangeImpl(reinterpret_cast<const char*>(data), dataLength * sizeof(T), offset * sizeof(T), ec); 50 void zeroRange(unsigned offset, size_t length, ExceptionCode& ec) 52 zeroRangeImpl(offset * sizeof(T), length * sizeof(T), ec); 109 unsigned offset, length; local 110 calculateOffsetAndLength(start, end, m_length, &offset, &length); 111 clampOffsetAndNumElements<T>(buffer(), m_byteOffset, &offset, &length); local 112 return create<Subclass>(buffer(), offset, length) [all...] |
/frameworks/base/opengl/libagl/ |
mipmap.cpp | 62 size_t offset = (y*2) * bs; local 64 uint32_t p00 = src[offset]; 65 uint32_t p10 = src[offset+1]; 66 uint32_t p01 = src[offset+bs]; 67 uint32_t p11 = src[offset+bs+1]; 75 offset += 2; 84 size_t offset = (y*2) * bs; local 86 uint32_t p00 = src[offset]; 87 uint32_t p10 = src[offset+1]; 88 uint32_t p01 = src[offset+bs] 104 size_t offset = (y*2) * bs; local 142 size_t offset = (y*2) * bs; local 160 size_t offset = (y*2) * bs; local [all...] |
/external/proguard/src/proguard/optimize/peephole/ |
GotoCommonCodeReplacer.java | 94 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 97 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) 104 !branchTargetFinder.isBranchTarget(offset)) 107 int targetOffset = offset + branchOffset; 110 int commonCount = commonByteCodeCount(codeAttribute, offset, targetOffset); 113 !exceptionBoundary(codeAttribute, offset, targetOffset)) 117 System.out.println("GotoCommonCodeReplacer: "+clazz.getName()+"."+method.getName(clazz)+" (["+(offset-commonCount)+"] - "+branchInstruction.toString(offset)+" -> "+targetOffset+")"); 123 int deleteOffset = offset - delta; 136 if (newBranchOffset != branchInstruction.length(offset)) 249 int offset = offset1; local [all...] |
/external/chromium/net/disk_cache/ |
mem_entry_impl.h | 101 virtual int ReadData(int index, int offset, net::IOBuffer* buf, int buf_len, 103 virtual int WriteData(int index, int offset, net::IOBuffer* buf, int buf_len, 106 virtual int ReadSparseData(int64 offset, net::IOBuffer* buf, int buf_len, 108 virtual int WriteSparseData(int64 offset, net::IOBuffer* buf, int buf_len, 110 virtual int GetAvailableRange(int64 offset, int len, int64* start, 127 int InternalReadData(int index, int offset, net::IOBuffer* buf, int buf_len); 128 int InternalWriteData(int index, int offset, net::IOBuffer* buf, int buf_len, 130 int InternalReadSparseData(int64 offset, net::IOBuffer* buf, int buf_len); 131 int InternalWriteSparseData(int64 offset, net::IOBuffer* buf, int buf_len); 134 int GetAvailableRange(int64 offset, int len, int64* start) [all...] |
/external/icu4c/tools/toolutil/ |
flagparser.c | 94 int32_t offset; local 98 /* Get the offset (i.e. position after the '=') */ 99 offset = getFlagOffset(buffer, bufferSize); 100 pBuffer = buffer+offset; 128 int32_t offset = 0; local 130 for (offset = 0; offset < bufferSize;offset++) { 131 if (buffer[offset] == '=') { 132 offset++ [all...] |
/external/webkit/Source/WebCore/dom/ |
RangeBoundaryPoint.h | 41 int offset() const; 46 void set(PassRefPtr<Node> container, int offset, Node* childBefore); 47 void setOffset(int offset); 98 inline int RangeBoundaryPoint::offset() const function in class:WebCore::RangeBoundaryPoint 111 inline void RangeBoundaryPoint::set(PassRefPtr<Node> container, int offset, Node* childBefore) 114 ASSERT(offset >= 0); 115 ASSERT(childBefore == (offset ? container->childNode(offset - 1) : 0)); 117 m_offsetInContainer = offset; 121 inline void RangeBoundaryPoint::setOffset(int offset) [all...] |
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
AtomicIntegerArray.java | 86 private int getRaw(long offset) { 87 return unsafe.getIntVolatile(array, offset); 120 long offset = checkedByteOffset(i); local 122 int current = getRaw(offset); 123 if (compareAndSetRaw(offset, current, newValue)) 142 private boolean compareAndSetRaw(long offset, int expect, int update) { 143 return unsafe.compareAndSwapInt(array, offset, expect, update); 191 long offset = checkedByteOffset(i); local 193 int current = getRaw(offset); 194 if (compareAndSetRaw(offset, current, current + delta) 227 long offset = checkedByteOffset(i); local [all...] |
AtomicLongArray.java | 85 private long getRaw(long offset) { 86 return unsafe.getLongVolatile(array, offset); 120 long offset = checkedByteOffset(i); local 122 long current = getRaw(offset); 123 if (compareAndSetRaw(offset, current, newValue)) 142 private boolean compareAndSetRaw(long offset, long expect, long update) { 143 return unsafe.compareAndSwapLong(array, offset, expect, update); 191 long offset = checkedByteOffset(i); local 193 long current = getRaw(offset); 194 if (compareAndSetRaw(offset, current, current + delta) 227 long offset = checkedByteOffset(i); local [all...] |
/dalvik/vm/native/ |
sun_misc_Unsafe.cpp | 43 // The base offset is not type-dependent in this vm. 59 * public native boolean compareAndSwapInt(Object obj, long offset, 67 s8 offset = GET_ARG_LONG(args, 2); local 70 volatile int32_t* address = (volatile int32_t*) (((u1*) obj) + offset); 79 * public native boolean compareAndSwapLong(Object obj, long offset, 87 s8 offset = GET_ARG_LONG(args, 2); local 90 volatile int64_t* address = (volatile int64_t*) (((u1*) obj) + offset); 100 * public native boolean compareAndSwapObject(Object obj, long offset, 108 s8 offset = GET_ARG_LONG(args, 2); local 111 int32_t* address = (int32_t*) (((u1*) obj) + offset); 128 s8 offset = GET_ARG_LONG(args, 2); local 143 s8 offset = GET_ARG_LONG(args, 2); local 159 s8 offset = GET_ARG_LONG(args, 2); local 174 s8 offset = GET_ARG_LONG(args, 2); local 191 s8 offset = GET_ARG_LONG(args, 2); local 206 s8 offset = GET_ARG_LONG(args, 2); local 222 s8 offset = GET_ARG_LONG(args, 2); local 235 s8 offset = GET_ARG_LONG(args, 2); local 251 s8 offset = GET_ARG_LONG(args, 2); local 267 s8 offset = GET_ARG_LONG(args, 2); local 280 s8 offset = GET_ARG_LONG(args, 2); local 296 s8 offset = GET_ARG_LONG(args, 2); local 312 s8 offset = GET_ARG_LONG(args, 2); local 325 s8 offset = GET_ARG_LONG(args, 2); local 343 s8 offset = GET_ARG_LONG(args, 2); local [all...] |
/external/llvm/lib/DebugInfo/ |
DWARFDebugInfoEntry.cpp | 26 uint32_t offset = Offset; local 28 if (debug_info_data.isValidOffset(offset)) { 29 uint64_t abbrCode = debug_info_data.getULEB128(&offset); 31 OS << format("\n0x%8.8x: ", Offset); 47 dumpAttribute(OS, cu, &offset, attr, form, indent); 99 Offset = *offset_ptr; 107 uint32_t offset = *offset_ptr; local 120 offset += fixed_skip_size; 130 form_size = debug_info_data.getULEB128(&offset); 216 uint32_t offset = *offset_ptr; local 351 uint32_t offset = getOffset(); local [all...] |
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
PYXWriter.java | 37 public void adup(char[] buff, int offset, int length) throws SAXException { 42 public void aname(char[] buff, int offset, int length) throws SAXException { 44 theWriter.write(buff, offset, length); 46 attrName = new String(buff, offset, length); 49 public void aval(char[] buff, int offset, int length) throws SAXException { 50 theWriter.write(buff, offset, length); 55 public void cmnt(char [] buff, int offset, int length) throws SAXException { 57 // theWriter.write(buff, offset, length); 61 public void entity(char[] buff, int offset, int length) throws SAXException { } 65 public void eof(char[] buff, int offset, int length) throws SAXException [all...] |
/dalvik/vm/oo/ |
ObjectInlines.h | 37 * Field access functions. Pass in the word offset from Field->byteOffset. 50 INLINE JValue* dvmFieldPtr(const Object* obj, int offset) { 51 return ((JValue*)BYTE_OFFSET(obj, offset)); 54 INLINE bool dvmGetFieldBoolean(const Object* obj, int offset) { 55 return ((JValue*)BYTE_OFFSET(obj, offset))->z; 57 INLINE s1 dvmGetFieldByte(const Object* obj, int offset) { 58 return ((JValue*)BYTE_OFFSET(obj, offset))->b; 60 INLINE s2 dvmGetFieldShort(const Object* obj, int offset) { 61 return ((JValue*)BYTE_OFFSET(obj, offset))->s; 63 INLINE u2 dvmGetFieldChar(const Object* obj, int offset) { [all...] |