Searched refs:offset (Results 76 - 100 of 6810) sorted by relevance

1234567891011>>

/external/e2fsprogs/lib/blkid/
H A Dllseek.c41 extern long long llseek(int fd, long long offset, int origin);
69 static blkid_loff_t my_llseek(int fd, blkid_loff_t offset, int origin) argument
75 retval = _llseek(fd, ((unsigned long long) offset) >> 32,
76 ((unsigned long long)offset) & 0xffffffff,
79 retval = syscall(__NR__llseek, fd, ((unsigned long long) offset) >> 32,
80 ((unsigned long long)offset) & 0xffffffff,
90 blkid_loff_t blkid_llseek(int fd, blkid_loff_t offset, int whence) argument
96 (offset < ((blkid_loff_t) 1 << ((sizeof(off_t)*8) -1))))
97 return lseek(fd, (off_t) offset, whence);
104 result = my_llseek(fd, offset, whenc
126 blkid_llseek(int fd, blkid_loff_t offset, int origin) argument
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Dllseek.c42 extern long long llseek (int fd, long long offset, int origin);
70 static ext2_loff_t my_llseek (int fd, ext2_loff_t offset, int origin) argument
76 retval = _llseek(fd, ((unsigned long long) offset) >> 32,
78 retval = syscall(__NR__llseek, fd, (unsigned long long) (offset >> 32),
80 ((unsigned long long) offset) & 0xffffffff,
90 ext2_loff_t ext2fs_llseek (int fd, ext2_loff_t offset, int origin) argument
93 return my_llseek (fd, offset, origin);
101 result = my_llseek (fd, offset, origin);
109 if (offset < ((ext2_loff_t) 1 << ((sizeof(off_t)*8) -1)))
110 return lseek(fd, (off_t) offset, origi
124 ext2fs_llseek(int fd, ext2_loff_t offset, int origin) argument
[all...]
/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
H A DEncoder.java21 * It also keeps track of the associated handles, and the offset of the current data section.
100 * Base offset in the byte buffer for writing.
157 * Encode a byte at the given offset.
159 public void encode(byte v, int offset) { argument
160 mEncoderState.byteBuffer.put(mBaseOffset + offset, v);
164 * Encode a boolean at the given offset.
166 public void encode(boolean v, int offset, int bit) { argument
168 byte encodedValue = mEncoderState.byteBuffer.get(mBaseOffset + offset);
170 mEncoderState.byteBuffer.put(mBaseOffset + offset, encodedValue);
175 * Encode a short at the given offset
177 encode(short v, int offset) argument
184 encode(int v, int offset) argument
191 encode(float v, int offset) argument
198 encode(long v, int offset) argument
205 encode(double v, int offset) argument
212 encode(Struct v, int offset, boolean nullable) argument
224 encode(String v, int offset, boolean nullable) argument
238 encode(Handle v, int offset, boolean nullable) argument
250 encode(T v, int offset, boolean nullable, Interface.Manager<T, ?> manager) argument
279 encode(InterfaceRequest<I> v, int offset, boolean nullable) argument
294 encodePointerArray(int length, int offset, int expectedLength) argument
301 encode(boolean[] v, int offset, int arrayNullability, int expectedLength) argument
325 encode(byte[] v, int offset, int arrayNullability, int expectedLength) argument
340 encode(short[] v, int offset, int arrayNullability, int expectedLength) argument
351 encode(int[] v, int offset, int arrayNullability, int expectedLength) argument
362 encode(float[] v, int offset, int arrayNullability, int expectedLength) argument
373 encode(long[] v, int offset, int arrayNullability, int expectedLength) argument
384 encode(double[] v, int offset, int arrayNullability, int expectedLength) argument
395 encode(Handle[] v, int offset, int arrayNullability, int expectedLength) argument
411 encode(T[] v, int offset, int arrayNullability, int expectedLength, Interface.Manager<T, ?> manager) argument
428 encode(InterfaceRequest<I>[] v, int offset, int arrayNullability, int expectedLength) argument
446 encodeNullPointer(int offset, boolean nullable) argument
457 encodeInvalidHandle(int offset, boolean nullable) argument
465 encodePointerToNextUnclaimedData(int offset) argument
469 encoderForArray( int elementSizeInByte, int length, int offset, int expectedLength) argument
478 encoderForArrayByTotalSize(int byteSize, int length, int offset) argument
484 encodeByteArray(byte[] bytes, int length, int offset) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
H A Ddraw_pipe_offset.c29 * \brief polygon offset state
68 struct offset_stage *offset = offset_stage(stage); local
92 float zoffset = offset->units + MAX2(dzdx, dzdy) * offset->scale;
94 if (offset->clamp)
95 zoffset = (offset->clamp < 0.0f) ? MAX2(zoffset, offset->clamp) :
96 MIN2(zoffset, offset->clamp);
99 * Note: we're applying the offset and clamping per-vertex.
100 * Ideally, the offset i
129 struct offset_stage *offset = offset_stage(stage); local
168 struct offset_stage *offset = CALLOC_STRUCT(offset_stage); local
[all...]
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_offset.c29 * \brief polygon offset state
68 struct offset_stage *offset = offset_stage(stage); local
92 float zoffset = offset->units + MAX2(dzdx, dzdy) * offset->scale;
94 if (offset->clamp)
95 zoffset = (offset->clamp < 0.0f) ? MAX2(zoffset, offset->clamp) :
96 MIN2(zoffset, offset->clamp);
99 * Note: we're applying the offset and clamping per-vertex.
100 * Ideally, the offset i
129 struct offset_stage *offset = offset_stage(stage); local
168 struct offset_stage *offset = CALLOC_STRUCT(offset_stage); local
[all...]
/external/proguard/src/proguard/classfile/attribute/preverification/visitor/
H A DVerificationTypeVisitor.java36 public void visitIntegerType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, IntegerType integerType); argument
37 public void visitFloatType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, FloatType floatType); argument
38 public void visitLongType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LongType longType); argument
39 public void visitDoubleType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, DoubleType doubleType); argument
40 public void visitTopType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, TopType topType); argument
41 public void visitObjectType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ObjectType objectType); argument
42 public void visitNullType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, NullType nullType); argument
43 public void visitUninitializedType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, UninitializedType uninitializedType); argument
44 public void visitUninitializedThisType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, UninitializedThisType uninitializedThisType); argument
46 public void visitStackIntegerType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, in argument
47 visitStackFloatType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, FloatType floatType) argument
48 visitStackLongType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, LongType longType) argument
49 visitStackDoubleType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, DoubleType doubleType) argument
50 visitStackTopType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, TopType topType) argument
51 visitStackObjectType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, ObjectType objectType) argument
52 visitStackNullType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, NullType nullType) argument
53 visitStackUninitializedType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, UninitializedType uninitializedType) argument
54 visitStackUninitializedThisType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, UninitializedThisType uninitializedThisType) argument
56 visitVariablesIntegerType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, IntegerType integerType) argument
57 visitVariablesFloatType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, FloatType floatType) argument
58 visitVariablesLongType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, LongType longType) argument
59 visitVariablesDoubleType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, DoubleType doubleType) argument
60 visitVariablesTopType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, TopType topType) argument
61 visitVariablesObjectType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, ObjectType objectType) argument
62 visitVariablesNullType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, NullType nullType) argument
63 visitVariablesUninitializedType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, UninitializedType uninitializedType) argument
64 visitVariablesUninitializedThisType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, UninitializedThisType uninitializedThisType) argument
[all...]
/external/proguard/src/proguard/optimize/evaluation/
H A DLivenessAnalyzer.java82 * Returns whether the instruction at the given offset has ever been
93 * at the given offset.
104 * at the given offset.
124 * at the given offset.
135 * at the given offset.
155 * instruction at the given offset.
166 * instruction at the given offset.
223 for (int offset = codeLength - 1; offset >= 0; offset
345 visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) argument
348 visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
373 visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DMediaFragmentURIParser.cpp105 unsigned offset = 0; local
107 while (offset < end) {
113 size_t parameterStart = offset;
114 size_t parameterEnd = fragmentString.find('&', offset);
118 size_t equalOffset = fragmentString.find('=', offset);
120 offset = parameterEnd + 1;
148 offset = parameterEnd + 1;
199 unsigned offset = 0; local
201 offset += nptIdentiferLength;
203 if (offset
236 parseNPTTime(const LChar* timeString, unsigned length, unsigned& offset, double& time) argument
[all...]
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
H A Deditable_text_area_shadow.js80 var offset = 0; variable
86 while (offset <= text.length) {
87 range.setStart(textNode, offset);
91 if (offset + SKIP > text.length ||
92 text.substr(offset, SKIP).indexOf('\n') >= 0) {
98 offset++;
99 range.setEnd(textNode, offset);
103 range.setEnd(textNode, offset + SKIP);
107 offset += SKIP;
113 offset
[all...]
/external/chromium_org/base/files/
H A Dmemory_mapped_file.cc16 MemoryMappedFile::Region::Region(base::LinkerInitialized) : offset(0), size(0) {
19 MemoryMappedFile::Region::Region(int64 offset, int64 size) argument
20 : offset(offset), size(size) {
21 DCHECK_GE(offset, 0);
27 return other.offset == offset && other.size == size;
80 int32* offset) {
84 *offset = start & mask;
86 *aligned_size = (size + *offset
76 CalculateVMAlignedBoundaries(int64 start, int64 size, int64* aligned_start, int64* aligned_size, int32* offset) argument
[all...]
/external/chromium_org/net/disk_cache/blockfile/
H A Dmapped_file_avoid_mmap_posix.cc43 for (size_t offset = 0; offset < view_size_; offset += block_size) {
44 size_t size = std::min(view_size_ - offset, block_size);
45 if (memcmp(snapshot_ptr + offset, buffer_ptr + offset, size)) {
46 memcpy(snapshot_ptr + offset, buffer_ptr + offset, size);
47 Write(snapshot_ptr + offset, size, offset);
[all...]
/external/chromium_org/third_party/ots/src/
H A Dloca.cc34 // Note that the <= here (and below) is correct. There is one more offset
38 uint16_t offset = 0; local
39 if (!table.ReadU16(&offset)) {
42 if (offset < last_offset) {
45 last_offset = offset;
46 loca->offsets[i] = offset * 2;
50 uint32_t offset = 0; local
51 if (!table.ReadU32(&offset)) {
54 if (offset < last_offset) {
57 last_offset = offset;
[all...]
/external/elfutils/0.153/libdw/
H A Ddwarf_offdie.c1 /* Return DIE at given offset.
61 __libdw_offdie (Dwarf *dbg, Dwarf_Off offset, Dwarf_Die *result, argument
69 if (offset >= data->d_size)
79 result->addr = (char *) data->d_buf + offset;
82 result->cu = __libdw_findcu (dbg, offset, debug_types);
95 dwarf_offdie (dbg, offset, result)
97 Dwarf_Off offset;
100 return __libdw_offdie (dbg, offset, result, false);
105 dwarf_offdie_types (dbg, offset, result)
107 Dwarf_Off offset; variable
[all...]
/external/guava/guava/src/com/google/common/collect/
H A DRegularImmutableList.java34 private final transient int offset; field in class:RegularImmutableList
38 RegularImmutableList(Object[] array, int offset, int size) { argument
39 this.offset = offset;
58 return offset != 0 || size != array.length;
68 return (UnmodifiableIterator<E>) Iterators.forArray(array, offset, size);
73 System.arraycopy(array, offset, newArray, 0, size);
83 System.arraycopy(array, offset, other, 0, size);
92 return (E) array[index + offset];
97 for (int i = offset;
[all...]
/external/proguard/src/proguard/optimize/peephole/
H A DReachableCodeMarker.java51 * Returns whether the instruction at the given offset is reachable in
54 public boolean isReachable(int offset) argument
56 return isReachable[offset];
67 for (int offset = startOffset; offset < endOffset; offset++)
69 if (isReachable[offset])
115 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) argument
131 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) argument
136 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstructio argument
145 visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) argument
162 visitAnySwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SwitchInstruction switchInstruction) argument
202 markBranchTargets(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int[] jumpOffsets) argument
214 markBranchTarget(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset) argument
227 markCode(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset) argument
[all...]
/external/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.cpp29 lldb::offset_t *offset,
33 const lldb::offset_t saved_offset = *offset;
34 *value = data.GetMaxU64(offset, byte_size);
35 return *offset != saved_offset;
40 lldb::offset_t *offset,
45 lldb::offset_t saved_offset = *offset;
49 if (GetMaxU64(data, offset, value, byte_size) == false)
51 *offset = saved_offset;
60 lldb::offset_t *offset,
64 const lldb::offset_t saved_offset = *offset;
28 GetMaxU64(const lldb_private::DataExtractor &data, lldb::offset_t *offset, uint64_t *value, uint32_t byte_size) argument
39 GetMaxU64(const lldb_private::DataExtractor &data, lldb::offset_t *offset, uint64_t *value, uint32_t byte_size, uint32_t count) argument
59 GetMaxS64(const lldb_private::DataExtractor &data, lldb::offset_t *offset, int64_t *value, uint32_t byte_size) argument
70 GetMaxS64(const lldb_private::DataExtractor &data, lldb::offset_t *offset, int64_t *value, uint32_t byte_size, uint32_t count) argument
108 Parse(lldb_private::DataExtractor &data, lldb::offset_t *offset) argument
200 Parse(const lldb_private::DataExtractor &data, lldb::offset_t *offset) argument
321 Parse(const lldb_private::DataExtractor &data, lldb::offset_t *offset) argument
370 Parse(const lldb_private::DataExtractor &data, lldb::offset_t *offset) argument
415 Parse(const lldb_private::DataExtractor &data, lldb::offset_t *offset) argument
430 Parse(const lldb_private::DataExtractor &data, lldb::offset_t *offset) argument
450 Parse(const lldb_private::DataExtractor &data, lldb::offset_t *offset) argument
[all...]
/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DSuballocatedIntVector.java162 int offset=m_firstFree&m_MASK;
174 block[offset]=value;
179 m_buildCacheStartIndex = m_firstFree-offset;
200 int offset=m_firstFree&m_MASK;
214 int copied=(m_blocksize-offset < numberOfElements)
215 ? m_blocksize-offset : numberOfElements;
218 block[offset++]=value;
220 ++index;offset=0;
272 int offset=at&m_MASK;
273 block[offset]
[all...]
/external/chromium_org/media/base/
H A Dcontainer_names.cc101 int offset = 0; local
102 while (offset + 6 < buffer_size) {
103 BitReader reader(buffer + offset, 6);
127 offset += size;
143 int offset = 0; local
144 while (offset + 6 < buffer_size) {
145 BitReader reader(buffer + offset, 6);
164 offset += kAc3FrameSizeTable[frame_size_code][sample_rate_code];
178 int offset = 0;
179 while (offset
280 int offset = 0; local
335 int offset = 0; local
400 int offset = 0; local
414 AdvanceToStartCode(const uint8* buffer, int buffer_size, int* offset, int bytes_needed, int num_bits, uint32 start_code) argument
441 int offset = 0; local
490 int offset = 0; local
558 int offset = 0; local
618 int offset = strlen(kHlsSignature); local
639 int offset = 0; local
707 int offset = 0; local
809 int offset = 0; local
880 int offset = 0; local
955 int offset = 0; local
1100 int offset = 0; local
1126 VerifyNumber(const uint8* buffer, int buffer_size, int* offset, int max_digits) argument
1154 VerifyCharacters(const uint8* buffer, int buffer_size, int* offset, char c1, char c2) argument
1170 int offset = StartsWith(buffer, buffer_size, UTF8_BYTE_ORDER_MARK) ? 3 : 0; local
1356 int offset = 0; local
1660 int offset = 1; // No need to start at byte 0 due to First4 check. local
[all...]
/external/chromium_org/third_party/mesa/src/src/glx/
H A Dpackrender.h157 #define __GLX_PUT_CHAR(offset,a) \
158 *((INT8 *) (pc + offset)) = a
161 #define __GLX_PUT_SHORT(offset,a) \
162 *((INT16 *) (pc + offset)) = a
164 #define __GLX_PUT_LONG(offset,a) \
165 *((INT32 *) (pc + offset)) = a
167 #define __GLX_PUT_FLOAT(offset,a) \
168 *((FLOAT32 *) (pc + offset)) = a
171 #define __GLX_PUT_SHORT(offset,a) \
172 { GLubyte *cp = (pc+offset); \
[all...]
/external/mesa3d/src/glx/
H A Dpackrender.h157 #define __GLX_PUT_CHAR(offset,a) \
158 *((INT8 *) (pc + offset)) = a
161 #define __GLX_PUT_SHORT(offset,a) \
162 *((INT16 *) (pc + offset)) = a
164 #define __GLX_PUT_LONG(offset,a) \
165 *((INT32 *) (pc + offset)) = a
167 #define __GLX_PUT_FLOAT(offset,a) \
168 *((FLOAT32 *) (pc + offset)) = a
171 #define __GLX_PUT_SHORT(offset,a) \
172 { GLubyte *cp = (pc+offset); \
[all...]
/external/chromium_org/pdf/
H A Dchunk_stream.h27 bool WriteData(size_t offset, void* buffer, size_t size);
28 bool ReadData(size_t offset, size_t size, void* buffer) const;
30 // Returns vector of pairs where first is an offset, second is a size.
31 bool GetMissedRanges(size_t offset, size_t size,
33 bool IsRangeAvailable(size_t offset, size_t size) const;
36 size_t GetLastByteBefore(size_t offset) const;
37 size_t GetFirstByteAfter(size_t offset) const;
/external/chromium_org/storage/common/
H A Ddata_element.cc20 uint64 offset, uint64 length,
24 offset_ = offset;
31 uint64 offset, uint64 length) {
34 offset_ = offset;
40 uint64 offset, uint64 length,
44 offset_ = offset;
18 SetToFilePathRange( const base::FilePath& path, uint64 offset, uint64 length, const base::Time& expected_modification_time) argument
29 SetToBlobRange( const std::string& blob_uuid, uint64 offset, uint64 length) argument
38 SetToFileSystemUrlRange( const GURL& filesystem_url, uint64 offset, uint64 length, const base::Time& expected_modification_time) argument
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DChildNodeList.cpp49 Node* ChildNodeList::traverseForwardToOffset(unsigned offset, Node& currentNode, unsigned& currentOffset) const argument
51 ASSERT(currentOffset < offset);
53 if (++currentOffset == offset)
59 Node* ChildNodeList::traverseBackwardToOffset(unsigned offset, Node& currentNode, unsigned& currentOffset) const argument
61 ASSERT(currentOffset > offset);
63 if (--currentOffset == offset)
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DLayerFragment.h49 void moveBy(const LayoutPoint& offset) argument
51 layerBounds.moveBy(offset);
52 backgroundRect.moveBy(offset);
53 foregroundRect.moveBy(offset);
54 outlineRect.moveBy(offset);
55 paginationClip.moveBy(offset);
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/
H A DIndexRangeCache.h26 void addRange(GLenum type, unsigned int offset, GLsizei count, const RangeUI &range,
28 bool findRange(GLenum type, unsigned int offset, GLsizei count, RangeUI *rangeOut,
31 void invalidateRange(unsigned int offset, unsigned int size);
40 unsigned int offset; member in struct:rx::IndexRangeCache::IndexRange
44 IndexRange(GLenum type, intptr_t offset, GLsizei count);
55 IndexBounds(const RangeUI &range, unsigned int offset);

Completed in 9392 milliseconds

1234567891011>>