Searched refs:offset (Results 151 - 175 of 4102) sorted by relevance

1234567891011>>

/external/icu/icu4c/source/layout/
H A DGXLayoutEngine.cpp32 le_int32 GXLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
38 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
43 mapCharsToGlyphs(chars, offset, count, FALSE, rightToLeft, glyphStorage, success);
55 void GXLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool /*reverse*/, argument
62 if (chars == NULL || offset < 0 || count < 0) {
H A DGXLayoutEngine2.cpp29 le_int32 GXLayoutEngine2::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
35 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
40 mapCharsToGlyphs(chars, offset, count, rightToLeft, rightToLeft, glyphStorage, success);
51 void GXLayoutEngine2::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool /*reverse*/, argument
58 if (chars == NULL || offset < 0 || count < 0) {
/external/jetty/src/java/org/eclipse/jetty/websocket/
H A DFragmentExtension.java47 public void addFrame(byte flags, byte opcode, byte[] content, int offset, int length) throws IOException argument
51 super.addFrame(flags,opcode,content,offset,length);
60 super.addFrame((byte)(flags&~getConnection().finMask()),opcode,content,offset,_maxLength);
62 offset+=_maxLength;
70 super.addFrame((byte)(flags&0x7),opcode,content,offset,frag);
72 offset+=frag;
76 super.addFrame((byte)(flags|getConnection().finMask()),opcode,content,offset,length);
/external/proguard/src/proguard/optimize/peephole/
H A DGotoGotoReplacer.java72 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} argument
75 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) argument
85 int targetOffset = offset + branchOffset;
88 branchOffset != branchInstruction.length(offset) &&
89 !codeAttributeEditor.isModified(offset) &&
103 codeAttributeEditor.replaceInstruction(offset,
109 extraInstructionVisitor.visitBranchInstruction(clazz, method, codeAttribute, offset, branchInstruction);
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DBoundedByteString.java57 * @param offset index to first byte to use in bytes
59 * @throws IllegalArgumentException if {@code offset < 0}, {@code length < 0},
60 * or if {@code offset + length >
63 BoundedByteString(byte[] bytes, int offset, int length) { argument
65 if (offset < 0) {
66 throw new IllegalArgumentException("Offset too small: " + offset);
69 throw new IllegalArgumentException("Length too small: " + offset);
71 if ((long) offset + length > bytes.length) {
73 "Offset+Length too large: " + offset + "+" + length);
76 this.bytesOffset = offset;
[all...]
/external/sfntly/cpp/src/sfntly/data/
H A Dgrowable_memory_byte_array.cc35 int32_t offset,
38 os->Write(&b_, offset, length);
51 int32_t offset,
58 std::copy(b + offset, b + offset + length, b_.begin() + index);
68 int32_t offset,
70 memcpy(b + offset, &(b_[0]) + index, length);
34 CopyTo(OutputStream* os, int32_t offset, int32_t length) argument
49 InternalPut(int32_t index, byte_t* b, int32_t offset, int32_t length) argument
66 InternalGet(int32_t index, byte_t* b, int32_t offset, int32_t length) argument
/external/strace/
H A Dmknod.c15 decode_mknod(struct tcb *tcp, int offset) argument
17 int mode = tcp->u_arg[offset + 1];
20 printpath(tcp, tcp->u_arg[offset]);
28 (unsigned long) ((tcp->u_arg[offset + 2] >> 18) & 0x3fff),
29 (unsigned long) (tcp->u_arg[offset + 2] & 0x3ffff));
33 (unsigned long) major(tcp->u_arg[offset + 2]),
34 (unsigned long) minor(tcp->u_arg[offset + 2]));
/external/elfutils/src/backends/
H A Dppc_corenote.c51 { .offset = at * BITS/8, .regno = dwreg, .count = n, .bits = BITS }
72 { .offset = 0, .regno = 32, .count = 32, .bits = 64 }, /* f0-f31 */
73 { .offset = 32 * 8 + 4, .regno = 65, .count = 1, .bits = 32 } /* fpscr */
80 { .offset = 0, .regno = 1124, .count = 32, .bits = 128 },
82 { .offset = 32 * 16, .regno = 67, .count = 1, .bits = 32, .pad = 12 },
84 { .offset = 33 * 16, .regno = 356, .count = 1, .bits = 32, .pad = 12 }
90 { .offset = 0, .regno = ???, .count = 32, .bits = 32 },
92 { .offset = 32 * 4, .regno = ???, .count = 1, .bits = 64 }, */
94 { .offset = 34 * 4, .regno = 612, .count = 1, .bits = 32 }
125 .offset
[all...]
/external/javassist/src/main/javassist/bytecode/
H A DStackMap.java144 int offset = ByteArray.readU16bit(info, pos);
146 pos = locals(pos + 4, offset, numLoc);
148 pos = stack(pos + 2, offset, numStack);
156 public int locals(int pos, int offset, int num) { argument
157 return typeInfoArray(pos, offset, num, true);
164 public int stack(int pos, int offset, int num) { argument
165 return typeInfoArray(pos, offset, num, false);
176 public int typeInfoArray(int pos, int offset, int num, boolean isLocals) { argument
220 public void uninitialized(int pos, int offset) {} argument
242 public int locals(int pos, int offset, in argument
247 typeInfoArray(int pos, int offset, int num, boolean isLocals) argument
262 uninitialized(int pos, int offset) argument
313 locals(int pos, int offset, int num) argument
318 typeInfoArray(int pos, int offset, int num, boolean isLocals) argument
331 uninitialized(int pos, int offset) argument
347 typeInfoArray(int pos, int offset, int num, boolean isLocals) argument
392 locals(int pos, int offset, int num) argument
422 stack(int pos, int offset, int num) argument
426 stackTypeInfoArray(int pos, int offset, int num) argument
490 locals(int pos, int offset, int num) argument
[all...]
/external/mesa3d/src/mesa/main/
H A Dremap.c34 * is dynamic, or assigned a different static offset, in glapi. The
77 * and the dispatch offset will be returned.
84 * \return the offset of the (re-)mapped function in the dispatch
137 GLint offset; local
146 offset = _mesa_map_function_spec(spec);
148 if (offset < 0) {
153 offset != func_array[i].dispatch_offset) {
156 name, func_array[i].dispatch_offset, offset);
201 GLint offset; local
208 offset
[all...]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
H A DMapItem.java49 private final int offset; field in class:MapItem
51 public MapItem(DexBackedDexFile dexFile, int offset) { argument
53 this.offset = offset;
57 return dexFile.readUshort(offset + TYPE_OFFSET);
66 return dexFile.readSmallUint(offset + SIZE_OFFSET);
70 return dexFile.readSmallUint(offset + OFFSET_OFFSET);
90 int offset = dexFile.readSmallUint(out.getCursor());
91 out.annotate(4, "offset = 0x%x", offset);
[all...]
/external/zlib/src/contrib/dotzlib/DotZLib/
H A DChecksumImpl.cs59 /// <param name="offset">Where in <c>data</c> to start updating</param>
61 /// <exception cref="ArgumentException">The sum of offset and count is larger than the length of <c>data</c></exception>
66 public abstract void Update(byte[] data, int offset, int count); argument
128 /// <param name="offset">Where in <c>data</c> to start updating</param>
130 /// <exception cref="ArgumentException">The sum of offset and count is larger than the length of <c>data</c></exception>
133 public override void Update(byte[] data, int offset, int count) argument
135 if (offset < 0 || count < 0) throw new ArgumentOutOfRangeException();
136 if ((offset+count) > data.Length) throw new ArgumentException();
140 _current = crc32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count);
179 /// <param name="offset">Wher
184 Update(byte[] data, int offset, int count) argument
[all...]
/external/lldb/source/API/
H A DSBData.cpp154 SBData::GetFloat (lldb::SBError& error, lldb::offset_t offset) argument
164 uint32_t old_offset = offset;
165 value = m_opaque_sp->GetFloat(&offset);
166 if (offset == old_offset)
170 log->Printf ("SBData::GetFloat (error=%p,offset=%" PRIu64 ") => "
171 "(%f)", error.get(), offset, value);
176 SBData::GetDouble (lldb::SBError& error, lldb::offset_t offset) argument
186 uint32_t old_offset = offset;
187 value = m_opaque_sp->GetDouble(&offset);
188 if (offset
198 GetLongDouble(lldb::SBError& error, lldb::offset_t offset) argument
220 GetAddress(lldb::SBError& error, lldb::offset_t offset) argument
242 GetUnsignedInt8(lldb::SBError& error, lldb::offset_t offset) argument
264 GetUnsignedInt16(lldb::SBError& error, lldb::offset_t offset) argument
286 GetUnsignedInt32(lldb::SBError& error, lldb::offset_t offset) argument
308 GetUnsignedInt64(lldb::SBError& error, lldb::offset_t offset) argument
330 GetSignedInt8(lldb::SBError& error, lldb::offset_t offset) argument
352 GetSignedInt16(lldb::SBError& error, lldb::offset_t offset) argument
374 GetSignedInt32(lldb::SBError& error, lldb::offset_t offset) argument
396 GetSignedInt64(lldb::SBError& error, lldb::offset_t offset) argument
418 GetString(lldb::SBError& error, lldb::offset_t offset) argument
463 ReadRawData(lldb::SBError& error, lldb::offset_t offset, void *buf, size_t size) argument
[all...]
/external/elfutils/src/libdwfl/
H A Ddwfl_validate_address.c1 /* Validate an address and the relocatability of an offset from it.
32 dwfl_validate_address (Dwfl *dwfl, Dwarf_Addr address, Dwarf_Sword offset) argument
43 if (offset != 0)
46 relative = address + offset;
/external/emma/core/java12/com/vladium/jcd/cls/
H A DIAttributeCollection.java30 * Returns the attribute descriptor at a given offset.
32 * @param offset attribute offset [must be in [0, size()) range; input not checked]
35 * @throws IndexOutOfBoundsException if 'offset' is outside of valid range
37 Attribute_info get (int offset); argument
74 * Replaces the Attribute_info descriptor at a given offset. No duplicate
79 * @param offset attribute offset [must be in [0, size()) range; input not checked]
81 * @return previous attribute descriptor at this offset [never null]
83 * @throws IndexOutOfBoundsException if 'offset' i
85 set(int offset, Attribute_info attribute) argument
95 remove(int offset) argument
[all...]
/external/f2fs-tools/lib/
H A Dlibf2fs_io.c31 int dev_read_version(void *buf, __u64 offset, size_t len) argument
33 if (lseek64(config.kd, (off64_t)offset, SEEK_SET) < 0)
40 int dev_read(void *buf, __u64 offset, size_t len) argument
42 if (lseek64(config.fd, (off64_t)offset, SEEK_SET) < 0)
49 int dev_readahead(__u64 offset, size_t len) argument
52 return posix_fadvise(config.fd, offset, len, POSIX_FADV_WILLNEED);
58 int dev_write(void *buf, __u64 offset, size_t len) argument
60 if (lseek64(config.fd, (off64_t)offset, SEEK_SET) < 0)
72 int dev_write_dump(void *buf, __u64 offset, size_t len) argument
74 if (lseek64(config.dump_fd, (off64_t)offset, SEEK_SE
81 dev_fill(void *buf, __u64 offset, size_t len) argument
[all...]
/external/google-breakpad/src/common/dwarf/
H A Ddwarf2diehandler.h76 // an EndDIE call with the appropriate offset.
122 // CompilationUnit reader(sections, offset, bytereader, &die_dispatcher);
241 // OFFSET is the offset of the child; TAG indicates what kind of DIE
245 virtual DIEHandler *FindChildHandler(uint64 offset, enum DwarfTag tag) { argument
269 virtual bool StartCompilationUnit(uint64 offset, uint8 address_size, argument
273 // For the root DIE handler only, we pass the offset, tag and
281 virtual bool StartRootDIE(uint64 offset, enum DwarfTag tag) { return true; } argument
293 bool StartCompilationUnit(uint64 offset, uint8 address_size,
296 bool StartDIE(uint64 offset, enum DwarfTag tag);
297 void ProcessAttributeUnsigned(uint64 offset,
[all...]
/external/mesa3d/src/gallium/drivers/r600/
H A Dr600_hw_context_priv.h44 unsigned offset; member in struct:r600_reg
57 int r600_state_sampler_init(struct r600_context *ctx, uint32_t offset);
58 void r600_context_pipe_state_set_sampler(struct r600_context *ctx, struct r600_pipe_state *state, unsigned offset);
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_state_batch.c40 uint32_t offset,
53 brw->state_batch_list[brw->state_batch_count].offset = offset;
93 uint32_t start_offset = brw->state_batch_list[i].offset;
127 uint32_t offset; local
130 offset = ROUND_DOWN_TO(batch->state_batch_offset - size, alignment);
137 offset < 4*batch->used + batch->reserved_space) {
139 offset = ROUND_DOWN_TO(batch->state_batch_offset - size, alignment);
142 batch->state_batch_offset = offset;
145 brw_track_state_batch(brw, type, offset, siz
38 brw_track_state_batch(struct brw_context *brw, enum state_struct_type type, uint32_t offset, int size) argument
[all...]
/external/proguard/src/proguard/classfile/instruction/
H A DSwitchInstruction.java71 public String toString(int offset) argument
73 return "["+offset+"] "+toString()+" (target="+(offset+defaultOffset)+")";
/external/proguard/src/proguard/classfile/instruction/visitor/
H A DMultiInstructionVisitor.java84 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) argument
88 instructionVisitors[index].visitSimpleInstruction(clazz, method, codeAttribute, offset, simpleInstruction);
92 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
96 instructionVisitors[index].visitVariableInstruction(clazz, method, codeAttribute, offset, variableInstruction);
100 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) argument
104 instructionVisitors[index].visitConstantInstruction(clazz, method, codeAttribute, offset, constantInstruction);
108 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) argument
112 instructionVisitors[index].visitBranchInstruction(clazz, method, codeAttribute, offset, branchInstruction);
116 public void visitTableSwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, TableSwitchInstruction tableSwitchInstruction) argument
120 instructionVisitors[index].visitTableSwitchInstruction(clazz, method, codeAttribute, offset, tableSwitchInstructio
124 visitLookUpSwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LookUpSwitchInstruction lookUpSwitchInstruction) argument
[all...]
/external/proguard/src/proguard/optimize/evaluation/
H A DTracedBranchUnit.java40 int offset,
47 super.branch(clazz, codeAttribute, offset, branchTarget);
52 super.branchConditionally(clazz, codeAttribute, offset, branchTarget, conditional);
38 branchConditionally(Clazz clazz, CodeAttribute codeAttribute, int offset, int branchTarget, int conditional) argument
/external/skia/src/animator/
H A DSkTextOnPath.cpp20 SK_MEMBER(offset, Float),
29 SkTextOnPath::SkTextOnPath() : offset(0), path(NULL), text(NULL) {
37 path->getPath(), offset, 0, *maker.fPaint);
/external/v8/test/webkit/
H A Ddfg-inline-unused-this-method-check.js41 var offset = 0; variable
45 offset = 42;
52 shouldBe("baz(object, " + i + ", " + (i * 2) + ")", "" + (offset + i + i * 2));
H A Ddfg-inline-unused-this.js41 var offset = 0; variable
45 offset = 42;
55 shouldBe("baz(object, " + i + ", " + (i * 2) + ")", "" + (offset + i + i * 2));

Completed in 627 milliseconds

1234567891011>>