/system/core/toolbox/ |
H A D | df.c | 31 struct statfs st; local 33 if (statfs(s, &st) < 0) { 37 if (st.f_blocks == 0 && !always) 40 printsize((long long)st.f_blocks * (long long)st.f_bsize); 42 printsize((long long)(st.f_blocks - (long long)st.f_bfree) * st.f_bsize); 44 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 | 22 struct stat st; local 28 if (lstat(name, &st) < 0) 32 if (!S_ISDIR(st.st_mode))
|
H A D | dd.c | 86 extern STAT st; 108 STAT st; /* statistics */ variable 244 (void)gettimeofday(&st.start, NULL); /* Statistics timestamp. */ 304 if (cpy_cnt && (st.in_full + st.in_part) >= cpy_cnt) 359 ++st.in_full; 364 ++st.in_full; 373 ++st.in_part; 390 ++st.swab; 519 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)) {
|
/system/core/run-as/ |
H A D | package.c | 80 struct stat st; local 109 ret = TEMP_FAILURE_RETRY(fstat(fd, &st)); 114 if ((st.st_uid != AID_SYSTEM) || (st.st_gid != AID_PACKAGE_INFO)) { 119 if ((st.st_mode & S_IWOTH) != 0) { 124 length = (size_t)st.st_size; 125 if ((off_t)length != st.st_size) { 171 struct stat st; local 174 ret = lstat(path, &st); 181 if (!S_ISDIR(st [all...] |
/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 | usb_linux.c | 231 struct stat st; local 273 if (!fstat(fd, &st) && S_ISCHR(st.st_mode)) { 277 major(st.st_rdev), minor(st.st_rdev));
|
H A D | commandline.c | 1638 struct stat st; local 1644 if (stat(filename, &st) != 0) { 1649 if (!S_ISREG(st.st_mode)) {
|
/system/extras/kexec_tools/ |
H A D | kexecload.c | 30 struct stat st; local 31 fstat(f, &st); 32 return st.st_size;
|
/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/fastboot/ |
H A D | usb_linux.c | 112 struct stat st; local 183 result = fstat(fd, &st); 184 if (!result && S_ISCHR(st.st_mode)) { 190 major(st.st_rdev), minor(st.st_rdev));
|
H A D | engine.c | 287 struct stat st; local 292 fstat(fd, &st); 293 image->image_size = st.st_size; 294 image->buffer = load_buffer(fd, st.st_size);
|
/system/core/toolbox/grep/ |
H A D | util.c | 290 size_t st = 0; local 295 while (st <= l->len) { 296 pmatch.rm_so = st; 310 st = pmatch.rm_eo; 315 st = pmatch.rm_eo; 356 if (st == (size_t)pmatch.rm_so)
|
/system/core/libpixelflinger/ |
H A D | scanline.cpp | 791 uint8_t& st = texel.s[j]; local 796 if (st) { 798 sf = st; 802 if (st) { 803 uint32_t factor = Ct + (Ct>>(st-1)); 804 Cf = (Cf * factor) >> st; 809 rescale(Cf, sf, Ct, st); 814 if (st) { 818 uint32_t factor = Ct + (Ct>>(st-1)); 819 Cf = ((((1<<st) 1883 } st[2]; member in union:android::__anon218::__anon219 [all...] |
/system/core/include/utils/ |
H A D | Looper.h | 383 static void threadDestructor(void *st);
|
/system/core/include/private/pixelflinger/ |
H A D | ggl_context.h | 380 } st[2]; member in union:android::texture_shade_t::__anon62 403 } st[2]; member in union:android::texture_iterators_t::__anon65
|
/system/core/libutils/ |
H A D | Looper.cpp | 113 void Looper::threadDestructor(void *st) { 114 Looper* const self = static_cast<Looper*>(st);
|
/system/core/sdcard/ |
H A D | sdcard.c | 1277 out.st.blocks = stat.f_blocks; 1278 out.st.bfree = stat.f_bfree; 1279 out.st.bavail = stat.f_bavail; 1280 out.st.files = stat.f_files; 1281 out.st.ffree = stat.f_ffree; 1282 out.st.bsize = stat.f_bsize; 1283 out.st.namelen = stat.f_namelen; 1284 out.st.frsize = stat.f_frsize;
|
H A D | fuse.h | 411 struct fuse_kstatfs st; member in struct:fuse_statfs_out
|