/external/elfutils/tests/ |
show-abbrev.c | 62 Dwarf_Off offset = 0; local 67 Dwarf_Abbrev *abbrev = dwarf_getabbrev (&die, offset, &length); 75 printf ("dwarf_getabbrevtag at offset %llu returned error: %s\n", 76 (unsigned long long int) offset, 84 printf ("dwarf_getabbrevcode at offset %llu returned error: %s\n", 85 (unsigned long long int) offset, 93 printf ("dwarf_abbrevhaschildren at offset %llu returned error: %s\n", 94 (unsigned long long int) offset, 100 (unsigned long long int) offset, code, tag, children); 105 printf ("dwarf_getattrcnt at offset %llu returned error: %s\n" [all...] |
/external/openssh/openbsd-compat/ |
setenv.c | 45 * Sets offset to be the offset of the name/value combination in the 50 __findenv(const char *name, size_t *offset) 67 *offset = p - environ; 85 size_t l_value, offset; local 90 if ((C = __findenv(name, &offset))) { /* find if already exists */ 111 offset = cnt; 116 if (!(environ[offset] = /* name + `=' + value */ 119 for (C = environ[offset]; (*C = *name++) && *C != '='; ++C) 136 size_t offset; local [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...] |
/libcore/luni/src/main/java/java/io/ |
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...] |
/frameworks/native/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...] |
GotoGotoReplacer.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) 85 int targetOffset = offset + branchOffset; 87 if (branchOffset != branchInstruction.length(offset) && 88 !codeAttributeEditor.isModified(offset) && 102 codeAttributeEditor.replaceInstruction(offset, 108 extraInstructionVisitor.visitBranchInstruction(clazz, method, codeAttribute, offset, branchInstruction);
|
/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/elfutils/backends/ |
i386_corenote.c | 43 { .offset = at * 4, .regno = dwreg, .count = n, .bits = 32 } 45 { .offset = at * 4, .regno = dwreg, .count = n, .bits = 16, .pad = 2 } 84 .offset = offsetof (struct EBLHOOK(prstatus), pr_reg) + (4 * 11), \ 90 { .offset = 0, .regno = 37, .count = 2, .bits = 32 }, /* fctrl-fstat */ 91 { .offset = 7 * 4, .regno = 11, .count = 8, .bits = 80 }, /* stN */ 97 { .offset = 0, .regno = 37, .count = 2, .bits = 16 }, /* fctrl-fstat */ 98 { .offset = 24, .regno = 39, .count = 1, .bits = 32 }, /* mxcsr */ 99 { .offset = 32, .regno = 11, .count = 8, .bits = 80, .pad = 6 }, /* stN */ 100 { .offset = 32 + 128, .regno = 21, .count = 8, .bits = 128 }, /* xmm */ 111 { .type = ELF_T_WORD, .offset = 0x0, .format = 'd', .name = "index" } [all...] |
x86_64_corenote.c | 43 { .offset = at * 8, .regno = dwreg, .count = n, .bits = 64 } 45 { .offset = at * 8, .regno = dwreg, .count = n, .bits = 16, .pad = 6 } 93 .offset = offsetof (struct EBLHOOK(prstatus), pr_reg) + (8 * 15), \ 99 { .offset = 0, .regno = 65, .count = 2, .bits = 16 }, /* fcw-fsw */ 100 { .offset = 24, .regno = 64, .count = 1, .bits = 32 }, /* mxcsr */ 101 { .offset = 32, .regno = 33, .count = 8, .bits = 80, .pad = 6 }, /* stN */ 102 { .offset = 32 + 128, .regno = 17, .count = 16, .bits = 128 }, /* xmm */
|
/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 uint32_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); 214 uint32_t offset = *offset_ptr; local 349 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...] |
/dalvik/dx/src/com/android/dx/cf/direct/ |
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...] |
/dalvik/dx/src/com/android/dx/command/dump/ |
BaseDumper.java | 67 /** the offset of the next byte to dump */ 126 public void parsed(ByteArray bytes, int offset, int len, String human) { 127 offset = bytes.underlyingOffset(offset, getBytes()); 131 if (offset < at) { 132 println("<dump skipped backwards to " + Hex.u4(offset) + ">"); 133 at = offset; 134 } else if (offset > at) { 135 String hex = rawBytes ? hexDump(at, offset - at) : ""; 136 print(twoColumns(hex, "<skipped to " + Hex.u4(offset) + ">")) [all...] |
/external/llvm/lib/Support/ |
DataExtractor.cpp | 20 uint32_t offset = *offset_ptr; local 21 if (de->isValidOffsetForDataOfSize(offset, sizeof(val))) { 22 std::memcpy(&val, &Data[offset], sizeof(val)); 26 // Advance the offset 35 uint32_t offset = *offset_ptr; local 37 if (count > 0 && de->isValidOffsetForDataOfSize(offset, sizeof(*dst)*count)) { 39 ++value_ptr, offset += sizeof(*dst)) 41 // Advance the offset 42 *offset_ptr = offset; 122 uint32_t offset = *offset_ptr local 137 uint32_t offset = *offset_ptr; local 158 uint32_t offset = *offset_ptr; local [all...] |
/external/proguard/src/proguard/classfile/editor/ |
InstructionWriter.java | 66 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) 70 simpleInstruction.write(codeAttribute, offset); 74 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 79 constantInstruction.write(codeAttribute, offset); 89 replaceInstruction(offset, replacementInstruction); 94 constantInstruction.write(codeAttribute, offset); 99 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) 104 variableInstruction.write(codeAttribute, offset); 114 replaceInstruction(offset, replacementInstruction); 119 variableInstruction.write(codeAttribute, offset); [all...] |
/external/emma/core/java12/com/vladium/util/ |
ByteArrayIStream.java | 53 public final int read (final byte [] buf, final int offset, int length) 56 $assert.ASSERT ((offset >= 0) && (offset <= buf.length) && 57 (length >= 0) && ((offset + length) <= buf.length), 58 "invalid input (" + buf.length + ", " + offset + ", " + length + ")"); 70 for (int i = 0; i < length; ++ i) buf [offset + i] = mbuf [pos + i]; 72 System.arraycopy (mbuf, pos, buf, offset, length);
|
/external/icu4c/layout/ |
GXLayoutEngine.cpp | 31 le_int32 GXLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) 37 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) { 42 mapCharsToGlyphs(chars, offset, count, FALSE, rightToLeft, glyphStorage, success); 54 void GXLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool /*reverse*/, 61 if (chars == NULL || offset < 0 || count < 0) {
|
/external/qemu-pc-bios/bochs/bios/ |
usage.cc | 42 unsigned org, last_org, offset; local 81 for (offset=org-1; offset>last_org; offset--) { 82 if (bios[offset] != 0) break; 84 if (offset > last_org) { 85 elements = (1.0 + double(offset) - double(last_org));
|