/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
ChildHelper.java | 97 final int offset; local 99 offset = mCallback.getChildCount(); 101 offset = getOffset(index); 103 mBucket.insert(offset, hidden); 107 mCallback.addView(child, offset); 118 int offset = index; local 119 while (offset < limit) { 120 final int removedBefore = mBucket.countOnesBefore(offset); 121 final int diff = index - (offset - removedBefore); 123 while (mBucket.get(offset)) { // ensure this offset is not hidde 160 final int offset = getOffset(index); local 180 final int offset = getOffset(index); local 229 final int offset; local 282 final int offset = getOffset(index); local 328 final int offset = mCallback.indexOfChild(view); local 350 final int offset = mCallback.indexOfChild(view); local [all...] |
/dalvik/dx/tests/093-ssa-invoke-range/ |
Blort.java | 58 int offset = 1; local 62 methodThatNeedsInvokeRange(src, 0, dest, offset, 5, 0); 63 return offset; 65 long offset = System.currentTimeMillis();; local 66 return offset;
|
/external/brotli/java/org/brotli/wrapper/common/ |
SetZeroDictionaryTest.java | 41 int offset = 0; local 44 while ((bytesRead = decoder.read(output, offset, 17 - offset)) != -1) { 45 offset += bytesRead; 50 assertEquals(16, offset);
|
/external/dng_sdk/source/ |
dng_memory_stream.cpp | 80 uint64 offset) 83 if (offset + count > fMemoryStreamLength) 90 uint64 baseOffset = offset; 95 uint32 pageIndex = (uint32) (offset / fPageSize); 96 uint32 pageOffset = (uint32) (offset % fPageSize); 103 uint8 *dPtr = ((uint8 *) data) + (uint32) (offset - baseOffset); 107 offset += blockCount; 188 uint64 offset) 192 offset + count)); 194 uint64 baseOffset = offset; 236 uint64 offset = Position (); local [all...] |
/external/dtc/tests/ |
addr_size_cells.c | 32 int offset; local 35 offset = fdt_path_offset(fdt, path); 36 if (offset < 0) 39 xac = fdt_address_cells(fdt, offset); 40 xsc = fdt_size_cells(fdt, offset);
|
node_check_compatible.c | 34 int offset, err; local 36 offset = fdt_path_offset(fdt, path); 37 if (offset < 0) 38 FAIL("fdt_path_offset(%s): %s", path, fdt_strerror(offset)); 40 err = fdt_node_check_compatible(fdt, offset, compat);
|
/external/elfutils/libelf/ |
gelf_getverdaux.c | 1 /* Get additional symbol version definition information at the given offset. 42 gelf_getverdaux (Elf_Data *data, int offset, GElf_Verdaux *dst) 64 if (unlikely (offset < 0) 65 || unlikely (offset + sizeof (GElf_Verdaux) > data->d_size) 66 || unlikely (offset % __alignof__ (GElf_Verdaux) != 0)) 72 result = (GElf_Verdaux *) memcpy (dst, (char *) data->d_buf + offset,
|
gelf_getverdef.c | 1 /* Get symbol version definition information at the given offset. 42 gelf_getverdef (Elf_Data *data, int offset, GElf_Verdef *dst) 64 if (unlikely (offset < 0) 65 || unlikely (offset + sizeof (GElf_Verdef) > data->d_size) 66 || unlikely (offset % __alignof__ (GElf_Verdef) != 0)) 72 result = (GElf_Verdef *) memcpy (dst, (char *) data->d_buf + offset,
|
gelf_getvernaux.c | 1 /* Get additional required symbol version information at the given offset. 42 gelf_getvernaux (Elf_Data *data, int offset, GElf_Vernaux *dst) 67 if (unlikely (offset < 0) 68 || unlikely (offset + sizeof (GElf_Vernaux) > data->d_size) 69 || unlikely (offset % sizeof (GElf_Vernaux) != 0)) 75 result = (GElf_Vernaux *) memcpy (dst, (char *) data->d_buf + offset,
|
gelf_getverneed.c | 1 /* Get required symbol version information at the given offset. 42 gelf_getverneed (Elf_Data *data, int offset, GElf_Verneed *dst) 67 if (unlikely (offset < 0) 68 || unlikely (offset + sizeof (GElf_Verneed) > data->d_size) 69 || unlikely (offset % sizeof (GElf_Verneed) != 0)) 75 result = (GElf_Verneed *) memcpy (dst, (char *) data->d_buf + offset,
|
/external/libdrm/ |
libdrm_macros.h | 50 int fd, loff_t offset) 52 /* offset must be aligned to 4096 (not necessarily the page size) */ 53 if (offset & 4095) { 58 return mmap64(addr, length, prot, flags, fd, offset); 68 # define drm_mmap(addr, length, prot, flags, fd, offset) \ 69 mmap(addr, length, prot, flags, fd, offset)
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
read_checkzero.c | 51 off_t offset; local 54 offset = lseek(fd, 4096, SEEK_END); 57 offset = lseek(fd, offset - 4096, SEEK_SET); 62 fprintf(stderr, "non-zero read at offset %p\n", 63 offset + bufoff);
|
/external/mesa3d/src/gallium/auxiliary/os/ |
os_mman.h | 62 int fd, loff_t offset) 64 /* offset must be aligned to 4096 (not necessarily the page size) */ 65 if (unlikely(offset & 4095)) { 70 return __mmap2(addr, length, prot, flags, fd, (size_t) (offset >> 12)); 78 # define os_mmap(addr, length, prot, flags, fd, offset) \ 79 mmap(addr, length, prot, flags, fd, offset)
|
/external/mesa3d/src/glx/ |
packrender.h | 157 #define __GLX_PUT_CHAR(offset,a) \ 160 memcpy((pc + (offset)), &__tmp, 1); \ 163 #define __GLX_PUT_SHORT(offset,a) \ 166 memcpy((pc + (offset)), &__tmp, 2); \ 169 #define __GLX_PUT_LONG(offset,a) \ 172 memcpy((pc + (offset)), &__tmp, 4); \ 175 #define __GLX_PUT_FLOAT(offset,a) \ 178 memcpy((pc + (offset)), &__tmp, 4); \ 181 #define __GLX_PUT_DOUBLE(offset,a) \ 184 memcpy((pc + (offset)), &__tmp, 8); [all...] |
/external/proguard/src/proguard/classfile/attribute/preverification/visitor/ |
StackMapFrameVisitor.java | 35 public void visitSameZeroFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SameZeroFrame sameZeroFrame); 36 public void visitSameOneFrame( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SameOneFrame sameOneFrame); 37 public void visitLessZeroFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LessZeroFrame lessZeroFrame); 38 public void visitMoreZeroFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, MoreZeroFrame moreZeroFrame); 39 public void visitFullFrame( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, FullFrame fullFrame);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/ |
VariableSizeCollection.java | 42 private final int offset; field in class:VariableSizeCollection 45 public VariableSizeCollection(@Nonnull DexBackedDexFile dexFile, int offset, int size) { 47 this.offset = offset; 56 return new VariableSizeIterator<T>(dexFile, offset, size) {
|
VariableSizeSet.java | 42 private final int offset; field in class:VariableSizeSet 45 public VariableSizeSet(@Nonnull DexBackedDexFile dexFile, int offset, int size) { 47 this.offset = offset; 56 return new VariableSizeIterator<T>(dexFile, offset, size) {
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/ |
BuilderTypeList.java | 45 int offset = DexWriter.NO_OFFSET; field in class:BuilderTypeList 60 return offset; 63 public void setOffset(int offset) { 64 this.offset = offset;
|
/external/strace/tests/ |
fadvise64_64.c | 47 do_fadvise(long fd, long long offset, long long llen, long advice) 55 ret = syscall(__NR_fadvise64_64, fd, offset, llen, advice); 58 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen)); 61 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen), advice); 65 printf("fadvise64_64(%d, %lld, %lld, ", (int) fd, offset, llen);
|
/external/strace/tests-m32/ |
fadvise64_64.c | 47 do_fadvise(long fd, long long offset, long long llen, long advice) 55 ret = syscall(__NR_fadvise64_64, fd, offset, llen, advice); 58 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen)); 61 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen), advice); 65 printf("fadvise64_64(%d, %lld, %lld, ", (int) fd, offset, llen);
|
/external/strace/tests-mx32/ |
fadvise64_64.c | 47 do_fadvise(long fd, long long offset, long long llen, long advice) 55 ret = syscall(__NR_fadvise64_64, fd, offset, llen, advice); 58 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen)); 61 LL_VAL_TO_PAIR(offset), LL_VAL_TO_PAIR(llen), advice); 65 printf("fadvise64_64(%d, %lld, %lld, ", (int) fd, offset, llen);
|
/frameworks/av/media/extractors/mp3/ |
XINGSeeker.cpp | 83 int offset = first_frame_pos; local 84 if (source->readAt(offset, &buffer, 4) < 4) { // get header 87 offset += 4; 100 // determine offset of XING header 102 if (num_channels != 1) offset += 32; 103 else offset += 17; 105 if (num_channels != 1) offset += 17; 106 else offset += 9; 109 int xingbase = offset; 111 if (source->readAt(offset, &buffer, 4) < 4) { // XING header I [all...] |
/frameworks/av/media/mtp/ |
MtpPacket.cpp | 94 uint16_t MtpPacket::getUInt16(int offset) const { 95 return ((uint16_t)mBuffer[offset + 1] << 8) | (uint16_t)mBuffer[offset]; 98 uint32_t MtpPacket::getUInt32(int offset) const { 99 return ((uint32_t)mBuffer[offset + 3] << 24) | ((uint32_t)mBuffer[offset + 2] << 16) | 100 ((uint32_t)mBuffer[offset + 1] << 8) | (uint32_t)mBuffer[offset]; 103 void MtpPacket::putUInt16(int offset, uint16_t value) { 104 mBuffer[offset++] = (uint8_t)(value & 0xFF) 148 int offset = MTP_CONTAINER_PARAMETER_OFFSET + (index - 1) * sizeof(uint32_t); local [all...] |
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
eglCreateWindowSurface.java | 8 int offset 16 int offset 23 int offset 38 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset); 41 win, attrib_list, offset);
|
/hardware/qcom/display/msm8084/libgralloc/ |
memalloc.h | 46 size_t offset; member in struct:gralloc::alloc_data 65 size_t offset, int fd) = 0; 69 size_t offset, int fd) = 0; 73 size_t offset) = 0; 77 size_t offset, int fd, int op) = 0;
|