/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/chromium_org/net/disk_cache/ |
mem_entry_impl.h | 96 virtual int ReadData(int index, int offset, IOBuffer* buf, int buf_len, 98 virtual int WriteData(int index, int offset, IOBuffer* buf, int buf_len, 101 virtual int ReadSparseData(int64 offset, IOBuffer* buf, int buf_len, 103 virtual int WriteSparseData(int64 offset, IOBuffer* buf, int buf_len, 105 virtual int GetAvailableRange(int64 offset, int len, int64* start, 122 int InternalReadData(int index, int offset, IOBuffer* buf, int buf_len); 123 int InternalWriteData(int index, int offset, IOBuffer* buf, int buf_len, 125 int InternalReadSparseData(int64 offset, IOBuffer* buf, int buf_len); 126 int InternalWriteSparseData(int64 offset, IOBuffer* buf, int buf_len); 129 int GetAvailableRange(int64 offset, int len, int64* start) [all...] |
file_posix.cc | 71 bool File::Read(void* buffer, size_t buffer_len, size_t offset) { 74 offset > static_cast<size_t>(kint32max)) { 78 int ret = base::ReadPlatformFile(platform_file_, offset, 83 bool File::Write(const void* buffer, size_t buffer_len, size_t offset) { 86 offset > static_cast<size_t>(kint32max)) { 90 int ret = base::WritePlatformFile(platform_file_, offset, 96 bool File::Read(void* buffer, size_t buffer_len, size_t offset, 102 return Read(buffer, buffer_len, offset); 106 offset > static_cast<size_t>(kint32max)) { 112 base::Bind(&File::DoRead, this, buffer, buffer_len, offset), [all...] |
file.h | 55 bool Read(void* buffer, size_t buffer_len, size_t offset); 56 bool Write(const void* buffer, size_t buffer_len, size_t offset); 60 bool Read(void* buffer, size_t buffer_len, size_t offset, 62 bool Write(const void* buffer, size_t buffer_len, size_t offset, 82 bool AsyncWrite(const void* buffer, size_t buffer_len, size_t offset, 86 int DoRead(void* buffer, size_t buffer_len, size_t offset); 87 int DoWrite(const void* buffer, size_t buffer_len, size_t offset);
|
/external/chromium_org/third_party/icu/source/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/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 */
|
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
AtomicIntegerArray.java | 85 private int getRaw(long offset) { 86 return unsafe.getIntVolatile(array, offset); 119 long offset = checkedByteOffset(i); local 121 int current = getRaw(offset); 122 if (compareAndSetRaw(offset, current, newValue)) 141 private boolean compareAndSetRaw(long offset, int expect, int update) { 142 return unsafe.compareAndSwapInt(array, offset, expect, update); 190 long offset = checkedByteOffset(i); local 192 int current = getRaw(offset); 193 if (compareAndSetRaw(offset, current, current + delta) 226 long offset = checkedByteOffset(i); local [all...] |
AtomicLongArray.java | 84 private long getRaw(long offset) { 85 return unsafe.getLongVolatile(array, offset); 118 long offset = checkedByteOffset(i); local 120 long current = getRaw(offset); 121 if (compareAndSetRaw(offset, current, newValue)) 140 private boolean compareAndSetRaw(long offset, long expect, long update) { 141 return unsafe.compareAndSwapLong(array, offset, expect, update); 189 long offset = checkedByteOffset(i); local 191 long current = getRaw(offset); 192 if (compareAndSetRaw(offset, current, current + delta) 225 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/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 | 80 int offset, int length, ParseObserver observer) { 84 return deprecated(cf, offset, length, observer); 87 return enclosingMethod(cf, offset, length, observer); 90 return innerClasses(cf, offset, length, observer); 93 return runtimeInvisibleAnnotations(cf, offset, length, 97 return runtimeVisibleAnnotations(cf, offset, length, 101 return synthetic(cf, offset, length, observer); 104 return signature(cf, offset, length, observer); 107 return sourceFile(cf, offset, length, observer); 113 return constantValue(cf, offset, length, observer) [all...] |
/art/runtime/native/ |
sun_misc_Unsafe.cc | 26 static jboolean Unsafe_compareAndSwapInt(JNIEnv* env, jobject, jobject javaObj, jlong offset, jint expectedValue, jint newValue) { 29 byte* raw_addr = reinterpret_cast<byte*>(obj) + offset; 36 static jboolean Unsafe_compareAndSwapLong(JNIEnv* env, jobject, jobject javaObj, jlong offset, jlong expectedValue, jlong newValue) { 39 byte* raw_addr = reinterpret_cast<byte*>(obj) + offset; 46 static jboolean Unsafe_compareAndSwapObject(JNIEnv* env, jobject, jobject javaObj, jlong offset, jobject javaExpectedValue, jobject javaNewValue) { 51 byte* raw_addr = reinterpret_cast<byte*>(obj) + offset; 57 Runtime::Current()->GetHeap()->WriteBarrierField(obj, MemberOffset(offset), newValue); 62 static jint Unsafe_getInt(JNIEnv* env, jobject, jobject javaObj, jlong offset) { 65 return obj->GetField32(MemberOffset(offset), false); 68 static jint Unsafe_getIntVolatile(JNIEnv* env, jobject, jobject javaObj, jlong offset) { [all...] |
/dalvik/dx/src/com/android/dx/command/dump/ |
BaseDumper.java | 65 /** the offset of the next byte to dump */ 124 public void parsed(ByteArray bytes, int offset, int len, String human) { 125 offset = bytes.underlyingOffset(offset, getBytes()); 129 if (offset < at) { 130 println("<dump skipped backwards to " + Hex.u4(offset) + ">"); 131 at = offset; 132 } else if (offset > at) { 133 String hex = rawBytes ? hexDump(at, offset - at) : ""; 134 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/chromium_org/courgette/ |
disassembler.h | 49 const uint8* OffsetToPointer(size_t offset) const; 58 uint16 ReadU16(const uint8* address, size_t offset) { 59 return *reinterpret_cast<const uint16*>(address + offset); 62 uint32 ReadU32(const uint8* address, size_t offset) { 63 return *reinterpret_cast<const uint32*>(address + offset); 66 uint64 ReadU64(const uint8* address, size_t offset) { 67 return *reinterpret_cast<const uint64*>(address + offset);
|
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
BoundedByteString.java | 57 * @param offset index to first byte to use in bytes 59 * @throws IllegalArgumentException if {@code offset < 0}, {@code length < 0}, 60 * or if {@code offset + length > 63 BoundedByteString(byte[] bytes, int offset, int length) { 65 if (offset < 0) { 66 throw new IllegalArgumentException("Offset too small: " + offset); 69 throw new IllegalArgumentException("Length too small: " + offset); 71 if ((long) offset + length > bytes.length) { 73 "Offset+Length too large: " + offset + "+" + length) [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/data/ |
growable_memory_byte_array.cc | 35 int32_t offset, 38 os->Write(&b_, offset, length); 51 int32_t offset, 58 std::copy(b + offset, b + offset + length, b_.begin() + index); 68 int32_t offset, 70 memcpy(b + offset, &(b_[0]) + index, length);
|
/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) {
|
GXLayoutEngine2.cpp | 29 le_int32 GXLayoutEngine2::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) 35 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) { 40 mapCharsToGlyphs(chars, offset, count, rightToLeft, rightToLeft, glyphStorage, success); 51 void GXLayoutEngine2::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool /*reverse*/, 58 if (chars == NULL || offset < 0 || count < 0) {
|
/external/proguard/src/proguard/optimize/peephole/ |
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/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));
|