Searched refs:offset (Results 51 - 75 of 4102) sorted by relevance

1234567891011>>

/external/icu/icu4c/source/i18n/
H A Dregextxt.cpp18 uregex_utext_unescape_charAt(int32_t offset, void *ct) { argument
21 if (offset == context->lastOffset + 1) {
24 } else if (offset == context->lastOffset) {
28 utext_moveIndex32(context->text, offset - context->lastOffset - 1);
30 context->lastOffset = offset;
42 uregex_ucstr_unescape_charAt(int32_t offset, void *context) { argument
43 return ((UChar *)context)[offset];
/external/strace/tests/
H A Dmmap.c17 off_t offset; local
21 offset = 0xcafedeadbeef000 & -pagesize;
24 offset = 0xdeadbeef000 & -pagesize;
29 MAP_PRIVATE | MAP_ANONYMOUS, fd, offset);
35 if (sizeof(offset) == sizeof(int))
38 addr, length, fd, (unsigned int) offset, p);
42 addr, length, fd, (uintmax_t) offset, p);
/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/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/elfutils/src/tests/
H A Drun-readelf-aranges.sh116 DWARF section [27] '.debug_aranges' at offset 0x1044:
118 Table at offset 0:
122 CU offset: 0
128 Table at offset 32:
132 CU offset: 136
139 Table at offset 72:
143 CU offset: 1d1
153 DWARF section [27] '.debug_aranges' at offset 0x1044 contains 5 entries:
154 [0] start: 0x080482f0, length: 52, CU DIE offset: 11
155 [1] start: 0x08048330, length: 11, CU DIE offset
[all...]
H A Ddwfl-bug-getmodules.c55 ptrdiff_t offset = dwfl_getmodules (dwfl, &iterate, dwfl, 0); local
56 if (offset <= 0)
59 offset = dwfl_getmodules (dwfl, &iterate, NULL, offset);
60 if (offset != 0)
61 error (1, 0, "dwfl_getmodules (%d): %s", (int) offset, dwfl_errmsg (-1));
/external/elfutils/src/libdw/
H A Ddwarf_offdie.c1 /* Return DIE at given offset.
40 __libdw_offdie (Dwarf *dbg, Dwarf_Off offset, Dwarf_Die *result, argument
48 if (offset >= data->d_size)
58 result->addr = (char *) data->d_buf + offset;
61 result->cu = __libdw_findcu (dbg, offset, debug_types);
74 dwarf_offdie (dbg, offset, result)
76 Dwarf_Off offset;
79 return __libdw_offdie (dbg, offset, result, false);
84 dwarf_offdie_types (dbg, offset, result)
86 Dwarf_Off offset; variable
[all...]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
H A DBOCSU.java253 * @param offset to the byte buffer to start appending
254 * @return end offset where the appending stops
256 private static final int writeDiff(int diff, byte buffer[], int offset) argument
260 buffer[offset ++] = (byte)(SLOPE_MIDDLE_ + diff);
263 buffer[offset ++] = (byte)(SLOPE_START_POS_2_
265 buffer[offset ++] = (byte)(SLOPE_MIN_ +
269 buffer[offset + 2] = (byte)(SLOPE_MIN_
272 buffer[offset + 1] = (byte)(SLOPE_MIN_
274 buffer[offset] = (byte)(SLOPE_START_POS_3_
276 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/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/elfutils/src/libelf/
H A Dgelf_getverdaux.c1 /* Get additional symbol version definition information at the given offset.
42 gelf_getverdaux (data, offset, dst)
44 int offset;
67 if (unlikely (offset < 0)
68 || unlikely (offset + sizeof (GElf_Verdaux) > data->d_size)
69 || unlikely (offset % __alignof__ (GElf_Verdaux) != 0))
75 result = (GElf_Verdaux *) memcpy (dst, (char *) data->d_buf + offset,
H A Dgelf_getverdef.c1 /* Get symbol version definition information at the given offset.
42 gelf_getverdef (data, offset, dst)
44 int offset;
67 if (unlikely (offset < 0)
68 || unlikely (offset + sizeof (GElf_Verdef) > data->d_size)
69 || unlikely (offset % __alignof__ (GElf_Verdef) != 0))
75 result = (GElf_Verdef *) memcpy (dst, (char *) data->d_buf + offset,
H A Dgelf_getvernaux.c1 /* Get additional required symbol version information at the given offset.
42 gelf_getvernaux (data, offset, dst)
44 int offset;
70 if (unlikely (offset < 0)
71 || unlikely (offset + sizeof (GElf_Vernaux) > data->d_size)
72 || unlikely (offset % sizeof (GElf_Vernaux) != 0))
78 result = (GElf_Vernaux *) memcpy (dst, (char *) data->d_buf + offset,
H A Dgelf_getverneed.c1 /* Get required symbol version information at the given offset.
42 gelf_getverneed (data, offset, dst)
44 int offset;
70 if (unlikely (offset < 0)
71 || unlikely (offset + sizeof (GElf_Verneed) > data->d_size)
72 || unlikely (offset % sizeof (GElf_Verneed) != 0))
78 result = (GElf_Verneed *) memcpy (dst, (char *) data->d_buf + offset,
/external/lzma/CPP/7zip/Common/
H A DOffsetStream.cpp8 HRESULT COffsetOutStream::Init(IOutStream *stream, UInt64 offset) argument
10 _offset = offset;
12 return _stream->Seek(offset, STREAM_SEEK_SET, NULL);
20 STDMETHODIMP COffsetOutStream::Seek(Int64 offset, UInt32 seekOrigin, argument
25 offset += _offset;
26 HRESULT result = _stream->Seek(offset, seekOrigin, &absoluteNewPosition);
/external/lzma/CS/7zip/Common/
H A DCRC.cs34 public void Update(byte[] data, uint offset, uint size) argument
37 _value = Table[(((byte)(_value)) ^ data[offset + i])] ^ (_value >> 8);
42 static uint CalculateDigest(byte[] data, uint offset, uint size) argument
46 crc.Update(data, offset, size);
50 static bool VerifyDigest(uint digest, byte[] data, uint offset, uint size) argument
52 return (CalculateDigest(data, offset, size) == digest);
/external/mesa3d/src/gallium/drivers/svga/include/
H A Dsvga3d_caps.h68 * Header field leading each caps block record. Contains the offset (in
121 uint32 offset; local
126 for (offset = 0; capsBlock[offset] != 0; offset += capsBlock[offset]) {
127 record = (SVGA3dCapsRecord *) (capsBlock + offset);
/external/proguard/src/proguard/classfile/instruction/visitor/
H A DInstructionVisitor.java36 public void visitSimpleInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction); argument
37 public void visitVariableInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction); argument
38 public void visitConstantInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction); argument
39 public void visitBranchInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction); argument
40 public void visitTableSwitchInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, TableSwitchInstruction tableSwitchInstruction); argument
41 public void visitLookUpSwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LookUpSwitchInstruction lookUpSwitchInstruction); argument
/external/google-breakpad/src/common/mac/
H A Dmacho_walker.cc92 off_t offset; local
93 if (FindHeader(valid_cpu_type, valid_cpu_subtype, offset)) {
95 return WalkHeader64AtOffset(offset);
97 return WalkHeaderAtOffset(offset);
103 bool MachoWalker::ReadBytes(void *buffer, size_t size, off_t offset) { argument
105 if (offset < 0)
108 if (offset + size > memory_size_) {
109 if (static_cast<size_t>(offset) >= memory_size_)
111 size = memory_size_ - static_cast<size_t>(offset);
114 memcpy(buffer, static_cast<char *>(memory_) + offset, siz
121 CurrentHeader(struct mach_header_64 *header, off_t *offset) argument
131 FindHeader(cpu_type_t cpu_type, cpu_subtype_t cpu_subtype, off_t &offset) argument
204 WalkHeaderAtOffset(off_t offset) argument
230 WalkHeader64AtOffset(off_t offset) argument
250 WalkHeaderCore(off_t offset, uint32_t number_of_commands, bool swap) argument
[all...]
/external/emma/core/java12/com/vladium/jcd/cls/
H A DIMethodCollection.java30 * Returns {@link Method_info} descriptor at a given offset.
32 * @param offset method offset [must be in [0, size()) range; input not checked]
35 * @throws IndexOutOfBoundsException if 'offset' is outside of valid range
37 Method_info get (int offset); argument
77 * Replaces the Method_info descriptor at a given offset. No duplicate
82 * @param offset method offset [must be in [0, size()) range; input not checked]
84 * @return previous method descriptor at this offset [never null]
86 * @throws IndexOutOfBoundsException if 'offset' i
88 set(int offset, Method_info method) argument
101 remove(int offset) argument
[all...]

Completed in 1229 milliseconds

1234567891011>>