/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
H A D | ProcessPipe.cpp | 45 ssize_t stat = 0; local 47 stat = ::write(sProcPipe, (const char*)&confirmInt, 49 } while (stat < 0 && errno == EINTR); 51 if (stat != sizeof(confirmInt)) { // failed 60 stat = ::read(sProcPipe, (char*)&sProcUID, 62 } while (stat < 0 && errno == EINTR); 64 if (stat != sizeof(sProcUID)) {
|
H A D | QemuPipeStream.cpp | 109 ssize_t stat = ::write(m_sock, (const char *)(buf) + (len - res), res); local 110 if (stat > 0) { 111 res -= stat; 114 if (stat == 0) { /* EOF */ 122 retval = stat; 151 ssize_t stat = ::read(m_sock, (char *)(buf) + len - res, res); local 152 if (stat == 0) { 155 } else if (stat < 0) { 165 res -= stat;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
H A D | cvsfiles.py | 15 import stat
namespace 66 st = os.stat(filename)
69 return st[stat.ST_MTIME]
|
H A D | treesync.py | 26 import os, sys, stat, getopt
namespace 167 return st[stat.ST_MTIME]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
H A D | genericpath.py | 7 import stat
namespace 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)
56 """Return the size of a file, reported by os.stat()."""
57 return os.stat(filename).st_size
61 """Return the last modification time of a file, reported by os.stat()."""
62 return os.stat(filenam [all...] |
H A D | shutil.py | 9 import stat
namespace 73 st = os.stat(fn)
79 if stat.S_ISFIFO(st.st_mode):
89 st = os.stat(src)
90 mode = stat.S_IMODE(st.st_mode)
94 """Copy all stat info (mode bits, atime, mtime, flags) from src to dst"""
95 st = os.stat(src)
96 mode = stat.S_IMODE(st.st_mode)
123 """Copy data and all stat info ("cp -p src dst").
246 if stat [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/ |
H A D | mboxconvert.py | 11 import stat
namespace 93 t = os.fstat(f.fileno())[stat.ST_MTIME]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
H A D | genericpath.py | 7 import stat
namespace 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)
48 """Return the size of a file, reported by os.stat()."""
49 return os.stat(filename).st_size
53 """Return the last modification time of a file, reported by os.stat()."""
54 return os.stat(filenam [all...] |
H A D | filecmp.py | 13 import stat
namespace 30 shallow -- Just check stat signature (do not read the files).
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),
103 dir1 and dir2, or the name is not stat-able.
148 a_stat = os.stat(a_path)
150 # print 'Can\'t stat', a_pat [all...] |
H A D | ntpath.py | 10 import stat
namespace
|
H A D | poplib.py | 45 STAT stat()
192 def stat(self):
member in class:POP3 199 if self._debugging: print '*stat*', repr(rets)
410 (numMsgs, totalSize) = a.stat()
|
H A D | posixpath.py | 15 import stat
namespace 136 return stat.S_ISLNK(st.st_mode)
153 s1 = os.stat(f1)
154 s2 = os.stat(f2)
168 # Are two stat buffers (obtained from stat, fstat or lstat)
172 """Test whether two stat buffers reference the same file"""
236 if stat.S_ISDIR(st.st_mode):
|
H A D | imputil.py | 455 from posix import stat
namespace 458 from nt import stat
namespace 461 from dos import stat
namespace 464 from os2 import stat
namespace 478 _os_stat = stat
697 # in the cache. The method should do a stat and/or look at the
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
H A D | SocketStream.cpp | 99 ssize_t stat = ::send(m_sock, (const char *)buffer + (size - res), res, 0); local 100 if (stat < 0) { 102 retval = stat; 107 res -= stat; 122 ssize_t stat = ::recv(m_sock, (char *)(buf) + len - res, res, 0); local 123 if (stat > 0) { 124 res -= stat; 127 if (stat == 0 || errno != EINTR) { // client shutdown or error
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/ |
H A D | cvslock.py | 76 import stat
namespace 136 st = os.stat(self.cvslck)
176 uid = st[stat.ST_UID]
224 st = os.stat(self.join(name))
|
H A 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 class: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, lis [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/ |
H A D | test_dir_util.py | 4 import stat
namespace 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/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
H A D | test_dumbdbm.py | 59 import stat
namespace 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)
|
H A D | test_largefile.py | 7 import stat
namespace 49 self.assertEqual(os.fstat(f.fileno())[stat.ST_SIZE], size+1)
53 print('check file size with os.stat')
54 self.assertEqual(os.stat(TESTFN)[stat.ST_SIZE], size+1)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Lib/ |
H A D | ntpath.py | 10 import stat
namespace
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib/ |
H A D | ntpath.py | 23 import stat
namespace 561 # The genericpath.isdir implementation uses os.stat and checks the mode
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/ |
H A D | LongFilePathOs.py | 48 def stat(path):
function 49 return os.stat(LongFilePath(path))
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Core/ |
H A D | FileHook.py | 20 import stat
namespace 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/Lua/src/ |
H A D | loslib.c | 82 int stat = system(cmd);
local 84 return luaL_execresult(L, stat);
86 lua_pushboolean(L, stat); /* true if there is a shell */
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
H A D | pystate.c | 476 int stat;
local 483 stat = PyDict_SetItem(result, id, (PyObject *)frame);
485 if (stat < 0)
|