Lines Matching defs:attribute
7530 "getxattr($module, /, path, attribute, *, follow_symlinks=True)\n"
7533 "Return the value of extended attribute attribute on path.\n"
7544 os_getxattr_impl(PyObject *module, path_t *path, path_t *attribute,
7551 static const char * const _keywords[] = {"path", "attribute", "follow_symlinks", NULL};
7556 path_t attribute = PATH_T_INITIALIZE("getxattr", "attribute", 0, 0);
7566 if (!path_converter(args[1], &attribute)) {
7577 return_value = os_getxattr_impl(module, &path, &attribute, follow_symlinks);
7582 /* Cleanup for attribute */
7583 path_cleanup(&attribute);
7593 "setxattr($module, /, path, attribute, value, flags=0, *,\n"
7597 "Set extended attribute attribute on path to value.\n"
7608 os_setxattr_impl(PyObject *module, path_t *path, path_t *attribute,
7615 static const char * const _keywords[] = {"path", "attribute", "value", "flags", "follow_symlinks", NULL};
7620 path_t attribute = PATH_T_INITIALIZE("setxattr", "attribute", 0, 0);
7632 if (!path_converter(args[1], &attribute)) {
7663 return_value = os_setxattr_impl(module, &path, &attribute, &value, flags, follow_symlinks);
7668 /* Cleanup for attribute */
7669 path_cleanup(&attribute);
7683 "removexattr($module, /, path, attribute, *, follow_symlinks=True)\n"
7686 "Remove extended attribute attribute on path.\n"
7697 os_removexattr_impl(PyObject *module, path_t *path, path_t *attribute,
7704 static const char * const _keywords[] = {"path", "attribute", "follow_symlinks", NULL};
7709 path_t attribute = PATH_T_INITIALIZE("removexattr", "attribute", 0, 0);
7719 if (!path_converter(args[1], &attribute)) {
7730 return_value = os_removexattr_impl(module, &path, &attribute, follow_symlinks);
7735 /* Cleanup for attribute */
7736 path_cleanup(&attribute);