/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
EndianUtils.java | 112 * Writes a "short" value to a byte array at a given offset. The value is 115 * @param offset starting offset in the byte array 118 public static void writeSwappedShort(byte[] data, int offset, short value) { 119 data[ offset + 0 ] = (byte)( ( value >> 0 ) & 0xff ); 120 data[ offset + 1 ] = (byte)( ( value >> 8 ) & 0xff ); 124 * Reads a "short" value from a byte array at a given offset. The value is 127 * @param offset starting offset in the byte array 130 public static short readSwappedShort(byte[] data, int offset) { [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/fpos/fpos.operations/ |
offset.pass.cpp | 23 std::streamoff offset(p); 24 assert(offset == 7);
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/input.output/iostreams.base/fpos/fpos.operations/ |
offset.pass.cpp | 23 std::streamoff offset(p); 24 assert(offset == 7);
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/cfi/ |
cfi-diag-1.l | 2 .*:2: Error: register save offset not a multiple of .*
|
/tools/apksig/src/main/java/com/android/apksig/internal/util/ |
ByteArrayDataSink.java | 49 public void consume(byte[] buf, int offset, int length) throws IOException { 50 if (offset < 0) { 53 throw new IndexOutOfBoundsException("offset: " + offset); 55 if (offset > buf.length) { 59 "offset: " + offset + ", buf.length: " + buf.length); 66 System.arraycopy(buf, offset, mArray, mSize, length); 116 public ByteBuffer getByteBuffer(long offset, int size) { 117 checkChunkValid(offset, size) [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
fseek.c | 61 * Seek the given file to the given offset.
62 * Zero extend the offset if SEEK_SET to allow access to 4GB files
67 off_t offset;
local 70 offset = (off_t)((UINT64)l_offset); // Coerce to unsigned to prevent sign extension
72 offset = (off_t)l_offset; // OK for this one to be negative
73 return fseeko(fp, offset, whence);
|
/external/clang/test/CodeGenCXX/ |
2008-05-07-CrazyOffsetOf.cpp | 8 int offset = (char *) &(((struct bork *) 0x10)->query) - (char *) 0x10; variable
|
/external/elfutils/libdw/ |
dwarf_haspc.c | 46 ptrdiff_t offset = 0; local 47 while ((offset = INTUSE(dwarf_ranges) (die, offset, &base, 52 return offset;
|
/external/elfutils/libelf/ |
elf_rand.c | 41 elf_rand (Elf *elf, size_t offset) 49 /* Save the old offset and set the offset. */ 50 elf->state.ar.offset = elf->start_offset + offset; 62 return offset;
|
/external/fio/ |
helpers.h | 9 extern int fallocate(int fd, int mode, off_t offset, off_t len); 10 extern int posix_fallocate(int fd, off_t offset, off_t len); 11 extern int sync_file_range(int fd, off64_t offset, off64_t nbytes, 13 extern int posix_fadvise(int fd, off_t offset, off_t len, int advice);
|
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
llseek.h | 9 llse_loff_t offset,
|
/external/syslinux/core/fs/lib/ |
close.c | 6 file->offset = 0;
|
/external/valgrind/coregrind/m_gdbserver/ |
regdef.h | 35 /* The offset (in bits) of the value of this register in the buffer. */ 36 int offset; member in struct:reg
|
/external/vboot_reference/tests/futility/ |
binary_editor.c | 8 * offset with the specified 8-bit values. 19 uint32_t offset, curpos, curarg; local 23 fprintf(stderr, "Need two or more args: OFFSET VAL [VAL...]\n"); 27 offset = (uint32_t)strtoul(argv[1], 0, 0); 31 if (curpos == offset && curarg < argc) { 33 offset++;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
GLId.java | 26 public void glGenBuffers(int n, int[] buffers, int offset); 28 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset); 30 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset); 32 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset);
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
eglCreatePixmapSurface.java | 9 int offset
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
glGetBooleanv.java | 6 int offset
|
glGetFloatv.java | 6 int offset
|
glGetIntegerv.java | 6 int offset
|
/libcore/luni/src/main/java/org/w3c/dom/ |
CharacterData.java | 68 * @param offset Start offset of substring to extract. 70 * @return The specified substring. If the sum of <code>offset</code> and 74 * INDEX_SIZE_ERR: Raised if the specified <code>offset</code> is 81 public String substringData(int offset, 97 * Insert a string at the specified 16-bit unit offset. 98 * @param offset The character offset at which to insert. 101 * INDEX_SIZE_ERR: Raised if the specified <code>offset</code> is 106 public void insertData(int offset, [all...] |
/libcore/ojluni/src/main/java/java/nio/ |
MappedByteBuffer.java | 87 MappedByteBuffer(int mark, int pos, int lim, int cap, byte[] buf, int offset) { 88 super(mark, pos, lim, cap, buf, offset); 107 long offset = address % ps; local 108 return (offset >= 0) ? offset : (ps + offset); 141 long offset = mappingOffset(); local 142 long length = mappingLength(offset); 143 return isLoaded0(mappingAddress(offset), length, Bits.pageCount(length)); 163 long offset = mappingOffset() local 206 long offset = mappingOffset(); local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
GLId.java | 26 public void glGenBuffers(int n, int[] buffers, int offset); 28 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset); 30 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset); 32 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset);
|
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
GLId.java | 26 public void glGenBuffers(int n, int[] buffers, int offset); 28 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset); 30 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset); 32 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset);
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/mmix/ |
basep-1.s | 1 # Simple base-plus-offset
|
/tools/apksig/src/main/java/com/android/apksig/util/ |
DataSource.java | 63 * @param offset index (in bytes) at which the chunk starts inside data source 66 * @throws IndexOutOfBoundsException if {@code offset} or {@code size} is negative, or if 67 * {@code offset + size} is greater than {@link #size()}. 69 void feed(long offset, long size, DataSink sink) throws IOException; 79 * @param offset index (in bytes) at which the chunk starts inside data source 82 * @throws IndexOutOfBoundsException if {@code offset} or {@code size} is negative, or if 83 * {@code offset + size} is greater than {@link #size()}. 85 ByteBuffer getByteBuffer(long offset, int size) throws IOException; 91 * @param offset index (in bytes) at which the chunk starts inside data source 94 * @throws IndexOutOfBoundsException if {@code offset} or {@code size} is negative, or i [all...] |