HomeSort by relevance Sort by last modified time
    Searched refs:offset (Results 1 - 25 of 16262) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
BaseDexBuffer.java 45 public BaseDexBuffer(@Nonnull byte[] buf, int offset) {
47 this.baseOffset = offset;
50 public int readSmallUint(int offset) {
52 offset += baseOffset;
53 int result = (buf[offset] & 0xff) |
54 ((buf[offset+1] & 0xff) << 8) |
55 ((buf[offset+2] & 0xff) << 16) |
56 ((buf[offset+3]) << 24);
58 throw new ExceptionWithContext("Encountered small uint that is out of range at offset 0x%x", offset);
    [all...]
  /external/conscrypt/common/src/main/java/org/conscrypt/
ArrayUtils.java 26 * Checks that the range described by {@code offset} and {@code count}
29 static void checkOffsetAndCount(int arrayLength, int offset, int count) {
30 if ((offset | count) < 0 || offset > arrayLength || arrayLength - offset < count) {
32 + offset + "; regionLength=" + count);
  /frameworks/base/core/java/com/android/internal/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/icu/android_icu4j/src/main/java/android/icu/text/
UnicodeFilter.java 29 * filters. Matches a single 16-bit code unit at offset.
33 int[] offset,
37 if (offset[0] < limit &&
38 contains(c = text.char32At(offset[0]))) {
39 offset[0] += UTF16.getCharCount(c);
42 if (offset[0] > limit && contains(text.char32At(offset[0]))) {
43 // Backup offset by 1, unless the preceding character is a
44 // surrogate pair -- then backup by 2 (keep offset pointing at
46 --offset[0]
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
UnicodeFilter.java 34 * filters. Matches a single 16-bit code unit at offset.
39 int[] offset,
43 if (offset[0] < limit &&
44 contains(c = text.char32At(offset[0]))) {
45 offset[0] += UTF16.getCharCount(c);
48 if (offset[0] > limit && contains(text.char32At(offset[0]))) {
49 // Backup offset by 1, unless the preceding character is a
50 // surrogate pair -- then backup by 2 (keep offset pointing at
52 --offset[0]
    [all...]
  /external/skia/src/sksl/ast/
SkSLASTPositionNode.h 20 ASTPositionNode(int offset)
21 : fOffset(offset) {}
23 // character offset of this element within the program being compiled, for error reporting
  /external/skqp/src/sksl/ast/
SkSLASTPositionNode.h 20 ASTPositionNode(int offset)
21 : fOffset(offset) {}
23 // character offset of this element within the program being compiled, for error reporting
  /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/valgrind/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/syslinux/gpxe/src/drivers/bus/
pcibackup.c 32 * Check PCI configuration space offset against exclusion list
35 * @v offset Offset within PCI configuration space
39 pci_backup_excluded ( struct pci_device *pci, unsigned int offset,
45 if ( offset == *exclude ) {
46 DBGC ( pci, "PCI %p skipping configuration offset "
47 "%02x\n", pci, offset );
63 unsigned int offset; local
66 for ( offset = 0, dword = backup->dwords ; offset < 0x100
82 unsigned int offset; local
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
LocaleIDs.java 52 int offset = findIndex(_countries, country); local
53 if(offset>=0){
54 return _countries3[offset];
56 offset = findIndex(_obsoleteCountries, country);
57 if(offset>=0){
58 return _obsoleteCountries3[offset];
74 int offset = findIndex(_languages, language); local
75 if(offset>=0){
76 return _languages3[offset];
78 offset = findIndex(_obsoleteLanguages, language)
89 int offset = findIndex(_languages3, lang); local
105 int offset = findIndex(_countries3, region); local
453 int offset = findIndex(_deprecatedCountries, oldID); local
461 int offset = findIndex(_obsoleteLanguages, oldID); local
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
LocaleIDs.java 53 int offset = findIndex(_countries, country); local
54 if(offset>=0){
55 return _countries3[offset];
57 offset = findIndex(_obsoleteCountries, country);
58 if(offset>=0){
59 return _obsoleteCountries3[offset];
76 int offset = findIndex(_languages, language); local
77 if(offset>=0){
78 return _languages3[offset];
80 offset = findIndex(_obsoleteLanguages, language)
91 int offset = findIndex(_languages3, lang); local
107 int offset = findIndex(_countries3, region); local
455 int offset = findIndex(_deprecatedCountries, oldID); local
463 int offset = findIndex(_obsoleteLanguages, oldID); local
    [all...]
  /external/proguard/src/proguard/classfile/instruction/
Instruction.java 890 * Writes the Instruction at the given offset in the given code attribute.
892 public final void write(CodeAttribute codeAttribute, int offset)
894 write(codeAttribute.code, offset);
899 * Writes the Instruction at the given offset in the given code array.
901 public void write(byte[] code, int offset)
906 code[offset++] = InstructionConstants.OP_WIDE;
910 code[offset++] = opcode;
913 writeInfo(code, offset);
930 protected abstract void readInfo(byte[] code, int offset);
936 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...]
  /frameworks/base/core/java/android/text/method/
WordIterator.java 71 public int preceding(int offset) {
72 checkOffsetIsValid(offset);
74 offset = mIterator.preceding(offset);
75 if (offset == BreakIterator.DONE || isOnLetterOrDigit(offset)) {
76 return offset;
82 public int following(int offset) {
83 checkOffsetIsValid(offset);
85 offset = mIterator.following(offset)
    [all...]
  /external/swiftshader/third_party/LLVM/unittests/Support/
DataExtractorTest.cpp 27 uint32_t offset = 0; local
29 EXPECT_EQ(0x80U, DE.getU8(&offset));
30 EXPECT_EQ(1U, offset);
31 offset = 0;
32 EXPECT_EQ(0x8090U, DE.getU16(&offset));
33 EXPECT_EQ(2U, offset);
34 offset = 0;
35 EXPECT_EQ(0x8090FFFFU, DE.getU32(&offset));
36 EXPECT_EQ(4U, offset);
37 offset = 0
75 uint32_t offset = 0; local
92 uint32_t offset = 0; local
102 uint32_t offset = 0; local
    [all...]
  /device/google/cuttlefish_common/host/vsoc/lib/
gralloc_buffer_region_view.cpp 25 uint8_t* GrallocBufferRegionView::OffsetToBufferPtr(uint32_t offset) {
26 if (offset <= control_->region_desc().offset_of_region_data ||
27 offset >= control_->region_size()) {
29 << "Attempted to access a gralloc buffer outside region data, offset: "
30 << offset;
33 return region_offset_to_pointer<uint8_t>(offset);
  /external/elfutils/libelf/
gelf_offscn.c 41 gelf_offscn (Elf *elf, GElf_Off offset)
45 if ((Elf32_Off) offset != offset)
51 return INTUSE(elf32_offscn) (elf, (Elf32_Off) offset);
54 return INTUSE(elf64_offscn) (elf, offset);
  /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...]
  /external/strace/tests/
set_mempolicy.c 48 print_nodes(const unsigned long maxnode, unsigned int offset)
51 if (nlongs <= offset)
54 nlongs -= offset;
57 tail_alloc(size ? size : (offset ? 1 : 0));
68 for (i = 0; i < nlongs + offset; ++i) {
95 test_offset(const unsigned int offset)
99 print_nodes(maxnode, offset);
100 print_nodes(maxnode + 1, offset);
101 print_nodes(maxnode + 2, offset);
104 print_nodes(0, offset);
    [all...]
  /external/strace/tests-m32/
set_mempolicy.c 48 print_nodes(const unsigned long maxnode, unsigned int offset)
51 if (nlongs <= offset)
54 nlongs -= offset;
57 tail_alloc(size ? size : (offset ? 1 : 0));
68 for (i = 0; i < nlongs + offset; ++i) {
95 test_offset(const unsigned int offset)
99 print_nodes(maxnode, offset);
100 print_nodes(maxnode + 1, offset);
101 print_nodes(maxnode + 2, offset);
104 print_nodes(0, offset);
    [all...]
  /external/strace/tests-mx32/
set_mempolicy.c 48 print_nodes(const unsigned long maxnode, unsigned int offset)
51 if (nlongs <= offset)
54 nlongs -= offset;
57 tail_alloc(size ? size : (offset ? 1 : 0));
68 for (i = 0; i < nlongs + offset; ++i) {
95 test_offset(const unsigned int offset)
99 print_nodes(maxnode, offset);
100 print_nodes(maxnode + 1, offset);
101 print_nodes(maxnode + 2, offset);
104 print_nodes(0, offset);
    [all...]

Completed in 1458 milliseconds

1 2 3 4 5 6 7 8 91011>>