Lines Matching refs:size
81 char buffer[128] {}; // 128 : set headInfo size
166 size_t end = str.size() - 1;
167 while (start < str.size()) {
283 bool WriteFully(int fd, const uint8_t *data, size_t size)
286 size_t rest = size;
298 LOG(INFO) << "totalSize = " << size << ", rest = " << rest;
304 bool ReadFully(int fd, void *data, size_t size)
307 size_t remaining = size;
347 size_t remaining = content.size();
600 LOG(INFO) << "log size greater than 5M!";
727 size_t size = GetFileSize(oldestFilePath);
732 LOG(INFO) << "Delete old file: " << oldestFilePath << " size: " << size;
763 size_t optPos = mode.size();
772 prefixPos = mode.find(modePrefix) + modePrefix.size();
794 if (pkgPosition >= durations.size()) {
795 LOG(ERROR) << "pkg position is " << pkgPosition << ", duration's size is " << durations.size();
827 if (strncpy_s(msg.command, sizeof(msg.command), miscCmd.c_str(), miscCmd.size() + 1) != EOK) {
844 char buffer[128] {}; // 128 : set headInfo size
874 if (strncpy_s(msg.command, sizeof(msg.command), miscCmd.c_str(), miscCmd.size() + 1) != EOK) {
903 if (strncpy_s(msg.faultinfo, sizeof(msg.faultinfo), faultInfo.c_str(), faultInfo.size() + 1) != EOK) {
930 val = str.substr(str.find("=") + 1, str.size() - str.find("="));
948 str.erase(pos + 1, str.size() - pos);