/system/core/adb/ |
H A D | commandline.c | 1799 struct stat st; local 1806 if (lstat(vendor_srcdir, &st) || !S_ISDIR(st.st_mode))
|
H A D | file_sync_client.c | 242 struct stat st; local 243 if (fstat(lfd, &st)) { 248 size = st.st_size; 614 struct stat st; local 644 if(!lstat(stat_path, &st)) { 645 if (S_ISDIR(st.st_mode)) { 651 if(lstat(ci->src, &st)) { 657 if(!S_ISREG(st.st_mode) && !S_ISLNK(st.st_mode)) { 661 ci->time = st 756 struct stat st; local 955 struct stat st; local [all...] |
H A D | file_sync_service.c | 86 struct stat st; local 90 if(lstat(path, &st)) { 95 msg.stat.mode = htoll(st.st_mode); 96 msg.stat.size = htoll(st.st_size); 97 msg.stat.time = htoll(st.st_mtime); 107 struct stat st; local 132 if(lstat(tmp, &st) == 0) { 133 msg.dent.mode = htoll(st.st_mode); 134 msg.dent.size = htoll(st.st_size); 135 msg.dent.time = htoll(st 350 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));
|
/system/core/fastboot/ |
H A D | fastboot.c | 155 struct stat st; local 158 ret = fstat(fd, &st); 160 return ret ? -1 : st.st_size;
|
/system/core/fastbootd/ |
H A D | secure.c | 58 struct stat st; local 61 if (stat(path, &st)) { 70 if (S_ISDIR(st.st_mode)) { 79 else if(S_ISREG(st.st_mode)) {
|
/system/core/include/private/pixelflinger/ |
H A D | ggl_context.h | 382 } st[2]; member in union:android::texture_shade_t::__anon55 405 } st[2]; member in union:android::texture_iterators_t::__anon58
|
/system/core/include/utils/ |
H A D | Looper.h | 472 static void threadDestructor(void *st);
|
/system/core/init/ |
H A D | devices.c | 792 struct stat st; local 796 if(fstat(fw_fd, &st) < 0) 798 len_to_copy = st.st_size;
|
/system/core/libnativebridge/ |
H A D | native_bridge.cc | 389 struct stat st; local 390 if (stat(app_code_cache_dir, &st) == -1) { 400 } else if (!S_ISDIR(st.st_mode)) {
|
/system/core/libnativebridge/tests/ |
H A D | CodeCacheCreate_test.cpp | 29 struct stat st; local 30 ASSERT_EQ(-1, stat(kCodeCache, &st)); 41 ASSERT_EQ(0, stat(kCodeCache, &st)); 42 ASSERT_TRUE(S_ISDIR(st.st_mode));
|
H A D | CodeCacheExists_test.cpp | 29 struct stat st; local 30 ASSERT_EQ(-1, stat(kCodeCache, &st)); 44 ASSERT_EQ(0, stat(kCodeCache, &st)); 45 ASSERT_TRUE(S_ISDIR(st.st_mode));
|
/system/core/libpixelflinger/ |
H A D | scanline.cpp | 807 uint8_t& st = texel.s[j]; local 812 if (st) { 814 sf = st; 818 if (st) { 819 uint32_t factor = Ct + (Ct>>(st-1)); 820 Cf = (Cf * factor) >> st; 825 rescale(Cf, sf, Ct, st); 830 if (st) { 834 uint32_t factor = Ct + (Ct>>(st-1)); 835 Cf = ((((1<<st) 1899 } st[2]; member in union:android::__anon207::__anon208 [all...] |
/system/core/libutils/ |
H A D | Looper.cpp | 113 void Looper::threadDestructor(void *st) { 114 Looper* const self = static_cast<Looper*>(st);
|
/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) { 173 struct stat st; local 176 ret = lstat(path, &st); 183 if (!S_ISDIR(st [all...] |
/system/core/sdcard/ |
H A D | sdcard.c | 1327 out.st.blocks = stat.f_blocks; 1328 out.st.bfree = stat.f_bfree; 1329 out.st.bavail = stat.f_bavail; 1330 out.st.files = stat.f_files; 1331 out.st.ffree = stat.f_ffree; 1332 out.st.bsize = stat.f_bsize; 1333 out.st.namelen = stat.f_namelen; 1334 out.st.frsize = stat.f_frsize;
|
/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 | mkdir.c | 37 struct stat st; local 58 if(stat(currpath, &st) != 0) {
|
H A D | newfs_msdos.c | 856 struct stat st; local 858 if (fstat(fd, &st)) 861 ms = st.st_size;
|
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)) {
|
/system/core/toolbox/upstream-netbsd/bin/cat/ |
H A D | cat.c | 258 struct stat st; local 263 if (fstat(fd, &st) == -1) { 267 if (!S_ISREG(st.st_mode)) {
|
/system/core/toolbox/upstream-netbsd/bin/dd/ |
H A D | conv.c | 182 ++st.trunc; 214 ++st.trunc;
|
H A D | dd.c | 79 STAT st; /* statistics */ variable 280 (void)gettimeofday(&st.start, NULL); /* Statistics timestamp. */ 339 if (cpy_cnt && (st.in_full + st.in_part) >= cpy_cnt) 392 ++st.in_full; 397 ++st.in_full; 406 ++st.in_part; 423 ++st.swab; 542 st.bytes += pending; 543 st [all...] |
H A D | extern.h | 70 extern STAT st;
|
H A D | misc.c | 105 mS = tv2mS(tv) - tv2mS(st.start); 112 (unsigned long long)st.in_full, (unsigned long long)st.in_part, 113 (unsigned long long)st.out_full, (unsigned long long)st.out_part); 115 if (st.swab) { 117 (unsigned long long)st.swab, 118 (st.swab == 1) ? "block" : "blocks"); 121 if (st.trunc) { 123 (unsigned long long)st [all...] |