Home
last modified time | relevance | path

Searched refs:errno (Results 1 - 25 of 75) sorted by relevance

123

/arkcompiler/toolchain/websocket/client/
H A Dwebsocket_client.cpp79 errno, strerror(errno)); in InitToolchainWebSocketForPort()
87 errno, strerror(errno)); in InitToolchainWebSocketForPort()
95 errno, strerror(errno)); in InitToolchainWebSocketForPort()
104 errno, strerror(errno)); in InitToolchainWebSocketForPort()
112 errno, strerror(errno)); in InitToolchainWebSocketForPort()
[all...]
/arkcompiler/runtime_core/libpandabase/tests/
H A Dstring_helpers_test.cpp44 errno = 0; in TEST()
48 ASSERT_EQ(EINVAL, errno); in TEST()
49 errno = 0; in TEST()
51 ASSERT_EQ(EINVAL, errno); in TEST()
55 ASSERT_EQ(0, errno); in TEST()
72 errno = 0; in TEST()
77 errno = 0; in TEST()
79 ASSERT_EQ(ERANGE, errno); in TEST()
80 errno = 0; in TEST()
82 ASSERT_EQ(ERANGE, errno); in TEST()
[all...]
/arkcompiler/runtime_core/static_core/libpandabase/tests/
H A Dstring_helpers_test.cpp48 errno = 0; in TEST()
52 ASSERT_EQ(EINVAL, errno); in TEST()
53 errno = 0; in TEST()
55 ASSERT_EQ(EINVAL, errno); in TEST()
59 ASSERT_EQ(0U, errno); in TEST()
81 errno = 0; in TEST()
83 ASSERT_EQ(ERANGE, errno); in TEST()
84 errno = 0; in TEST()
86 ASSERT_EQ(ERANGE, errno); in TEST()
88 errno in TEST()
[all...]
/arkcompiler/toolchain/websocket/server/
H A Dwebsocket_server.cpp111 (errno == EINTR || errno == EAGAIN)) { in HttpHandShake()
112 LOGW("HttpHandShake recv failed, errno = %{public}d", errno); in HttpHandShake()
116 LOGE("ReadMsg failed, msgLen = %{public}ld, errno = %{public}d", static_cast<long>(msgLen), errno); in HttpHandShake()
236 LOGE("InitTcpWebSocket socket init failed, errno = %{public}d", errno); in InitTcpWebSocket()
243 LOGE("InitTcpWebSocket setsockopt SO_REUSEADDR failed, errno = %{public}d", errno); in InitTcpWebSocket()
[all...]
/arkcompiler/toolchain/websocket/
H A Dnetwork.cpp39 (errno == EINTR || errno == EAGAIN)) { in Recv()
40 LOGW("Recv payload failed, errno = %{public}d", errno); in Recv()
43 LOGE("Recv payload in while failed, len = %{public}ld, errno = %{public}d", static_cast<long>(len), errno); in Recv()
67 LOGE("Send Message in while failed, len = %{public}ld, errno = %{public}d", static_cast<long>(len), errno); in Send()
/arkcompiler/runtime_core/platforms/unix/libpandabase/
H A Dfile.h55 return Unexpected(Error(errno)); in Read()
74 return Unexpected(Error(errno)); in Write()
108 return Unexpected(Error(errno)); in GetFileSize()
152 return Unexpected(Error(errno)); in GetExecutablePath()
157 return Unexpected(Error(errno)); in GetExecutablePath()
171 return Unexpected(Error(errno)); in GetAbsolutePath()
H A Dexec.cpp45 return Unexpected(Error(errno)); in Exec()
50 return Unexpected(Error(errno)); in Exec()
/arkcompiler/runtime_core/platforms/unix/libpandabase/futex/
H A Dmutex.cpp157 if ((errno != EAGAIN) && (errno != EINTR)) { in WriteLock()
187 if ((errno != EAGAIN) && (errno != EINTR)) { in HandleReadLockWait()
325 if ((errno != EAGAIN) && (errno != EINTR)) { in Wait()
396 if (errno == ETIMEDOUT) { in TimedWait()
398 } else if ((errno != EAGAIN) && (errno != EINTR)) { in TimedWait()
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/
H A Dfile.h52 return Unexpected(Error(errno)); in Read()
71 return Unexpected(Error(errno)); in Write()
103 return Unexpected(Error(errno)); in GetFileSize()
142 return Unexpected(Error(errno)); in GetExecutablePath()
147 return Unexpected(Error(errno)); in GetExecutablePath()
161 return Unexpected(Error(errno)); in GetAbsolutePath()
H A Dpipe.cpp63 return Unexpected(Error(errno)); in ReadFromPipe()
72 return Unexpected(Error(errno)); in WriteToPipe()
99 return Unexpected(Error(errno)); in WaitForEvent()
116 return Error(errno); in Dup2()
H A Dexec.h43 return Unexpected(Error(errno)); in ExecWithCallbackNoWait()
61 return Unexpected(Error(errno)); in ExecWithCallback()
H A Dexec.cpp33 return Unexpected(Error(errno)); in ExecNoWait()
47 return Unexpected(Error(errno)); in Wait()
/arkcompiler/runtime_core/static_core/platforms/windows/libpandabase/
H A Dfile.h44 return Unexpected(Error(errno)); in Read()
63 return Unexpected(Error(errno)); in Write()
90 return Unexpected(Error(errno)); in GetFileSize()
117 return Unexpected(Error(errno)); in GetAbsolutePath()
H A Dmem.cpp105 errno = 0; in mmap()
109 errno = EINVAL; in mmap()
117 errno = EBADF; in mmap()
127 errno = mem_errno(GetLastError(), EPERM); in mmap()
137 errno = mem_errno(GetLastError(), EPERM); in mmap()
150 errno = mem_errno(GetLastError(), EPERM); in munmap()
348 return Error(errno); in UnmapRaw()
/arkcompiler/runtime_core/platforms/windows/libpandabase/
H A Dmem.cpp102 errno = 0; in mmap()
106 errno = EINVAL; in mmap()
114 errno = EBADF; in mmap()
124 errno = mem_errno(GetLastError(), EPERM); in mmap()
134 errno = mem_errno(GetLastError(), EPERM); in mmap()
147 errno = mem_errno(GetLastError(), EPERM); in munmap()
303 return Error(errno); in UnmapRaw()
H A Dfile.h48 return Unexpected(Error(errno)); in Read()
67 return Unexpected(Error(errno)); in Write()
95 return Unexpected(Error(errno)); in GetFileSize()
132 return Unexpected(Error(errno)); in GetAbsolutePath()
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/
H A Dcpu_profiler.cpp61 LOG_ECMA(ERROR) << "CpuProfiler::RegisterGetStackSignal, sigemptyset failed, errno = " << errno; in RegisterGetStackSignal()
66 LOG_ECMA(ERROR) << "CpuProfiler::RegisterGetStackSignal, sigaction failed, errno = " << errno; in RegisterGetStackSignal()
110 LOG_ECMA(ERROR) << "CpuProfiler::StartCpuProfilerForInfo, pthread_create failed, errno = " << errno; in StartCpuProfilerForInfo()
168 LOG_ECMA(ERROR) << "CpuProfiler::StartCpuProfilerForFile, pthread_create failed, errno = " << errno; in StartCpuProfilerForFile()
190 LOG_ECMA(ERROR) << "CpuProfiler::StopCpuProfilerForInfo, sem_[0] post failed, errno = " << errno; in StopCpuProfilerForInfo()
[all...]
/arkcompiler/runtime_core/compiler/optimizer/
H A Dpass_manager.cpp88 std::cerr << errno << " ERROR: " << strerror(errno) << "\n" << GetFileName(pass_name, ".ir") << std::endl; in DumpGraph()
102 std::cerr << errno << " ERROR: " << strerror(errno) << "\n" << GetFileName(pass_name, ".li") << std::endl; in DumpLifeIntervals()
/arkcompiler/toolchain/websocket/test/
H A Dwebsocket_test.cpp161 << errno << ", desc = " << strerror(errno) << std::endl; in HWTEST_F()
218 << errno << ", desc = " << strerror(errno) << std::endl; in HWTEST_F()
279 << errno << ", desc = " << strerror(errno) << std::endl; in HWTEST_F()
/arkcompiler/ets_runtime/ecmascript/platform/common/
H A Dfilesystem.cpp102 LOG_FULL(ERROR) << "failed to create empty file: " << fileName << ", error: " << std::strerror(errno); in CreateEmptyFile()
118 LOG_FULL(ERROR) << "failed to create folder " << dir << ", error: " << std::strerror(errno); in CreateEmptyFile()
126 LOG_FULL(ERROR) << "failed to create empty file: " << realPath << ", error: " << std::strerror(errno); in CreateEmptyFile()
/arkcompiler/runtime_core/libpandabase/utils/
H A Dstring_helpers.h85 errno = 0; in ParseInt()
90 errno = EINVAL; in ParseInt()
94 errno = ERANGE; in ParseInt()
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dstring_helpers.h85 errno = 0; in ParseInt()
90 errno = EINVAL; in ParseInt()
94 errno = ERANGE; in ParseInt()
/arkcompiler/runtime_core/static_core/compiler/optimizer/
H A Dpass_manager.cpp110 std::cerr << errno << " ERROR: " << strerror(errno) << "\n" << fileName << std::endl; in DumpGraph()
124 std::cerr << errno << " ERROR: " << strerror(errno) << "\n" << GetFileName(passName, ".li") << std::endl; in DumpLifeIntervals()
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/futex/
H A Dmutex.cpp141 if ((errno != EAGAIN) && (errno != EINTR)) { in FutexWait()
186 if ((errno != EAGAIN) && (errno != EINTR)) { in WaitForFutex()
/arkcompiler/ets_runtime/ecmascript/ohos/
H A Dohos_pgo_processor.h74 LOG_ECMA(ERROR) << "RenameSingleAp " << apRealPath << " --> " << exportAp << " failure!, errno: " << errno; in RenameSingleAp() local
88 LOG_COMPILER(ERROR) << "Remove runtime ap failed. file: " << runtimeApRealPath << ", errno: " << errno; in UnlinkRuntimeAp() local

Completed in 10 milliseconds

123