Lines Matching refs:APPSPAWN_CHECK
45 APPSPAWN_CHECK(ret > 0, return ret, "Failed to snprintf_s errno: %{public}d", errno);
55 APPSPAWN_CHECK(fd >= 0, return APPSPAWN_SYSTEM_ERROR,
61 APPSPAWN_CHECK(ret > 0, break, "Failed to snprintf_s errno: %{public}d", errno);
63 APPSPAWN_CHECK(ret > 0, break,
106 APPSPAWN_CHECK(fd >= 0, return -1,
111 APPSPAWN_CHECK(ret > 0, break, "Failed to snprintf_s errno: %{public}d", errno);
113 APPSPAWN_CHECK(ret > 0, break,
126 APPSPAWN_CHECK(ret == 0, return, "Failed to get cgroup path errno: %{public}d", errno);
128 APPSPAWN_CHECK(ret == 0, return, "Failed to strcat_s fork_denied path errno: %{public}d", errno);
136 APPSPAWN_CHECK(ret >= 0, break,
148 APPSPAWN_CHECK(file != NULL, return, "Open file fail %{public}s errno: %{public}d", path, errno);
180 APPSPAWN_CHECK(ret == 0, return -1, "Failed to get real path errno: %{public}d", errno);
187 APPSPAWN_CHECK(ret == 0, return ret, "Failed to strcat_s errno: %{public}d", errno);
206 APPSPAWN_CHECK(ret == 0, return -1, "Failed to get real path errno: %{public}d", errno);
210 APPSPAWN_CHECK(ret == 0, return ret, "Failed to strcat_s errno: %{public}d", errno);
212 APPSPAWN_CHECK(ret == 0, return ret, "write pid to cgroup.procs fail %{public}s", path);
216 APPSPAWN_CHECK(ret == 0, return ret, "Failed to strcat_s errno: %{public}d", errno);
218 APPSPAWN_CHECK(ret == 0, return ret, "write max to pids.max fail %{public}s", path);