/external/chromium_org/third_party/ots/tools/ |
ttf-checksum.py | 4 def readU32(contents, offset): 5 wordBytes = contents[offset:offset + 4] 8 def readU16(contents, offset): 9 wordBytes = contents[offset:offset + 2] 18 for offset in range(0, len(contents), 4): 19 sum += readU32(contents, offset) 26 for offset in range(12, 12 + numTables * 16, 16): 27 tag = contents[offset:offset + 4 [all...] |
/dalvik/libdex/ |
DexDataMap.h | 44 * Add a new element to the map. The offset must be greater than the 47 void dexDataMapAdd(DexDataMap* map, u4 offset, u2 type); 50 * Get the type associated with the given offset. This returns -1 if 51 * there is no entry for the given offset. 53 int dexDataMapGet(DexDataMap* map, u4 offset); 56 * Verify that there is an entry in the map, mapping the given offset to 60 bool dexDataMapVerify(DexDataMap* map, u4 offset, u2 type); 63 * Like dexDataMapVerify(), but also accept a 0 offset as valid. 65 DEX_INLINE bool dexDataMapVerify0Ok(DexDataMap* map, u4 offset, u2 type) { 66 if (offset == 0) [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
V8ArrayBufferViewCustomScript.js | 26 return function(source, length, offset) { 27 if (offset == 0) { 32 this[i + offset] = source[i];
|
/libcore/luni/src/main/java/libcore/io/ |
HeapBufferIterator.java | 29 private final int offset; field in class:HeapBufferIterator 35 HeapBufferIterator(byte[] buffer, int offset, int byteCount, ByteOrder order) { 37 this.offset = offset; 42 public void seek(int offset) { 43 position = offset; 51 System.arraycopy(buffer, offset + position, dst, dstOffset, byteCount); 56 byte result = buffer[offset + position]; 62 int result = Memory.peekInt(buffer, offset + position, order); 69 Memory.unsafeBulkGet(dst, dstOffset, byteCount, buffer, offset + position, SizeOf.INT, order.needsSwap) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_state_dump.c | 35 batch_out(struct brw_context *brw, const char *name, uint32_t offset, 39 batch_out(struct brw_context *brw, const char *name, uint32_t offset, 43 uint32_t *data = intel->batch.bo->virtual + offset; 47 offset + index * 4, data[index], name); 80 static void dump_vs_state(struct brw_context *brw, uint32_t offset) 84 struct brw_vs_unit_state *vs = intel->batch.bo->virtual + offset; 86 batch_out(brw, name, offset, 0, "thread0\n"); 87 batch_out(brw, name, offset, 1, "thread1\n"); 88 batch_out(brw, name, offset, 2, "thread2\n"); 89 batch_out(brw, name, offset, 3, "thread3\n") 505 uint32_t offset = item->offset; local 551 uint32_t offset = brw->state_batch_list[i].offset; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_state_dump.c | 35 batch_out(struct brw_context *brw, const char *name, uint32_t offset, 39 batch_out(struct brw_context *brw, const char *name, uint32_t offset, 43 uint32_t *data = intel->batch.bo->virtual + offset; 47 offset + index * 4, data[index], name); 80 static void dump_vs_state(struct brw_context *brw, uint32_t offset) 84 struct brw_vs_unit_state *vs = intel->batch.bo->virtual + offset; 86 batch_out(brw, name, offset, 0, "thread0\n"); 87 batch_out(brw, name, offset, 1, "thread1\n"); 88 batch_out(brw, name, offset, 2, "thread2\n"); 89 batch_out(brw, name, offset, 3, "thread3\n") 505 uint32_t offset = item->offset; local 551 uint32_t offset = brw->state_batch_list[i].offset; local [all...] |
/libcore/luni/src/main/java/java/text/ |
StringCharacterIterator.java | 27 int start, end, offset; field in class:StringCharacterIterator 39 start = offset = 0; 64 offset = location; 92 offset = location; 118 if (offset == end) { 121 return string.charAt(offset); 143 && offset == it.offset; 157 offset = start; 158 return string.charAt(offset); [all...] |
/external/valgrind/main/none/tests/s390x/ |
icm.c | 35 #define test(what, offset) do { \ 36 icm(&a[0+offset], 0, what); cc = get_cc(); \ 37 icm(&a[1+offset+cc], 1, what); cc = get_cc(); \ 38 icm(&a[2+offset+cc], 2, what); cc = get_cc(); \ 39 icm(&a[3+offset+cc], 3, what); cc = get_cc(); \ 40 icm(&a[4+offset+cc], 4, what); cc = get_cc(); \ 41 icm(&a[5+offset+cc], 5, what); cc = get_cc(); \ 42 icm(&a[6+offset+cc], 6, what); cc = get_cc(); \ 43 icm(&a[7+offset+cc], 7, what); cc = get_cc(); \ 44 icm(&a[8+offset+cc], 8, what); cc = get_cc(); [all...] |
/bionic/libc/bionic/ |
pread.c | 31 ssize_t pread(int fd, void *buf, size_t nbytes, off_t offset) 33 return pread64(fd, buf, nbytes, (off64_t)offset);
|
pwrite.c | 31 ssize_t pwrite(int fd, const void *buf, size_t nbytes, off_t offset) 33 return pwrite64(fd, buf, nbytes, (off64_t)offset);
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
NavigationController.java | 23 * @param offset The offset into the navigation history. 24 * @return Whether we can move in history by given offset 26 boolean canGoToOffset(int offset); 29 * Navigates to the specified offset from the "current entry". Does nothing if the offset is 31 * @param offset The offset into the navigation history. 33 void goToOffset(int offset);
|
/external/chromium_org/third_party/icu/source/common/unicode/ |
rep.h | 44 * offset and a limit offset. The range of characters thus specified 45 * includes the characters at offset start..limit-1. That is, the 46 * start offset is inclusive, and the limit offset is exclusive. 88 * Returns the 16-bit code unit at the given offset into the text. 89 * @param offset an integer between 0 and <code>length()</code>-1 91 * @return 16-bit code unit of text at given offset 94 inline UChar charAt(int32_t offset) const; 97 * Returns the 32-bit code point at the given 16-bit offset int [all...] |
/external/icu4c/common/unicode/ |
rep.h | 44 * offset and a limit offset. The range of characters thus specified 45 * includes the characters at offset start..limit-1. That is, the 46 * start offset is inclusive, and the limit offset is exclusive. 88 * Returns the 16-bit code unit at the given offset into the text. 89 * @param offset an integer between 0 and <code>length()</code>-1 91 * @return 16-bit code unit of text at given offset 94 inline UChar charAt(int32_t offset) const; 97 * Returns the 32-bit code point at the given 16-bit offset int [all...] |
/external/libvpx/libvpx/third_party/libmkv/ |
EbmlBufferWriter.h | 5 unsigned long long offset; member in struct:__anon21194 11 unsigned int offset; member in struct:__anon21195
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
BerOutputStream.java | 36 /** current offset */ 37 protected int offset; field in class:BerOutputStream 46 encoded[offset++] = (byte) tag; //FIXME long form? 55 encoded[offset] = (byte) (numOctets | 0x80); 56 offset++; 59 int numOffset = offset + numOctets - 1; 63 offset += numOctets; 65 encoded[offset++] = (byte) length; 70 System.arraycopy(content, 0, encoded, offset, length); 71 offset += length [all...] |
/ndk/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);
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
GLES11IdImpl.java | 38 public void glGenBuffers(int n, int[] buffers, int offset) { 41 buffers[offset + n] = sNextId++; 47 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset) { 49 gl.glDeleteTextures(n, textures, offset); 54 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { 56 gl.glDeleteBuffers(n, buffers, offset); 61 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) { 63 gl11ep.glDeleteFramebuffersOES(n, buffers, offset);
|
/packages/apps/Mms/src/org/w3c/dom/smil/ |
ElementTimeControl.java | 42 * constraints), at the passed offset from the current time when the 43 * method is called. If the offset is >= 0, the semantics are 44 * equivalent to an event-base begin with the specified offset. If the 45 * offset is < 0, the semantics are equivalent to beginElement(), but 47 * begun at the passed (negative) offset from the current time when the 49 * @param offset The offset in seconds at which to begin the element. 64 public boolean beginElementAt(float offset) 85 * constraints) at the specified offset from the current time when the 87 * @param offset The offset in seconds at which to end the element. Must [all...] |
/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...] |
/libcore/luni/src/main/java/java/nio/ |
MemoryBlock.java | 94 public static MemoryBlock mmap(FileDescriptor fd, long offset, long size, MapMode mapMode) throws IOException { 100 if (offset < 0 || size < 0 || offset > Integer.MAX_VALUE || size > Integer.MAX_VALUE) { 101 throw new IllegalArgumentException("offset=" + offset + " size=" + size); 116 long address = Libcore.os.mmap(0L, size, prot, flags, fd, offset); 147 public final void pokeByte(int offset, byte value) { 148 Memory.pokeByte(address + offset, value); 151 public final void pokeByteArray(int offset, byte[] src, int srcOffset, int byteCount) { 152 Memory.pokeByteArray(address + offset, src, srcOffset, byteCount) [all...] |
/art/runtime/base/unix_file/ |
null_file.cc | 36 int64_t NullFile::Read(char* buf, int64_t byte_count, int64_t offset) const { 37 if (offset < 0) { 54 int64_t NullFile::Write(const char* buf, int64_t byte_count, int64_t offset) { 55 if (offset < 0) {
|
/external/chromium/net/disk_cache/ |
file_block.h | 26 // Returns the file offset of this block. 27 virtual int offset() const = 0;
|
/external/chromium_org/net/disk_cache/ |
file_block.h | 25 // Returns the file offset of this block. 26 virtual int offset() const = 0;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
StyleSurroundData.cpp | 35 , offset(o.offset) 44 return offset == o.offset && margin == o.margin && padding == o.padding && border == o.border;
|
/external/clang/test/CodeGenCXX/ |
2008-05-07-CrazyOffsetOf.cpp | 8 int offset = (char *) &(((struct bork *) 0x10)->query) - (char *) 0x10; variable
|