/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/tasm/tests/ |
offset.asm | 2 mov ax,offset a 3 mov ax,offset[a]
|
label.asm | 2 mov ax,offset a
|
/external/conscrypt/src/main/java/org/conscrypt/util/ |
Arrays.java | 27 * Checks that the range described by {@code offset} and {@code count} 32 public static final void checkOffsetAndCount(int arrayLength, int offset, int count) { 33 if ((offset | count) < 0 || offset > arrayLength || arrayLength - offset < count) { 35 + offset + "; regionLength=" + count);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/ |
BaseDexBuffer.java | 45 public int readSmallUint(int offset) { 47 int result = (buf[offset] & 0xff) | 48 ((buf[offset+1] & 0xff) << 8) | 49 ((buf[offset+2] & 0xff) << 16) | 50 ((buf[offset+3]) << 24); 52 throw new ExceptionWithContext("Encountered small uint that is out of range at offset 0x%x", offset); 57 public int readOptionalUint(int offset) { 59 int result = (buf[offset] & 0xff) | 60 ((buf[offset+1] & 0xff) << 8) [all...] |
/frameworks/base/core/java/android/alsa/ |
LineTokenizer.java | 34 int offset = startIndex; local 35 for (; offset < len; offset++) { 36 if (mDelimiters.indexOf(line.charAt(offset)) == -1) { 42 return offset < len ? offset : kTokenNotFound; 47 int offset = startIndex; local 48 for (; offset < len; offset++) { 49 if (mDelimiters.indexOf(line.charAt(offset)) != -1) [all...] |
/external/smali/util/src/main/java/org/jf/util/ |
AlignmentUtils.java | 32 public static int alignOffset(int offset, int alignment) { 35 return (offset + mask) & ~mask; 38 public static boolean isAligned(int offset, int alignment) { 39 return (offset % alignment) == 0;
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
glBindVertexBuffer.java | 1 // C function void glBindVertexBuffer ( GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride ) 6 long offset,
|
/external/llvm/unittests/Support/ |
DataExtractorTest.cpp | 28 uint32_t offset = 0; local 30 EXPECT_EQ(0x80U, DE.getU8(&offset)); 31 EXPECT_EQ(1U, offset); 32 offset = 0; 33 EXPECT_EQ(0x8090U, DE.getU16(&offset)); 34 EXPECT_EQ(2U, offset); 35 offset = 0; 36 EXPECT_EQ(0x8090FFFFU, DE.getU32(&offset)); 37 EXPECT_EQ(4U, offset); 38 offset = 0 76 uint32_t offset = 0; local 93 uint32_t offset = 0; local 103 uint32_t offset = 0; local [all...] |
/external/elfutils/0.153/libelf/ |
gelf_offscn.c | 62 gelf_offscn (elf, offset) 64 GElf_Off offset; 68 if ((Elf32_Off) offset != offset) 74 return INTUSE(elf32_offscn) (elf, (Elf32_Off) offset); 77 return INTUSE(elf64_offscn) (elf, offset);
|
/external/valgrind/main/none/tests/mips64/ |
macro_load_store.h | 3 #define TEST1(instruction, offset, mem) \ 14 : "r" (mem), "r" (offset) \ 17 printf("%s :: offset: 0x%x, out: 0x%lx\n", \ 18 instruction, offset, out); \ 21 #define TEST2(instruction, offset) \ 40 : "r" (reg_val2) , "r" (reg_val_zero), "r" (offset) \ 43 printf("%s :: offset: 0x%x, out: 0x%lx, outHI: 0x%lx\n", \ 44 instruction, offset, out, outHI); \ 47 #define TEST3(instruction, offset, mem) \ 58 : "r" (mem) , "r" (offset) \ [all...] |
/external/proguard/src/proguard/classfile/instruction/ |
Instruction.java | 682 * Writes the Instruction at the given offset in the given code attribute. 684 public final void write(CodeAttribute codeAttribute, int offset) 686 write(codeAttribute.code, offset); 691 * Writes the Instruction at the given offset in the given code array. 693 public void write(byte[] code, int offset) 698 code[offset++] = InstructionConstants.OP_WIDE; 702 code[offset++] = opcode; 705 writeInfo(code, offset); 722 protected abstract void readInfo(byte[] code, int offset); 728 protected abstract void writeInfo(byte[] code, int offset); [all...] |
LookUpSwitchInstruction.java | 83 protected void readInfo(byte[] code, int offset) 86 offset += -offset & 3; 89 defaultOffset = readInt(code, offset); offset += 4; 90 int jumpOffsetCount = readInt(code, offset); offset += 4; 92 // Read the matches-offset pairs. 98 cases[index] = readInt(code, offset); offset += 4 [all...] |
TableSwitchInstruction.java | 87 protected void readInfo(byte[] code, int offset) 90 offset += -offset & 3; 93 defaultOffset = readInt(code, offset); offset += 4; 94 lowCase = readInt(code, offset); offset += 4; 95 highCase = readInt(code, offset); offset += 4; 102 jumpOffsets[index] = readInt(code, offset); offset += 4 [all...] |
/external/qemu-pc-bios/bochs/bios/ |
biossums.c | 35 long chksum_bios_get_offset( byte* data, long offset ); 36 byte chksum_bios_calc_value( byte* data, long offset ); 37 byte chksum_bios_get_value( byte* data, long offset ); 38 void chksum_bios_set_value( byte* data, long offset, byte value ); 46 long chksum__32__get_offset( byte* data, long offset ); 47 byte chksum__32__calc_value( byte* data, long offset ); 48 byte chksum__32__get_value( byte* data, long offset ); 49 void chksum__32__set_value( byte* data, long offset, byte value ); 57 long chksum__mp__get_offset( byte* data, long offset ); 58 byte chksum__mp__calc_value( byte* data, long offset ); 94 long offset, tmp_offset; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/parser/ |
CSSParserObserver.h | 54 virtual void startRuleHeader(CSSRuleSourceData::Type, unsigned offset) = 0; 55 virtual void endRuleHeader(unsigned offset) = 0; 56 virtual void startSelector(unsigned offset) = 0; 57 virtual void endSelector(unsigned offset) = 0; 58 virtual void startRuleBody(unsigned offset) = 0; 59 virtual void endRuleBody(unsigned offset, bool error) = 0; 61 virtual void startProperty(unsigned offset) = 0; 62 virtual void endProperty(bool isImportant, bool isParsed, unsigned offset, CSSParserError) = 0; 63 virtual void startComment(unsigned offset) = 0; 64 virtual void endComment(unsigned offset) = 0 [all...] |
/external/chromium_org/third_party/brotli/src/woff2/ |
store_bytes.h | 27 inline size_t StoreU32(uint8_t* dst, size_t offset, uint32_t x) { 28 dst[offset] = x >> 24; 29 dst[offset + 1] = x >> 16; 30 dst[offset + 2] = x >> 8; 31 dst[offset + 3] = x; 32 return offset + 4; 35 inline size_t Store16(uint8_t* dst, size_t offset, int x) { 36 dst[offset] = x >> 8; 37 dst[offset + 1] = x; 38 return offset + 2 [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ |
ScriptText.java | 11 public int getColumn(int offset) { 12 int lineStart = findLineStart(offset); 13 return lineStart == -1 ? -1 : offset - lineStart; 16 public String getLineTextAt(int offset) { 17 int lineStart = findLineStart(offset); 21 int lineEnd = text.indexOf('\n', offset); 28 private int findLineStart(int offset) { 29 if (offset > text.length()) { 32 return text.lastIndexOf('\n', offset) + 1;
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
LittleEndian.java | 34 * the given offset. 36 * @param src the byte offset where to read the value from 37 * @param offset the byte array to extract the value from 40 public static int getUInt8(byte[] src, int offset) { 41 return src[offset] & 0xFF; 45 * Gets a 16-bit unsigned integer from the given byte array at the given offset. 48 * @param offset 50 public static int getUInt16(byte[] src, int offset) { 51 final int v0 = src[offset + 0] & 0xFF; 52 final int v1 = src[offset + 1] & 0xFF [all...] |
Sector.java | 32 private final long offset; field in class:Sector 41 protected Sector(BlockDevice device, long offset, int size) { 42 this.offset = offset; 59 device.read(offset, buffer); 85 device.write(offset, buffer); 89 protected int get16(int offset) { 90 return buffer.getShort(offset) & 0xffff; 93 protected long get32(int offset) { 94 return buffer.getInt(offset) & 0xffffffff [all...] |
/external/elfutils/0.153/libdwfl/ |
dwfl_getmodules.c | 57 ptrdiff_t offset) 63 But continuing from an offset is slow that way. So when 67 choose the style of place-holder when we return an offset, 72 if ((offset & 3) == 1) 74 offset >>= 2; 75 for (ptrdiff_t pos = 0; pos < offset; ++pos) 81 else if (((offset & 3) == 2) && likely (dwfl->lookup_module != NULL)) 83 offset >>= 2; 85 if ((size_t) offset - 1 == dwfl->lookup_elts) 88 if (unlikely ((size_t) offset - 1 > dwfl->lookup_elts) [all...] |
/external/chromium_org/chrome/common/ |
spellcheck_marker.h | 16 return marker.offset < text_length_; 23 SpellCheckMarker() : hash(-1), offset(-1) {} 25 SpellCheckMarker(uint32 hash, size_t offset) : hash(hash), offset(offset) {} 28 size_t offset; member in class:SpellCheckMarker
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/ |
BrokenInputStream.java | 31 private int offset; field in class:BrokenInputStream 33 public BrokenInputStream(InputStream stream, int offset) { 37 this.offset = offset; 42 if (offset == 0) { 46 offset--;
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGStopElement.idl | 27 readonly attribute SVGAnimatedNumber offset;
|
/libcore/luni/src/main/java/java/nio/charset/ |
Charsets.java | 29 public static native byte[] toAsciiBytes(char[] chars, int offset, int length); 35 public static native byte[] toIsoLatin1Bytes(char[] chars, int offset, int length); 41 public static native byte[] toUtf8Bytes(char[] chars, int offset, int length); 47 public static byte[] toBigEndianUtf16Bytes(char[] chars, int offset, int length) { 49 int end = offset + length; 51 for (int i = offset; i < end; ++i) { 67 public static native void asciiBytesToChars(byte[] bytes, int offset, int length, char[] chars); 76 public static native void isoLatin1BytesToChars(byte[] bytes, int offset, int length, char[] chars);
|
/libcore/luni/src/main/java/libcore/io/ |
Memory.java | 45 public static int peekInt(byte[] src, int offset, ByteOrder order) { 47 return (((src[offset++] & 0xff) << 24) | 48 ((src[offset++] & 0xff) << 16) | 49 ((src[offset++] & 0xff) << 8) | 50 ((src[offset ] & 0xff) << 0)); 52 return (((src[offset++] & 0xff) << 0) | 53 ((src[offset++] & 0xff) << 8) | 54 ((src[offset++] & 0xff) << 16) | 55 ((src[offset ] & 0xff) << 24)); 59 public static long peekLong(byte[] src, int offset, ByteOrder order) [all...] |