Searched refs:offset (Results 201 - 225 of 6658) sorted by relevance

1234567891011>>

/external/llvm/lib/Support/
H A DDataExtractor.cpp20 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 local
137 uint32_t offset = *offset_ptr; local
158 uint32_t offset = *offset_ptr; local
[all...]
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dlocal_file_reader.cc27 int64 offset,
36 callback, offset));
50 int64 offset,
55 int rv = file_stream_.Seek(net::FROM_BEGIN, offset,
58 callback, offset));
63 int64 offset,
65 callback.Run(error == offset ? net::OK : net::ERR_FAILED);
26 Open(const base::FilePath& file_path, int64 offset, const net::CompletionCallback& callback) argument
49 DidOpen(const net::CompletionCallback& callback, int64 offset, int error) argument
62 DidSeek(const net::CompletionCallback& callback, int64 offset, int64 error) argument
/external/chromium_org/courgette/
H A Ddisassembler.h49 const uint8* OffsetToPointer(size_t offset) const;
58 uint16 ReadU16(const uint8* address, size_t offset) { argument
59 return *reinterpret_cast<const uint16*>(address + offset);
62 uint32 ReadU32(const uint8* address, size_t offset) { argument
63 return *reinterpret_cast<const uint32*>(address + offset);
66 uint64 ReadU64(const uint8* address, size_t offset) { argument
67 return *reinterpret_cast<const uint64*>(address + offset);
/external/chromium_org/mojo/public/cpp/bindings/lib/
H A Dbindings_serialization.h27 // address of where the offset value is stored, such that the pointer may be
30 // ptr = reinterpret_cast<char*>(offset) + *offset
32 // A null pointer is encoded as an offset value of 0.
34 void EncodePointer(const void* ptr, uint64_t* offset);
36 const void* DecodePointerRaw(const uint64_t* offset);
40 inline void DecodePointer(const uint64_t* offset, T** ptr) { argument
41 *ptr = reinterpret_cast<T*>(const_cast<void*>(DecodePointerRaw(offset)));
45 // smaller than |offset|.
46 bool ValidateEncodedPointer(const uint64_t* offset);
[all...]
/external/chromium_org/net/base/registry_controlled_domains/
H A Dregistry_controlled_domain.cc72 // Read next offset from pos.
73 // Returns true if an offset could be read, false otherwise.
75 const unsigned char** offset) {
79 // When reading an offset the byte array must always contain at least
80 // three more bytes to consume. First the offset to read, then a node
86 case 0x60: // Read three byte offset
87 *offset += (((*pos)[0] & 0x1F) << 16) | ((*pos)[1] << 8) | (*pos)[2];
90 case 0x40: // Read two byte offset
91 *offset += (((*pos)[0] & 0x1F) << 8) | (*pos)[1];
95 *offset
74 GetNextOffset(const unsigned char** pos, const unsigned char* end, const unsigned char** offset) argument
107 IsEOL(const unsigned char* offset, const unsigned char* end) argument
114 IsMatch(const unsigned char* offset, const unsigned char* end, const char* key) argument
122 IsEndCharMatch(const unsigned char* offset, const unsigned char* end, const char* key) argument
130 GetReturnValue(const unsigned char* offset, const unsigned char* end, int* return_value) argument
146 const unsigned char* offset = pos; local
[all...]
/external/chromium_org/net/disk_cache/blockfile/
H A Dfile.h52 bool Read(void* buffer, size_t buffer_len, size_t offset);
53 bool Write(const void* buffer, size_t buffer_len, size_t offset);
57 bool Read(void* buffer, size_t buffer_len, size_t offset,
59 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/WebKit/Source/platform/graphics/filters/
H A DFELighting.cpp72 inline void FELighting::LightingData::topLeft(int offset, IntPoint& normalVector) argument
74 int center = static_cast<int>(pixels->item(offset + cAlphaChannelOffset));
75 int right = static_cast<int>(pixels->item(offset + cPixelSize + cAlphaChannelOffset));
76 offset += widthMultipliedByPixelSize;
77 int bottom = static_cast<int>(pixels->item(offset + cAlphaChannelOffset));
78 int bottomRight = static_cast<int>(pixels->item(offset + cPixelSize + cAlphaChannelOffset));
83 inline void FELighting::LightingData::topRow(int offset, IntPoint& normalVector) argument
85 int left = static_cast<int>(pixels->item(offset - cPixelSize + cAlphaChannelOffset));
86 int center = static_cast<int>(pixels->item(offset + cAlphaChannelOffset));
87 int right = static_cast<int>(pixels->item(offset
96 topRight(int offset, IntPoint& normalVector) argument
107 leftColumn(int offset, IntPoint& normalVector) argument
121 interior(int offset, IntPoint& normalVector) argument
137 rightColumn(int offset, IntPoint& normalVector) argument
151 bottomLeft(int offset, IntPoint& normalVector) argument
162 bottomRow(int offset, IntPoint& normalVector) argument
175 bottomRight(int offset, IntPoint& normalVector) argument
186 inlineSetPixel(int offset, LightingData& data, LightSource::PaintingData& paintingData, int lightX, int lightY, float factorX, float factorY, IntPoint& normal2DVector) argument
235 setPixel(int offset, LightingData& data, LightSource::PaintingData& paintingData, int lightX, int lightY, float factorX, float factorY, IntPoint& normalVector) argument
244 int offset = 0; local
342 int offset = 0; local
[all...]
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
H A DBoundedByteString.java57 * @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) { argument
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);
76 this.bytesOffset = offset;
[all...]
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/data/
H A Dgrowable_memory_byte_array.cc35 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);
34 CopyTo(OutputStream* os, int32_t offset, int32_t length) argument
49 InternalPut(int32_t index, byte_t* b, int32_t offset, int32_t length) argument
66 InternalGet(int32_t index, byte_t* b, int32_t offset, int32_t length) argument
/external/elfutils/0.153/backends/
H A Dx86_64_corenote.c43 { .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 */
H A Dppc_corenote.c48 { .offset = at * BITS/8, .regno = dwreg, .count = n, .bits = BITS }
69 { .offset = 0, .regno = 32, .count = 32, .bits = 64 }, /* f0-f31 */
70 { .offset = 32 * 8 + 4, .regno = 65, .count = 1, .bits = 32 } /* fpscr */
77 { .offset = 0, .regno = 1124, .count = 32, .bits = 128 },
79 { .offset = 32 * 16, .regno = 67, .count = 1, .bits = 32, .pad = 12 },
81 { .offset = 33 * 16, .regno = 356, .count = 1, .bits = 32, .pad = 12 }
87 { .offset = 0, .regno = ???, .count = 32, .bits = 32 },
89 { .offset = 32 * 4, .regno = ???, .count = 1, .bits = 64 }, */
91 { .offset = 34 * 4, .regno = 612, .count = 1, .bits = 32 }
122 .offset
[all...]
/external/emma/core/java12/com/vladium/util/
H A DByteArrayIStream.java53 public final int read (final byte [] buf, final int offset, int length) argument
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/icu/icu4c/source/layout/
H A DGXLayoutEngine.cpp32 le_int32 GXLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
38 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
43 mapCharsToGlyphs(chars, offset, count, FALSE, rightToLeft, glyphStorage, success);
55 void GXLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool /*reverse*/, argument
62 if (chars == NULL || offset < 0 || count < 0) {
H A DGXLayoutEngine2.cpp29 le_int32 GXLayoutEngine2::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
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*/, argument
58 if (chars == NULL || offset < 0 || count < 0) {
/external/proguard/src/proguard/optimize/peephole/
H A DGotoGotoReplacer.java72 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} argument
75 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) argument
85 int targetOffset = offset + branchOffset;
88 branchOffset != branchInstruction.length(offset) &&
89 !codeAttributeEditor.isModified(offset) &&
103 codeAttributeEditor.replaceInstruction(offset,
109 extraInstructionVisitor.visitBranchInstruction(clazz, method, codeAttribute, offset, branchInstruction);
/external/qemu-pc-bios/bochs/bios/
H A Dusage.cc42 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));
/external/sfntly/cpp/src/sfntly/data/
H A Dgrowable_memory_byte_array.cc35 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);
34 CopyTo(OutputStream* os, int32_t offset, int32_t length) argument
49 InternalPut(int32_t index, byte_t* b, int32_t offset, int32_t length) argument
66 InternalGet(int32_t index, byte_t* b, int32_t offset, int32_t length) argument
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DCubicIntersection.cpp153 double offset = precisionScale / 16; // FIME: const is arbitrary -- test & refine
157 double c1Min = SkTMax(c1Bottom, to1 - offset);
160 double c1Max = SkTMin(c1Top, to1 + offset);
161 double c2Min = SkTMax(0., to2 - offset);
162 double c2Max = SkTMin(1., to2 + offset);
167 to1 - offset <= tLimits1[0][1] && tLimits1[0][0] <= to1 + offset
168 && to2 - offset <= tLimits1[1][1] && tLimits1[1][0] <= to2 + offset,
171 to1 - offset <
[all...]
/external/skia/experimental/Intersection/
H A DCubicIntersection.cpp153 double offset = precisionScale / 16; // FIME: const is arbitrary -- test & refine
157 double c1Min = SkTMax(c1Bottom, to1 - offset);
160 double c1Max = SkTMin(c1Top, to1 + offset);
161 double c2Min = SkTMax(0., to2 - offset);
162 double c2Max = SkTMin(1., to2 + offset);
167 to1 - offset <= tLimits1[0][1] && tLimits1[0][0] <= to1 + offset
168 && to2 - offset <= tLimits1[1][1] && tLimits1[1][0] <= to2 + offset,
171 to1 - offset <
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dremap.c34 * is dynamic, or assigned a different static offset, in glapi. The
77 * and the dispatch offset will be returned.
84 * \return the offset of the (re-)mapped function in the dispatch
137 GLint offset; local
146 offset = _mesa_map_function_spec(spec);
148 if (offset < 0) {
153 offset != func_array[i].dispatch_offset) {
156 name, func_array[i].dispatch_offset, offset);
201 GLint offset; local
208 offset
[all...]
/external/javassist/src/main/javassist/bytecode/
H A DStackMap.java144 int offset = ByteArray.readU16bit(info, pos);
146 pos = locals(pos + 4, offset, numLoc);
148 pos = stack(pos + 2, offset, numStack);
156 public int locals(int pos, int offset, int num) { argument
157 return typeInfoArray(pos, offset, num, true);
164 public int stack(int pos, int offset, int num) { argument
165 return typeInfoArray(pos, offset, num, false);
176 public int typeInfoArray(int pos, int offset, int num, boolean isLocals) { argument
220 public void uninitialized(int pos, int offset) {} argument
242 public int locals(int pos, int offset, in argument
247 typeInfoArray(int pos, int offset, int num, boolean isLocals) argument
262 uninitialized(int pos, int offset) argument
313 locals(int pos, int offset, int num) argument
318 typeInfoArray(int pos, int offset, int num, boolean isLocals) argument
331 uninitialized(int pos, int offset) argument
347 typeInfoArray(int pos, int offset, int num, boolean isLocals) argument
392 locals(int pos, int offset, int num) argument
422 stack(int pos, int offset, int num) argument
426 stackTypeInfoArray(int pos, int offset, int num) argument
490 locals(int pos, int offset, int num) argument
[all...]
/external/mesa3d/src/mesa/main/
H A Dremap.c34 * is dynamic, or assigned a different static offset, in glapi. The
77 * and the dispatch offset will be returned.
84 * \return the offset of the (re-)mapped function in the dispatch
137 GLint offset; local
146 offset = _mesa_map_function_spec(spec);
148 if (offset < 0) {
153 offset != func_array[i].dispatch_offset) {
156 name, func_array[i].dispatch_offset, offset);
201 GLint offset; local
208 offset
[all...]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
H A DMapItem.java49 private final int offset; field in class:MapItem
51 public MapItem(DexBackedDexFile dexFile, int offset) { argument
53 this.offset = offset;
57 return dexFile.readUshort(offset + TYPE_OFFSET);
66 return dexFile.readSmallUint(offset + SIZE_OFFSET);
70 return dexFile.readSmallUint(offset + OFFSET_OFFSET);
90 int offset = dexFile.readSmallUint(out.getCursor());
91 out.annotate(4, "offset = 0x%x", offset);
[all...]
/external/zlib/src/contrib/dotzlib/DotZLib/
H A DChecksumImpl.cs59 /// <param name="offset">Where in <c>data</c> to start updating</param>
61 /// <exception cref="ArgumentException">The sum of offset and count is larger than the length of <c>data</c></exception>
66 public abstract void Update(byte[] data, int offset, int count); argument
128 /// <param name="offset">Where in <c>data</c> to start updating</param>
130 /// <exception cref="ArgumentException">The sum of offset and count is larger than the length of <c>data</c></exception>
133 public override void Update(byte[] data, int offset, int count) argument
135 if (offset < 0 || count < 0) throw new ArgumentOutOfRangeException();
136 if ((offset+count) > data.Length) throw new ArgumentException();
140 _current = crc32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count);
179 /// <param name="offset">Wher
184 Update(byte[] data, int offset, int count) argument
[all...]
/external/lldb/source/API/
H A DSBData.cpp154 SBData::GetFloat (lldb::SBError& error, lldb::offset_t offset) argument
164 uint32_t old_offset = offset;
165 value = m_opaque_sp->GetFloat(&offset);
166 if (offset == old_offset)
170 log->Printf ("SBData::GetFloat (error=%p,offset=%" PRIu64 ") => "
171 "(%f)", error.get(), offset, value);
176 SBData::GetDouble (lldb::SBError& error, lldb::offset_t offset) argument
186 uint32_t old_offset = offset;
187 value = m_opaque_sp->GetDouble(&offset);
188 if (offset
198 GetLongDouble(lldb::SBError& error, lldb::offset_t offset) argument
220 GetAddress(lldb::SBError& error, lldb::offset_t offset) argument
242 GetUnsignedInt8(lldb::SBError& error, lldb::offset_t offset) argument
264 GetUnsignedInt16(lldb::SBError& error, lldb::offset_t offset) argument
286 GetUnsignedInt32(lldb::SBError& error, lldb::offset_t offset) argument
308 GetUnsignedInt64(lldb::SBError& error, lldb::offset_t offset) argument
330 GetSignedInt8(lldb::SBError& error, lldb::offset_t offset) argument
352 GetSignedInt16(lldb::SBError& error, lldb::offset_t offset) argument
374 GetSignedInt32(lldb::SBError& error, lldb::offset_t offset) argument
396 GetSignedInt64(lldb::SBError& error, lldb::offset_t offset) argument
418 GetString(lldb::SBError& error, lldb::offset_t offset) argument
463 ReadRawData(lldb::SBError& error, lldb::offset_t offset, void *buf, size_t size) argument
[all...]

Completed in 873 milliseconds

1234567891011>>