Home
last modified time | relevance | path

Searched refs:EOK (Results 1 - 25 of 691) sorted by relevance

12345678910>>...28

/base/security/huks/utils/compatibility_bin/
H A Dcompatibility_small_bin.c45 int ret = EOK; in ChangeDirAndFilesPerm()
53 if (ret != EOK) { in ChangeDirAndFilesPerm()
57 if (ret != EOK) { in ChangeDirAndFilesPerm()
61 if (ret != EOK) { in ChangeDirAndFilesPerm()
66 if (ret != EOK) { in ChangeDirAndFilesPerm()
80 if (ret != EOK) { in ChangeDirAndFilesPerm()
119 if (ret != EOK) { in ConstructSrcAndTargetPath()
123 if (ret != EOK) { in ConstructSrcAndTargetPath()
128 if (ret != EOK) { in ConstructSrcAndTargetPath()
133 if (ret != EOK) { in ConstructSrcAndTargetPath()
[all...]
H A Dcompatibility_standard_bin.c57 int ret = EOK; in ChangeDirAndFilesPerm()
65 if (ret != EOK) { in ChangeDirAndFilesPerm()
69 if (ret != EOK) { in ChangeDirAndFilesPerm()
73 if (ret != EOK) { in ChangeDirAndFilesPerm()
78 if (ret != EOK) { in ChangeDirAndFilesPerm()
92 if (ret != EOK) { in ChangeDirAndFilesPerm()
/base/telephony/cellular_data/services/src/apn_manager/
H A Dapn_item.cpp73 if (strcpy_s(apnItem->attr_.types_, ALL_APN_ITEM_CHAR_LENGTH, apnType.c_str()) != EOK) { in MakeDefaultApn()
79 if (strcpy_s(apnItem->attr_.apn_, ALL_APN_ITEM_CHAR_LENGTH, apn.c_str()) != EOK) { in MakeDefaultApn()
101 if (strcpy_s(apnItem->attr_.types_, ALL_APN_ITEM_CHAR_LENGTH, apnData.apnTypes.c_str()) != EOK) { in MakeApn()
106 if (strcpy_s(apnItem->attr_.numeric_, ALL_APN_ITEM_CHAR_LENGTH, numeric.c_str()) != EOK) { in MakeApn()
110 if (strcpy_s(apnItem->attr_.protocol_, ALL_APN_ITEM_CHAR_LENGTH, apnData.pdpProtocol.c_str()) != EOK) { in MakeApn()
115 apnData.roamPdpProtocol.c_str()) != EOK) { in MakeApn()
119 if (strcpy_s(apnItem->attr_.apn_, ALL_APN_ITEM_CHAR_LENGTH, apnData.apn.c_str()) != EOK) { in MakeApn()
123 if (strcpy_s(apnItem->attr_.apnName_, ALL_APN_ITEM_CHAR_LENGTH, apnData.profileName.c_str()) != EOK) { in MakeApn()
127 if (strcpy_s(apnItem->attr_.user_, ALL_APN_ITEM_CHAR_LENGTH, apnData.authUser.c_str()) != EOK) { in MakeApn()
131 if (strcpy_s(apnItem->attr_.password_, ALL_APN_ITEM_CHAR_LENGTH, apnData.authPwd.c_str()) != EOK) { in MakeApn()
[all...]
/base/startup/init/test/unittest/param/
H A Dparam_shell_unittest.cpp70 if (strcpy_s(bshd->buffer, sizeof(bshd->buffer), "cd const") != EOK) { in TestParamShellCmd()
76 if (strcpy_s(bshd->buffer, sizeof(bshd->buffer), "cat aaa") != EOK) { in TestParamShellCmd()
82 if (strcpy_s(bshd->buffer, sizeof(bshd->buffer), "testnotcmd") != EOK) { in TestParamShellCmd()
89 if (strcpy_s(bshd->buffer, sizeof(bshd->buffer), "\"ls") != EOK) { in TestParamShellCmd()
96 if (strcpy_s(bshd->buffer, sizeof(bshd->buffer), ",ls") != EOK) { in TestParamShellCmd()
102 if (strcpy_s(bshd->buffer, sizeof(bshd->buffer), "$test$") != EOK) { in TestParamShellCmd()
108 if (strcpy_s(bshd->buffer, sizeof(bshd->buffer), "exit") != EOK) { in TestParamShellCmd()
120 if (strcpy_s(bshd->buffer, sizeof(bshd->buffer), "pwd") != EOK) { in TestParamShellCmd1()
126 if (strcpy_s(bshd->buffer, sizeof(bshd->buffer), "help") != EOK) { in TestParamShellCmd1()
132 if (strcpy_s(bshd->buffer, sizeof(bshd->buffer), "dump") != EOK) { in TestParamShellCmd1()
[all...]
/base/telephony/sms_mms/test/fuzztest/cdmasmsencode_fuzzer/
H A Dcdmasmsencode_fuzzer.cpp31 if (memcpy_s(&value, sizeof(value), data, size) != EOK) { in TeleserviceIdEncode()
46 if (memcpy_s(&value, sizeof(value), data, size) != EOK) { in ServiceCategoryEncode()
61 if (memcpy_s(&value, sizeof(value), data, size) != EOK) { in BearerReplyEncode()
76 if (memcpy_s(&value, sizeof(value), data, size) != EOK) { in CauseCodesEncode()
91 if (memcpy_s(&value, sizeof(value), data, size) != EOK) { in AddressParameterEncode()
108 if (memcpy_s(&value, sizeof(value), data, size) != EOK) { in SubaddressEncode()
124 if (memcpy_s(&value, sizeof(value), data, size) != EOK) { in BearerDataEncode()
139 if (memcpy_s(&value, sizeof(value), data, size) != EOK) { in BaseParameterEncode()
165 if (memcpy_s(&value, sizeof(value), data, size) != EOK) { in MessageIdEncode()
181 if (memcpy_s(&value, sizeof(value), data, size) != EOK) { in AbsoluteTimeEncode()
[all...]
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_service/storage/src/
H A Dhks_storage_manager_test.cpp111 ASSERT_EQ(EOK, HksMemCmp(alias.data, material.keyAliasPath, strlen(material.keyAliasPath))); in HWTEST_F()
114 ASSERT_EQ(EOK, HksMemCmp(HKS_KEY_STORE_KEY_PATH, material.storageTypePath, strlen(material.storageTypePath))); in HWTEST_F()
117 ASSERT_EQ(EOK, HksMemCmp("1", material.uidPath, strlen(material.uidPath))) << "uid path is " << material.uidPath; in HWTEST_F()
120 ASSERT_EQ(EOK, HksMemCmp("1", material.userIdPath, strlen(material.userIdPath))); in HWTEST_F()
162 ASSERT_EQ(EOK, HksMemCmp(alias.data, material.keyAliasPath, strlen(material.keyAliasPath))); in HWTEST_F()
165 ASSERT_EQ(EOK, HksMemCmp(HKS_KEY_STORE_KEY_PATH, material.storageTypePath, strlen(material.storageTypePath))); in HWTEST_F()
168 ASSERT_EQ(EOK, HksMemCmp("2", material.uidPath, strlen(material.uidPath))) << "uid path is " << material.uidPath; in HWTEST_F()
171 ASSERT_EQ(EOK, HksMemCmp("2", material.userIdPath, strlen(material.userIdPath))); in HWTEST_F()
213 ASSERT_EQ(EOK, HksMemCmp(alias.data, material.keyAliasPath, strlen(material.keyAliasPath))); in HWTEST_F()
216 ASSERT_EQ(EOK, HksMemCm in HWTEST_F()
[all...]
H A Dhks_storage_util_test.cpp93 ASSERT_EQ(EOK, HksMemCmp(fileInfo.mainPath.fileName, material.keyAliasPath, strlen(material.keyAliasPath))); in HWTEST_F()
98 ASSERT_EQ(EOK, HksMemCmp(fileInfo.mainPath.path, expectPath, strlen(expectPath))); in HWTEST_F()
122 ASSERT_EQ(EOK, HksMemCmp(fileInfo.mainPath.fileName, material.keyAliasPath, strlen(material.keyAliasPath))); in HWTEST_F()
127 ASSERT_EQ(EOK, HksMemCmp(fileInfo.mainPath.path, expectPath, strlen(expectPath))); in HWTEST_F()
151 ASSERT_EQ(EOK, HksMemCmp(fileInfo.mainPath.fileName, material.keyAliasPath, strlen(material.keyAliasPath))); in HWTEST_F()
156 ASSERT_EQ(EOK, HksMemCmp(fileInfo.mainPath.path, expectPath, strlen(expectPath))); in HWTEST_F()
180 ASSERT_EQ(EOK, HksMemCmp(fileInfo.mainPath.fileName, material.keyAliasPath, strlen(material.keyAliasPath))); in HWTEST_F()
185 ASSERT_EQ(EOK, HksMemCmp(fileInfo.mainPath.path, expectPath, strlen(expectPath))); in HWTEST_F()
210 ASSERT_EQ(EOK, HksMemCmp(fileInfo.mainPath.fileName, material.keyAliasPath, strlen(material.keyAliasPath))); in HWTEST_F()
215 ASSERT_EQ(EOK, HksMemCm in HWTEST_F()
[all...]
/base/powermgr/thermal_manager/test/systemtest/src/
H A Dthermal_mgr_system_test.cpp112 if (ret < EOK) { in InitNode()
204 EXPECT_EQ(true, ret >= EOK); in HWTEST_F()
221 EXPECT_EQ(true, ret >= EOK); in HWTEST_F()
243 EXPECT_EQ(true, ret >= EOK); in HWTEST_F()
260 EXPECT_EQ(true, ret >= EOK); in HWTEST_F()
282 EXPECT_EQ(true, ret >= EOK); in HWTEST_F()
299 EXPECT_EQ(true, ret >= EOK); in HWTEST_F()
321 EXPECT_EQ(true, ret >= EOK); in HWTEST_F()
338 EXPECT_EQ(true, ret >= EOK); in HWTEST_F()
359 EXPECT_EQ(true, ret >= EOK); in HWTEST_F()
[all...]
/base/tee/tee_client/frameworks/libteec_vendor/
H A Dtee_client_socket.c46 if (rc != EOK) { in ConnectTeecdSocket()
60 if (rc != EOK) { in ConnectTeecdSocket()
96 return EOK; in InitRecvMsg()
113 if (rc != EOK) { in RecvFileDescriptor()
117 if (rc != EOK) { in RecvFileDescriptor()
125 if (rc != EOK) { in RecvFileDescriptor()
166 if (ret != EOK) { in FillMsgBuffer()
172 if (temp != EOK) { in FillMsgBuffer()
179 return EOK; in FillMsgBuffer()
240 if (memset_s(&message, sizeof(message), 0, sizeof(message)) != EOK) { in CaDaemonConnectWithCaInfo()
[all...]
/base/tee/tee_client/services/teecd/src/
H A Dtee_ca_daemon.c57 return EOK; in InitMsg()
69 if (ret != EOK) { in SendFileDescriptor()
75 if (ret != EOK) { in SendFileDescriptor()
85 if (ret != EOK) { in SendFileDescriptor()
134 if (ret != EOK) { in ProcessCaMsg()
141 if (ret != EOK) { in ProcessCaMsg()
193 if (rc != EOK) { in ProcessAccept()
202 if (ret != EOK) { in FormatSockAddr()
230 if (ret != EOK) { in CreateSocket()
237 if (ret != EOK) { in CreateSocket()
[all...]
/base/telephony/call_manager/frameworks/native/src/
H A Dnative_call_manager_utils.cpp28 if (strncpy_s(info.accountNumber, kMaxNumberLen + 1, messageParcel.ReadCString(), kMaxNumberLen + 1) != EOK) { in ReadCallAttributeInfo()
31 if (strncpy_s(info.bundleName, kMaxNumberLen + 1, messageParcel.ReadCString(), kMaxNumberLen + 1) != EOK) { in ReadCallAttributeInfo()
52 if (strncpy_s(info.numberLocation, kMaxNumberLen + 1, messageParcel.ReadCString(), kMaxNumberLen + 1) != EOK) { in ReadCallAttributeInfo()
57 != EOK) { in ReadCallAttributeInfo()
62 != EOK) { in ReadCallAttributeInfo()
67 != EOK) { in ReadCallAttributeInfo()
70 if (strncpy_s(info.contactName, kMaxNumberLen + 1, messageParcel.ReadCString(), kMaxNumberLen + 1) != EOK) { in ReadCallAttributeInfo()
/base/security/device_auth/frameworks/deviceauth_lite/test/fuzztest/authenticatepeer_fuzzer/
H A Dauthenticatepeer_fuzzer.cpp77 if (memset_s(&selfId, sizeof(struct hc_auth_id), 0, sizeof(struct hc_auth_id)) != EOK) { in AuthenticatePeerFuzz()
80 if (memset_s(&peerId, sizeof(struct hc_auth_id), 0, sizeof(struct hc_auth_id)) != EOK) { in AuthenticatePeerFuzz()
84 if (memcpy_s(selfId.auth_id, HC_AUTH_ID_BUFF_LEN, data, selfId.length) != EOK) { in AuthenticatePeerFuzz()
88 if (memcpy_s(peerId.auth_id, HC_AUTH_ID_BUFF_LEN, data, peerId.length) != EOK) { in AuthenticatePeerFuzz()
94 if (ret != EOK) { in AuthenticatePeerFuzz()
/base/security/device_auth/frameworks/deviceauth_lite/test/fuzztest/startpake_fuzzer/
H A Dstartpake_fuzzer.cpp73 if (memset_s(&selfId, sizeof(struct hc_auth_id), 0, sizeof(struct hc_auth_id)) != EOK) { in StartPakeFuzz()
76 if (memset_s(&peerId, sizeof(struct hc_auth_id), 0, sizeof(struct hc_auth_id)) != EOK) { in StartPakeFuzz()
80 if (memcpy_s(selfId.auth_id, HC_AUTH_ID_BUFF_LEN, data, selfId.length) != EOK) { in StartPakeFuzz()
84 if (memcpy_s(peerId.auth_id, HC_AUTH_ID_BUFF_LEN, data, peerId.length) != EOK) { in StartPakeFuzz()
89 if (ret != EOK) { in StartPakeFuzz()
/base/security/huks/test/unittest/modify_old_version_key_test_util/
H A Dhks_test_modify_old_key.c106 int ret = EOK; in ChangeDirAndFiles()
114 if (ret != EOK) { in ChangeDirAndFiles()
118 if (ret != EOK) { in ChangeDirAndFiles()
122 if (ret != EOK) { in ChangeDirAndFiles()
127 if (ret != EOK) { in ChangeDirAndFiles()
134 if (ret != EOK) { in ChangeDirAndFiles()
/base/hiviewdfx/hiview_lite/
H A Dhiview_cache.c76 if (memcpy_s(cache->buffer + cache->wCursor, firstLen, data, firstLen) == EOK) { in WriteToCache()
87 if (memcpy_s(cache->buffer + cache->wCursor, secondLen, data + firstLen, secondLen) == EOK) { in WriteToCache()
96 if (memcpy_s(cache->buffer + cache->wCursor, wLen, data, wLen) == EOK) { in WriteToCache()
127 if (memcpy_s(data, firstLen, cache->buffer + rCursor, firstLen) != EOK) { in ReadFromCache()
133 if (memcpy_s(data + firstLen, secondLen, cache->buffer, secondLen) != EOK) { in ReadFromCache()
138 if (memcpy_s(data, rLen, cache->buffer + rCursor, rLen) != EOK) { in ReadFromCache()
165 if (memcpy_s(data, firstLen, cache->buffer + rCursor, firstLen) != EOK) { in PrereadFromCache()
171 if (memcpy_s(data + firstLen, secondLen, cache->buffer, secondLen) != EOK) { in PrereadFromCache()
176 if (memcpy_s(data, rLen, cache->buffer + rCursor, rLen) != EOK) { in PrereadFromCache()
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dglobal.c50 if (strcpy_s(g_locale, MAX_LOCALE_LENGTH, appLanguage) != EOK) { in GLOBAL_ConfigLanguage()
63 if (ret != EOK) { in GLOBAL_GetLanguage()
73 return (strncpy_s(language, len, localeArray[0], MAX_LANGUAGE_LENGTH - 1) != EOK) ? MC_FAILURE : MC_SUCCESS; in GLOBAL_GetLanguage()
81 if (ret != EOK) { in GLOBAL_IsRTL()
90 if (strncpy_s(script, MAX_SCRIPT_LENGTH, localeArray[1], MAX_SCRIPT_LENGTH - 1) != EOK) { in GLOBAL_IsRTL()
99 if (strncpy_s(language, MAX_LANGUAGE_LENGTH, localeArray[0], MAX_LANGUAGE_LENGTH - 1) != EOK) { in GLOBAL_IsRTL()
117 if (ret != EOK) { in GLOBAL_GetRegion()
127 return (strncpy_s(region, len, localeArray[1], MAX_REGION_LENGTH - 1) != EOK) ? MC_FAILURE : MC_SUCCESS; in GLOBAL_GetRegion()
180 if (*value == NULL || strcpy_s(*value, idItem.valueLen, idItem.value) != EOK) { in GLOBAL_GetValueByIdInternal()
205 if (ret != EOK) { in GLOBAL_GetValueById()
[all...]
/base/hiviewdfx/hidumper/frameworks/native/src/util/
H A Ddump_compressor.cpp47 if (memset_s(zData_, zDataSize_, 0, zDataSize_) != EOK) { in Compress()
83 MAX_COMPRESS_BUFFER_SIZE - destBuffer->offset, zData_, dstPos) != EOK) { in Compress()
99 if (memmove_s(buffIn, CHUNK, srcBuffer->content + src_pos, srcBufferOffset - src_pos) != EOK) { in FillBuffer()
106 if (memmove_s(buffIn, CHUNK, srcBuffer->content + src_pos, toRead) != EOK) { in FillBuffer()
130 if (memmove_s(zData_ + dstPos, zDataSize_ - dstPos, buffOut, have) != EOK) { in DeflateBuffer()
/base/security/huks/test/unittest/huks_common_test/src/
H A Dhks_test_file_operator_func.c22 if (strncpy_s(fullFileName, fullFileNameLen, path, strlen(path)) != EOK) { in GetFileName()
27 if (strncat_s(fullFileName, fullFileNameLen, "/", strlen("/")) != EOK) { in GetFileName()
32 if (strncat_s(fullFileName, fullFileNameLen, fileName, strlen(fileName)) != EOK) { in GetFileName()
36 if (strncpy_s(fullFileName, fullFileNameLen, fileName, strlen(fileName)) != EOK) { in GetFileName()
106 if (memcpy_s(filePath, sizeof(filePath) - 1, fileName, strlen(fileName)) != EOK) { in FileWrite()
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/
H A Draw_data.cpp62 if (ret != EOK) { in RawData()
88 if (ret != EOK) { in RawData()
111 if (ret != EOK) { in operator =()
153 auto ret = EOK; in Update()
161 if (ret != EOK) { in Update()
174 if (ret != EOK) { in Update()
/base/hiviewdfx/hiview/base/event_raw/base/
H A Draw_data.cpp67 if (ret != EOK) { in RawData()
86 if (ret != EOK) { in RawData()
108 if (ret != EOK) { in operator =()
166 auto ret = EOK; in Update()
174 if (ret != EOK) { in Update()
187 if (ret != EOK) { in Update()
/base/security/huks/utils/file_operator/
H A Dhks_file_operator.c39 if (strncpy_s(fullFileName, fullFileNameLen, path, strlen(path)) != EOK) { in GetFileName()
44 if (strncat_s(fullFileName, fullFileNameLen, "/", strlen("/")) != EOK) { in GetFileName()
49 if (strncat_s(fullFileName, fullFileNameLen, fileName, strlen(fileName)) != EOK) { in GetFileName()
53 if (strncpy_s(fullFileName, fullFileNameLen, fileName, strlen(fileName)) != EOK) { in GetFileName()
153 if (memcpy_s(filePath, PATH_MAX, fileName, strlen(fileName)) != EOK) { in GetRealPath()
332 if (memcpy_s(direntInfo->fileName, sizeof(direntInfo->fileName) - 1, dire->d_name, len) != EOK) { in HksGetDirFile()
383 if (strncpy_s(deletePath, sizeof(deletePath), path, strlen(path)) != EOK) { in HksDeletDirPartTwo()
389 if (strncat_s(deletePath, sizeof(deletePath), "/", strlen("/")) != EOK) { in HksDeletDirPartTwo()
395 if (strncat_s(deletePath, sizeof(deletePath), dire->d_name, strlen(dire->d_name)) != EOK) { in HksDeletDirPartTwo()
418 if (strncpy_s(deletePath, sizeof(deletePath), path, strlen(path)) != EOK) { in HksDeletDirPartOne()
[all...]
/base/security/appverify/interfaces/innerkits/appverify/src/common/
H A Dhap_byte_buffer.cpp40 if (memcpy_s(buffer.get(), capacity, other.GetBufferPtr(), other.GetCapacity()) != EOK) { in HapByteBuffer()
76 if (memcpy_s(buffer.get(), capacity, other.GetBufferPtr(), other.GetCapacity()) != EOK) { in operator =()
123 if (memcpy_s(&value, sizeof(value), (buffer.get() + position + index), sizeof(long long)) != EOK) { in GetInt64()
157 if (memcpy_s(&value, sizeof(value), (buffer.get() + position + index), sizeof(int32_t)) != EOK) { in GetInt32()
171 if (memcpy_s(&value, sizeof(value), (buffer.get() + position + index), sizeof(uint32_t)) != EOK) { in GetUInt32()
195 if (memcpy_s(&value, sizeof(value), (buffer.get() + position + index), sizeof(uint16_t)) != EOK) { in GetUInt16()
205 if (memcpy_s((buffer.get() + offset), (limit - offset), &value, sizeof(value)) != EOK) { in PutInt32()
214 if (memcpy_s((buffer.get() + offset), (limit - offset), (&value), sizeof(value)) != EOK) { in PutByte()
223 if (memcpy_s((buffer.get() + offset), (limit - offset), data, len) != EOK) { in PutData()
245 if (memcpy_s(newBuffer.get(), newCapacity, (buffer.get() + position), (limit - position)) != EOK) { in Slice()
[all...]
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
H A Dcert_manager_file_operator.c35 if (strncpy_s(fullFileName, fullFileNameLen, path, strlen(path)) != EOK) { in GetFileName()
40 if (strncat_s(fullFileName, fullFileNameLen, "/", strlen("/")) != EOK) { in GetFileName()
45 if (strncat_s(fullFileName, fullFileNameLen, fileName, strlen(fileName)) != EOK) { in GetFileName()
49 if (strncpy_s(fullFileName, fullFileNameLen, fileName, strlen(fileName)) != EOK) { in GetFileName()
146 if (memcpy_s(filePath, sizeof(filePath) - 1, fileName, strlen(fileName)) != EOK) { in FileWrite()
284 if (memcpy_s(direntInfo->fileName, sizeof(direntInfo->fileName) - 1, dire->d_name, len) != EOK) { in CmGetDirFile()
381 if (memcpy_s(fileNames[count].data, CM_MAX_FILE_NAME_LEN, filePath, filePathLen) != EOK) { in CmUidLayerGetFileNames()
408 if (strncpy_s(uidPath, sizeof(uidPath), path, strlen(path)) != EOK) { in CmUidLayerGetFileCountAndNames()
414 if (strncat_s(uidPath, sizeof(uidPath), "/", strlen("/")) != EOK) { in CmUidLayerGetFileCountAndNames()
420 if (strncat_s(uidPath, sizeof(uidPath), dire->d_name, strlen(dire->d_name)) != EOK) { in CmUidLayerGetFileCountAndNames()
[all...]
/base/startup/init/test/mock/init/interfaces/innerkits/fs_manager/libfs_hvb/
H A Dfs_hvb.c37 if (err != EOK) { in FsHvbGetValueFromCmdLine()
49 if (err != EOK) { in FsHvbGetValueFromCmdLine()
/base/hiviewdfx/hisysevent/frameworks/native/test/unittest/common/
H A Dhisysevent_c_wrapper_test.cpp64 if (memcpy_s(rule.domain, MAX_LENGTH_OF_EVENT_DOMAIN, domain.c_str(), domain.length() + EXT_BYTE_CNT) != EOK || in CreateWatchRule()
65 memcpy_s(rule.name, MAX_LENGTH_OF_EVENT_NAME, name.c_str(), name.length() + EXT_BYTE_CNT) != EOK || in CreateWatchRule()
66 memcpy_s(rule.tag, MAX_LENGTH_OF_EVENT_TAG, tag.c_str(), tag.length() + EXT_BYTE_CNT) != EOK) { in CreateWatchRule()
78 if (memcpy_s(rule.domain, MAX_LENGTH_OF_EVENT_DOMAIN, domain.c_str(), domain.length() + EXT_BYTE_CNT) != EOK || in CreateQueryRule()
79 memcpy_s(rule.eventList, MAX_EVENT_LIST_LEN, name.c_str(), name.length() + EXT_BYTE_CNT) != EOK) { in CreateQueryRule()
91 if (memcpy_s(record.domain, MAX_LENGTH_OF_EVENT_DOMAIN, domain.c_str(), domain.length() + EXT_BYTE_CNT) != EOK || in CreateSysEventRecord()
92 memcpy_s(record.eventName, MAX_LENGTH_OF_EVENT_NAME, name.c_str(), name.length() + EXT_BYTE_CNT) != EOK || in CreateSysEventRecord()
93 memcpy_s(record.tz, MAX_LENGTH_OF_TIME_ZONE, timeZone.c_str(), timeZone.length() + EXT_BYTE_CNT) != EOK) { in CreateSysEventRecord()
124 if (ret != EOK) { in HWTEST_F()

Completed in 13 milliseconds

12345678910>>...28