Lines Matching refs:attrValue
52 int SetExtendedAttribute(const char* linkPath, const char* attrName, const char* attrValue, int flags = 0)
54 size_t attrSize = strlen(attrValue) + 1;
55 int ret = lsetxattr(linkPath, attrName, attrValue, attrSize, flags);
104 const char* attrValue = "Hello, xattr!";
105 int ret = SetExtendedAttribute(targetFilePath, attrName, attrValue);
112 ret = strncmp(attrValue, buffer, strlen(attrValue));
183 const char* attrValue = "Hello, xattr!";
184 int ret = SetExtendedAttribute(targetFilePath, attrName, attrValue, XATTR_CREATE);
191 ret = strncmp(attrValue, buffer, strlen(attrValue));
299 const char* attrValue = "Hello, xattr!";
300 ret = SetExtendedAttribute(linkFilePath, attrName, attrValue, 0);
386 const char* attrValue = "Hello, xattr!";
387 ret = SetExtendedAttribute(linkFilePath, attrName, attrValue, XATTR_CREATE);
497 const char* attrValue = "Hello, xattr!";
498 int ret = SetExtendedAttribute(OPEN_API_TEST_FILE, attrName, attrValue);
543 const char* attrValue = "Hello, xattr!";
544 int ret = SetExtendedAttribute(OPEN_API_TEST_FILE, attrName, attrValue, XATTR_CREATE);
632 const char* attrValue = "Hello, xattr!";
633 int ret = SetExtendedAttribute(tmpNonDirPath, attrName, attrValue, XATTR_CREATE);
649 const char* attrValue = "Hello, xattr1!";
650 int ret = SetExtendedAttribute(OPEN_API_TEST_FILE, attrName, attrValue, XATTR_CREATE);
654 ret = SetExtendedAttribute(OPEN_API_TEST_FILE, attrName, attrValue, XATTR_CREATE);