Searched refs:offset (Results 126 - 150 of 6810) sorted by relevance

1234567891011>>

/external/e2fsprogs/ext2ed/
H A Ddisk.c34 int low_read (unsigned char *buffer,unsigned long length,unsigned long offset) argument
52 if (offset > file_system_info.file_system_size) { /* Check that the offset is within limits */
53 sprintf (temp,"Seek offset %ld is out of range",offset);
60 if ( (fseek (device_handle,offset,SEEK_SET))==-1) { /* Seek to the required offset */
61 wprintw (command_win,"Error - Failed to seek to offset %ld in device %s\n",offset,device_name);
67 wprintw (command_win,"Error - Failed to read from offset
74 low_write(unsigned char *buffer,unsigned long length,unsigned long offset) argument
131 log_changes(unsigned char *buffer,unsigned long length,unsigned long offset) argument
[all...]
/external/emma/core/java12/com/vladium/jcd/opcodes/
H A DIOpcodeVisitor.java20 void visit (int opcode, boolean wide, int offset, Object ctx); argument
/external/fio/
H A Dhelpers.c13 int fallocate(int fd, int mode, off_t offset, off_t len) argument
21 int posix_fallocate(int fd, off_t offset, off_t len) argument
28 int sync_file_range(int fd, off64_t offset, off64_t nbytes, unsigned int flags) argument
36 int posix_fadvise(int fd, off_t offset, off_t len, int advice) argument
/external/icu/icu4c/source/tools/toolutil/
H A Dflagparser.c111 int32_t offset=0; local
115 /* Get the offset (i.e. position after the '=') */
116 offset = getFlagOffset(buffer, bufferSize);
117 pBuffer = buffer+offset;
140 if (flagNames != NULL && offset>0) {
141 offset--; /* Move offset back 1 because of '='*/
143 if (uprv_strncmp(buffer, flagNames[i], offset) == 0) {
157 int32_t offset = 0; local
159 for (offset
[all...]
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_batch.h44 #define OUT_RELOC(buf, usage, offset) \
45 i915_winsys_batchbuffer_reloc(i915->batch, buf, usage, offset, false)
47 #define OUT_RELOC_FENCED(buf, usage, offset) \
48 i915_winsys_batchbuffer_reloc(i915->batch, buf, usage, offset, true)
H A Di915_debug_private.h36 unsigned offset; /* current gtt offset */ member in struct:debug_stream
37 char *ptr; /* pointer to gtt offset zero */
38 char *end; /* pointer to gtt offset zero */
/external/mesa3d/src/mesa/drivers/dri/nouveau/
H A Dnouveau_scratch.c32 * and 'offset' will point to the returned memory.
36 struct nouveau_bo **bo, unsigned *offset)
43 if (scratch->buf && size <= NOUVEAU_SCRATCH_SIZE - scratch->offset) {
46 buf = scratch->buf + scratch->offset;
47 *offset = scratch->offset;
48 scratch->offset += size;
57 *offset = 0;
58 scratch->offset = size;
67 *offset
35 nouveau_get_scratch(struct gl_context *ctx, unsigned size, struct nouveau_bo **bo, unsigned *offset) argument
[all...]
/external/oprofile/libabi/
H A Dop_abi.h19 /// offset or size of the named entry
20 int offset; member in struct:op_abi_entry
/external/qemu/include/qemu/
H A Diov.h30 * `iov_cnt' number of elements, starting at byte position `offset'
34 * min(bytes, iov_size(iov)-offset)
43 size_t offset, const void *buf, size_t bytes);
45 size_t offset, void *buf, size_t bytes);
49 * starting at byte offset `start', to value `fillc', repeating it
54 * min(size, iov_size(iov) - offset).
58 size_t offset, int fillc, size_t bytes);
63 * `offset' bytes in the beginning of iovec buffer are skipped and
66 * r = iov_send_recv(sockfd, iov, iovcnt, offset, bytes, true);
71 * iov_to_buf(iov, iovcnt, offset, bu
[all...]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/
H A DFileDataStore.java17 @Nonnull @Override public OutputStream outputAt(int offset) { argument
18 return new RandomAccessFileOutputStream(raf, offset);
21 @Nonnull @Override public InputStream readAt(int offset) { argument
22 return new RandomAccessFileInputStream(raf, offset);
/external/chromium_org/mojo/public/tools/bindings/pylib/mojom/generate/
H A Dpack.py12 # will have an offset, a size and a bit (for mojom.BOOLs).
59 self.offset = None
64 def GetPad(offset, size):
65 return (size - (offset % size)) % size
68 # Returns a 2-tuple of the field offset and bit (for BOOLs)
73 return (last_field.offset, last_field.bit + 1)
75 offset = last_field.offset + last_field.size
76 pad = GetPad(offset, field.size)
77 return (offset
[all...]
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DTypedArrayBase.h40 bool set(TypedArrayBase<T>* array, unsigned offset) argument
42 return setImpl(array, offset * sizeof(T));
45 bool setRange(const T* data, size_t dataLength, unsigned offset) argument
47 return setRangeImpl(reinterpret_cast<const char*>(data), dataLength * sizeof(T), offset * sizeof(T));
50 bool zeroRange(unsigned offset, size_t length) argument
52 return zeroRangeImpl(offset * sizeof(T), length * sizeof(T));
76 bool checkInboundData(unsigned offset, unsigned pos) const
78 return (offset <= m_length
79 && offset + pos <= m_length
81 && offset
[all...]
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
H A DOffsettedItem.java23 * An item in a Dalvik file which is referenced by absolute offset.
41 * {@code >= -1;} assigned offset of the item from the start of its section,
44 private int offset; field in class:OffsettedItem
47 * Gets the absolute offset of the given item, returning {@code 0}
51 * @return {@code >= 0;} the item's absolute offset, or {@code 0}
63 * Constructs an instance. The offset is initially unassigned.
80 this.offset = -1;
182 * Gets the relative item offset. The offset is from the start of
185 * @return {@code >= 0;} the offset
223 place(Section addedTo, int offset) argument
301 place0(Section addedTo, int offset) argument
[all...]
/external/lldb/include/lldb/Core/
H A DDataEncoder.h149 /// Get the shared data offset.
151 /// Get the offset of the first byte of data in the shared data (if
156 /// the offset in bytes into that shared data, zero otherwise.
195 /// Encode unsigned integer values into the data at \a offset.
197 /// @param[in] offset
198 /// The offset within the contained data at which to put the
205 /// The next offset in the bytes of this data if the data
209 PutU8 (uint32_t offset, uint8_t value);
212 PutU16 (uint32_t offset, uint16_t value);
215 PutU32 (uint32_t offset, uint32_
427 ValidOffsetForDataOfSize(uint32_t offset, uint32_t length) const argument
[all...]
/external/elfutils/0.153/libdw/
H A Ddwarf_getabbrev.c1 /* Get abbreviation at given offset.
62 __libdw_getabbrev (dbg, cu, offset, lengthp, result)
65 Dwarf_Off offset;
73 if (offset >= dbg->sectiondata[IDX_debug_abbrev]->d_size)
80 = (unsigned char *) dbg->sectiondata[IDX_debug_abbrev]->d_buf + offset;
121 assert (abb->offset == offset);
135 abb->offset = offset;
162 dwarf_getabbrev (die, offset, length
[all...]
/external/proguard/src/proguard/classfile/instruction/
H A DBranchInstruction.java28 * This interface describes an instruction that branches to a given offset in
115 protected void readInfo(byte[] code, int offset) argument
117 branchOffset = readSignedValue(code, offset, branchOffsetSize());
121 protected void writeInfo(byte[] code, int offset) argument
125 throw new IllegalArgumentException("Instruction has invalid branch offset size ("+this.toString(offset)+")");
128 writeSignedValue(code, offset, branchOffset, branchOffsetSize());
132 public int length(int offset) argument
138 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, InstructionVisitor instructionVisitor) argument
140 instructionVisitor.visitBranchInstruction(clazz, method, codeAttribute, offset, thi
144 toString(int offset) argument
[all...]
/external/chromium_org/pdf/
H A Dchunk_stream.cc39 bool ChunkStream::WriteData(size_t offset, void* buffer, size_t size) { argument
40 if (SIZE_MAX - size < offset)
43 if (data_.size() < offset + size)
44 data_.resize(offset + size);
46 memcpy(&data_[offset], buffer, size);
49 chunks_[offset] = size;
53 std::map<size_t, size_t>::iterator start = chunks_.upper_bound(offset);
55 --start; // start now points to the key equal or lower than offset.
56 if (start->first + start->second < offset)
59 std::map<size_t, size_t>::iterator end = chunks_.upper_bound(offset
78 ReadData(size_t offset, size_t size, void* buffer) const argument
86 GetMissedRanges( size_t offset, size_t size, std::vector<std::pair<size_t, size_t> >* ranges) const argument
131 IsRangeAvailable(size_t offset, size_t size) const argument
[all...]
/external/lldb/test/python_api/sbdata/
H A DTestSBData.py81 offset = 0
84 self.assert_data(data.GetUnsignedInt32, offset, 1)
85 offset += 4
86 low = data.GetSignedInt16(error, offset)
88 offset += 2
89 high = data.GetSignedInt16(error, offset)
91 offset += 2
93 self.assertTrue( fabs(data.GetFloat(error, offset) - 3.14) < 1, 'foo[0].c == 3.14')
95 offset += 4
96 self.assert_data(data.GetUnsignedInt32, offset,
[all...]
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_StringWriter.java97 * Writes <code>count</code> characters starting at <code>offset</code>
101 * @param offset offset in buf to retrieve characters
104 * If offset or count are outside of bounds.
107 public void write(char[] buf, int offset, int count) { argument
109 if (0 <= offset && offset <= buf.length && 0 <= count
110 && count <= buf.length - offset) {
112 this.buf.append(buf, offset, count);
148 * <code>offset</cod
158 write(String str, int offset, int count) argument
[all...]
/external/chromium_org/base/allocator/
H A Dtcmalloc_unittest.cc19 for (int offset = 1; offset < kPageSize ; offset <<= 1) {
20 ASSERT_DEATH(TCMallocDoFreeForTest(p + offset),
29 for (int offset = kPageSize; offset < kMaxSize; offset += kPageSize) {
32 ASSERT_DEATH(TCMallocDoFreeForTest(p + offset),
/external/chromium_org/media/cast/test/
H A Dfake_receiver_time_offset_estimator.cc12 base::TimeDelta offset)
13 : offset_(offset) {}
11 FakeReceiverTimeOffsetEstimator( base::TimeDelta offset) argument
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DCharacterData.idl26 [RaisesException] DOMString? substringData(unsigned long offset, unsigned long length);
29 [RaisesException] void insertData(unsigned long offset, DOMString data);
30 [RaisesException] void deleteData(unsigned long offset, unsigned long length);
31 [RaisesException] void replaceData(unsigned long offset, unsigned long length, DOMString data);
/external/chromium_org/third_party/icu/source/common/unicode/
H A Drep.h44 * offset and a limit offset. The range of characters thus specified
45 * includes the characters at offset start..limit-1. That is, the
46 * start offset is inclusive, and the limit offset is exclusive.
88 * Returns the 16-bit code unit at the given offset into the text.
89 * @param offset an integer between 0 and <code>length()</code>-1
91 * @return 16-bit code unit of text at given offset
94 inline UChar charAt(int32_t offset) const;
97 * Returns the 32-bit code point at the given 16-bit offset int
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nouveau/
H A Dnouveau_mm.h13 uint32_t offset; member in struct:nouveau_mm_allocation
25 struct nouveau_bo **, uint32_t *offset);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
H A Dnouveau_scratch.h37 int offset; member in struct:nouveau_scratch_state
43 struct nouveau_bo **bo, unsigned *offset);

Completed in 655 milliseconds

1234567891011>>