/ndk/build/platforms/android-3/arch-arm/usr/include/asm/arch/ |
io.h | 34 typedef struct { volatile u16 offset[256]; } __regbase16; member in struct:__anon9089 35 #define __REGV16(vaddr) ((__regbase16 *)((vaddr)&~0xff)) ->offset[((vaddr)&0xff)>>1] 38 typedef struct { volatile u8 offset[4096]; } __regbase8; member in struct:__anon9090 39 #define __REGV8(vaddr) ((__regbase8 *)((vaddr)&~4095)) ->offset[((vaddr)&4095)>>0] 42 typedef struct { volatile u32 offset[4096]; } __regbase32; member in struct:__anon9091 43 #define __REGV32(vaddr) ((__regbase32 *)((vaddr)&~4095)) ->offset[((vaddr)&4095)>>2]
|
/ndk/build/platforms/android-4/arch-arm/usr/include/asm/arch/ |
io.h | 34 typedef struct { volatile u16 offset[256]; } __regbase16; member in struct:__anon9443 35 #define __REGV16(vaddr) ((__regbase16 *)((vaddr)&~0xff)) ->offset[((vaddr)&0xff)>>1] 38 typedef struct { volatile u8 offset[4096]; } __regbase8; member in struct:__anon9444 39 #define __REGV8(vaddr) ((__regbase8 *)((vaddr)&~4095)) ->offset[((vaddr)&4095)>>0] 42 typedef struct { volatile u32 offset[4096]; } __regbase32; member in struct:__anon9445 43 #define __REGV32(vaddr) ((__regbase32 *)((vaddr)&~4095)) ->offset[((vaddr)&4095)>>2]
|
/ndk/build/platforms/android-5/arch-arm/usr/include/asm/arch/ |
io.h | 34 typedef struct { volatile u16 offset[256]; } __regbase16; member in struct:__anon9797 35 #define __REGV16(vaddr) ((__regbase16 *)((vaddr)&~0xff)) ->offset[((vaddr)&0xff)>>1] 38 typedef struct { volatile u8 offset[4096]; } __regbase8; member in struct:__anon9798 39 #define __REGV8(vaddr) ((__regbase8 *)((vaddr)&~4095)) ->offset[((vaddr)&4095)>>0] 42 typedef struct { volatile u32 offset[4096]; } __regbase32; member in struct:__anon9799 43 #define __REGV32(vaddr) ((__regbase32 *)((vaddr)&~4095)) ->offset[((vaddr)&4095)>>2]
|
/ndk/build/platforms/android-8/arch-arm/usr/include/asm/arch/ |
io.h | 34 typedef struct { volatile u16 offset[256]; } __regbase16; member in struct:__anon10577 35 #define __REGV16(vaddr) ((__regbase16 *)((vaddr)&~0xff)) ->offset[((vaddr)&0xff)>>1] 38 typedef struct { volatile u8 offset[4096]; } __regbase8; member in struct:__anon10578 39 #define __REGV8(vaddr) ((__regbase8 *)((vaddr)&~4095)) ->offset[((vaddr)&4095)>>0] 42 typedef struct { volatile u32 offset[4096]; } __regbase32; member in struct:__anon10579 43 #define __REGV32(vaddr) ((__regbase32 *)((vaddr)&~4095)) ->offset[((vaddr)&4095)>>2]
|
/system/core/libdiskconfig/ |
diskutils.c | 33 write_raw_image(const char *dst, const char *src, loff_t offset, int test) 43 LOGI("Writing RAW image '%s' to '%s' (offset=%llu)", src, dst, offset); 55 if (lseek64(dst_fd, offset, SEEK_SET) != offset) { 56 LOGE("Could not seek to offset %lld in %s.", offset, dst); 104 LOGI("Wrote %llu bytes to %s @ %lld", total, dst, offset);
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
GL11.java | 161 int offset, 169 int offset 180 int offset 199 int offset 205 int offset 217 int offset 223 int offset 234 int offset 246 int offset 258 int offset [all...] |
GL11Ext.java | 40 void glTexParameterfv(int target, int pname, float[] param, int offset); 56 int offset 73 int offset 90 int offset 107 int offset 136 int offset 150 int offset
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/crypto/ |
SHA1_MessageDigestImpl.java | 81 * offset - offset in digest 83 private void processDigest(byte[] digest, int offset) { 129 j = offset; 184 * Upon return, the value is stored in "buf" buffer beginning "offset" byte. <BR> 193 * offset a position in the array for first byte of the message digest 204 * if offset + len > buf.length <BR> 205 * if offset > buf.length or len > buf.length 211 * if offset < 0 213 protected int engineDigest(byte[] buf, int offset, int len) throws DigestException { [all...] |
/external/qemu/ |
qemu-io.c | 57 dump_buffer(char *buffer, int64_t offset, int len) 65 printf("%08llx: ", (unsigned long long)offset + i); 80 print_report(const char *op, struct timeval *t, int64_t offset, 89 printf("%s %d/%d bytes at offset %lld\n", 90 op, total, count, (long long)offset); 101 static int do_read(char *buf, int64_t offset, int count, int *total) 105 ret = bdrv_read(bs, offset >> 9, (uint8_t *)buf, count >> 9); 112 static int do_write(char *buf, int64_t offset, int count, int *total) 116 ret = bdrv_write(bs, offset >> 9, (uint8_t *)buf, count >> 9); 123 static int do_pread(char *buf, int64_t offset, int count, int *total 212 int64_t offset; local 379 int64_t offset; local 531 int64_t offset; local 650 int64_t offset; local 772 int64_t offset; local 863 int64_t offset; local [all...] |
buffered_file.c | 75 size_t offset = 0; local 84 while (offset < s->buffer_size) { 87 ret = s->put_buffer(s->opaque, s->buffer + offset, 88 s->buffer_size - offset); 101 offset += ret; 105 dprintf("flushed %ld of %ld byte(s)\n", offset, s->buffer_size); 106 memmove(s->buffer, s->buffer + offset, s->buffer_size - offset); 107 s->buffer_size -= offset; 113 int offset = 0 local [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/ |
OSFileSystem.java | 97 public native long seek(int fd, long offset, int whence) throws IOException; 102 public native long readDirect(int fileDescriptor, int address, int offset, int length); 104 public native long writeDirect(int fileDescriptor, int address, int offset, int length) 110 private native long readImpl(int fileDescriptor, byte[] bytes, int offset, 113 public long read(int fileDescriptor, byte[] bytes, int offset, int length) 118 return readImpl(fileDescriptor, bytes, offset, length); 122 int offset, int length) throws IOException; 124 public long write(int fileDescriptor, byte[] bytes, int offset, int length) 129 return writeImpl(fileDescriptor, bytes, offset, length); 158 public native long transfer(int fd, FileDescriptor sd, long offset, long count [all...] |
OSNetworkSystem.java | 335 * @param offset 336 * the offset into the byte array in which to start reading the 350 public int read(FileDescriptor fd, byte[] data, int offset, int count, 353 if (offset < 0 || count < 0 || offset > data.length - count) { 354 throw new IllegalArgumentException("data.length=" + data.length + " offset=" + offset + 358 return readSocketImpl(fd, data, offset, count, timeout); 362 int offset, int count, int timeout) throws IOException; 401 * @param offset [all...] |
/external/v8/src/ |
frames-inl.h | 55 const int offset = StackHandlerConstants::kNextOffset; local 56 return FromAddress(Memory::Address_at(address() + offset)); 79 const int offset = StackHandlerConstants::kStateOffset; local 80 return static_cast<State>(Memory::int_at(address() + offset)); 85 const int offset = StackHandlerConstants::kPCOffset; local 86 return Memory::Address_at(address() + offset); 91 const int offset = StackHandlerConstants::kPCOffset; local 92 Memory::Address_at(address() + offset) = value; 112 const int offset = StandardFrameConstants::kContextOffset; local 113 return Memory::Object_at(fp() + offset); 147 const int offset = JavaScriptFrameConstants::kReceiverOffset; local 153 const int offset = JavaScriptFrameConstants::kReceiverOffset; local [all...] |
/dalvik/libcore/luni/src/main/java/java/io/ |
StringWriter.java | 107 * Writes {@code count} characters starting at {@code offset} in {@code buf} 112 * @param offset 117 * if {@code offset < 0} or {@code count < 0}, or if {@code 118 * offset + count} is greater than the size of {@code buf}. 121 public void write(char[] cbuf, int offset, int count) { 126 // removed redundant check, added null check, used (offset | count) < 0 127 // instead of (offset < 0) || (count < 0) to safe one operation 131 if ((offset | count) < 0 || count > cbuf.length - offset) { 138 buf.append(cbuf, offset, count) [all...] |
DataInputStream.java | 72 * the byte array {@code buffer} starting at {@code offset}. Returns the 78 * @param offset 91 public final int read(byte[] buffer, int offset, int length) 93 return in.read(buffer, offset, length); 154 int offset = 0; local 156 while(offset < count) { 157 int bytesRead = in.read(buff, offset, count - offset); 159 offset += bytesRead; 161 return offset; [all...] |
CharArrayWriter.java | 154 * Writes {@code count} characters starting at {@code offset} in {@code c} 159 * @param offset 164 * if {@code offset < 0} or {@code len < 0}, or if 165 * {@code offset + len} is bigger than the size of {@code c}. 168 public void write(char[] c, int offset, int len) { 175 // added null check, used (offset | len) < 0 instead of 176 // (offset < 0) || (len < 0) to safe one operation 180 if ((offset | len) < 0 || len > c.length - offset) { 186 System.arraycopy(c, offset, this.buf, this.count, len) [all...] |
/external/icu4c/layout/ |
ThaiLayoutEngine.cpp | 59 le_int32 ThaiLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool /*rightToLeft*/, LEGlyphStorage &glyphStorage, LEErrorCode &success) 65 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) { 90 glyphCount = ThaiShaping::compose(chars, offset, count, fGlyphSet, fErrorChar, outChars, glyphStorage); 100 void ThaiLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool /*reverse*/, 107 if (chars == NULL || offset < 0 || count < 0) {
|
/external/tcpdump/ |
print-802_11.c | 156 parse_elements(struct mgmt_body_t *pbody, const u_char *p, int offset) 169 if (!TTEST2(*(p + offset), 1)) 171 switch (*(p + offset)) { 175 if (!TTEST2(*(p + offset), 2)) 177 memcpy(&pbody->ssid, p + offset, 2); 178 offset += 2; 183 if (!TTEST2(*(p + offset), pbody->ssid.length)) 185 memcpy(&pbody->ssid.ssid, p + offset, 187 offset += pbody->ssid.length; 196 if (!TTEST2(*(p + offset), 2) 300 int offset = 0; local 329 int offset = 0; local 351 int offset = 0; local 380 int offset = 0; local 413 int offset = 0; local 429 int offset = 0; local 483 int offset = 0; local 530 int offset = 0; local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
MatrixTrackingGL.java | 176 public void glDeleteTextures(int n, int[] textures, int offset) { 177 mgl.glDeleteTextures(n, textures, offset); 236 public void glFogfv(int pname, float[] params, int offset) { 237 mgl.glFogfv(pname, params, offset); 248 public void glFogxv(int pname, int[] params, int offset) { 249 mgl.glFogxv(pname, params, offset); 274 public void glGenTextures(int n, int[] textures, int offset) { 275 mgl.glGenTextures(n, textures, offset); 287 public void glGetIntegerv(int pname, int[] params, int offset) { 288 mgl.glGetIntegerv(pname, params, offset); [all...] |
/external/opencore/baselibs/media_data_structures/src/ |
access_unit_impl.cpp | 125 bool AccessUnitImplementation::seek(int & idx, int & offset, uint8 * & ptr, bool & boundaryReached, 128 int32 first_frag_size = this->fragments[idx+num_reserved_fragments].len - offset; 149 offset += delta_in_bytes; 151 ptr = (uint8 *) frag->ptr + offset; 152 // ptr = (this->GetMediaFragment(idx))->ptr + offset + delta_in_bytes; 165 offset = remain; 179 offset = frag->len; 180 ptr = (uint8 *) frag->ptr + offset - 1; 186 if (offset >= oscl_abs(delta_in_bytes)) 188 offset += delta_in_bytes [all...] |
/frameworks/base/opengl/java/android/opengl/ |
GLErrorWrapper.java | 207 public void glDeleteTextures(int n, int[] textures, int offset) { 209 mgl.glDeleteTextures(n, textures, offset); 297 public void glFogfv(int pname, float[] params, int offset) { 299 mgl.glFogfv(pname, params, offset); 315 public void glFogxv(int pname, int[] params, int offset) { 317 mgl.glFogxv(pname, params, offset); 347 public void glGenTextures(int n, int[] textures, int offset) { 349 mgl.glGenTextures(n, textures, offset); 365 public void glGetIntegerv(int pname, int[] params, int offset) { 367 mgl.glGetIntegerv(pname, params, offset); [all...] |
/external/proguard/src/proguard/classfile/editor/ |
MethodInvocationFixer.java | 78 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 81 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 107 codeAttributeEditor.replaceInstruction(offset, replacementInstruction); 111 debug(clazz, method, offset, constantInstruction, replacementInstruction); 128 codeAttributeEditor.replaceInstruction(offset, replacementInstruction); 132 debug(clazz, method, offset, constantInstruction, replacementInstruction); 154 codeAttributeEditor.replaceInstruction(offset, replacementInstruction); 158 debug(clazz, method, offset, constantInstruction, replacementInstruction); 178 codeAttributeEditor.replaceInstruction(offset, replacementInstruction); 182 debug(clazz, method, offset, constantInstruction, replacementInstruction) [all...] |
/external/icu4c/test/cintltst/ |
utf16tst.c | 149 uint16_t offset=0; local 150 for(offset=0; offset<sizeof(input)/U_SIZEOF_UCHAR; offset++) { 151 if(0<offset && offset<sizeof(input)/U_SIZEOF_UCHAR-1){ 152 UTF16_GET_CHAR_UNSAFE(input, offset, c); 154 log_err("ERROR: UTF16_GET_CHAR_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result[i], c); 157 U16_GET_UNSAFE(input, offset, c) 219 uint16_t offset=0, setOffset=0; local 497 uint16_t offset=0, setOffset=0; local 605 uint16_t offset; local [all...] |
/external/proguard/src/proguard/classfile/util/ |
SimplifiedVisitor.java | 473 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) 479 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) 481 visitAnyInstruction(clazz, method, codeAttribute, offset, simpleInstruction); 485 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) 487 visitAnyInstruction(clazz, method, codeAttribute, offset, variableInstruction); 491 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 493 visitAnyInstruction(clazz, method, codeAttribute, offset, constantInstruction); 497 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) 499 visitAnyInstruction(clazz, method, codeAttribute, offset, branchInstruction); 506 public void visitAnySwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SwitchInstruction switchInstruction [all...] |
/external/webkit/JavaScriptCore/assembler/ |
MacroAssemblerARM.cpp | 74 if (address.offset >= 0 && address.offset + 0x2 <= 0xff) { 76 m_assembler.ldrh_u(dest, ARMRegisters::S0, ARMAssembler::getOp2Byte(address.offset)); 77 m_assembler.ldrh_u(ARMRegisters::S0, ARMRegisters::S0, ARMAssembler::getOp2Byte(address.offset + 0x2)); 78 } else if (address.offset < 0 && address.offset >= -0xff) { 80 m_assembler.ldrh_d(dest, ARMRegisters::S0, ARMAssembler::getOp2Byte(-address.offset)); 81 m_assembler.ldrh_d(ARMRegisters::S0, ARMRegisters::S0, ARMAssembler::getOp2Byte(-address.offset - 0x2)); 83 m_assembler.ldr_un_imm(ARMRegisters::S0, address.offset);
|