/system/core/toolbox/ |
H A D | df.c | 25 struct statfs st; local 27 if (statfs(s, &st) < 0) { 31 if (st.f_blocks == 0 && !always) 34 printsize((long long)st.f_blocks * (long long)st.f_bsize); 36 printsize((long long)(st.f_blocks - (long long)st.f_bfree) * st.f_bsize); 38 printsize((long long)st.f_bfree * (long long)st [all...] |
H A D | mv.c | 12 struct stat st; local 22 if (stat(dest, &st)) { 28 st.st_mode = 0; 42 if (S_ISDIR(st.st_mode)) {
|
H A D | umount.c | 16 struct stat st; local 19 if (stat(dev, &st) == 0) { 20 if (S_ISBLK(st.st_mode) && (major(st.st_rdev) == LOOP_MAJOR)) {
|
H A D | rm.c | 19 struct stat st; local 25 if (lstat(name, &st) < 0) 29 if (!S_ISDIR(st.st_mode))
|
H A D | dd.c | 86 extern STAT st; 110 STAT st; /* statistics */ variable 282 (void)gettimeofday(&st.start, NULL); /* Statistics timestamp. */ 342 if (cpy_cnt && (st.in_full + st.in_part) >= cpy_cnt) 397 ++st.in_full; 402 ++st.in_full; 411 ++st.in_part; 428 ++st.swab; 557 st [all...] |
H A D | mkdir.c | 38 struct stat st; local 59 if(stat(currpath, &st) != 0) {
|
H A D | cat.c | 198 struct stat st; local 203 if (fstat(fd, &st) == -1) { 207 if (!S_ISREG(st.st_mode)) {
|
H A D | newfs_msdos.c | 844 struct stat st; local 846 if (fstat(fd, &st)) 849 ms = st.st_size;
|
/system/core/adb/ |
H A D | file_sync_service.c | 59 struct stat st; local 63 if(lstat(path, &st)) { 68 msg.stat.mode = htoll(st.st_mode); 69 msg.stat.size = htoll(st.st_size); 70 msg.stat.time = htoll(st.st_mtime); 80 struct stat st; local 105 if(lstat(tmp, &st) == 0) { 106 msg.dent.mode = htoll(st.st_mode); 107 msg.dent.size = htoll(st.st_size); 108 msg.dent.time = htoll(st [all...] |
H A D | file_sync_client.c | 606 struct stat st; local 635 stat(stat_path, &st); 637 if (S_ISDIR(st.st_mode)) { 643 if(lstat(ci->src, &st)) { 649 if(!S_ISREG(st.st_mode) && !S_ISLNK(st.st_mode)) { 653 ci->time = st.st_mtime; 654 ci->mode = st.st_mode; 655 ci->size = st.st_size; 744 struct stat st; local 946 struct stat st; local [all...] |
H A D | commandline.c | 1412 struct stat st; local 1418 if (stat(filename, &st) != 0) { 1423 if (!S_ISREG(st.st_mode)) {
|
/system/core/nexus/ |
H A D | DhcpListener.cpp | 61 int st = DhcpState::parseString(tmp); local 62 mHandlers->onDhcpStateChanged(mController, st);
|
/system/core/run-as/ |
H A D | package.c | 119 struct stat st; local 122 ret = lstat(path, &st); 129 if (!S_ISDIR(st.st_mode)) 133 if (st.st_uid != uid || st.st_gid != uid) 137 if ((st.st_mode & (S_IROTH|S_IWOTH)) != 0)
|
/system/extras/fatblock/ |
H A D | import.c | 97 struct stat st; local 102 ret = stat(path, &st); 125 f->size = st.st_size; 126 f->dev = st.st_dev; 127 f->ino = st.st_ino; 128 f->mtime = st.st_mtime;
|
H A D | read.c | 54 struct stat st; local 59 ret = stat(f->path, &st); 66 if (f->mtime != st.st_mtime)
|
/system/core/sh/ |
H A D | jobs.c | 385 int st; local 409 st = ps->status; 412 if (st1 != st) 453 st = WEXITSTATUS(ps->status); 454 if (st) 455 fmtstr(s + col, 16, "Done(%d)", st); 461 st = WSTOPSIG(ps->status); 464 st = WTERMSIG(ps->status); 465 st &= 0x7f; 466 if (st < NSI 987 int st; local [all...] |
/system/core/libcutils/ |
H A D | tzstrftime.c | 738 struct stat st; local 783 if (fstat(fd, &st) != 0) 785 if (st.st_size <= 0) 787 bufsize = namesize + st.st_size; 794 plim = p + st.st_size; 795 if (read(fd, p, (size_t) st.st_size) != st.st_size)
|
H A D | tztime.c | 1294 struct state st; local 1295 if (tzload(tz, &st, TRUE) != 0) { 1297 gmtload(&st); 1300 localsub(timep, 0L, tmp, &st); 1944 struct state st; local 1945 if (tzload(tz, &st, TRUE) != 0) { 1947 gmtload(&st); 1949 return time1(tmp, localsub, 0L, &st);
|
/system/core/sdcard/ |
H A D | sdcard.c | 815 out.st.blocks = stat.f_blocks; 816 out.st.bfree = stat.f_bfree; 817 out.st.bavail = stat.f_bavail; 818 out.st.files = stat.f_files; 819 out.st.ffree = stat.f_ffree; 820 out.st.bsize = stat.f_bsize; 821 out.st.namelen = stat.f_namelen; 822 out.st.frsize = stat.f_frsize;
|
H A D | fuse.h | 411 struct fuse_kstatfs st; member in struct:fuse_statfs_out
|
/system/core/libpixelflinger/ |
H A D | scanline.cpp | 770 uint8_t& st = texel.s[j]; local 775 if (st) { 777 sf = st; 781 if (st) { 782 uint32_t factor = Ct + (Ct>>(st-1)); 783 Cf = (Cf * factor) >> st; 788 rescale(Cf, sf, Ct, st); 793 if (st) { 797 uint32_t factor = Ct + (Ct>>(st-1)); 798 Cf = ((((1<<st) 1862 } st[2]; member in union:android::__anon401::__anon402 [all...] |
/system/media/mca/filterfw/native/core/ |
H A D | gl_env.cpp | 163 sp<SurfaceTexture> st = new SurfaceTexture(0, false); local 164 window_ = new SurfaceTextureClient(st);
|
/system/media/wilhelm/tests/native-media/src/com/example/nativemedia/ |
H A D | NativeMedia.java | 384 SurfaceTexture st = mMyGLSurfaceView.getSurfaceTexture(); 385 Surface s = new Surface(st);
|
/system/core/init/ |
H A D | devices.c | 600 struct stat st; local 604 if(fstat(fw_fd, &st) < 0) 606 len_to_copy = st.st_size;
|
/system/core/include/private/pixelflinger/ |
H A D | ggl_context.h | 360 } st[2]; member in union:android::texture_shade_t::__anon315 383 } st[2]; member in union:android::texture_iterators_t::__anon318
|