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

1234567891011>>

/external/strace/
H A Daccess.c8 decode_access(struct tcb *tcp, int offset) argument
11 printpath(tcp, tcp->u_arg[offset]);
13 printflags(access_flags, tcp->u_arg[offset + 1], "?_OK");
H A Dchmod.c4 decode_chmod(struct tcb *tcp, int offset) argument
7 printpath(tcp, tcp->u_arg[offset]);
8 tprintf(", %#lo", tcp->u_arg[offset + 1]);
/external/v8/test/webkit/
H A Ddfg-intrinsic-unused-this-method-check.js37 var offset = 0; variable
41 offset = 42;
48 shouldBe("baz(object, " + i + ", " + (i * 2) + ")", "" + (offset + Math.max(i, i * 2)));
/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/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/vboot_reference/firmware/lib/
H A Dregion-init.c21 enum vb_firmware_region region, uint32_t offset,
26 if (offset + size > cparams->gbb_size)
28 Memcpy(buf, cparams->gbb_data + offset, size);
34 ret = VbExRegionRead(cparams, region, offset, size, buf);
20 VbRegionReadData(VbCommonParams *cparams, enum vb_firmware_region region, uint32_t offset, uint32_t size, void *buf) argument
/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/v8/src/compiler/
H A Dframe.h75 // Represents an offset from either the stack pointer or frame pointer.
80 inline int offset() { return offset_ & ~1; } function in class:v8::internal::compiler::FrameOffset
82 inline static FrameOffset FromStackPointer(int offset) { argument
83 DCHECK((offset & 1) == 0);
84 return FrameOffset(offset | kFromSp);
87 inline static FrameOffset FromFramePointer(int offset) { argument
88 DCHECK((offset & 1) == 0);
89 return FrameOffset(offset | kFromFp);
93 explicit FrameOffset(int offset) : offset_(offset) {} argument
[all...]
/external/proguard/src/proguard/optimize/evaluation/
H A DEvaluationSimplifier.java142 for (int offset = 0; offset < codeLength; offset++)
144 if (partialEvaluator.isTraced(offset))
147 offset);
149 instruction.accept(clazz, method, codeAttribute, offset, this);
160 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) argument
187 replaceIntegerPushInstruction(clazz, offset, simpleInstruction);
206 replaceLongPushInstruction(clazz, offset, simpleInstruction);
219 replaceFloatPushInstruction(clazz, offset, simpleInstructio
242 visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
303 visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) argument
335 visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) argument
356 visitTableSwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, TableSwitchInstruction tableSwitchInstruction) argument
380 visitLookUpSwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LookUpSwitchInstruction lookUpSwitchInstruction) argument
410 replaceAnyPushInstruction(Clazz clazz, int offset, Instruction instruction) argument
443 replaceIntegerPushInstruction(Clazz clazz, int offset, Instruction instruction) argument
458 replaceIntegerPushInstruction(Clazz clazz, int offset, Instruction instruction, int maxVariableIndex) argument
512 replaceLongPushInstruction(Clazz clazz, int offset, Instruction instruction) argument
527 replaceLongPushInstruction(Clazz clazz, int offset, Instruction instruction, int maxVariableIndex) argument
584 replaceFloatPushInstruction(Clazz clazz, int offset, Instruction instruction) argument
599 replaceFloatPushInstruction(Clazz clazz, int offset, Instruction instruction, int maxVariableIndex) argument
655 replaceDoublePushInstruction(Clazz clazz, int offset, Instruction instruction) argument
670 replaceDoublePushInstruction(Clazz clazz, int offset, Instruction instruction, int maxVariableIndex) argument
728 replaceReferencePushInstruction(Clazz clazz, int offset, Instruction instruction) argument
749 replaceConstantPushInstruction(Clazz clazz, int offset, Instruction instruction, byte replacementOpcode, int value) argument
766 replaceVariablePushInstruction(Clazz clazz, int offset, Instruction instruction, byte replacementOpcode, int variableIndex) argument
784 replaceJsrInstruction(Clazz clazz, int offset, BranchInstruction branchInstruction) argument
811 deleteReferencePopInstruction(Clazz clazz, int offset, Instruction instruction) argument
831 replaceBranchInstruction(Clazz clazz, int offset, Instruction instruction) argument
864 replaceSimpleEnumSwitchInstruction(Clazz clazz, CodeAttribute codeAttribute, int offset, TableSwitchInstruction tableSwitchInstruction) argument
951 replaceSimpleEnumSwitchInstruction(Clazz clazz, CodeAttribute codeAttribute, int offset, LookUpSwitchInstruction lookupSwitchInstruction) argument
1039 cleanUpSwitchInstruction(Clazz clazz, int offset, SwitchInstruction switchInstruction) argument
1087 trimSwitchInstruction(Clazz clazz, int offset, TableSwitchInstruction tableSwitchInstruction) argument
1147 trimSwitchInstruction(Clazz clazz, int offset, LookUpSwitchInstruction lookUpSwitchInstruction) argument
1210 replaceByInfiniteLoop(Clazz clazz, int offset, Instruction instruction) argument
1239 replaceInstruction(Clazz clazz, int offset, Instruction instruction, Instruction replacementInstruction) argument
1269 insertPopInstructions(int offset, int popCount) argument
[all...]
/external/skia/samplecode/
H A DSampleClipDrawMatch.cpp43 SkRect create_rect(const SkPoint& offset) { argument
45 r.offset(offset);
49 SkRRect create_rrect(const SkPoint& offset) { argument
51 rrect.setRectXY(create_rect(offset), 10, 10);
55 SkRRect create_circle(const SkPoint& offset) { argument
57 circle.setOval(create_rect(offset));
61 SkPath create_convex_path(const SkPoint& offset) { argument
67 convexPath.offset(offset
71 create_concave_path(const SkPoint& offset) argument
87 draw_normal_geom(SkCanvas* canvas, const SkPoint& offset, int geom, bool useAA) argument
159 drawClippedGeom(SkCanvas* canvas, const SkPoint& offset, bool useAA) argument
218 drawGeometry(SkCanvas* canvas, const SkPoint& offset, bool useAA) argument
234 SkPoint offset; variable
[all...]
/external/elfutils/src/tests/
H A Drun-show-die-info.sh29 CU offset : 11
39 CU offset : 104
46 CU offset : 127
53 CU offset : 11
63 CU offset : 104
70 CU offset : 127
77 CU offset : 11
87 CU offset : 104
94 CU offset : 132
99 CU 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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DCharTrie.java110 * @return offset to data
114 int offset;
119 offset = (m_index_[ch >> INDEX_STAGE_1_SHIFT_] << INDEX_STAGE_2_SHIFT_)
121 return m_data_[offset];
125 offset = getCodePointOffset(ch);
129 return (offset >= 0) ? m_data_[offset] : m_initialValue_;
135 * Returned data may contain folding offset information for the next
165 int offset = getSurrogateOffset(lead, trail);
166 if (offset >
[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/llvm/test/MC/R600/
H A Dmubuf.s9 // load - immediate offset only
15 buffer_load_dword v1, s[4:7], s1 offset:4
16 // CHECK: buffer_load_dword v1, s[4:7], s1 offset:4 ; encoding: [0x04,0x00,0x30,0xe0,0x00,0x01,0x01,0x01]
18 buffer_load_dword v1, s[4:7], s1 offset:4 glc
19 // CHECK: buffer_load_dword v1, s[4:7], s1 offset:4 glc ; encoding: [0x04,0x40,0x30,0xe0,0x00,0x01,0x01,0x01]
21 buffer_load_dword v1, s[4:7], s1 offset:4 slc
22 // CHECK: buffer_load_dword v1, s[4:7], s1 offset:4 slc ; encoding: [0x04,0x00,0x30,0xe0,0x00,0x01,0x41,0x01]
24 buffer_load_dword v1, s[4:7], s1 offset:4 tfe
25 // CHECK: buffer_load_dword v1, s[4:7], s1 offset:4 tfe ; encoding: [0x04,0x00,0x30,0xe0,0x00,0x01,0x81,0x01]
30 buffer_load_dword v1, s[4:7], s1 offset
[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/google-breakpad/src/common/dwarf/
H A Ddwarf2diehandler.cc52 bool DIEDispatcher::StartCompilationUnit(uint64 offset, uint8 address_size, argument
55 return root_handler_->StartCompilationUnit(offset, address_size,
60 bool DIEDispatcher::StartDIE(uint64 offset, enum DwarfTag tag) { argument
84 handler = parent->handler_->FindChildHandler(offset, tag);
94 if (root_handler_->StartRootDIE(offset, tag))
106 entry.offset_ = offset;
115 void DIEDispatcher::EndDIE(uint64 offset) { argument
120 assert(entry->offset_ == offset);
131 if (entry->offset_ != offset)
137 void DIEDispatcher::ProcessAttributeUnsigned(uint64 offset, argument
147 ProcessAttributeSigned(uint64 offset, enum DwarfAttribute attr, enum DwarfForm form, int64 data) argument
157 ProcessAttributeReference(uint64 offset, enum DwarfAttribute attr, enum DwarfForm form, uint64 data) argument
167 ProcessAttributeBuffer(uint64 offset, enum DwarfAttribute attr, enum DwarfForm form, const char* data, uint64 len) argument
178 ProcessAttributeString(uint64 offset, enum DwarfAttribute attr, enum DwarfForm form, const string& data) argument
188 ProcessAttributeSignature(uint64 offset, enum DwarfAttribute attr, enum DwarfForm form, uint64 signature) argument
[all...]
/external/vboot_reference/scripts/image_signing/
H A Dcommon_minimal.sh127 # Returns: offset (in sectors) of partition PARTNUM
170 local offset=$(( $(partoffset "$image" "$partnum") * 512 ))
176 enable_rw_mount "$image" ${offset} 2> /dev/null
179 set -- sudo LC_ALL=C mount -o loop,offset=${offset},${ro} \
229 local offset=$(partoffset "$image" "$partnum")
231 dd if=$image of=$output_file bs=512 skip=$offset count=$size \
241 local offset=$(partoffset "$image" "$partnum")
243 dd if=$input_file of=$image bs=512 seek=$offset count=$size \
250 local offset
[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...]

Completed in 915 milliseconds

1234567891011>>