Home
last modified time | relevance | path

Searched refs:hs (Results 1 – 3 of 3) sorted by relevance

/system/libhidl/
Dtest_main.cpp291 hidl_string hs(s); in TEST_F() local
292 EXPECT_NE(hs.c_str(), s); in TEST_F()
294 EXPECT_TRUE(hs == s); // operator == in TEST_F()
295 EXPECT_TRUE(s == hs); in TEST_F()
297 EXPECT_FALSE(hs != s); // operator == in TEST_F()
298 EXPECT_FALSE(s != hs); in TEST_F()
/system/libhidl/base/include/hidl/
DHidlSupport.h179 inline bool operator OP(const hidl_string &hs, const char *s) { \
180 return strcmp(hs.c_str(), s) OP 0; \
182 inline bool operator OP(const char *s, const hidl_string &hs) { \
183 return strcmp(hs.c_str(), s) OP 0; \
887 inline std::string toString(const hidl_string &hs) {
888 return std::string{"\""} + hs.c_str() + "\"";
892 inline std::string toString(const hidl_handle &hs) {
893 return toString(hs.getNativeHandle());
/system/core/toolbox/
Dnewfs_msdos.c853 off_t ms, hs = 0; in getdiskinfo() local
909 hs = (ms / dlp.d_secsize) - dlp.d_secperunit; in getdiskinfo()
922 bpb->hid = hs; in getdiskinfo()