/external/bouncycastle/src/main/java/org/bouncycastle/crypto/util/ |
Pack.java | 5 public static int bigEndianToInt(byte[] bs, int off) 7 int n = bs[ off] << 24; 8 n |= (bs[++off] & 0xff) << 16; 9 n |= (bs[++off] & 0xff) << 8; 10 n |= (bs[++off] & 0xff); 14 public static void intToBigEndian(int n, byte[] bs, int off) 16 bs[ off] = (byte)(n >>> 24); 17 bs[++off] = (byte)(n >>> 16); 18 bs[++off] = (byte)(n >>> 8); 19 bs[++off] = (byte)(n ) [all...] |
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
Interp.h | 52 int off = (int)(xfrac * CTAPS); local 54 tmpf[0] = in[0] * ciTable[off + 40]; 55 tmpf[0] += in[1] * ciTable[off]; 56 tmpf[0] += in[2] * ciTable[40 - off]; 57 tmpf[0] += in[3] * ciTable[80 - off]; 59 tmpf[1] = in[0] * ciTable[off + 40]; 60 tmpf[1] += in[1] * ciTable[off]; 61 tmpf[1] += in[2] * ciTable[40 - off]; 62 tmpf[1] += in[3] * ciTable[80 - off]; 64 tmpf[2] = in[0] * ciTable[off + 40] [all...] |
/external/oprofile/module/ia64/ |
IA64entry.h | 24 #define PT_REGS_SAVES(off) \ 26 .fframe IA64_PT_REGS_SIZE+16+(off); \ 27 .spillsp rp, PT(CR_IIP)+16+(off); \ 28 .spillsp ar.pfs, PT(CR_IFS)+16+(off); \ 29 .spillsp ar.unat, PT(AR_UNAT)+16+(off); \ 30 .spillsp ar.fpsr, PT(AR_FPSR)+16+(off); \ 31 .spillsp pr, PT(PR)+16+(off); 33 #define PT_REGS_UNWIND_INFO(off) \ 35 PT_REGS_SAVES(off); \ 38 #define SWITCH_STACK_SAVES(off) \ [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
ByteArray.java | 122 * @param off {@code >= 0, < size();} offset to fetch 125 public int getByte(int off) { 126 checkOffsets(off, off + 1); 127 return getByte0(off); 133 * @param off {@code >= 0, < (size() - 1);} offset to fetch 136 public int getShort(int off) { 137 checkOffsets(off, off + 2); 138 return (getByte0(off) << 8) | getUnsignedByte0(off + 1) [all...] |
/dalvik/dx/src/com/android/dx/util/ |
ByteArray.java | 122 * @param off {@code >= 0, < size();} offset to fetch 125 public int getByte(int off) { 126 checkOffsets(off, off + 1); 127 return getByte0(off); 133 * @param off {@code >= 0, < (size() - 1);} offset to fetch 136 public int getShort(int off) { 137 checkOffsets(off, off + 2); 138 return (getByte0(off) << 8) | getUnsignedByte0(off + 1) [all...] |
/bionic/libc/unistd/ |
lseek64.c | 32 off64_t lseek64(int fd, off64_t off, int whence) 36 if ( __llseek(fd, (unsigned long)(off >> 32),(unsigned long)(off), &result, whence ) < 0 )
|
/system/extras/fatblock/ |
read.c | 29 offset_t off, offset_t len) 34 if (off >= buf_len) { 39 if (off + len > buf_len) { 40 memset(out + (buf_len - off), 0, len - (buf_len - off)); 41 len = buf_len - off; 44 assert(off < buf_len); 45 assert(off + len <= buf_len); 47 memcpy(out, buf + off, len); 72 static int file_read(struct file *f, char *buf, offset_t off, offset_t len [all...] |
/external/llvm/lib/Target/XCore/ |
XCoreMachineFunctionInfo.h | 51 void setVarArgsFrameIndex(int off) { VarArgsFrameIndex = off; } 57 void setLRSpillSlot(int off) { LRSpillSlot = off; } 60 void setFPSpillSlot(int off) { FPSpillSlot = off; }
|
/external/e2fsprogs/ext2ed/ |
ext2ed.conf.in | 37 # AllowChanges off will not allow ext2ed to do any changes to the 58 ForceExt2 off 77 ForceDefault off
|
/libcore/luni/src/main/java/java/util/zip/ |
Checksum.java | 43 * @param off 48 public void update(byte[] buf, int off, int nbytes);
|
CheckedOutputStream.java | 73 * Writes n bytes of data from {@code buf} starting at offset {@code off} to 78 * @param off 87 public void write(byte[] buf, int off, int nbytes) throws IOException { 88 out.write(buf, off, nbytes); 89 check.update(buf, off, nbytes);
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/tc_ematch/ |
tc_em_nbyte.h | 8 __u16 off; member in struct:tcf_em_nbyte
|
/frameworks/base/opengl/tests/gl_jni/jni/ |
gl_code.cpp | 116 const unsigned int off = 0xffffffff; local 119 on, off, on, off, on, off, on, off, 120 off, on, off, on, off, on, off, on, 121 on, off, on, off, on, off, on, off [all...] |
/frameworks/base/opengl/tests/tritex/ |
tritex.cpp | 208 const unsigned int off = 0xffffffff; local 211 on, off, on, off, on, off, on, off, 212 off, on, off, on, off, on, off, on, 213 on, off, on, off, on, off, on, off [all...] |
/dalvik/dx/src/com/android/dx/dex/ |
TableOfContents.java | 72 readMap(buffer.open(mapList.off)); 97 mapList.off = headerIn.readInt(); 98 if (mapList.off == 0) { 102 stringIds.off = headerIn.readInt(); 104 typeIds.off = headerIn.readInt(); 106 protoIds.off = headerIn.readInt(); 108 fieldIds.off = headerIn.readInt(); 110 methodIds.off = headerIn.readInt(); 112 classDefs.off = headerIn.readInt(); 128 || (section.off != -1 && section.off != offset)) 216 public int off = -1; field in class:TableOfContents.Section [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/util/encoders/ |
Encoder.java | 12 int encode(byte[] data, int off, int length, OutputStream out) throws IOException; 14 int decode(byte[] data, int off, int length, OutputStream out) throws IOException;
|
/external/elfutils/libdw/ |
dwarf_nextcu.c | 23 dwarf_nextcu (dwarf, off, next_off, header_sizep, abbrev_offsetp, 26 Dwarf_Off off; 38 if (off == (Dwarf_Off) -1l 42 || unlikely (off + 4 >= dwarf->sectiondata[IDX_debug_info]->d_size)) 50 char *bytes = (char *) dwarf->sectiondata[IDX_debug_info]->d_buf + off; 86 if (unlikely (off + 2 * offset_size - 4 + sizeof (uint16_t) 125 + off)); 128 *next_off = off + 2 * offset_size - 4 + length;
|
dwarf_formstring.c | 46 uint64_t off; local 49 off = read_8ubyte_unaligned (dbg, attrp->valp); 51 off = read_4ubyte_unaligned (dbg, attrp->valp); 53 if (off >= dbg->sectiondata[IDX_debug_str]->d_size) 56 return (const char *) dbg->sectiondata[IDX_debug_str]->d_buf + off;
|
/external/apache-http/src/org/apache/http/util/ |
ByteArrayBuffer.java | 62 public void append(final byte[] b, int off, int len) { 66 if ((off < 0) || (off > b.length) || (len < 0) || 67 ((off + len) < 0) || ((off + len) > b.length)) { 77 System.arraycopy(b, off, this.buffer, this.len, len); 90 public void append(final char[] b, int off, int len) { 94 if ((off < 0) || (off > b.length) || (len < 0) || 95 ((off + len) < 0) || ((off + len) > b.length)) 116 append(b.buffer(), off, len); local [all...] |
/external/bluetooth/bluez/src/ |
oui.c | 44 char *str, *map, *off, *end; local 71 off = strstr(map, oui); 72 if (off) { 73 off += 18; 74 end = strpbrk(off, "\r\n"); 75 strncpy(str, off, end - off);
|
/external/chromium/third_party/libevent/ |
buffer.c | 96 (x)->off = (y)->off; \ 105 if (outbuf->off == 0) { 107 size_t oldoff = inbuf->off; 119 if (inbuf->off != oldoff && inbuf->cb != NULL) 120 (*inbuf->cb)(inbuf, oldoff, inbuf->off, inbuf->cbarg); 127 res = evbuffer_add(outbuf, inbuf->buffer, inbuf->off); 130 evbuffer_drain(inbuf, inbuf->off); 141 size_t oldoff = buf->off; 148 size_t used = buf->misalign + buf->off; [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/io/ |
DigestOutputStream.java | 31 int off, 35 digest.update(b, off, len); 36 out.write(b, off, len);
|
MacOutputStream.java | 31 int off, 35 mac.update(b, off, len); 36 out.write(b, off, len);
|
/external/quake/quake/src/QW/dxsdk/sdk/inc/ |
fastfile.h | 21 extern BOOL FastFileSeek( HFASTFILE pfe, int off, int how );
23 extern LPVOID FastFileLock( HFASTFILE pfe, int off, int len );
24 extern BOOL FastFileUnlock( HFASTFILE pfe, int off, int len );
|
/external/quake/quake/src/WinQuake/dxsdk/SDK/INC/ |
FASTFILE.H | 21 extern BOOL FastFileSeek( HFASTFILE pfe, int off, int how );
23 extern LPVOID FastFileLock( HFASTFILE pfe, int off, int len );
24 extern BOOL FastFileUnlock( HFASTFILE pfe, int off, int len );
|