/external/mesa3d/src/gallium/winsys/radeon/drm/ |
radeon_drm_winsys.c | 44 #include <sys/stat.h> 684 struct stat stat; local 685 fstat(fd, &stat); 687 return stat.st_dev ^ stat.st_ino ^ stat.st_rdev; 694 struct stat stat1, stat2;
|
/external/python/cpython2/Demo/pdist/ |
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, list [all...] |
/external/python/cpython2/Lib/ |
nntplib.py | 378 """Internal: parse the response of a STAT, NEXT or LAST command.""" 392 """Internal: process a STAT, NEXT or LAST command.""" 396 def stat(self, id): member in class:NNTP 397 """Process a STAT command. Argument: 404 return self.statcmd('STAT ' + id) 407 """Process a NEXT command. No arguments. Return as for STAT.""" 411 """Process a LAST command. No arguments. Return as for STAT."""
|
/external/python/cpython2/Python/ |
pystate.c | 476 int stat; local 483 stat = PyDict_SetItem(result, id, (PyObject *)frame); 485 if (stat < 0)
|
/external/python/cpython2/Tools/pybench/ |
pybench.py | 359 def stat(self): member in class:Test 565 def stat(self): member in class:Benchmark 617 min_overhead) = test.stat() 669 min_overhead) = test.stat() 687 other_min_overhead) = other.stat()
|
/external/python/cpython3/Lib/ |
poplib.py | 59 STAT stat() 216 def stat(self): member in class:POP3 221 retval = self._shortcmd('STAT') 223 if self._debugging: print('*stat*', repr(rets)) 468 (numMsgs, totalSize) = a.stat()
|
/external/python/cpython3/Tools/pybench/ |
pybench.py | 368 def stat(self): member in class:Test 571 def stat(self): member in class:Benchmark 622 min_overhead) = test.stat() 673 min_overhead) = test.stat() 691 other_min_overhead) = other.stat()
|
/external/syslinux/com32/cmenu/ |
complex.c | 48 t_menuitem *stat, *dhcp, *none, *prepopt, *secret; variable 206 if (mi->data == (void *)stat) 285 stat = 421 if (network->data == (void *)stat) // We want static
|
/external/syslinux/com32/lua/src/ |
loslib.c | 85 int stat = system(cmd); local 87 return luaL_execresult(L, stat); 89 lua_pushboolean(L, stat); /* true if there is a shell */
|
/external/syslinux/com32/rosh/ |
rosh.h | 36 #include <sys/stat.h> /* fstat() */ 79 int stat(const char *pathname, struct stat *buf) function 84 ROSH_DEBUG2_STAT("stat:opendir(%s) ", pathname); 87 ROSH_DEBUG2_STAT("stat:closedir() "); 93 ROSH_DEBUG2_STAT("(%d)stat:open() ", errno); 96 ROSH_DEBUG2_STAT("(%d)stat:fstat() ", fd); 99 ROSH_DEBUG2_STAT("stat:close() ");
|
/external/syslinux/gpxe/src/util/ |
zbin.c | 2 #include <sys/stat.h> 66 struct stat stat; local 75 if ( fstat ( fileno ( file ), &stat ) < 0 ) { 76 fprintf ( stderr, "Could not stat %s: %s\n", filename, 81 *len = stat.st_size;
|
/external/tcpdump/ |
netdissect-stdinc.h | 150 #define stat _stat macro
|
/external/tensorflow/tensorflow/core/platform/ |
env_test.cc | 18 #include <sys/stat.h> 101 FileStatistics stat; local 102 TF_EXPECT_OK(env_->Stat(filename, &stat)); 103 EXPECT_EQ(length, stat.length); 104 EXPECT_FALSE(stat.is_directory); 152 FileStatistics stat; local 153 TF_EXPECT_OK(env_->Stat(filename, &stat)); 154 EXPECT_EQ(length, stat.length) 259 FileStatistics stat; local [all...] |
file_system.cc | 16 #include <sys/stat.h> 68 FileStatistics stat; local 69 TF_RETURN_IF_ERROR(Stat(name, &stat)); 70 if (stat.is_directory) {
|
/external/toybox/lib/ |
lib.h | 72 // Don't warn about failure to stat 86 struct stat st; 159 void xstat(char *path, struct stat *st); 305 struct stat stat; member in struct:mtab_list
|
/external/valgrind/none/tests/x86-linux/ |
seg_override.c | 91 int stat; local 105 stat = __modify_ldt (1, &ldt_entry, sizeof (ldt_entry)); 106 printf("stat = %d\n", stat);
|
/external/wayland/tests/ |
test-compositor.c | 323 int stat = 0; local 333 stat = wl_display_add_socket(d->wl_display, socket_name); 334 assert(stat == 0 && "Failed adding socket");
|
/frameworks/base/core/jni/ |
fd_utils.cpp | 141 const struct stat stat; member in class:FileDescriptorInfo 152 FileDescriptorInfo(struct stat stat, const std::string& file_path, int fd, int open_flags, 171 struct stat f_stat; 173 // of permissions required to stat all its open files. 175 *error_msg = android::base::StringPrintf("Unable to stat %d", fd); 273 struct stat f_stat; 279 return f_stat.st_ino == stat.st_ino && f_stat.st_dev == stat.st_dev [all...] |
/frameworks/base/services/core/java/com/android/server/storage/ |
DiskStatsFileLogger.java | 127 PackageStats stat = entry.getValue(); local 128 long appSize = stat.codeSize; 129 long appDataSize = stat.dataSize; 130 long cacheSize = stat.cacheSize; 132 appSize += stat.externalCodeSize; 133 appDataSize += stat.externalDataSize; 134 cacheSize += stat.externalCacheSize; 140 names.put(stat.packageName); 161 for (PackageStats stat : mPackageStats) { 162 if (stat.userHandle != UserHandle.USER_SYSTEM) [all...] |
/frameworks/base/tests/LowStorageTest/src/com/android/lowstoragetest/ |
LowStorageTest.java | 52 StatFs stat = new StatFs(path.getPath()); local 53 int totalBlocks = stat.getBlockCount(); 54 mBlockSize = (int) (stat.getBlockSize()); 80 StatFs stat = new StatFs(path.getPath()); local 81 int totalBlocks = stat.getBlockCount(); 82 int noOfBlockToFill = stat.getAvailableBlocks(); 118 // The stat didn't relect the correct data right away 122 StatFs stat = new StatFs(path.getPath()); local 123 long availableBlocks = stat.getAvailableBlocks();
|
/hardware/interfaces/drm/1.1/vts/functional/ |
drm_hal_clearkey_test.cpp | 593 auto stat = drmPlugin->removeAllSecureStops(); local 594 EXPECT_OK(stat); 608 auto stat = drmPlugin->removeAllSecureStops(); local 609 EXPECT_OK(stat); 622 stat = drmPlugin->removeAllSecureStops(); 623 EXPECT_OK(stat); 643 auto stat = drmPlugin->removeAllSecureStops(); local 644 EXPECT_OK(stat); 658 auto stat = drmPlugin->removeAllSecureStops(); local 659 EXPECT_OK(stat); 692 auto stat = drmPlugin->removeAllSecureStops(); local 707 auto stat = drmPlugin->removeAllSecureStops(); local 768 auto stat = drmPlugin->removeAllSecureStops(); local 802 auto stat = drmPlugin->removeSecureStop(emptyId); local 812 auto stat = drmPlugin->removeAllSecureStops(); local 839 auto stat = drmPlugin->removeAllSecureStops(); local [all...] |
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
loc_api_rpc_glue.c | 41 #include <sys/stat.h> 104 #define LOC_GLUE_CHECK_RESULT(stat, ret_type) \ 105 if (stat != RPC_SUCCESS) { \ 106 LOC_LOGE("%s:%d] failure code %d", __func__, __LINE__, stat); \ 107 return (ret_type)((stat == RPC_SUBSYSTEM_RESTART) ? \ 361 enum clnt_stat stat = RPC_SUCCESS; local 369 stat = RPC_FUNC_VERSION(rpc_loc_open_, RPC_LOC_OPEN_VERSION)(&args, &rets, loc_api_clnt); 373 }while( (RPC_SUCCESS != stat||0 > ret_val) && 0 != try_num ); 375 LOC_GLUE_CHECK_RESULT(stat, int32); 398 enum clnt_stat stat = RPC_SUCCESS local 447 enum clnt_stat stat = RPC_SUCCESS; local 472 enum clnt_stat stat = RPC_SUCCESS; local 572 enum clnt_stat stat = RPC_SUCCESS; local 589 enum clnt_stat stat = RPC_SUCCESS; local [all...] |
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
loc_api_rpc_glue.c | 41 #include <sys/stat.h> 104 #define LOC_GLUE_CHECK_RESULT(stat, ret_type) \ 105 if (stat != RPC_SUCCESS) { \ 106 LOC_LOGE("%s:%d] failure code %d", __func__, __LINE__, stat); \ 107 return (ret_type)((stat == RPC_SUBSYSTEM_RESTART) ? \ 361 enum clnt_stat stat = RPC_SUCCESS; local 369 stat = RPC_FUNC_VERSION(rpc_loc_open_, RPC_LOC_OPEN_VERSION)(&args, &rets, loc_api_clnt); 373 }while( (RPC_SUCCESS != stat||0 > ret_val) && 0 != try_num ); 375 LOC_GLUE_CHECK_RESULT(stat, int32); 398 enum clnt_stat stat = RPC_SUCCESS local 447 enum clnt_stat stat = RPC_SUCCESS; local 472 enum clnt_stat stat = RPC_SUCCESS; local 572 enum clnt_stat stat = RPC_SUCCESS; local 589 enum clnt_stat stat = RPC_SUCCESS; local [all...] |
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
loc_api_rpc_glue.c | 41 #include <sys/stat.h> 104 #define LOC_GLUE_CHECK_RESULT(stat, ret_type) \ 105 if (stat != RPC_SUCCESS) { \ 106 LOC_LOGE("%s:%d] failure code %d", __func__, __LINE__, stat); \ 107 return (ret_type)((stat == RPC_SUBSYSTEM_RESTART) ? \ 361 enum clnt_stat stat = RPC_SUCCESS; local 369 stat = RPC_FUNC_VERSION(rpc_loc_open_, RPC_LOC_OPEN_VERSION)(&args, &rets, loc_api_clnt); 373 }while( (RPC_SUCCESS != stat||0 > ret_val) && 0 != try_num ); 375 LOC_GLUE_CHECK_RESULT(stat, int32); 398 enum clnt_stat stat = RPC_SUCCESS local 447 enum clnt_stat stat = RPC_SUCCESS; local 472 enum clnt_stat stat = RPC_SUCCESS; local 572 enum clnt_stat stat = RPC_SUCCESS; local 589 enum clnt_stat stat = RPC_SUCCESS; local [all...] |
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
loc_api_rpc_glue.c | 41 #include <sys/stat.h> 104 #define LOC_GLUE_CHECK_RESULT(stat, ret_type) \ 105 if (stat != RPC_SUCCESS) { \ 106 LOC_LOGE("%s:%d] failure code %d", __func__, __LINE__, stat); \ 107 return (ret_type)((stat == RPC_SUBSYSTEM_RESTART) ? \ 361 enum clnt_stat stat = RPC_SUCCESS; local 369 stat = RPC_FUNC_VERSION(rpc_loc_open_, RPC_LOC_OPEN_VERSION)(&args, &rets, loc_api_clnt); 373 }while( (RPC_SUCCESS != stat||0 > ret_val) && 0 != try_num ); 375 LOC_GLUE_CHECK_RESULT(stat, int32); 398 enum clnt_stat stat = RPC_SUCCESS local 447 enum clnt_stat stat = RPC_SUCCESS; local 472 enum clnt_stat stat = RPC_SUCCESS; local 572 enum clnt_stat stat = RPC_SUCCESS; local 589 enum clnt_stat stat = RPC_SUCCESS; local [all...] |