/third_party/ltp/testcases/kernel/syscalls/listxattr/ |
H A D | listxattr03.c | 38 n = listxattr(name, buf, sizeof(buf)); in check_suitable_buf() 47 TEST(listxattr(name, NULL, 0)); in verify_listxattr() 49 tst_res(TFAIL | TTERRNO, "listxattr() failed"); in verify_listxattr() 54 tst_res(TPASS, "listxattr() succeed with suitable buffer"); in verify_listxattr() 56 tst_res(TFAIL, "listxattr() failed with small buffer"); in verify_listxattr()
|
H A D | listxattr01.c | 11 * The testcase checks the basic functionality of the listxattr(2). 12 * listxattr(2) retrieves the list of extended attribute names 51 TEST(listxattr(TESTFILE, buf, sizeof(buf))); in verify_listxattr() 53 tst_res(TFAIL | TTERRNO, "listxattr() failed"); in verify_listxattr() 63 tst_res(TPASS, "listxattr() succeeded"); in verify_listxattr()
|
H A D | listxattr02.c | 11 * 1) listxattr(2) fails if the size of the list buffer is too small 13 * 2) listxattr(2) fails if path is an empty string. 14 * 3) listxattr(2) fails when attempted to read from a invalid address. 15 * 4) listxattr(2) fails if path is longer than allowed. 18 * 1) listxattr(2) should return -1 and set errno to ERANGE. 19 * 2) listxattr(2) should return -1 and set errno to ENOENT. 20 * 3) listxattr(2) should return -1 and set errno to EFAULT. 21 * 4) listxattr(2) should return -1 and set errno to ENAMETOOLONG. 59 TEST(listxattr(t->path, buf, sizeof(buf))); in verify_listxattr() 62 "listxattr() succeede in verify_listxattr() [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | listxattr.c | 28 * @tc.desc : Verify listxattr process success. 56 ret = listxattr(path, list, sizeof(list)); in listxattr_0100() 69 * @tc.desc : Verify listxattr process fail bacause param is null. 74 int ret = listxattr(NULL, NULL, -1); in listxattr_0200()
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | xattr.h | 17 ssize_t listxattr(const char *, char *, size_t);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | xattr.h | 17 ssize_t listxattr(const char *, char *, size_t);
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | xattr.h | 17 ssize_t listxattr(const char *, char *, size_t);
|
/third_party/musl/include/sys/ |
H A D | xattr.h | 17 ssize_t listxattr(const char *, char *, size_t);
|
/third_party/toybox/lib/ |
H A D | portability.c | 303 return listxattr(path, list, size, 0); in xattr_list() 308 return listxattr(path, list, size, XATTR_NOFOLLOW); in xattr_llist() 353 return listxattr(path, list, size); in xattr_list()
|
/third_party/musl/src/linux/ |
H A D | xattr.c | 19 ssize_t listxattr(const char *path, char *list, size_t size) in listxattr() function
|
/third_party/toybox/toys/pending/ |
H A D | getfattr.c | 34 ssize_t (*lister)(const char *, char *, size_t) = listxattr; in do_getfattr() 47 if (keys_len == -1) perror_msg("listxattr failed"); in do_getfattr()
|
/third_party/ntfs-3g/include/fuse-lite/ |
H A D | fuse.h | 246 int (*listxattr) (const char *, char *, size_t); member
|
H A D | fuse_lowlevel.h | 672 void (*listxattr) (fuse_req_t req, fuse_ino_t ino, size_t size); member 953 * read, readdir, getxattr, listxattr 967 * read, readdir, getxattr, listxattr 993 * getxattr, listxattr
|
/third_party/libfuse/example/ |
H A D | passthrough_hp.cc | 1060 ret = listxattr(procname, value, size); in sfs_listxattr() 1069 ret = listxattr(procname, nullptr, 0); in sfs_listxattr() 1152 sfs_oper.listxattr = sfs_listxattr; in assign_operations()
|
H A D | passthrough_ll.c | 1025 ret = listxattr(procname, value, size); in lo_listxattr() 1034 ret = listxattr(procname, NULL, 0); in lo_listxattr() 1172 .listxattr = lo_listxattr,
|
H A D | passthrough_fh.c | 644 .listxattr = xmp_listxattr,
|
H A D | passthrough.c | 541 .listxattr = xmp_listxattr,
|
/third_party/libfuse/include/ |
H A D | fuse.h | 551 int (*listxattr) (const char *, char *, size_t); member
|
H A D | fuse_lowlevel.h | 880 * future listxattr() requests will fail with EOPNOTSUPP without being 893 void (*listxattr) (fuse_req_t req, fuse_ino_t ino, size_t size); member 1412 * read, readdir, getxattr, listxattr 1452 * read, readdir, getxattr, listxattr 1471 * read, readdir, getxattr, listxattr 1496 * getxattr, listxattr
|
/third_party/python/Lib/test/ |
H A D | test_os.py | 3585 def _check_xattrs_str(self, s, getxattr, setxattr, removexattr, listxattr, **kwargs): 3594 init_xattr = listxattr(fn) 3600 self.assertEqual(set(listxattr(fn)), xattr) 3615 self.assertEqual(set(listxattr(fn)), xattr) 3623 self.assertEqual(set(listxattr(fn)), xattr) 3631 self.assertEqual(set(listxattr(fn)), set(init_xattr) | set(many)) 3642 os.listxattr) 3646 os.listxattr, follow_symlinks=False) 3658 def listxattr(path, *args): function 3660 return os.listxattr(f [all...] |
H A D | test_shutil.py | 991 self.assertEqual(sorted(os.listxattr(src)), sorted(os.listxattr(dst))) 1009 self.assertIn('user.bar', os.listxattr(dst)) 1018 orig_listxattr = os.listxattr 1019 os.listxattr = _raise_on_src 1022 os.listxattr = orig_listxattr
|
/third_party/libfuse/lib/modules/ |
H A D | subdir.c | 605 .listxattr = subdir_listxattr,
|
H A D | iconv.c | 624 .listxattr = iconv_listxattr,
|
/third_party/ntfs-3g/libfuse-lite/ |
H A D | fuse_lowlevel.c | 881 if (req->f->op.listxattr) in do_listxattr() 882 req->f->op.listxattr(req, nodeid, arg->size); in do_listxattr()
|
H A D | fuse.c | 1017 if (fs->op.listxattr) in fuse_fs_listxattr() 1018 return fs->op.listxattr(path, list, size); in fuse_fs_listxattr() 2824 .listxattr = fuse_lib_listxattr,
|