Home
last modified time | relevance | path

Searched refs:isRet (Results 1 – 6 of 6) sorted by relevance

/base/startup/appspawn/standard/
Dappspawn_process.c84 bool isRet = longProcName == NULL || len <= 0; in SetProcessName() local
85 APPSPAWN_CHECK(!isRet, return -EINVAL, "process name is nullptr or length error"); in SetProcessName()
95 isRet = strncpy_s(shortName, MAX_LEN_SHORT_NAME, pos, copyLen) != EOK; in SetProcessName()
96 APPSPAWN_CHECK(!isRet, return -EINVAL, "strncpy_s short name error: %{public}d", errno); in SetProcessName()
99 isRet = prctl(PR_SET_NAME, shortName) == -1; in SetProcessName()
100 APPSPAWN_CHECK(!isRet, return -errno, "prctl(PR_SET_NAME) error: %{public}d", errno); in SetProcessName()
103 isRet = memset_s(longProcName, (size_t)longProcNameLen, 0, (size_t)longProcNameLen) != EOK; in SetProcessName()
104 APPSPAWN_CHECK(!isRet, return -EINVAL, "Failed to memset long process name"); in SetProcessName()
107 isRet = strncpy_s(longProcName, longProcNameLen, appProperty->processName, len) != EOK; in SetProcessName()
108 APPSPAWN_CHECK(!isRet, return -EINVAL, in SetProcessName()
[all …]
Dmain.c73 int isRet = memset_s(argv[0], argvSize, 0, (size_t)argvSize) != EOK; in main() local
74 APPSPAWN_CHECK(!isRet, return -EINVAL, "Failed to memset argv[0]"); in main()
76isRet = strncpy_s(argv[0], argvSize, NWEBSPAWN_SERVER_NAME, strlen(NWEBSPAWN_SERVER_NAME)) != EOK; in main()
78isRet = strncpy_s(argv[0], argvSize, APPSPAWN_SERVER_NAME, strlen(APPSPAWN_SERVER_NAME)) != EOK; in main()
80 … APPSPAWN_CHECK(!isRet, return -EINVAL, "strncpy_s appspawn server name error: %{public}d", errno); in main()
/base/startup/appspawn/util/src/
Djson_utils.cpp48 bool isRet = json.find(key) != json.end() && json.at(key).is_string(); in GetStringFromJson() local
49 if (isRet) { in GetStringFromJson()
/base/startup/appspawn/interfaces/innerkits/client/
Dclient_socket.cpp75 bool isRet = (setsockopt(connectFd, SOL_SOCKET, SO_RCVTIMEO, &timeout, sizeof(timeout)) != 0) || in ConnectSocket() local
77 APPSPAWN_CHECK(!isRet, return (-1), in ConnectSocket()
Dappspawn_socket.cpp133 bool isRet = (wLen <= 0) && (errno != EINTR); in WriteSocketMessage() local
134 APPSPAWN_CHECK(!isRet, return -errno, in WriteSocketMessage()
/base/telephony/call_manager/test/unittest/call_manager_gtest/src/
Dcall_manager_gtest.cpp1214 bool isRet = CallManagerGtest::clientPtr_->HasCall(); variable
1215 EXPECT_NE(isRet, true);
1230 bool isRet = CallManagerGtest::clientPtr_->HasCall(); variable
1231 EXPECT_NE(isRet, true);