Home
last modified time | relevance | path

Searched refs:ooffset (Results 1 - 3 of 3) sorted by relevance

/foundation/ability/ability_base/test/unittest/want/
H A Dskills_test.cpp1122 int ooffset = -2; in HWTEST_F() local
1124 bool result = base_->RegionMatches(type, toffset, other, ooffset, len); in HWTEST_F()
1139 int ooffset = 2; in HWTEST_F() local
1141 bool result = base_->RegionMatches(type, toffset, other, ooffset, len); in HWTEST_F()
1145 bool result1 = base_->RegionMatches(type, toffset, other, ooffset, len1); in HWTEST_F()
1160 int ooffset = -2; in HWTEST_F() local
1162 bool result = base_->RegionMatches(type, toffset, other, ooffset, len); in HWTEST_F()
/foundation/ability/ability_base/interfaces/kits/native/want/include/
H A Dskills.h492 bool RegionMatches(const std::string &type, int toffset, const std::string &other, int ooffset, int len);
/foundation/ability/ability_base/interfaces/kits/native/want/src/
H A Dskills.cpp840 bool Skills::RegionMatches(const std::string &type, int toffset, const std::string &other, int ooffset, int len) in RegionMatches() argument
843 int po = ooffset; in RegionMatches()
844 // Note: toffset, ooffset, or len might be near -1>>>1. in RegionMatches()
845 if ((ooffset < 0) || (toffset < 0) || (toffset > (long)type.size() - len) || in RegionMatches()
846 (ooffset > (long)other.length() - len)) { in RegionMatches()

Completed in 5 milliseconds