Searched defs:offset (Results 501 - 525 of 4384) sorted by relevance

<<21222324252627282930>>

/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/
H A DMockRectF.java57 public void offset(float dx, float dy) { method in class:MockRectF
/external/annotation-tools/annotation-file-utilities/src/annotator/scanner/
H A DCastScanner.java70 * Adds a cast bytecode offset to the current list of offsets for
75 * @param offset the offset to add
77 public static void addCastToMethod(String methodName, Integer offset) { argument
83 if (methodName.equals(prevMethodName) && offset-prevOffset == 3) {
87 offsetList.add(offsetList.size()-nestLevels, offset);
90 offsetList.add(offset);
93 prevOffset = offset;
97 * Returns the index of the given offset within the list of offsets
99 * or returns a negative number if the offset i
107 getMethodCastIndex(String methodName, Integer offset) argument
[all...]
H A DNewScanner.java97 public static void addNewToMethod(String methodName, Integer offset) { argument
98 debug("adding new to method: " + methodName + " offset: " + offset);
104 offsetList.add(offset);
107 public static Integer getMethodNewIndex(String methodName, Integer offset) { argument
114 Integer offsetIndex = offsetList.indexOf(offset);
117 + "in method: " + methodName + " did not find offset: "
118 + offset);
/external/annotation-tools/asmx/src/org/objectweb/asm/
H A DTypePath.java71 * The offset of the first byte of the type path in 'b'.
73 int offset; field in class:TypePath
81 * @param offset
82 * the offset of the first byte of the type path in 'b'.
84 TypePath(byte[] b, int offset) { argument
86 this.offset = offset;
95 return b[offset];
108 return b[offset + 2 * index + 1];
122 return b[offset
[all...]
/external/annotation-tools/scene-lib/src/annotations/io/classfile/
H A DCodeOffsetAdapter.java21 int offset; field in class:CodeOffsetAdapter
73 offset = codeStart + cr.readInt(codeStart - 4);
76 debug.debug("attribute %s%n", cr.readUTF8(offset, buf));
77 offset += 6 + cr.readInt(offset + 2);
79 methodEnd = offset;
86 offset = 0;
97 debug.debug("%d visitFieldInsn(%d, %s, %s, %s)%n", offset,
99 offset += 3;
105 debug.debug("%d visitIincInsn(%d, %d)%n", offset, va
[all...]
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_StringReader.java125 * stores them at <code>offset</code> in the character array
130 * @param offset offset in buf to store the read characters
136 public int read(char buf[], int offset, int count) throws IOException { argument
138 if (0 <= offset && offset <= buf.length && 0 <= count
139 && count <= buf.length - offset) {
147 str.getChars(pos, end, buf, offset);
/external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/
H A DTypedRange.java18 * A range, annotated with metadata, that is represented as an offset and a length. Comparison is
19 * performed based on the natural ordering of the offset field.
24 * The offset at which the range starts.
26 private final long offset; field in class:TypedRange
40 * @param offset the offset at which the range starts
44 public TypedRange(long offset, long length, T metadata) { argument
45 this.offset = offset;
52 return "offset "
[all...]
/external/brotli/java/org/brotli/dec/
H A DUtils.java28 * @param offset the first byte to fill
47 * @param offset the first item to fill
63 static int readInput(InputStream src, byte[] dst, int offset, int length) { argument
65 return src.read(dst, offset, length);
/external/brotli/java/org/brotli/integration/
H A DBundleHelper.java81 public static long updateCrc64(long crc, byte[] data, int offset, int length) { argument
82 for (int i = offset; i < offset + length; ++i) {
/external/bsdiff/
H A Dpatch_reader.cc91 size_t offset = 32; local
92 if (!ctrl_stream_->SetInputData(const_cast<uint8_t*>(patch_data) + offset,
98 offset += ctrl_len;
99 if (!diff_stream_->SetInputData(const_cast<uint8_t*>(patch_data) + offset,
105 offset += diff_len;
106 if (!extra_stream_->SetInputData(const_cast<uint8_t*>(patch_data) + offset,
107 patch_size - offset)) {
108 LOG(ERROR) << "Failed to init extra stream, extra_offset: " << offset
/external/clang/tools/libclang/
H A DCXLoadedDiagnostic.h66 /// \brief Decode the CXSourceLocation into file, line, column, and offset.
71 unsigned *offset);
77 unsigned offset; member in struct:clang::CXLoadedDiagnostic::Location
79 Location() : line(0), column(0), offset(0) {}
/external/compiler-rt/lib/asan/tests/
H A Dasan_fake_stack_test.cc49 uptr offset = 0; local
54 EXPECT_EQ(offset, FakeStack::FlagsOffset(stack_size_log, class_id));
55 // printf("%zd: %zd => %zd %zd\n", stack_size_log, class_id, offset,
57 offset += num_flags;
/external/compiler-rt/lib/profile/
H A DWindowsMMap.c32 void *mmap(void *start, size_t length, int prot, int flags, int fd, off_t offset) argument
37 if (!(flags & MAP_ANON) || offset)
56 off_t end = length + offset;
75 void *ret = MapViewOfFile(h, dwDesiredAccess, DWORD_HI(offset), DWORD_LO(offset), length);
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_freebsd.cc51 bool MemoryMappingLayout::Next(uptr *start, uptr *end, uptr *offset, argument
59 if (!offset) offset = &dummy;
65 *offset = (uptr)VmEntry->kve_offset;
H A Dsanitizer_procmaps_linux.cc29 bool MemoryMappingLayout::Next(uptr *start, uptr *end, uptr *offset, argument
37 if (!offset) offset = &dummy;
61 *offset = ParseHex(&current_);
H A Dsanitizer_stacktrace_printer.cc76 // Function name and offset, if file is unknown.
102 // Module basename and offset, or PC.
139 uptr offset, const char *strip_path_prefix) {
141 offset);
138 RenderModuleLocation(InternalScopedString *buffer, const char *module, uptr offset, const char *strip_path_prefix) argument
/external/conscrypt/common/src/main/java/org/conscrypt/
H A DOpenSSLECDHKeyAgreement.java95 protected int engineGenerateSecret(byte[] sharedSecret, int offset) argument
98 int available = sharedSecret.length - offset;
104 System.arraycopy(mResult, 0, sharedSecret, offset, mResult.length);
/external/deqp/executor/
H A DxeTestLogParser.cpp169 int offset = m_currentCaseData->getDataSize(); local
172 m_currentCaseData->setDataSize(offset+numDataBytes);
173 m_containerParser.getData(m_currentCaseData->getData()+offset, numDataBytes, 0);
/external/dtc/tests/
H A Dnode_offset_by_prop_value.c34 int offset = -1, target; local
39 target, offset);
40 offset = fdt_node_offset_by_prop_value(fdt, offset, propname,
42 verbose_printf("%d\n", offset);
44 if (offset != target)
46 "instead of %d", offset, target);
H A Dnopulate.c34 int offset, nextoffset = 0; local
41 offset = nextoffset;
42 tag = fdt_next_tag(fdt, offset, &nextoffset);
44 memcpy(p, (const char *)fdt + fdt_off_dt_struct(fdt) + offset,
45 nextoffset - offset);
46 p += nextoffset - offset;
H A Dpath_offset.c32 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 Dstringlist.c34 int offset, err; local
36 offset = fdt_path_offset(fdt, "/");
37 if (offset < 0)
40 err = fdt_stringlist_count(fdt, offset, "#address-cells");
44 err = fdt_stringlist_search(fdt, offset, "#address-cells", "foo");
58 err = fdt_stringlist_search(fdt, offset, "#address-cells", "");
73 int offset, err; local
75 offset = fdt_path_offset(fdt, path);
76 if (offset < 0)
79 err = fdt_stringlist_count(fdt, offset, propert
93 int offset, err; local
111 int offset, len; local
[all...]
H A Dsubnode_offset.c32 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;
71 FAIL("Different subnodes have same offset");
/external/e2fsprogs/lib/ext2fs/
H A Ddblist_dir.c32 int offset,
26 ext2fs_dblist_dir_iterate(ext2_dblist dblist, int flags, char *block_buf, int (*func)(ext2_ino_t dir, int entry, struct ext2_dir_entry *dirent, int offset, int blocksize, char *buf, void *priv_data), void *priv_data) argument
H A Dunlink.c35 int offset,
60 if (offset)
34 unlink_proc(struct ext2_dir_entry *dirent, int offset, int blocksize EXT2FS_ATTR((unused)), char *buf EXT2FS_ATTR((unused)), void *priv_data) argument

Completed in 509 milliseconds

<<21222324252627282930>>