Home
last modified time | relevance | path

Searched refs:s1 (Results 1 - 18 of 18) sorted by relevance

/base/startup/hvb/libhvb/src/deps/
H A Dhvb_sysdeps.c49 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 Dutility.h46 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 Dhvb_sysdeps.h30 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 Dipc_auth_impl.c59 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 Dtarzip.c225 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 Dhasher.rs52 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 Dat_support.h46 typedef void (*OnNotify)(const char *s, const char *s1); // onNotify
/base/telephony/core_service/services/sim/include/
H A Dicc_dialling_numbers_cache.h74 bool StringEqual(const std::u16string &s1, const std::u16string &s2);
/base/customization/enterprise_device_management/test/unittest/services/edm/src/
H A Duser_policy_manager_test.cpp196 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 Dpms_impl.c43 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 Dinputmethodlist.js463 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 Dicc_dialling_numbers_cache.cpp392 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 Dhisysevent_c_test.cpp277 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 Dacross_account_group.c30 /* 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 Dos_account_manager_service_module_test.cpp409 [](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 Dinit_utils.c744 typedef int (*str_compare)(const char *s1, const char *s2);
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp571 [](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 Dzero_branch_cdma_sms_test.cpp323 std::string s1(PDU_BUFFER_MAX_SIZE * 2, '0'); in HWTEST_F()
324 buffer = std::make_shared<SmsReadBuffer>(StringUtils::HexToString(s1)); in HWTEST_F()

Completed in 19 milliseconds