Searched refs:attrValue (Results 1 - 4 of 4) sorted by relevance
/test/xts/hats/kernel/syscalls/fileio/lsetxattr/ |
H A D | LsetxattrApiTest.cpp | 52 int SetExtendedAttribute(const char* linkPath, const char* attrName, const char* attrValue, int flags = 0) in SetExtendedAttribute() argument 54 size_t attrSize = strlen(attrValue) + 1; in SetExtendedAttribute() 55 int ret = lsetxattr(linkPath, attrName, attrValue, attrSize, flags); in SetExtendedAttribute() 104 const char* attrValue = "Hello, xattr!"; in HWTEST_F() local 105 int ret = SetExtendedAttribute(targetFilePath, attrName, attrValue); in HWTEST_F() 112 ret = strncmp(attrValue, buffer, strlen(attrValue)); in HWTEST_F() 183 const char* attrValue = "Hello, xattr!"; in HWTEST_F() local 184 int ret = SetExtendedAttribute(targetFilePath, attrName, attrValue, XATTR_CREATE); in HWTEST_F() 191 ret = strncmp(attrValue, buffe in HWTEST_F() 299 const char* attrValue = "Hello, xattr!"; HWTEST_F() local 386 const char* attrValue = "Hello, xattr!"; HWTEST_F() local 497 const char* attrValue = "Hello, xattr!"; HWTEST_F() local 543 const char* attrValue = "Hello, xattr!"; HWTEST_F() local 632 const char* attrValue = "Hello, xattr!"; HWTEST_F() local 649 const char* attrValue = "Hello, xattr1!"; HWTEST_F() local [all...] |
/test/testfwk/arkxtest/uitest/core/ |
H A D | ui_model.cpp | 85 std::string_view value = matchModel.attrValue; in MatchAttr() 87 std::string_view attrValue = attributeVec_[attr]; in MatchAttr() local 90 return attrValue == value; in MatchAttr() 92 return attrValue.find(value) != std::string_view::npos; in MatchAttr() 94 return attrValue.find(value) == 0; in MatchAttr() 96 if (attrValue.length() < value.length()) { in MatchAttr() 99 return attrValue.substr(attrValue.length() - value.length()) == value; in MatchAttr()
|
H A D | ui_model.h | 164 : attrName(name), attrValue(value), pattern(matchPattern) in WidgetMatchModel() 172 ss << "attrName:" << ATTR_NAMES[attrName].data() << "; value:" << attrValue in Describe() 178 string attrValue; member
|
H A D | frontend_api_handler.cpp | 1177 auto attrValue = snapshot->GetAttr(kAttr); in GenericComponentAttrGetter() local 1178 if (attrValue == "NA") { in GenericComponentAttrGetter() 1181 out.resultValue_ = attrValue; in GenericComponentAttrGetter() 1183 out.resultValue_ = nlohmann::json::parse(attrValue); in GenericComponentAttrGetter()
|
Completed in 5 milliseconds