/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | genericpath.py | 7 import stat 18 os.stat(path) 29 st = os.stat(path) 32 return stat.S_ISREG(st.st_mode) 41 st = os.stat(s) 44 return stat.S_ISDIR(st.st_mode) 49 return os.stat(filename).st_size 54 return os.stat(filename).st_mtime 59 return os.stat(filename).st_atime 64 return os.stat(filename).st_ctime
|
D | linecache.py | 60 stat = os.stat(fullname) 64 if size != stat.st_size or mtime != stat.st_mtime: 80 stat = os.stat(fullname) 120 stat = os.stat(fullname) 133 size, mtime = stat.st_size, stat.st_mtime
|
D | filecmp.py | 13 import stat 42 s1 = _sig(os.stat(f1)) 43 s2 = _sig(os.stat(f2)) 44 if s1[0] != stat.S_IFREG or s2[0] != stat.S_IFREG: 59 return (stat.S_IFMT(st.st_mode), 148 a_stat = os.stat(a_path) 153 b_stat = os.stat(b_path) 159 a_type = stat.S_IFMT(a_stat.st_mode) 160 b_type = stat.S_IFMT(b_stat.st_mode) 163 elif stat.S_ISDIR(a_type): [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | genericpath.py | 7 import stat 26 os.stat(path) 37 st = os.stat(path) 40 return stat.S_ISREG(st.st_mode) 49 st = os.stat(s) 52 return stat.S_ISDIR(st.st_mode) 57 return os.stat(filename).st_size 62 return os.stat(filename).st_mtime 67 return os.stat(filename).st_atime 72 return os.stat(filename).st_ctime
|
D | linecache.py | 64 stat = os.stat(fullname) 68 if size != stat.st_size or mtime != stat.st_mtime: 84 stat = os.stat(fullname) 124 stat = os.stat(fullname) 137 size, mtime = stat.st_size, stat.st_mtime
|
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
D | ProcessPipe.cpp | 45 ssize_t stat = 0; in processPipeInitOnce() local 47 stat = ::write(sProcPipe, (const char*)&confirmInt, in processPipeInitOnce() 49 } while (stat < 0 && errno == EINTR); in processPipeInitOnce() 51 if (stat != sizeof(confirmInt)) { // failed in processPipeInitOnce() 60 stat = ::read(sProcPipe, (char*)&sProcUID, in processPipeInitOnce() 62 } while (stat < 0 && errno == EINTR); in processPipeInitOnce() 64 if (stat != sizeof(sProcUID)) { in processPipeInitOnce()
|
D | QemuPipeStream.cpp | 109 ssize_t stat = ::write(m_sock, (const char *)(buf) + (len - res), res); in writeFully() local 110 if (stat > 0) { in writeFully() 111 res -= stat; in writeFully() 114 if (stat == 0) { /* EOF */ in writeFully() 122 retval = stat; in writeFully() 151 ssize_t stat = ::read(m_sock, (char *)(buf) + len - res, res); in readFully() local 152 if (stat == 0) { in readFully() 155 } else if (stat < 0) { in readFully() 165 res -= stat; in readFully()
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
D | SocketStream.cpp | 99 ssize_t stat = ::send(m_sock, (const char *)buffer + (size - res), res, 0); in writeFully() local 100 if (stat < 0) { in writeFully() 102 retval = stat; in writeFully() 107 res -= stat; in writeFully() 122 ssize_t stat = ::recv(m_sock, (char *)(buf) + len - res, res, 0); in readFully() local 123 if (stat > 0) { in readFully() 124 res -= stat; in readFully() 127 if (stat == 0 || errno != EINTR) { // client shutdown or error in readFully()
|
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
D | EfiSysCall.h | 71 struct stat; /* Structure declared in <sys/stat.h> */ 283 int fstat (int, struct stat *); 284 int lstat (const char *, struct stat *); 285 int stat (const char *, struct stat *);
|
D | stat.h | 54 struct stat { struct 191 int fstat (int, struct stat *); 195 int lstat (const char *, struct stat *); 209 int stat (const char *, struct stat *);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/ |
D | dep_util.py | 30 return os.stat(source).st_mtime > os.stat(target).st_mtime 74 target_mtime = os.stat(target).st_mtime 85 if os.stat(source).st_mtime > target_mtime:
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/ |
D | InstallPkg.py | 25 import stat 793 chmod(ToFile, stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH) 795 …chmod(ToFile, stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH | stat.S_IEXEC | stat.S_IXGRP | stat.S_IX… 797 chmod(ToFile, stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH | stat.S_IWUSR | stat.S_IWGRP | 798 stat.S_IWOTH | stat.S_IEXEC | stat.S_IXGRP | stat.S_IXOTH) 800 …chmod(ToFile, stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH | stat.S_IWUSR | stat.S_IWGRP | stat.S_IW… 872 chmod(ToFile, stat.S_IRUSR|stat.S_IRGRP|stat.S_IROTH) 874 …chmod(ToFile, stat.S_IRUSR|stat.S_IRGRP|stat.S_IROTH|stat.S_IWUSR|stat.S_IWGRP|stat.S_IWOTH) …
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/ |
D | FSProxy.py | 22 from stat import * 155 return os.stat(name)[ST_SIZE] 159 return time.localtime(os.stat(name)[ST_MTIME]) 161 def stat(self, name): member in FSProxyLocal 163 size = os.stat(name)[ST_SIZE] 164 mtime = time.localtime(os.stat(name)[ST_MTIME]) 169 size = os.stat(name)[ST_SIZE] 170 mtime = time.localtime(os.stat(name)[ST_MTIME]) 188 return self._list(self.stat, list) 220 return self.dict(self.stat, list)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
D | cvsfiles.py | 15 import stat 66 st = os.stat(filename) 69 return st[stat.ST_MTIME]
|
D | mkreal.py | 9 from stat import * 18 st = os.stat(name) # Get the mode 32 st = os.stat(name) # Get the mode
|
D | copytime.py | 7 from stat import ST_ATIME, ST_MTIME # Really constants 7 and 8 15 stat1 = os.stat(file1)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/ |
D | test_dir_util.py | 4 import stat 62 stat.S_IMODE(os.stat(self.target).st_mode), 0o700 & ~umask) 65 stat.S_IMODE(os.stat(self.target2).st_mode), 0o555 & ~umask)
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Core/ |
D | FileHook.py | 20 import stat 70 sta = os.stat(path) 71 oldmode = stat.S_IMODE(sta.st_mode) 83 sta = os.stat(path) 84 oldmode = stat.S_IMODE(sta.st_mode) 96 sta = os.stat(path) 97 oldmode = stat.S_IMODE(sta.st_mode)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_import.py | 6 import stat 101 os.chmod(fname, (stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH | 102 stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH)) 110 s = os.stat(fn) 111 self.assertEqual(stat.S_IMODE(s.st_mode), 112 stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH)
|
D | test_dumbdbm.py | 59 import stat 60 st = os.stat(_fname + '.dat') 61 self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode) 62 st = os.stat(_fname + '.dir') 63 self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
D | loadlib.c | 310 int stat = ll_loadfunc(L, path, init); in ll_loadlib() local 311 if (stat == 0) /* no errors? */ in ll_loadlib() 316 lua_pushstring(L, (stat == ERRLIB) ? LIB_FAIL : "init"); in ll_loadlib() 398 static int checkload (lua_State *L, int stat, const char *filename) { in checkload() argument 399 if (stat) { /* module loaded successfully? */ in checkload() 425 int stat; in loadfunc() local 428 stat = ll_loadfunc(L, filename, funcname); in loadfunc() 429 if (stat != ERRFUNC) return stat; in loadfunc() 449 int stat; in searcher_Croot() local 454 if ((stat = loadfunc(L, filename, name)) != 0) { in searcher_Croot() [all …]
|
/device/google/marlin/recovery/gpt-utils/ |
D | gpt-utils.cpp | 662 struct stat st; in gpt_utils_set_xbl_boot_partition() 670 if (!stat(XBL_BACKUP, &st)) in gpt_utils_set_xbl_boot_partition() 672 else if (!stat(XBL_AB_SECONDARY, &st)) in gpt_utils_set_xbl_boot_partition() 681 if (!stat(XBL_PRIMARY, &st)) in gpt_utils_set_xbl_boot_partition() 683 else if (!stat(XBL_AB_PRIMARY, &st)) in gpt_utils_set_xbl_boot_partition() 696 if((stat(XBL_PRIMARY, &st) || in gpt_utils_set_xbl_boot_partition() 697 stat(XBL_BACKUP, &st)) && in gpt_utils_set_xbl_boot_partition() 698 (stat(XBL_AB_PRIMARY, &st) || in gpt_utils_set_xbl_boot_partition() 699 stat(XBL_AB_SECONDARY, &st))) { in gpt_utils_set_xbl_boot_partition() 749 struct stat xbl_partition_stat; in prepare_partitions() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/logging/ |
D | handlers.py | 28 from stat import ST_DEV, ST_INO, ST_MTIME 218 t = os.stat(filename)[ST_MTIME] 390 stat = os.stat(self.baseFilename) 391 self.dev, self.ino = stat[ST_DEV], stat[ST_INO] 402 stat = None 405 stat = os.stat(self.baseFilename) 406 changed = (stat[ST_DEV] != self.dev) or (stat[ST_INO] != self.ino) 411 if stat is None: 412 stat = os.stat(self.baseFilename) 413 self.dev, self.ino = stat[ST_DEV], stat[ST_INO]
|
/device/generic/goldfish/tools/ |
D | mk_qemu_image.sh | 20 curdisksize=$(stat -c %s $target) 22 curdisksize=$(stat -f %z $target)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/ |
D | install_scripts.py | 13 from stat import ST_MODE 54 mode = ((os.stat(file)[ST_MODE]) | 0555) & 07777
|