Lines Matching defs:attribute
2164 {"st_file_attributes", "Windows file attribute bits"},
12899 attribute: path_t
12903 Return the value of extended attribute attribute on path.
12913 os_getxattr_impl(PyObject *module, path_t *path, path_t *attribute,
12923 if (PySys_Audit("os.getxattr", "OO", path->object, attribute->object) < 0) {
12943 result = fgetxattr(path->fd, attribute->narrow, ptr, buffer_size);
12945 result = getxattr(path->narrow, attribute->narrow, ptr, buffer_size);
12947 result = lgetxattr(path->narrow, attribute->narrow, ptr, buffer_size);
12973 attribute: path_t
12979 Set extended attribute attribute on path to value.
12989 os_setxattr_impl(PyObject *module, path_t *path, path_t *attribute,
12998 if (PySys_Audit("os.setxattr", "OOy#i", path->object, attribute->object,
13005 result = fsetxattr(path->fd, attribute->narrow,
13008 result = setxattr(path->narrow, attribute->narrow,
13011 result = lsetxattr(path->narrow, attribute->narrow,
13028 attribute: path_t
13032 Remove extended attribute attribute on path.
13042 os_removexattr_impl(PyObject *module, path_t *path, path_t *attribute,
13051 if (PySys_Audit("os.removexattr", "OO", path->object, attribute->object) < 0) {
13057 result = fremovexattr(path->fd, attribute->narrow);
13059 result = removexattr(path->narrow, attribute->narrow);
13061 result = lremovexattr(path->narrow, attribute->narrow);
13151 PyObject *attribute = PyUnicode_DecodeFSDefaultAndSize(start,
13153 if (!attribute) {
13158 error = PyList_Append(result, attribute);
13159 Py_DECREF(attribute);