Home
last modified time | relevance | path

Searched refs:s2 (Results 1 – 25 of 26) sorted by relevance

12

/hardware/google/aemu/base/
DStringFormat_unittest.cpp44 std::string s2 = std::string(s.c_str() + n * kPieceLen, kPieceLen); in TEST() local
45 EXPECT_STREQ(kPiece, s2.c_str()) << "Index #" << n; in TEST()
74 std::string s2 = std::string(s.c_str() + n * kPieceLen, kPieceLen); in TEST() local
75 EXPECT_STREQ(kPiece, s2.c_str()) << "Index #" << n; in TEST()
/hardware/google/aemu/base/include/aemu/base/logging/
DLog.h269 friend bool operator==(const LogParams& s1, const LogParams& s2) {
270 return s1.lineno == s2.lineno && s1.severity == s2.severity &&
271 s1.quiet == s2.quiet &&
272 ((s1.file == nullptr && s2.file == nullptr) || // both null..
273 (s1.file != nullptr && s2.file != nullptr &&
274 (s1.file == s2.file ||
275 strcmp(s1.file, s2.file) == 0)) // or the same
/hardware/interfaces/gnss/aidl/default/
DGnssConfiguration.h35 inline bool operator()(const BlocklistedSource& s1, const BlocklistedSource& s2) const { in operator()
36 return (s1.constellation == s2.constellation) && (s1.svid == s2.svid); in operator()
/hardware/interfaces/gnss/common/utils/default/include/v2_1/
DGnssConfiguration.h39 const ::android::hardware::gnss::V2_1::IGnssConfiguration::BlacklistedSource& s2) in operator()
41 return (s1.constellation == s2.constellation) && (s1.svid == s2.svid); in operator()
/hardware/interfaces/gnss/1.1/default/
DGnssConfiguration.h36 inline bool operator()(const BlacklistedSource& s1, const BlacklistedSource& s2) const { in operator()
37 return (s1.constellation == s2.constellation) && (s1.svid == s2.svid); in operator()
/hardware/qcom/sm7150/gps/utils/
DLocUnorderedSetMap.h57 static unordered_set<T> removeAndReturnInterset(unordered_set<T>& s1, unordered_set<T>& s2) { in removeAndReturnInterset() argument
59 for (auto b = s2.begin(); b != s2.end(); b++) { in removeAndReturnInterset()
66 s2.erase(b); in removeAndReturnInterset()
/hardware/qcom/sm7250/gps/utils/
DLocUnorderedSetMap.h64 static unordered_set<T> removeAndReturnInterset(unordered_set<T>& s1, unordered_set<T>& s2) { in removeAndReturnInterset() argument
66 for (auto b = s2.begin(); b != s2.end(); b++) { in removeAndReturnInterset()
73 s2.erase(b); in removeAndReturnInterset()
/hardware/qcom/sm8150p/gps/utils/
DLocUnorderedSetMap.h57 static unordered_set<T> removeAndReturnInterset(unordered_set<T>& s1, unordered_set<T>& s2) { in removeAndReturnInterset() argument
59 for (auto b = s2.begin(); b != s2.end(); b++) { in removeAndReturnInterset()
66 s2.erase(b); in removeAndReturnInterset()
/hardware/qcom/sm8150/gps/utils/
DLocUnorderedSetMap.h64 static unordered_set<T> removeAndReturnInterset(unordered_set<T>& s1, unordered_set<T>& s2) { in removeAndReturnInterset() argument
66 for (auto b = s2.begin(); b != s2.end(); b++) { in removeAndReturnInterset()
73 s2.erase(b); in removeAndReturnInterset()
/hardware/google/aemu/base/include/aemu/base/sockets/
DSocketUtils.h92 int socketCreatePair(int *s1, int* s2);
/hardware/google/pixel/vibrator/cs40l26/tests/
Dtest-vibrator.cpp405 Sequence s1, s2; in TEST_F() local
409 .InSequence(s1, s2) in TEST_F()
414 .InSequence(s2) in TEST_F()
416 EXPECT_CALL(*mMockStats, logLatencyEnd()).InSequence(s1, s2).WillOnce(DoDefault()); in TEST_F()
418 .InSequence(s1, s2) in TEST_F()
474 Sequence s1, s2; in TEST_F() local
476 EXPECT_CALL(*mMockApi, getHapticAlsaDevice(_, _)).InSequence(s2).WillOnce(Return(true)); in TEST_F()
478 .InSequence(s1, s2) in TEST_F()
485 Sequence s1, s2, s3, s4; in TEST_F() local
493 EXPECT_CALL(*mMockApi, getHapticAlsaDevice(_, _)).InSequence(s2).WillOnce(Return(true)); in TEST_F()
[all …]
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c953 bcmstricmp(const char *s1, const char *s2) in bcmstricmp() argument
957 while (*s2 && *s1) { in bcmstricmp()
959 sc = xToLower(*s2); in bcmstricmp()
963 s2++; in bcmstricmp()
966 if (*s1 && !*s2) return 1; in bcmstricmp()
967 if (!*s1 && *s2) return -1; in bcmstricmp()
987 bcmstrnicmp(const char* s1, const char* s2, int cnt) in bcmstrnicmp() argument
991 while (*s2 && *s1 && cnt) { in bcmstrnicmp()
993 sc = xToLower(*s2); in bcmstrnicmp()
997 s2++; in bcmstrnicmp()
[all …]
/hardware/interfaces/identity/aidl/default/libeic/
DEicOps.h153 int eicCryptoMemCmp(const void* s1, const void* s2, size_t n);
/hardware/google/pixel/vibrator/cs40l25/tests/
Dtest-vibrator.cpp345 Sequence s1, s2, s3; in TEST_F() local
349 .InSequence(s1, s2, s3) in TEST_F()
353 EXPECT_CALL(*mMockApi, setEffectIndex(ON_EFFECT_INDEX)).InSequence(s2).WillOnce(DoDefault()); in TEST_F()
355 EXPECT_CALL(*mMockStats, logLatencyEnd()).InSequence(s1, s2, s3).WillOnce(DoDefault()); in TEST_F()
356 EXPECT_CALL(*mMockApi, setActivate(true)).InSequence(s1, s2, s3).WillOnce(Return(true)); in TEST_F()
/hardware/interfaces/identity/aidl/default/
DEicOpsImpl.cc75 int eicCryptoMemCmp(const void* s1, const void* s2, size_t n) { in eicCryptoMemCmp() argument
76 return CRYPTO_memcmp(s1, s2, n); in eicCryptoMemCmp()
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmutils.h367 int bcmstricmp(const char *s1, const char *s2);
368 int bcmstrnicmp(const char* s1, const char* s2, int cnt);
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng.cpp1063 ATLSubscriber s2(mID, locEng->internet_nif, locEng->adapter, false); in proc() local
1064 if (locEng->internet_nif->unsubscribeRsrc((Subscriber*)&s2)) { in proc()
/hardware/interfaces/automotive/can/1.0/default/libc++fs/src/filesystem/
Doperations.cpp943 auto s2 = detail::posix_stat(p2.native(), st2, &ec2); in __equivalent() local
944 if (!exists(s2)) in __equivalent()
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
Dloc_eng.cpp1172 ATLSubscriber s2(mID, locEng->internet_nif, locEng->adapter, false); in proc() local
1173 if (locEng->internet_nif->unsubscribeRsrc((Subscriber*)&s2)) { in proc()
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng.cpp1161 ATLSubscriber s2(mID, locEng->internet_nif, locEng->adapter, false); in proc() local
1162 if (locEng->internet_nif->unsubscribeRsrc((Subscriber*)&s2)) { in proc()
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
Dloc_eng.cpp1162 ATLSubscriber s2(mID, locEng->internet_nif, locEng->adapter, false); in proc() local
1163 if (locEng->internet_nif->unsubscribeRsrc((Subscriber*)&s2)) { in proc()
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
Dloc_eng.cpp1160 ATLSubscriber s2(mID, locEng->internet_nif, locEng->adapter, false); in proc() local
1161 if (locEng->internet_nif->unsubscribeRsrc((Subscriber*)&s2)) { in proc()
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
Dloc_eng.cpp1159 ATLSubscriber s2(mID, locEng->internet_nif, locEng->adapter, false); in proc() local
1160 if (locEng->internet_nif->unsubscribeRsrc((Subscriber*)&s2)) { in proc()
/hardware/qcom/sm8150/gps/gnss/
DGnssAdapter.cpp6683 string s2 = "PC_OFFSET_"; in reportGnssAntennaInformation() local
6684 s2 += to_string(i); in reportGnssAntennaInformation()
6698 { s2.c_str(), &pcOffsetStr, NULL, 's' }, in reportGnssAntennaInformation()
6735 string s2 = "PC_VARIATION_CORRECTION_UNC_" + to_string(i) + "_ROW_"; in reportGnssAntennaInformation() local
6736 s2 += to_string(j); in reportGnssAntennaInformation()
6741 { s2.c_str(), &pcVarCorrUncStr, NULL, 's' }, in reportGnssAntennaInformation()
/hardware/qcom/sm7250/gps/gnss/
DGnssAdapter.cpp6684 string s2 = "PC_OFFSET_"; in reportGnssAntennaInformation() local
6685 s2 += to_string(i); in reportGnssAntennaInformation()
6699 { s2.c_str(), &pcOffsetStr, NULL, 's' }, in reportGnssAntennaInformation()
6736 string s2 = "PC_VARIATION_CORRECTION_UNC_" + to_string(i) + "_ROW_"; in reportGnssAntennaInformation() local
6737 s2 += to_string(j); in reportGnssAntennaInformation()
6742 { s2.c_str(), &pcVarCorrUncStr, NULL, 's' }, in reportGnssAntennaInformation()

12