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

1234567891011>>

/external/chromium_org/net/disk_cache/blockfile/
H A Dfile_posix.cc57 bool File::Read(void* buffer, size_t buffer_len, size_t offset) { argument
60 offset > static_cast<size_t>(kint32max)) {
64 int ret = base_file_.Read(offset, static_cast<char*>(buffer), buffer_len);
68 bool File::Write(const void* buffer, size_t buffer_len, size_t offset) { argument
71 offset > static_cast<size_t>(kint32max)) {
75 int ret = base_file_.Write(offset, static_cast<const char*>(buffer),
80 bool File::Read(void* buffer, size_t buffer_len, size_t offset, argument
86 return Read(buffer, buffer_len, offset);
90 offset > static_cast<size_t>(kint32max)) {
96 base::Bind(&File::DoRead, this, buffer, buffer_len, offset),
103 Write(const void* buffer, size_t buffer_len, size_t offset, FileIOCallback* callback, bool* completed) argument
166 DoRead(void* buffer, size_t buffer_len, size_t offset) argument
174 DoWrite(const void* buffer, size_t buffer_len, size_t offset) argument
[all...]
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/elfutils/0.153/libdw/
H A Dcie.c66 if (cie1->offset < cie2->offset)
68 if (cie1->offset > cie2->offset)
75 intern_new_cie (Dwarf_CFI *cache, Dwarf_Off offset, const Dwarf_CIE *info) argument
84 cie->offset = offset;
181 __libdw_find_cie (Dwarf_CFI *cache, Dwarf_Off offset) argument
183 const struct dwarf_cie cie_key = { .offset = offset };
210 __libdw_intern_cie(Dwarf_CFI *cache, Dwarf_Off offset, const Dwarf_CIE *info) argument
[all...]
/external/lldb/source/Symbol/
H A DDWARFCallFrameInfo.cpp146 lldb::offset_t offset = cie_offset; local
149 const uint32_t length = m_cfi_data.GetU32(&offset);
150 const dw_offset_t cie_id = m_cfi_data.GetU32(&offset);
155 // cie.offset = cie_offset;
159 cie_sp->version = m_cfi_data.GetU8(&offset);
163 cie_sp->augmentation[i] = m_cfi_data.GetU8(&offset);
179 cie_sp->code_align = (uint32_t)m_cfi_data.GetULEB128(&offset);
180 cie_sp->data_align = (int32_t)m_cfi_data.GetSLEB128(&offset);
181 cie_sp->return_addr_reg_num = m_cfi_data.GetU8(&offset);
187 const size_t aug_data_len = (size_t)m_cfi_data.GetULEB128(&offset);
334 lldb::offset_t offset = 0; local
381 lldb::offset_t offset = dwarf_offset; local
[all...]
/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(base::File::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/third_party/WebKit/Source/core/dom/
H A DCharacterData.cpp58 String CharacterData::substringData(unsigned offset, unsigned count, ExceptionState& exceptionState) argument
60 if (offset > length()) {
61 exceptionState.throwDOMException(IndexSizeError, "The offset " + String::number(offset) + " is greater than the node's length (" + String::number(length()) + ").");
65 return m_data.substring(offset, count);
94 void CharacterData::insertData(unsigned offset, const String& data, ExceptionState& exceptionState, RecalcStyleBehavior recalcStyleBehavior) argument
96 if (offset > length()) {
97 exceptionState.throwDOMException(IndexSizeError, "The offset " + String::number(offset) + " is greater than the node's length (" + String::number(length()) + ").");
102 newStr.insert(data, offset);
109 validateOffsetCount(unsigned offset, unsigned count, unsigned length, unsigned& realCount, ExceptionState& exceptionState) argument
127 deleteData(unsigned offset, unsigned count, ExceptionState& exceptionState, RecalcStyleBehavior recalcStyleBehavior) argument
141 replaceData(unsigned offset, unsigned count, const String& data, ExceptionState& exceptionState) argument
[all...]
/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/WebKit/Source/platform/scroll/
H A DProgrammaticScrollAnimator.cpp37 void ProgrammaticScrollAnimator::animateToOffset(FloatPoint offset) argument
40 m_targetOffset = offset;
46 m_scrollableArea->notifyScrollPositionChanged(IntPoint(offset.x(), offset.y()));
62 FloatPoint offset = m_animationCurve->getValue(elapsedTime); local
63 m_scrollableArea->notifyScrollPositionChanged(IntPoint(offset.x(), offset.y()));
/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...]

Completed in 1149 milliseconds

1234567891011>>