/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/ |
H A D | FileDataStore.java | 17 @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/strace/ |
H A D | lseek.c | 41 * fs/read_write.c::SYSCALL_DEFINE3(lseek, unsigned, fd, off_t, offset, unsigned, origin) 50 kernel_long_t offset; local 54 offset = (int) tcp->u_arg[1]; 58 offset = tcp->u_arg[1]; 61 tprintf(", %" PRI_kld ", ", offset);
|
H A D | mknod.c | 40 decode_mknod(struct tcb *tcp, int offset) argument 42 unsigned short mode = tcp->u_arg[offset + 1]; 45 printpath(tcp, tcp->u_arg[offset]); 51 dev = tcp->u_arg[offset + 2];
|
/external/v8/src/compiler/ |
H A D | bytecode-branch-analysis.h | 35 // |offset|. 36 bool forward_branches_target(int offset) const { 37 return is_forward_target_.Contains(offset); 41 // at |offset|. 42 bool backward_branches_target(int offset) const { 43 return is_backward_target_.Contains(offset);
|
/external/vboot_reference/firmware/lib/ |
H A D | region-init.c | 21 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/vixl/test/ |
H A D | test-utils.cc | 46 void ExecuteMemory(byte* buffer, size_t size, int offset) { argument 49 VIXL_ASSERT((offset >= 0) && (static_cast<size_t>(offset) < size)); 53 entry_point += offset;
|
H A D | test-utils.h | 36 void ExecuteMemory(byte* buffer, size_t size, int offset = 0);
|
/external/proguard/src/proguard/optimize/evaluation/ |
H A D | EvaluationSimplifier.java | 142 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/libdrm/amdgpu/ |
H A D | amdgpu_vamgr.c | 73 uint64_t offset = 0, waste = 0; local 86 if(hole->offset > base_required || 87 (hole->offset + hole->size) < (base_required + size)) 89 waste = base_required - hole->offset; 90 offset = base_required; 92 offset = hole->offset; 93 waste = offset % alignment; 95 offset += waste; 96 if (offset > [all...] |
/external/elfutils/tests/ |
H A D | run-show-die-info.sh | 29 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/libnetfilter_conntrack/src/conntrack/ |
H A D | snprintf_xml.c | 100 unsigned int size = 0, offset = 0; local 104 BUFFER_SIZE(ret, size, len, offset); 108 ret = __snprintf_ipv4_xml(buf+offset, len, tuple, type); 109 BUFFER_SIZE(ret, size, len, offset); 112 ret = __snprintf_ipv6_xml(buf+offset, len, tuple, type); 113 BUFFER_SIZE(ret, size, len, offset); 117 ret = snprintf(buf+offset, len, "</%s>", tag); 118 BUFFER_SIZE(ret, size, len, offset); 128 unsigned int size = 0, offset = 0; local 139 BUFFER_SIZE(ret, size, len, offset); 168 unsigned int size = 0, offset = 0; local 186 unsigned int size = 0, offset = 0; local 200 unsigned int size = 0, offset = 0; local 214 unsigned int size = 0, offset = 0; local 231 unsigned int size = 0, offset = 0; local 246 unsigned int size = 0, offset = 0; local 258 unsigned int size = 0, offset = 0; local 290 unsigned int size = 0, offset = 0; local 361 int ret, size = 0, offset = 0; local 387 unsigned int size = 0, offset = 0; local [all...] |
/external/dtc/tests/ |
H A D | path_offset.c | 32 int offset; local 37 offset = fdt_subnode_offset(fdt, parent, name); 38 verbose_printf("offset %d...", offset); 39 if (offset < 0) 40 FAIL("fdt_subnode_offset(\"%s\"): %s", name, fdt_strerror(offset)); 41 nh = fdt_offset_ptr(fdt, offset, sizeof(*nh)); 54 return offset; 57 static void check_path_offset(void *fdt, char *path, int offset) argument 61 verbose_printf("Checking offset o 72 check_path_offset_namelen(void *fdt, char *path, int namelen, int offset) argument [all...] |
H A D | dtb_reverse.c | 56 static void reverse_properties(void *in, void *out, int offset) argument 63 data = fdt_getprop_by_offset(in, offset, &name, &len); 67 verbose_printf("reverse_properties(): offset=%d name=%s\n", 68 offset, name); 70 offset = fdt_next_property_offset(in, offset); 71 if (offset >= 0) 72 reverse_properties(in, out, offset); 73 else if (offset != -FDT_ERR_NOTFOUND) 74 FAIL("fdt_next_property_offset(): %s\n", fdt_strerror(offset)); 82 reverse_children(void *in, void *out, int offset) argument 109 int offset; local [all...] |
/external/flatbuffers/php/ |
H A D | ByteBuffer.php | 116 * @param $offset 120 public function writeLittleEndian($offset, $count, $data) 124 $this->_buffer[$offset + $i] = chr($data >> $i * 8); 128 $this->_buffer[$offset + $count - 1 - $i] = chr($data >> $i * 8); 136 * @param $offset 140 public function readLittleEndian($offset, $count, $force_bigendian = false) 142 $this->assertOffsetAndLength($offset, $count); 147 $r |= ord($this->_buffer[$offset + $i]) << $i * 8; 151 $r |= ord($this->_buffer[$offset + $count -1 - $i]) << $i * 8; 159 * @param $offset [all...] |
/external/flatbuffers/tests/namespace_test/ |
H A D | namespace_test1_generated.js | 63 var offset = this.bb.__offset(this.bb_pos, 4); 64 return offset ? this.bb.readInt32(this.bb_pos + offset) : 0; 72 var offset = this.bb.__offset(this.bb_pos, 4); 74 if (offset === 0) { 78 this.bb.writeInt32(this.bb_pos + offset, value); 102 var offset = builder.endObject(); 103 return offset; 144 var offset = this.bb.__offset(this.bb_pos, 0); 146 if (offset [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
H A D | CharTrie.java | 113 * @return offset to data 117 int offset; 122 offset = (m_index_[ch >> INDEX_STAGE_1_SHIFT_] << INDEX_STAGE_2_SHIFT_) 124 return m_data_[offset]; 128 offset = getCodePointOffset(ch); 132 return (offset >= 0) ? m_data_[offset] : m_initialValue_; 138 * Returned data may contain folding offset information for the next 168 int offset = getSurrogateOffset(lead, trail); 169 if (offset > [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | CharTrie.java | 112 * @return offset to data 116 int offset; 121 offset = (m_index_[ch >> INDEX_STAGE_1_SHIFT_] << INDEX_STAGE_2_SHIFT_) 123 return m_data_[offset]; 127 offset = getCodePointOffset(ch); 131 return (offset >= 0) ? m_data_[offset] : m_initialValue_; 137 * Returned data may contain folding offset information for the next 167 int offset = getSurrogateOffset(lead, trail); 168 if (offset > [all...] |
/external/llvm/test/MC/Mips/eva/ |
H A D | invalid_R6.s | 9 lwle $s6,255($15) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset 10 lwle $s7,-256($10) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset 11 lwle $s7,-176($13) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset 12 lwre $zero,255($gp) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset 13 lwre $zero,-256($gp) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset 14 lwre $zero,-176($gp) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset 15 swle $9,255($s1) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset 16 swle $10,-256($s3) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset 17 swle $8,131($s5) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset 18 swre $s4,255($13) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset [all...] |
/external/proguard/src/proguard/classfile/instruction/ |
H A D | BranchInstruction.java | 28 * 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/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
H A D | Decoder.java | 20 * types from a {@link Message} object at a given offset into it's byte buffer. 90 * The base offset in the byte buffer. 128 * Deserializes a {@link DataHeader} for an union at the given offset. 130 public DataHeader readDataHeaderForUnion(int offset) { argument 131 DataHeader result = readDataHeaderAtOffset(offset, true); 155 * Deserializes a {@link DataHeader} at the given offset. 157 private DataHeader readDataHeaderAtOffset(int offset, boolean isUnion) { argument 158 int size = readInt(offset + DataHeader.SIZE_OFFSET); 159 int elementsOrVersion = readInt(offset + DataHeader.ELEMENTS_OR_VERSION_OFFSET); 198 * Deserializes a {@link DataHeader} at the given offset an 231 readByte(int offset) argument 239 readBoolean(int offset, int bit) argument 247 readShort(int offset) argument 255 readInt(int offset) argument 263 readFloat(int offset) argument 271 readLong(int offset) argument 279 readDouble(int offset) argument 288 readPointer(int offset, boolean nullable) argument 307 readBooleans(int offset, int arrayNullability, int expectedLength) argument 331 readBytes(int offset, int arrayNullability, int expectedLength) argument 346 readShorts(int offset, int arrayNullability, int expectedLength) argument 361 readInts(int offset, int arrayNullability, int expectedLength) argument 376 readFloats(int offset, int arrayNullability, int expectedLength) argument 391 readLongs(int offset, int arrayNullability, int expectedLength) argument 406 readDoubles(int offset, int arrayNullability, int expectedLength) argument 421 readHandle(int offset, boolean nullable) argument 437 readUntypedHandle(int offset, boolean nullable) argument 444 readConsumerHandle(int offset, boolean nullable) argument 451 readProducerHandle(int offset, boolean nullable) argument 458 readMessagePipeHandle(int offset, boolean nullable) argument 465 readSharedBufferHandle(int offset, boolean nullable) argument 474 readServiceInterface(int offset, boolean nullable, Interface.Manager<?, P> manager) argument 487 readInterfaceRequest(int offset, boolean nullable) argument 499 readAssociatedServiceInterfaceNotSupported(int offset, boolean nullable) argument 507 readAssociatedInterfaceRequestNotSupported( int offset, boolean nullable) argument 515 readString(int offset, boolean nullable) argument 527 readHandles(int offset, int arrayNullability, int expectedLength) argument 545 readUntypedHandles( int offset, int arrayNullability, int expectedLength) argument 564 readConsumerHandles( int offset, int arrayNullability, int expectedLength) argument 583 readProducerHandles( int offset, int arrayNullability, int expectedLength) argument 603 readMessagePipeHandles( int offset, int arrayNullability, int expectedLength) argument 623 readSharedBufferHandles( int offset, int arrayNullability, int expectedLength) argument 643 readServiceInterfaces( int offset, int arrayNullability, int expectedLength, Interface.Manager<S, P> manager) argument 667 readInterfaceRequests( int offset, int arrayNullability, int expectedLength) argument 687 readAssociatedServiceInterfaceNotSupporteds( int offset, int arrayNullability, int expectedLength) argument 696 readAssociatedInterfaceRequestNotSupporteds( int offset, int arrayNullability, int expectedLength) argument 704 getDecoderAtPosition(int offset) argument 742 validateBufferSize(int offset, int size) argument [all...] |
/external/google-breakpad/src/common/dwarf/ |
H A D | dwarf2diehandler.cc | 52 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/llvm/test/MC/AMDGPU/ |
H A D | mubuf.s | 14 // load - immediate offset only 25 buffer_load_dword v1, off, s[4:7], s1 offset:4 26 // SICI: buffer_load_dword v1, off, s[4:7], s1 offset:4 ; encoding: [0x04,0x00,0x30,0xe0,0x00,0x01,0x01,0x01] 27 // VI: buffer_load_dword v1, off, s[4:7], s1 offset:4 ; encoding: [0x04,0x00,0x50,0xe0,0x00,0x01,0x01,0x01] 29 buffer_load_dword v1, off, s[4:7], s1 offset:4 glc 30 // SICI: buffer_load_dword v1, off, s[4:7], s1 offset:4 glc ; encoding: [0x04,0x40,0x30,0xe0,0x00,0x01,0x01,0x01] 31 // VI: buffer_load_dword v1, off, s[4:7], s1 offset:4 glc ; encoding: [0x04,0x40,0x50,0xe0,0x00,0x01,0x01,0x01] 33 buffer_load_dword v1, off, s[4:7], s1 offset:4 slc 34 // SICI: buffer_load_dword v1, off, s[4:7], s1 offset:4 slc ; encoding: [0x04,0x00,0x30,0xe0,0x00,0x01,0x41,0x01] 35 // VI: buffer_load_dword v1, off, s[4:7], s1 offset [all...] |
/external/vboot_reference/scripts/image_signing/ |
H A D | common_minimal.sh | 127 # 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/flatbuffers/js/ |
H A D | flatbuffers.js | 197 * Starting offset of the current struct/table. 258 return this.bb.bytes().subarray(this.bb.position(), this.bb.position() + this.offset()); 501 * @param {flatbuffers.Offset} obj The offset of the created object 504 if (obj != this.offset()) { 525 this.vtable[voffset] = this.offset(); 531 flatbuffers.Builder.prototype.offset = function() { 564 * Adds on offset, relative to where it will be written. 566 * @param {flatbuffers.Offset} offset The offset to add. 568 flatbuffers.Builder.prototype.addOffset = function(offset) { [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
H A D | Support_StringWriter.java | 97 * 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...] |