/commonlibrary/c_utils/base/src/ |
H A D | mapped_file.cpp | 140 UTILS_LOGD("%{public}s: Already normalized.", __FUNCTION__); in Normalize() 178 UTILS_LOGD("%{public}s: Failed. Cannot change file size: %{public}s.", __FUNCTION__, strerror(errno)); in OpenFile() 199 UTILS_LOGD("%{public}s: Failed. Already mapped.", __FUNCTION__); in Map() 206 UTILS_LOGD("%{public}s: Normalize Failed.", __FUNCTION__); in Map() 213 UTILS_LOGD("%{public}s: Open Failed.", __FUNCTION__); in Map() 254 UTILS_LOGD("%{public}s: Failed. Already unmapped.", __FUNCTION__); in Unmap() 263 UTILS_LOGD("%{public}s: Failed. %{public}s.", __FUNCTION__, strerror(errno)); in Unmap() 279 UTILS_LOGD("%{public}s: Failed. Cannot get file size: %{public}s.", __FUNCTION__, strerror(errno)); in SyncFileSize() 285 UTILS_LOGD("%{public}s: Failed. Cannot extend file size: %{public}s.", __FUNCTION__, strerror(errno)); in SyncFileSize() 309 UTILS_LOGD(" in Resize() [all...] |
H A D | io_event_reactor.cpp | 95 UTILS_LOGD("%{public}s: Resize when fd: %{public}d", __FUNCTION__, fd); in AddHandler() 189 UTILS_LOGD("%{public}s: Failed, Bad fd.", __FUNCTION__); in FindHandler() 196 UTILS_LOGD("%{public}s: Handler not found.", __FUNCTION__); in FindHandler() 239 UTILS_LOGD("%{public}s: Non-interested event: %{public}d with fd: %{public}d, interested events: \ in HandleEvents() 247 UTILS_LOGD("%{public}s: Handling event success: %{public}d with fd: %{public}d; \ in HandleEvents() 251 UTILS_LOGD("%{public}s: Handling event ignore: %{public}d with fd: %{public}d; \ in HandleEvents() 268 UTILS_LOGD("%{public}s: Processing. Handling event: %{public}d, with fd: %{public}d.", \ in HandleAll() 272 UTILS_LOGD("%{public}s: Received non-interested events-%{public}d.", __FUNCTION__, event); in HandleAll() 301 UTILS_LOGD("%{public}s: No events captured.", __FUNCTION__); in Run() 325 UTILS_LOGD(" in DoClean() [all...] |
H A D | file_ex.cpp | 114 UTILS_LOGD("open file failed! filePath:%{public}s", filePath.c_str()); in LoadStringFromFile() 121 UTILS_LOGD("invalid file length(%{public}lld)!", fileLength); in LoadStringFromFile() 142 UTILS_LOGD("Get fileName failed, ret is: %{public}d!", ret); in GetFileNameByFd() 153 UTILS_LOGD("LoadStringFromFd get file name by fd failed!"); in LoadStringFromFdToFile() 167 UTILS_LOGD("invalid fd:%{public}d", fd); in LoadStringFromFd() 218 UTILS_LOGD("open file failed! filePath:%{private}s", filePath.c_str()); in SaveStringToFile() 234 UTILS_LOGD("invalid fd:%{public}d", fd); in SaveStringToFd() 262 UTILS_LOGD("filePath to realPath failed! filePath:%{private}s", filePath.c_str()); in LoadBufferFromNodeFile() 268 UTILS_LOGD("open file failed! filePath:%{private}s", realPath.c_str()); in LoadBufferFromNodeFile() 299 UTILS_LOGD("ope in LoadBufferFromFile() [all...] |
H A D | timer.cpp | 53 UTILS_LOGD("timer has been stopped already"); in Shutdown() 65 UTILS_LOGD("%{public}s:Pseudo-task invoked to get thread exited.", __func__); in Shutdown() 68 UTILS_LOGD("%{public}s:Pseudo-task need to be scheduled.", __func__); in Shutdown() 111 UTILS_LOGD("register timer %{public}u with %{public}u ms interval.", entry->timerId, entry->interval); in Register() 119 UTILS_LOGD("timer %{public}u does not exist", timerId); in Unregister() 124 UTILS_LOGD("deregister timer %{public}u with %{public}u ms interval", timerId, entry->interval); in Unregister() 129 UTILS_LOGD("erase timer %{public}u.", timerId); in Unregister() 140 UTILS_LOGD("deregister timer interval: %{public}u.", entry->interval); in Unregister()
|
H A D | utils_log.h | 28 #define UTILS_LOGD(...) (void)HiLogBasePrint(UTILS_LOG_TYPE, LOG_DEBUG, UTILS_LOG_DOMAIN, UTILS_LOG_TAG, __VA_ARGS__) macro 30 #define UTILS_LOGD(...) macro 37 #define UTILS_LOGD(...) macro
|
H A D | io_event_handler.cpp | 47 UTILS_LOGD("%{public}s: Try add handler-%{public}p to reactor-%{public}p.", \ in Start() 60 UTILS_LOGD("%{public}s: Try remove handler-%{public}p from reactor-%{public}p.", \ in Stop() 73 UTILS_LOGD("%{public}s: Try update handler-%{public}p to reactor-%{public}p.", \ in Update()
|
H A D | directory_ex.cpp | 96 UTILS_LOGD("Get proc name failed, ret is: %{public}d!", ret); in GetCurrentProcFullFileName() 157 UTILS_LOGD("Failed to open root dir: %{public}s: %{public}s ", path.c_str(), strerror(errno)); in GetDirFiles() 184 UTILS_LOGD("Failed to get dirfd, fd: %{public}d: %{public}s ", currentFd, strerror(errno)); in GetDirFiles() 189 UTILS_LOGD("Failed in subFd openat: %{public}s ", name.c_str()); in GetDirFiles() 195 UTILS_LOGD("Failed in fdopendir: %{public}s", strerror(errno)); in GetDirFiles() 306 UTILS_LOGD("Failed to remove some subfile under path: %{public}s", path.c_str()); in ForceRemoveDirectory() 398 UTILS_LOGD("Failed to exec ChangeMode"); in ChangeModeDirectory() 409 UTILS_LOGD("Failed to exec ChangeMode"); in ChangeModeDirectory() 419 UTILS_LOGD("path is empty!"); in PathToRealPath() 424 UTILS_LOGD("pat in PathToRealPath() [all...] |
H A D | event_reactor.cpp | 105 UTILS_LOGD("ScheduleTimer %{public}d initialize failed", interval); in ScheduleTimer() 116 UTILS_LOGD("Cancel timer, timerFd: %{public}d.", timerFd); in CancelTimer()
|
H A D | event_demultiplexer.cpp | 99 UTILS_LOGD("epoll_ctl %{public}d operation %{public}d on handle %{public}d failed", in Update() 171 UTILS_LOGD("invalid event %{public}u.", reactorEvent); in Reactor2Epoll()
|
H A D | thread_pool.cpp | 54 UTILS_LOGD("Failed to set name to thread. %{public}s", strerror(err)); in Start()
|
H A D | unicode_ex.cpp | 208 UTILS_LOGD("Str16 to str8 failed, because str8Temp is nullptr!"); in String16ToString8() 359 UTILS_LOGD("str8 to str16 failed, str16Temp is nullptr!"); in String8ToString16()
|
H A D | datetime_ex.cpp | 89 UTILS_LOGD("mktime current time failed."); in GetLocalTimeZone()
|
H A D | thread_ex.cpp | 36 UTILS_LOGD("invalid param."); in Proxy()
|
H A D | string_ex.cpp | 301 UTILS_LOGD("utf8buffer len:%{public}d, actual buffer len:%{public}d!", utf8Len + 1, bufferLen); in Char16ToChar8()
|
H A D | refbase.cpp | 264 UTILS_LOGD("decStrongRef when there is nerver a strong reference"); in DecStrongRefCount()
|
H A D | parcel.cpp | 273 UTILS_LOGD("CheckOffsets Invalid obj, obj size overflow. objSize:%{public}zu, dataSize:%{public}zu", in CheckOffsets()
|
/commonlibrary/c_utils/base/test/unittest/common/ |
H A D | utils_ashmem_test.cpp | 44 #define UTILS_LOGD(...) (void)OHOS::HiviewDFX::HiLog::Debug(label, __VA_ARGS__) macro
|