/external/chromium_org/third_party/skia/tests/ |
H A D | ToUnicodeTest.cpp | 14 static bool stream_equals(const SkDynamicMemoryWStream& stream, size_t offset, argument 17 if (offset + len > data->size()) { 23 return memcmp(data->bytes() + offset, buffer, len) == 0;
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | malloc_hook_mmap_freebsd.h | 60 int fd, off_t offset) __THROW 70 int fd, off_t offset) __THROW { 72 start, length, prot, flags, fd, offset); 117 int fd, off_t offset) __THROW { 118 MallocHook::InvokePreMmapHook(start, length, prot, flags, fd, offset); 121 start, length, prot, flags, fd, offset, &result)) { 123 static_cast<size_t>(offset)); // avoid sign extension 125 MallocHook::InvokeMmapHook(result, start, length, prot, flags, fd, offset); 147 int flags, int fd, off_t offset) { 150 start, length, prot, flags, fd, offset, 146 UnhookedMMap(void *start, size_t length, int prot, int flags, int fd, off_t offset) argument [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
H A D | malloc_hook_mmap_freebsd.h | 60 int fd, off_t offset) __THROW 70 int fd, off_t offset) __THROW { 72 start, length, prot, flags, fd, offset); 117 int fd, off_t offset) __THROW { 118 MallocHook::InvokePreMmapHook(start, length, prot, flags, fd, offset); 121 start, length, prot, flags, fd, offset, &result)) { 123 static_cast<size_t>(offset)); // avoid sign extension 125 MallocHook::InvokeMmapHook(result, start, length, prot, flags, fd, offset); 147 int flags, int fd, off_t offset) { 150 start, length, prot, flags, fd, offset, 146 UnhookedMMap(void *start, size_t length, int prot, int flags, int fd, off_t offset) argument [all...] |
H A D | malloc_hook_mmap_linux.h | 58 int fd, __off64_t offset) __THROW { 59 return sys_mmap(start, length, prot, flags, fd, offset); 69 int fd, __off64_t offset) __THROW { 78 // Check that the offset is page aligned 79 if (offset & (pagesize - 1)) { 87 (off_t) (offset / pagesize)); 94 if (((off_t)offset) != offset) { 95 // If we're trying to map a 64-bit offset, fail now since we don't 104 // Fall back to old 32-bit offset mma 214 UnhookedMMap(void *start, size_t length, int prot, int flags, int fd, off_t offset) argument [all...] |
/external/chromium_org/third_party/webrtc/test/ |
H A D | common_unittest.cc | 22 : factor(kDefaultFactor), offset(kDefaultOffset) {} 24 MyExperiment(int factor, int offset) argument 25 : factor(factor), offset(offset) {} 28 int offset; member in struct:webrtc::__anon16172::MyExperiment 38 EXPECT_EQ(MyExperiment::kDefaultOffset, my_exp.offset); 46 EXPECT_EQ(1, my_exp.offset); 55 EXPECT_EQ(MyExperiment::kDefaultOffset, my_exp.offset);
|
/external/chromium_org/ui/base/ime/chromeos/ |
H A D | mock_ime_input_context_handler.cc | 35 void MockIMEInputContextHandler::DeleteSurroundingText(int32 offset, argument 38 last_delete_surrounding_text_arg_.offset = offset;
|
/external/chromium_org/ui/gfx/ |
H A D | shadow_value.h | 23 // shadow's offset, blur amount and color. 27 ShadowValue(const gfx::Point& offset, double blur, SkColor color); 32 const gfx::Point& offset() const { return offset_; } function in class:gfx::ShadowValue
|
/external/compiler-rt/lib/dfsan/ |
H A D | dfsan_interceptors.cc | 20 int fd, OFF_T offset) { 21 void *res = REAL(mmap)(addr, length, prot, flags, fd, offset); 28 int fd, OFF64_T offset) { 29 void *res = REAL(mmap64)(addr, length, prot, flags, fd, offset); 19 INTERCEPTOR(void *, mmap, void *addr, SIZE_T length, int prot, int flags, int fd, OFF_T offset) argument 27 INTERCEPTOR(void *, mmap64, void *addr, SIZE_T length, int prot, int flags, int fd, OFF64_T offset) argument
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
H A D | Mutf8.java | 86 * dst}, starting at {@code offset}. 88 public static void encode(byte[] dst, int offset, String s) { argument 93 dst[offset++] = (byte) ch; 95 dst[offset++] = (byte) (0xc0 | (0x1f & (ch >> 6))); 96 dst[offset++] = (byte) (0x80 | (0x3f & ch)); 98 dst[offset++] = (byte) (0xe0 | (0x0f & (ch >> 12))); 99 dst[offset++] = (byte) (0x80 | (0x3f & (ch >> 6))); 100 dst[offset++] = (byte) (0x80 | (0x3f & ch));
|
/external/e2fsprogs/ext2ed/ |
H A D | disk.c | 34 int low_read (unsigned char *buffer,unsigned long length,unsigned long offset) argument 52 if (offset > file_system_info.file_system_size) { /* Check that the offset is within limits */ 53 sprintf (temp,"Seek offset %ld is out of range",offset); 60 if ( (fseek (device_handle,offset,SEEK_SET))==-1) { /* Seek to the required offset */ 61 wprintw (command_win,"Error - Failed to seek to offset %ld in device %s\n",offset,device_name); 67 wprintw (command_win,"Error - Failed to read from offset 74 low_write(unsigned char *buffer,unsigned long length,unsigned long offset) argument 131 log_changes(unsigned char *buffer,unsigned long length,unsigned long offset) argument [all...] |
/external/e2fsprogs/lib/blkid/ |
H A D | llseek.c | 41 extern long long llseek(int fd, long long offset, int origin); 69 static blkid_loff_t my_llseek(int fd, blkid_loff_t offset, int origin) argument 75 retval = _llseek(fd, ((unsigned long long) offset) >> 32, 76 ((unsigned long long)offset) & 0xffffffff, 79 retval = syscall(__NR__llseek, fd, ((unsigned long long) offset) >> 32, 80 ((unsigned long long)offset) & 0xffffffff, 90 blkid_loff_t blkid_llseek(int fd, blkid_loff_t offset, int whence) argument 96 (offset < ((blkid_loff_t) 1 << ((sizeof(off_t)*8) -1)))) 97 return lseek(fd, (off_t) offset, whence); 104 result = my_llseek(fd, offset, whenc 126 blkid_llseek(int fd, blkid_loff_t offset, int origin) argument [all...] |
/external/e2fsprogs/lib/ext2fs/ |
H A D | llseek.c | 42 extern long long llseek (int fd, long long offset, int origin); 70 static ext2_loff_t my_llseek (int fd, ext2_loff_t offset, int origin) argument 76 retval = _llseek(fd, ((unsigned long long) offset) >> 32, 78 retval = syscall(__NR__llseek, fd, (unsigned long long) (offset >> 32), 80 ((unsigned long long) offset) & 0xffffffff, 90 ext2_loff_t ext2fs_llseek (int fd, ext2_loff_t offset, int origin) argument 93 return my_llseek (fd, offset, origin); 101 result = my_llseek (fd, offset, origin); 109 if (offset < ((ext2_loff_t) 1 << ((sizeof(off_t)*8) -1))) 110 return lseek(fd, (off_t) offset, origi 124 ext2fs_llseek(int fd, ext2_loff_t offset, int origin) argument [all...] |
H A D | tst_fs_struct.c | 2 * This testing program checks the offset of the ext2_filsys structure 27 static int do_field(const char *field, size_t size, int offset, int cur_offset) argument 29 if (offset != cur_offset) { 30 printf("\t(padding %d bytes?)\n", offset - cur_offset); 32 printf("%8d %-30s %3u\n", offset, field, (unsigned) size); 33 return offset + size; 41 printf("%8s %-30s %3s\n", "offset", "field", "size"); 78 printf("Ending offset is %d\n\n", cur_offset);
|
H A D | tst_inode_size.c | 29 unsigned offset, unsigned cur_offset) 36 if (offset != cur_offset) { 37 printf("error: %s offset %u should be %u\n", 38 field, cur_offset, offset); 41 printf("%8d %-30s %3u\n", offset, field, (unsigned) size); 42 return offset + size; 50 printf("%8s %-30s %3s\n", "offset", "field", "size"); 28 do_field(const char *field, unsigned size, unsigned cur_size, unsigned offset, unsigned cur_offset) argument
|
H A D | tst_super_size.c | 32 unsigned offset, unsigned cur_offset) 39 if (offset != cur_offset) { 40 printf("error: %s offset %u should be %u\n", 41 field, cur_offset, offset); 44 printf("%8d %-30s %3u\n", offset, field, size); 45 return offset + size; 53 printf("%8s %-30s %3s\n", "offset", "field", "size"); 31 do_field(const char *field, unsigned size, unsigned cur_size, unsigned offset, unsigned cur_offset) argument
|
/external/eigen/blas/ |
H A D | Rank2Update.h | 42 Index offset = 0; local 45 Map<Matrix<Scalar,Dynamic,1> >(mat+offset, UpLo==Lower ? size-i : (i+1)) += 49 mat[offset+(UpLo==Lower ? 0 : i)] = numext::real(mat[offset+(UpLo==Lower ? 0 : i)]); 50 offset += UpLo==Lower ? size-i : (i+1);
|
/external/elfutils/0.153/libdw/ |
H A D | dwarf_formudata.c | 73 Dwarf_Word offset; local 77 attr->cu->offset_size, &offset, sec_index, 0)) 90 &offset, sec_index, 0)) 95 if (INTUSE(dwarf_formudata) (attr, &offset)) 99 unsigned char *readp = d->d_buf + offset; 111 *offsetp = offset;
|
H A D | dwarf_getattrs.c | 60 void *arg, ptrdiff_t offset) 65 if (unlikely (offset == 1)) 87 const unsigned char *const offset_attrp = die->abbrev->attrp + offset; 110 distinguish this value from the attribute at offset 0. 112 offset of an attribute. */ 125 /* Return the offset of the start of the attribute, so that 59 dwarf_getattrs(Dwarf_Die *die, int (*callback) (Dwarf_Attribute *, void *), void *arg, ptrdiff_t offset) argument
|
/external/elfutils/0.153/libdwfl/ |
H A D | dwfl_getdwarf.c | 76 ptrdiff_t offset) 79 return INTUSE(dwfl_getmodules) (dwfl, &module_callback, &info, offset); 71 dwfl_getdwarf(Dwfl *dwfl, int (*callback) (Dwfl_Module *, void **, const char *, Dwarf_Addr, Dwarf *, Dwarf_Addr, void *), void *arg, ptrdiff_t offset) argument
|
/external/elfutils/0.153/libebl/ |
H A D | libebl.h | 313 /* Get offset in string table for string associated with SE. */ 338 /* Get offset in wide char string table for string associated with SE. */ 360 /* Get offset in wide char string table for string associated with SE. */ 367 Dwarf_Half offset; /* Byte offset in register data block. */ member in struct:__anon21216 379 Dwarf_Half offset; /* Byte offset in note data. */ member in struct:__anon21217
|
/external/elfutils/0.153/libelf/ |
H A D | elf32_updatenull.c | 221 off_t offset = 0; local 308 /* The user specified the offset and the size. 322 offset = ((offset + data->d_align - 1) 325 update_if_changed (data->d_off, offset, changed); 327 offset += data->d_size; 337 offset += scn->rawdata.d.d_size; 379 update_if_changed (shdr->sh_size, (GElf_Word) offset, 383 size += offset;
|
/external/emma/core/java12/com/vladium/jcd/cls/ |
H A D | IInterfaceCollection.java | 32 * constant pool index for offset'th direct superinterface. 34 * @param offset superinterface number [must be in [0, size()) range] 37 * @throws IndexOutOfBoundsException if 'offset' is outside of valid range 39 int get (int offset); argument 61 * @return offset of the new pointer [same as {@link #size()}-1 when called 67 * Replaces superinterface pointer number 'offset' with new value 'interface_index'. 72 * @param offset offset of the superinterface pointer to replace [must be in [0, size()) range] 76 * @throws IndexOutOfBoundsException if 'offset' is outside of valid range 78 int set (int offset, in argument [all...] |
/external/emma/core/java12/com/vladium/jcd/cls/attribute/ |
H A D | IDeclaredExceptionTable.java | 31 * pool index for offset'th exception type thrown by the method that contains 34 * @param offset thrown exception class number [must be in [0, size()) range] 37 * @throws IndexOutOfBoundsException if 'offset' is outside of valid range 39 int get (int offset); argument 64 * @return offset of the new pointer [same as {@link #size()}-1 when called 70 * Replaces exception class pointer number 'offset' with new value 'interface_index'. 75 * @param offset thrown exception class number [must be in [0, size()) range] 79 * @throws IndexOutOfBoundsException if 'offset' is outside of valid range 81 int set (int offset, int exception_index); argument
|
H A D | IExceptionHandlerTable.java | 31 * Returns {@link Exception_info} descriptor at a given offset. 33 * @param offset exception offset [must be in [0, size()) range; input not checked] 36 * @throws IndexOutOfBoundsException if 'offset' is outside of valid range 38 Exception_info get (int offset); argument 68 * Replaces the Exception_info descriptor at a given offset. No duplicate 74 * @param offset exception offset [must be in [0, size()) range; input not checked] 76 * @return previous exception descriptor at this offset [never null] 78 * @throws IndexOutOfBoundsException if 'offset' i 80 set(int offset, Exception_info exception) argument [all...] |
/external/fio/ |
H A D | helpers.c | 13 int fallocate(int fd, int mode, off_t offset, off_t len) argument 21 int posix_fallocate(int fd, off_t offset, off_t len) argument 28 int sync_file_range(int fd, off64_t offset, off64_t nbytes, unsigned int flags) argument 36 int posix_fadvise(int fd, off_t offset, off_t len, int advice) argument
|