Home | History | Annotate | Download | only in gio

Lines Matching refs:attr

54   #include <attr/xattr.h>
56 #error "Neither <sys/xattr.h> nor <attr/xattr.h> is present but extended attribute support is enabled."
453 const char *attr, *attr2;
485 attr = list;
488 if ((user && g_str_has_prefix (attr, "user.")) ||
489 (!user && !g_str_has_prefix (attr, "user.")))
496 escaped_attr = hex_escape_string (attr + 5, &free_escaped_attr);
501 escaped_attr = hex_escape_string (attr, &free_escaped_attr);
508 get_one_xattr (path, info, gio_attr, attr, follow_symlinks);
513 len = strlen (attr) + 1;
514 attr += len;
522 while ((attr = g_file_attribute_matcher_enumerate_next (matcher)) != NULL)
527 attr2 = strchr (attr, ':');
537 get_one_xattr (path, info, attr, a, follow_symlinks);
608 const char *attr, *attr2;
640 attr = list;
643 if ((user && g_str_has_prefix (attr, "user.")) ||
644 (!user && !g_str_has_prefix (attr, "user.")))
651 escaped_attr = hex_escape_string (attr + 5, &free_escaped_attr);
656 escaped_attr = hex_escape_string (attr, &free_escaped_attr);
663 get_one_xattr_from_fd (fd, info, gio_attr, attr);
666 len = strlen (attr) + 1;
667 attr += len;
675 while ((attr = g_file_attribute_matcher_enumerate_next (matcher)) != NULL)
680 attr2 = strchr (attr, ':');
690 get_one_xattr_from_fd (fd, info, attr, a);