Searched refs:offset (Results 251 - 275 of 4102) sorted by relevance

<<11121314151617181920>>

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DQuantifier.java37 int[] offset,
40 int start = offset[0];
43 int pos = offset[0];
44 int m = matcher.matches(text, offset, limit, incremental);
47 if (pos == offset[0]) {
48 // If offset has not moved we have a zero-width match.
58 if (incremental && offset[0] == limit) {
64 offset[0] = start;
36 matches(Replaceable text, int[] offset, int limit, boolean incremental) argument
/external/libvncserver/webclients/novnc/include/
H A Dbase64.js97 decode: function (data, offset) {
99 offset = typeof(offset) !== 'undefined' ? offset : 0;
105 data_length = data.indexOf('=') - offset;
107 if (data_length < 0) { data_length = data.length - offset; }
114 for (idx = 0, i = offset; i < data.length; i++) {
/external/deqp/modules/glshared/
H A DglsBufferTestUtil.hpp92 void setSubData (int offset, int numBytes, const deUint8* bytes);
94 deUint8* getPtr (int offset = 0) { return &m_data[offset]; }
95 const deUint8* getPtr (int offset = 0) const { return &m_data[offset]; }
123 virtual void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes) = DE_NULL;
124 virtual void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes, deUint32 targetHint);
142 void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes);
143 void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes, deUint32 targetHint);
160 virtual void write (deUint32 buffer, int offset, in
[all...]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
H A DCollation.java457 * Increments a 2-byte primary by a code point offset.
460 int offset) {
462 // plus the offset, modulo the number of usable byte values, plus the minimum.
466 offset += ((int)(basePrimary >> 16) & 0xff) - 4;
467 primary = ((offset % 251) + 4) << 16;
468 offset /= 251;
470 offset += ((int)(basePrimary >> 16) & 0xff) - 2;
471 primary = ((offset % 254) + 2) << 16;
472 offset /= 254;
475 return primary | ((basePrimary & 0xff000000L) + ((long)offset << 2
459 incTwoBytePrimaryByOffset(long basePrimary, boolean isCompressible, int offset) argument
481 incThreeBytePrimaryByOffset(long basePrimary, boolean isCompressible, int offset) argument
[all...]
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_state_constants.c109 unsigned offset,
117 if (offset + count > SVGA3D_CONSTREG_MAX) {
118 debug_printf("svga: too many constants (offset + count = %u)\n",
119 offset + count);
123 if (offset > SVGA3D_CONSTREG_MAX) {
126 * XXX note that offset is always zero at this time so this is moot.
131 if (offset + count > SVGA3D_CONSTREG_MAX) {
137 count = SVGA3D_CONSTREG_MAX - offset;
142 if (memcmp(svga->state.hw_draw.cb[shader][offset + i],
151 offset
107 emit_const_range(struct svga_context *svga, unsigned shader, unsigned offset, unsigned count, const float (*values)[4]) argument
221 const unsigned offset = 0; local
278 const unsigned offset = local
325 unsigned offset; local
[all...]
/external/proguard/src/proguard/classfile/editor/
H A DInstructionWriter.java87 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) argument
91 simpleInstruction.write(codeAttribute, offset);
95 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) argument
100 constantInstruction.write(codeAttribute, offset);
112 System.out.println(" "+constantInstruction.toString(offset)+" will be widened to "+replacementInstruction.toString());
115 replaceInstruction(offset, replacementInstruction);
120 constantInstruction.write(codeAttribute, offset);
125 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
130 variableInstruction.write(codeAttribute, offset);
140 replaceInstruction(offset, replacementInstructio
155 visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) argument
238 visitAnySwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SwitchInstruction switchInstruction) argument
[all...]
H A DMethodInvocationFixer.java75 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} argument
78 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) argument
105 codeAttributeEditor.replaceInstruction(offset, replacementInstruction);
109 debug(clazz, method, offset, constantInstruction, replacementInstruction);
126 codeAttributeEditor.replaceInstruction(offset, replacementInstruction);
130 debug(clazz, method, offset, constantInstruction, replacementInstruction);
152 codeAttributeEditor.replaceInstruction(offset, replacementInstruction);
156 debug(clazz, method, offset, constantInstruction, replacementInstruction);
177 codeAttributeEditor.replaceInstruction(offset, replacementInstruction);
181 debug(clazz, method, offset, constantInstructio
225 debug(Clazz clazz, Method method, int offset, ConstantInstruction constantInstruction, Instruction replacementInstruction) argument
[all...]
/external/elfutils/src/libdw/
H A Ddwarf_getmacros.c60 if (t1->offset < t2->offset)
62 if (t1->offset > t2->offset)
134 table->offset = macoff;
250 .offset = macoff,
271 Dwarf_Macro_Op_Table fake = { .offset = macoff, .sec_index = sec_index };
298 void *arg, ptrdiff_t offset, bool accept_0xff,
322 if (offset == 0)
323 offset
296 read_macros(Dwarf *dbg, int sec_index, Dwarf_Off macoff, int (*callback) (Dwarf_Macro *, void *), void *arg, ptrdiff_t offset, bool accept_0xff, Dwarf_Die *cudie) argument
412 token_from_offset(ptrdiff_t offset, bool accept_0xff) argument
440 gnu_macros_getmacros_off(Dwarf *dbg, Dwarf_Off macoff, int (*callback) (Dwarf_Macro *, void *), void *arg, ptrdiff_t offset, bool accept_0xff, Dwarf_Die *cudie) argument
458 macro_info_getmacros_off(Dwarf *dbg, Dwarf_Off macoff, int (*callback) (Dwarf_Macro *, void *), void *arg, ptrdiff_t offset, Dwarf_Die *cudie) argument
480 ptrdiff_t offset = offset_from_token (token, &accept_0xff); local
525 ptrdiff_t offset = offset_from_token (token, &accept_0xff); local
[all...]
H A Ddwarf_ranges.c85 dwarf_ranges (Dwarf_Die *die, ptrdiff_t offset, Dwarf_Addr *basep, argument
91 if (offset == 0
95 /* A offset into .debug_ranges will never be 1, it must be at least a
100 if (offset == 1)
106 if (d == NULL && offset != 0)
114 if (offset == 0)
129 offset = start_offset;
130 assert ((Dwarf_Word) offset == start_offset);
157 IDX_debug_ranges, offset, 1))
160 readp = d->d_buf + offset;
[all...]
/external/google-breakpad/src/common/dwarf/
H A Ddwarf2reader.h208 // DWARF2/3 supports referencing DIE's from other DIE's by their offset
222 // the offset of this compilation unit in the .debug_info section, a
224 CompilationUnit(const SectionMap& sections, uint64 offset,
234 // headers. This plus the starting offset passed to the constructor
235 // is the offset of the end of the compilation unit --- and the
293 // Offset from section start is the offset of this compilation unit
297 // buffer is the buffer for our CU, starting at .debug_info + offset
339 virtual bool StartCompilationUnit(uint64 offset, uint8 address_size, argument
345 virtual bool StartDIE(uint64 offset, enum DwarfTag tag) { return false; } argument
351 virtual void ProcessAttributeUnsigned(uint64 offset, argument
360 ProcessAttributeSigned(uint64 offset, enum DwarfAttribute attr, enum DwarfForm form, int64 data) argument
370 ProcessAttributeReference(uint64 offset, enum DwarfAttribute attr, enum DwarfForm form, uint64 data) argument
381 ProcessAttributeBuffer(uint64 offset, enum DwarfAttribute attr, enum DwarfForm form, const char* data, uint64 len) argument
391 ProcessAttributeString(uint64 offset, enum DwarfAttribute attr, enum DwarfForm form, const string& data) argument
400 ProcessAttributeSignature(uint64 offset, enum DwarfAttribute attr, enum DwarfForm form, uint64 signature) argument
409 EndDIE(uint64 offset) argument
665 size_t offset; member in struct:dwarf2reader::CallFrameInfo::Entry
[all...]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
H A DMediaDataBox.java45 * metadata refers to media data by its absolute offset within the file (see {@link com.coremedia.iso.boxes.StaticChunkOffsetBox});
90 long offset = 0;
91 while (offset < count) {
92 offset += from.transferTo(position + offset, Math.min(maxCount, count - offset), to);
152 public synchronized ByteBuffer getContent(long offset, int length) { argument
155 if (chacheEntryOffset <= offset && offset <= chacheEntryOffset + BUFFER_SIZE) {
157 if ((cacheEntry != null) && ((chacheEntryOffset + cacheEntry.limit()) >= (offset
[all...]
/external/toybox/toys/posix/
H A Dtail.c93 int offset; local
107 offset = list->len;
108 while (offset--) {
113 else if (list->data[offset] == '\n' && !++lines) {
114 offset++;
115 list->data += offset;
116 list->len -= offset;
198 int len, offset = 0; local
205 if (toybuf[offset++] == '\n') lines--;
206 if (offset >
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dutf16tst.c149 uint16_t offset=0; local
150 for(offset=0; offset<sizeof(input)/U_SIZEOF_UCHAR; offset++) {
151 if(0<offset && offset<sizeof(input)/U_SIZEOF_UCHAR-1){
152 UTF16_GET_CHAR_UNSAFE(input, offset, c);
154 log_err("ERROR: UTF16_GET_CHAR_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result[i], c);
157 U16_GET_UNSAFE(input, offset,
219 uint16_t offset=0, setOffset=0; local
563 uint16_t offset=0, setOffset=0; local
671 uint16_t offset; local
[all...]
/external/proguard/src/proguard/classfile/util/
H A DSimplifiedVisitor.java579 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) argument
585 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) argument
587 visitAnyInstruction(clazz, method, codeAttribute, offset, simpleInstruction);
591 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) argument
593 visitAnyInstruction(clazz, method, codeAttribute, offset, variableInstruction);
597 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) argument
599 visitAnyInstruction(clazz, method, codeAttribute, offset, constantInstruction);
603 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) argument
605 visitAnyInstruction(clazz, method, codeAttribute, offset, branchInstruction);
612 public void visitAnySwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SwitchInstructio argument
618 visitTableSwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, TableSwitchInstruction tableSwitchInstruction) argument
624 visitLookUpSwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LookUpSwitchInstruction lookUpSwitchInstruction) argument
635 visitAnyStackMapFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, StackMapFrame stackMapFrame) argument
641 visitSameZeroFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SameZeroFrame sameZeroFrame) argument
647 visitSameOneFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SameOneFrame sameOneFrame) argument
653 visitLessZeroFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LessZeroFrame lessZeroFrame) argument
659 visitMoreZeroFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, MoreZeroFrame moreZeroFrame) argument
665 visitFullFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, FullFrame fullFrame) argument
676 visitAnyVerificationType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationType verificationType) argument
682 visitIntegerType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, IntegerType integerType) argument
688 visitFloatType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, FloatType floatType) argument
694 visitLongType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LongType longType) argument
700 visitDoubleType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, DoubleType doubleType) argument
706 visitTopType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, TopType topType) argument
712 visitObjectType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ObjectType objectType) argument
718 visitNullType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, NullType nullType) argument
724 visitUninitializedType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, UninitializedType uninitializedType) argument
730 visitUninitializedThisType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, UninitializedThisType uninitializedThisType) argument
736 visitStackIntegerType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, IntegerType integerType) argument
742 visitStackFloatType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, FloatType floatType) argument
748 visitStackLongType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, LongType longType) argument
754 visitStackDoubleType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, DoubleType doubleType) argument
760 visitStackTopType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, TopType topType) argument
766 visitStackObjectType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, ObjectType objectType) argument
772 visitStackNullType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, NullType nullType) argument
778 visitStackUninitializedType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, UninitializedType uninitializedType) argument
784 visitStackUninitializedThisType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, UninitializedThisType uninitializedThisType) argument
791 visitVariablesIntegerType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, IntegerType integerType) argument
797 visitVariablesFloatType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, FloatType floatType) argument
803 visitVariablesLongType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, LongType longType) argument
809 visitVariablesDoubleType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, DoubleType doubleType) argument
815 visitVariablesTopType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, TopType topType) argument
821 visitVariablesObjectType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, ObjectType objectType) argument
827 visitVariablesNullType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, NullType nullType) argument
833 visitVariablesUninitializedType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, UninitializedType uninitializedType) argument
839 visitVariablesUninitializedThisType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, UninitializedThisType uninitializedThisType) argument
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fBufferTestUtil.hpp85 void setSubData (int offset, int numBytes, const deUint8* bytes);
87 deUint8* getPtr (int offset = 0) { return &m_data[offset]; }
88 const deUint8* getPtr (int offset = 0) const { return &m_data[offset]; }
112 virtual bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes) = DE_NULL;
132 bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes);
149 bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes);
165 bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes);
/external/linux-tools-perf/src/tools/perf/tests/
H A Ddso-data.c45 off_t offset; member in struct:test_data_offset
53 .offset = 10,
59 .offset = 10,
65 .offset = DSO__DATA_CACHE_SIZE - DSO__DATA_CACHE_SIZE % 10,
71 .offset = DSO__DATA_CACHE_SIZE - DSO__DATA_CACHE_SIZE % 10,
77 .offset = TEST_FILE_SIZE - 10,
83 .offset = TEST_FILE_SIZE - 10,
89 .offset = TEST_FILE_SIZE - 3,
115 size = dso__data_read_offset(dso, &machine, data->offset,
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
H A DCompositionTimeToSample.java35 * This box provides the offset between decoding time and composition time.
92 int offset; field in class:CompositionTimeToSample.Entry
94 public Entry(int count, int offset) { argument
96 this.offset = offset;
104 return offset;
111 public void setOffset(int offset) { argument
112 this.offset = offset;
119 ", offset
[all...]
/external/apache-http/src/org/apache/http/util/
H A DEncodingUtils.java58 * @param offset the index of the first byte to encode
65 int offset,
79 return new String(data, offset, length, charset);
81 return new String(data, offset, length);
152 * @param offset the index of the first byte to encode
156 public static String getAsciiString(final byte[] data, int offset, int length) { argument
163 return new String(data, offset, length, HTTP.US_ASCII);
63 getString( final byte[] data, int offset, int length, String charset ) argument
/external/dexmaker/src/dx/java/com/android/dx/dex/code/form/
H A DForm10t.java73 int offset = insn.getTargetOffset();
75 // Note: A zero offset would fit, but it is prohibited by the spec.
76 return (offset != 0) && signedFitsInByte(offset);
82 int offset = ((TargetInsn) insn).getTargetOffset();
84 write(out, opcodeUnit(insn, (offset & 0xff)));
H A DForm20t.java73 int offset = insn.getTargetOffset();
75 // Note: A zero offset would fit, but it is prohibited by the spec.
76 return (offset != 0) && signedFitsInShort(offset);
82 int offset = ((TargetInsn) insn).getTargetOffset();
84 write(out, opcodeUnit(insn, 0), (short) offset);
/external/e2fsprogs/lib/ext2fs/
H A Dtst_fs_struct.c2 * This testing program checks the offset of the ext2_filsys structure
27 static int do_field(const char *field, size_t size, int offset, int cur_offset) argument
29 if (offset != cur_offset) {
30 printf("\t(padding %d bytes?)\n", offset - cur_offset);
32 printf("%8d %-30s %3u\n", offset, field, (unsigned) size);
33 return offset + size;
41 printf("%8s %-30s %3s\n", "offset", "field", "size");
78 printf("Ending offset is %d\n\n", cur_offset);
/external/icu/icu4c/source/layout/
H A DKhmerLayoutEngine.cpp44 le_int32 KhmerOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, argument
51 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
75 le_int32 outCharCount = KhmerReordering::reorder(&chars[offset], count, fScriptCode, outChars, glyphStorage);
H A DTibetanLayoutEngine.cpp50 le_int32 TibetanOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, argument
57 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
81 le_int32 outCharCount = TibetanReordering::reorder(&chars[offset], count, fScriptCode, outChars, glyphStorage);
/external/libvpx/libvpx/third_party/libwebm/
H A Dmkvreader.cpp99 int MkvReader::Read(long long offset, long len, unsigned char* buffer) { argument
103 if (offset < 0)
112 if (offset >= m_length)
116 const int status = _fseeki64(m_file, offset, SEEK_SET);
121 fseek(m_file, offset, SEEK_SET);
/external/llvm/test/MC/ARM/
H A Darm_fixups.s8 @ CHECK: @ fixup A - offset: 0, value: _printf, kind: fixup_arm_uncondbl
10 @ CHECK-BE: @ fixup A - offset: 0, value: _printf, kind: fixup_arm_uncondbl
17 @ CHECK: @ fixup A - offset: 0, value: _foo, kind: fixup_arm_movw_lo16
19 @ CHECK-BE: @ fixup A - offset: 0, value: _foo, kind: fixup_arm_movw_lo16
21 @ CHECK: @ fixup A - offset: 0, value: _foo, kind: fixup_arm_movw_lo16
23 @ CHECK-BE: @ fixup A - offset: 0, value: _foo, kind: fixup_arm_movw_lo16
25 @ CHECK: @ fixup A - offset: 0, value: _foo, kind: fixup_arm_movt_hi16
27 @ CHECK-BE: @ fixup A - offset: 0, value: _foo, kind: fixup_arm_movt_hi16
32 @ CHECK: @ fixup A - offset: 0, value: fred, kind: fixup_arm_movw_lo16
34 @ CHECK-BE: @ fixup A - offset
[all...]

Completed in 929 milliseconds

<<11121314151617181920>>