/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() 121 ssize_t stat = ::recv(m_sock, (char *)(buf) + len - res, res, 0); in readFully() local 122 if (stat > 0) { in readFully() 123 res -= stat; in readFully() 126 if (stat == 0 || errno != EINTR) { // client shutdown or error in readFully()
|
/device/google/cuttlefish/common/libs/utils/ |
D | files.cpp | 36 struct stat st; in FileExists() 37 return stat(path.c_str(), &st) == 0; in FileExists() 45 struct stat st; in DirectoryExists() 46 if (stat(path.c_str(), &st) == -1) { in DirectoryExists() 98 struct stat st; in FileSize() 99 if (stat(path.c_str(), &st) == -1) { in FileSize() 107 struct stat st; in FileModificationTime() 108 if (stat(path.c_str(), &st) == -1) { in FileModificationTime()
|
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
D | ProcessPipe.cpp | 147 ssize_t stat = 0; in sQemuPipeInit() local 149 stat = in sQemuPipeInit() 152 } while (stat < 0 && errno == EINTR); in sQemuPipeInit() 154 if (stat != sizeof(confirmInt)) { // failed in sQemuPipeInit() 163 stat = in sQemuPipeInit() 166 } while (stat < 0 && (errno == EINTR || errno == EAGAIN)); in sQemuPipeInit() 168 if (stat != sizeof(sProcUID)) { in sQemuPipeInit()
|
D | VirtioGpuPipeStream.cpp | 220 ssize_t stat = transferToHost((const char *)(buf) + (len - res), res); in writeFully() local 221 if (stat > 0) { in writeFully() 222 res -= stat; in writeFully() 225 if (stat == 0) { /* EOF */ in writeFully() 233 retval = stat; in writeFully() 259 ssize_t stat = transferFromHost((char *)(buf) + len - res, res); in readFully() local 260 if (stat == 0) { in readFully() 263 } else if (stat < 0) { in readFully() 273 res -= stat; in readFully()
|
/device/google/bonito/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/google/coral/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/google/crosshatch/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/generic/goldfish-opengl/host/include/libOpenglRender/ |
D | IOStream.h | 80 int stat = commitBuffer(m_bufsize - m_free); in flush() local 83 return stat; in flush()
|
/device/google/bonito/json-c/ |
D | random_seed.c | 140 struct stat buf; in has_dev_urandom() 141 if (stat(dev_random_file, &buf)) { in has_dev_urandom()
|
/device/google/crosshatch/json-c/ |
D | random_seed.c | 140 struct stat buf; in has_dev_urandom() 141 if (stat(dev_random_file, &buf)) { in has_dev_urandom()
|
/device/google/coral/json-c/ |
D | random_seed.c | 140 struct stat buf; in has_dev_urandom() 141 if (stat(dev_random_file, &buf)) { in has_dev_urandom()
|
/device/linaro/hikey/installer/hikey960/ |
D | mkdtimg | 17 from os import fstat, stat, remove 42 statval = stat(filename) 115 dtb_size = stat(out_dtb).st_size
|
/device/generic/goldfish/tools/ |
D | extract_ext4_image.sh | 13 disksize=$(stat -c %s $srcimg)
|
D | extract_head_tail.sh | 14 disksize=$(stat -c %s $srcimg)
|
D | mk_qemu_image.sh | 35 curdisksize=$(stat -c %s $target)
|
/device/google/bonito-sepolicy/vendor/google/ |
D | perfstatsd.te | 11 #read /proc/<pid>/stat
|
/device/google/contexthub/firmware/os/core/ |
D | seos.c | 866 struct MgmtStatus stat = { .value = 0 }; in osExtAppStopEraseApps() local 888 SET_COUNTER(stat.app, appCount); in osExtAppStopEraseApps() 889 SET_COUNTER(stat.task, taskCount); in osExtAppStopEraseApps() 890 SET_COUNTER(stat.op, stopCount); in osExtAppStopEraseApps() 891 SET_COUNTER(stat.erase, eraseCount); in osExtAppStopEraseApps() 893 return stat.value; in osExtAppStopEraseApps() 940 struct MgmtStatus stat = { .value = 0 }; in osExtAppStartApps() local 972 SET_COUNTER(stat.app, appCount); in osExtAppStartApps() 973 SET_COUNTER(stat.task, taskCount); in osExtAppStartApps() 974 SET_COUNTER(stat.op, startCount); in osExtAppStartApps() [all …]
|
D | nanohubCommand.c | 1335 …ponse(struct NanohubHalAppMgmtRx *req, uint32_t status, struct MgmtStatus stat, uint32_t transacti… in halSendAppMgmtResponse() argument 1351 resp->stat = stat; in halSendAppMgmtResponse() 1359 struct MgmtStatus stat; in halAppMgmt() local 1364 stat.value= osExtAppStartAppsByAppId(le64toh(unaligned_u64(&req->appId))); in halAppMgmt() 1365 ret = stat.op > 0 ? 0 : -1; in halAppMgmt() 1368 stat.value = osExtAppStopAppsByAppId(le64toh(unaligned_u64(&req->appId))); in halAppMgmt() 1369 ret = stat.op > 0 ? 0 : -1; in halAppMgmt() 1372 stat.value = osExtAppStopAppsByAppId(le64toh(unaligned_u64(&req->appId))); in halAppMgmt() 1373 ret = stat.op > 0 ? 0 : -1; in halAppMgmt() 1376 stat.value = osExtAppEraseAppsByAppId(le64toh(unaligned_u64(&req->appId))); in halAppMgmt() [all …]
|
/device/google/crosshatch-sepolicy/vendor/qcom/common/ |
D | easel.te | 21 # access "/proc/stat"
|
/device/google/cuttlefish_vmm/x86_64-linux-gnu/etc/seccomp/ |
D | tpm_device.policy | 55 stat: 1
|
D | 9p_device.policy | 51 stat: 1
|
D | xhci.policy | 61 stat: 1
|
/device/google/bonito-sepolicy/vendor/qcom/common/ |
D | easel.te | 21 # access "/proc/stat"
|
/device/google/coral-sepolicy/vendor/google/ |
D | airbrush.te | 22 # Allow Airbrush to stat the IPU/TPU devices.
|
/device/google/wahoo/sepolicy/vendor/ |
D | thermal-engine.te | 20 # to read /proc/stat
|