/external/chromium_org/third_party/ots/test/ |
H A D | perf.cc | 41 uint8_t *data = new uint8_t[st.st_size]; 42 if (::read(fd, data, st.st_size) != st.st_size) { 51 uint8_t *result = new uint8_t[st.st_size + kPadLen]; 54 if (st.st_size < 1024 * 1024) { 57 if (st.st_size < 1024 * 100) { 64 ots::MemoryStream output(result, st.st_size + kPadLen); 65 bool r = ots::Process(&output, data, st.st_size); 77 us, argv[1], static_cast<long long>(st.st_size), 78 (us ? st.st_size / u [all...] |
H A D | ot-sanitise.cc | 52 uint8_t *data = new uint8_t[st.st_size]; 53 if (::read(fd, data, st.st_size) != st.st_size) { 63 const bool result = ots::Process(&output, data, st.st_size);
|
H A D | idempotent.cc | 58 *file_size = st.st_size; 59 *data = new uint8_t[st.st_size]; 60 if (read(fd, *data, st.st_size) != st.st_size) {
|
/external/kernel-headers/original/asm-x86/ |
H A D | stat.h | 15 unsigned long st_size; member in struct:stat 48 long long st_size; member in struct:stat64 78 long st_size; member in struct:stat 102 unsigned long st_size; member in struct:__old_kernel_stat 107 unsigned int st_size; member in struct:__old_kernel_stat
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/examples/ |
H A D | basemmap.c | 17 buf = mmap(NULL, statbuf.st_size, PROT_READ, MAP_SHARED|MAP_NORESERVE, 20 uchar *cur, *lim = &buf[statbuf.st_size]; 24 munmap(buf, statbuf.st_size);
|
/external/kernel-headers/original/asm-arm/ |
H A D | stat.h | 12 unsigned long st_size; member in struct:__old_kernel_stat 38 unsigned long st_size; member in struct:stat 71 long long st_size; member in struct:stat64
|
/external/elfutils/libdwfl/ |
H A D | dwfl_module_addrsym.c | 95 Here we store only symbols with nonzero st_size. */ 99 /* Keep track of an eligible symbol with st_size == 0 as a fallback. */ 123 if (sym.st_value + sym.st_size > min_label) 124 min_label = sym.st_value + sym.st_size; 126 if (sym.st_size == 0 || addr - sym.st_value < sym.st_size) 135 if (sym.st_size != 0) 144 st_size. If no symbol with proper size includes 155 else if (sym.st_size != 0 157 && closest_sym->st_size > sy [all...] |
/external/elfutils/lib/ |
H A D | crc32_file.c | 67 size_t mapsize = st.st_size; 82 if (st.st_size <= (off_t) mapsize) 84 *resp = crc32 (crc, mapped, st.st_size); 90 st.st_size -= mapsize;
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
H A D | mount_node_mem.cc | 43 size_t size = stat_.st_size; 64 if (count + attr.offs > static_cast<size_t>(stat_.st_size)) { 66 count = stat_.st_size - attr.offs; 86 } else if (new_size < stat_.st_size) { 92 stat_.st_size = new_size;
|
/external/kernel-headers/original/asm-mips/ |
H A D | stat.h | 28 off_t st_size; member in struct:stat 66 long long st_size; member in struct:stat64 107 off_t st_size; member in struct:stat
|
/external/linux-tools-perf/util/ |
H A D | util.c | 67 if (st.st_size == 0) /* /proc? do it slowly... */ 78 addr = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fromfd, 0); 82 if (write(tofd, addr, st.st_size) == st.st_size) 85 munmap(addr, st.st_size);
|
/external/chromium_org/third_party/skia/src/ports/ |
H A D | SkOSFile_posix.cpp | 55 if (!SkTFitsIn<size_t>(status.st_size)) { 58 size_t fileSize = static_cast<size_t>(status.st_size);
|
/external/elfutils/libelf/ |
H A D | gelf_update_sym.c | 98 || unlikely (src->st_size > 0xffffffffull)) 117 COPY (st_size);
|
H A D | gelf_update_symshndx.c | 124 || unlikely (src->st_size > 0xffffffffull)) 143 COPY (st_size);
|
/external/iproute2/netem/ |
H A D | stats.c | 28 if (info.st_size > 0) { 29 limit = 2*info.st_size/sizeof(double); /* @@ approximate */
|
/external/skia/src/ports/ |
H A D | SkOSFile_posix.cpp | 55 if (!SkTFitsIn<size_t>(status.st_size)) { 58 size_t fileSize = static_cast<size_t>(status.st_size);
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_libc_test.cc | 96 EXPECT_EQ(fsize, (uptr)st3.st_size); 104 EXPECT_NE(0xAB, sam.st.st_size); 105 EXPECT_NE(0, sam.st.st_size);
|
/external/dropbear/ |
H A D | compat.c | 252 if ((strings = malloc((u_int)statb.st_size + 1)) == NULL) { 256 shells = calloc((unsigned)statb.st_size / 3, sizeof (char *)); 265 flen = statb.st_size;
|
/external/chromium_org/base/files/ |
H A D | memory_mapped_file_posix.cc | 30 length_ = file_stat.st_size;
|
/external/e2fsprogs/util/ |
H A D | copy_sparse.c | 126 numblocks = (fileinfo.st_size + (bs-1)) / bs; 129 (long long) fileinfo.st_size, numblocks); 189 offset = fileinfo.st_size; 194 if (fileinfo.st_size != offset) {
|
/external/chromium_org/ui/surface/ |
H A D | transport_dib_posix.cc | 90 (!shared_memory_.Map(st.st_size))) { 94 size_ = st.st_size;
|
/external/chromium_org/third_party/libxml/src/ |
H A D | testRelax.c | 96 base = mmap(NULL, info.st_size, PROT_READ, 101 ctxt = xmlRelaxNGNewMemParserCtxt((char *)base,info.st_size); 109 munmap((char *) base, info.st_size);
|
H A D | testSchemas.c | 92 base = mmap(NULL, info.st_size, PROT_READ, 97 ctxt = xmlSchemaNewMemParserCtxt((char *)base,info.st_size); 105 munmap((char *) base, info.st_size);
|
/external/qemu/android/utils/ |
H A D | timezone.c | 187 if ( st.st_size != scan->localtime_st.st_size ) { 188 D( " size mistmatch (%zd != %zd)\n", (size_t)st.st_size, (size_t)scan->localtime_st.st_size ); 206 for (nn = 0; nn < st.st_size; nn++) { 220 result = (nn == st.st_size);
|
/external/elfutils/backends/ |
H A D | ppc_symbol.c | 114 /* Check whether given symbol's st_value and st_size are OK despite failing 141 && sym->st_size == 0); 146 && sym->st_size == 0);
|