/base/startup/hvb/libhvb/src/deps/ |
H A D | hvb_sysdeps.c | 49 int hvb_strcmp(const char *s1, const char *s2) in hvb_strcmp() argument 51 return strcmp(s1, s2); in hvb_strcmp() 54 int hvb_strncmp(const char *s1, const char *s2, size_t n) in hvb_strncmp() argument 56 return strncmp(s1, s2, n); in hvb_strncmp()
|
/base/msdp/device_status/utils/common/include/ |
H A D | utility.h | 46 static bool IsEqual(const char *s1, const char *s2) noexcept; 78 inline bool Utility::IsEqual(const char *s1, const char *s2) noexcept 80 if (IsEmpty(s1)) { 85 return (std::strcmp(s1, s2) == 0);
|
/base/startup/hvb/libhvb/include/ |
H A D | hvb_sysdeps.h | 30 int hvb_strcmp(const char *s1, const char *s2); 31 int hvb_strncmp(const char *s1, const char *s2, size_t n);
|
/base/security/permission_lite/services/ipc_auth/src/ |
H A D | ipc_auth_impl.c | 59 static int StrcmpWithNull(const char *s1, const char *s2)
in StrcmpWithNull() argument 61 if ((s1 == NULL) && (s2 == NULL)) {
in StrcmpWithNull() 64 if ((s1 == NULL) || (s2 == NULL)) {
in StrcmpWithNull() 67 return strcmp(s1, s2);
in StrcmpWithNull() 258 char *s1 = featurePolicy->feature;
in CheckSvcPolicies() local 260 if (StrcmpWithNull(s1, s2) != 0) {
in CheckSvcPolicies()
|
/base/tee/tee_client/services/tlogcat/src/ |
H A D | tarzip.c | 225 char *s1 = NULL; in WriteSingleFile() local 233 s1 = strrchr(fileName, '/'); in WriteSingleFile() 234 if (s1 == NULL || strlen(s1) < FILE_NAME_INVALID_LEN) { in WriteSingleFile() 239 WriteHeader(&header, (const char *)(s1 + 1), fileAttr.st_size); in WriteSingleFile()
|
/base/security/asset/frameworks/utils/src/ |
H A D | hasher.rs | 52 let s1 = expanded_chunk[i - 2].rotate_right(17) 56 expanded_chunk[i - 16].wrapping_add(s0).wrapping_add(expanded_chunk[i - 7]).wrapping_add(s1); 64 let s1 = compressed_chunk[4].rotate_right(6) 69 .wrapping_add(s1)
|
/base/telephony/ril_adapter/services/vendor/include/ |
H A D | at_support.h | 46 typedef void (*OnNotify)(const char *s, const char *s1); // onNotify
|
/base/telephony/core_service/services/sim/include/ |
H A D | icc_dialling_numbers_cache.h | 74 bool StringEqual(const std::u16string &s1, const std::u16string &s2);
|
/base/customization/enterprise_device_management/test/unittest/services/edm/src/ |
H A D | user_policy_manager_test.cpp | 196 std::string s1 = "hugeArrayPolicyValue:" + std::to_string(i); in HWTEST_F() local 197 hugeArrayPolicy.emplace_back(s1); in HWTEST_F()
|
/base/security/permission_lite/services/pms/src/ |
H A D | pms_impl.c | 43 static char *ConcatString(const char *s1, const char *s2)
in ConcatString() argument 45 unsigned int allocSize = strlen(s1) + strlen(s2) + 1;
in ConcatString() 57 if (strcpy_s(rst, allocSize, s1) != EOK) {
in ConcatString()
|
/base/inputmethod/imf/frameworks/js/napi/inputmethodlist/ |
H A D | inputmethodlist.js | 463 var s1; variable 466 ((s1 = this.currentSub) === null || s1 === void 0 ? void 0 : s1.id) === p1;
|
/base/telephony/core_service/services/sim/src/ |
H A D | icc_dialling_numbers_cache.cpp | 392 bool IccDiallingNumbersCache::StringEqual(const std::u16string &s1, const std::u16string &s2) in StringEqual() argument 394 return s1.compare(s2) == 0; in StringEqual()
|
/base/hiviewdfx/hisysevent/test/moduletest/common/ |
H A D | hisysevent_c_test.cpp | 277 char s1[] = "str1";
in HWTEST_F() local 280 char* sArr[] = { s1, s2, s3 };
in HWTEST_F()
|
/base/security/device_auth/services/legacy/group_manager/src/group_operation/across_account_group/ |
H A D | across_account_group.c | 30 /* 1: s1 > s2, -1: s1 <= s2 */ 31 static int32_t CompareString(const char *s1, const char *s2) in CompareString() argument 33 const char *tempChar1 = s1; in CompareString()
|
/base/account/os_account/services/accountmgr/test/moduletest/os_account/ |
H A D | os_account_manager_service_module_test.cpp | 409 [](const std::string& s1, const std::string& s2) { return s1 == s2; })); in HWTEST_F() 431 [](const std::string& s1, const std::string& s2) { return s1 == s2; })); in HWTEST_F()
|
/base/startup/init/services/utils/ |
H A D | init_utils.c | 744 typedef int (*str_compare)(const char *s1, const char *s2);
|
/base/account/os_account/frameworks/osaccount/native/test/moduletest/ |
H A D | os_account_manager_module_test.cpp | 571 [](const std::string& s1, const std::string& s2) { return s1 == s2; })); in HWTEST_F() 592 [](const std::string& s1, const std::string& s2) { return s1 == s2; })); in HWTEST_F()
|
/base/telephony/sms_mms/test/gtest/ |
H A D | zero_branch_cdma_sms_test.cpp | 323 std::string s1(PDU_BUFFER_MAX_SIZE * 2, '0'); in HWTEST_F() 324 buffer = std::make_shared<SmsReadBuffer>(StringUtils::HexToString(s1)); in HWTEST_F()
|