/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
MkdCommandHandler.java | 29 * <li>{@link #PATHNAME_KEY} ("pathname") - the pathname of the directory submitted on the invocation (the first command parameter)
37 public static final String PATHNAME_KEY = "pathname";
50 String pathname = command.getRequiredParameter(0);
local 51 invocationRecord.set(PATHNAME_KEY, pathname);
52 sendReply(session, pathname);
|
StatCommandHandler.java | 26 * along with a reply code of 211 if no pathname parameter is specified or 213 if a
27 * pathname is specified. You can customize the returned status information by setting
32 * <li>{@link #PATHNAME_KEY} ("pathname") - the pathname of the directory (or file) submitted on the
42 public static final String PATHNAME_KEY = "pathname";
54 String pathname = command.getOptionalString(0);
local 55 invocationRecord.set(PATHNAME_KEY, pathname);
59 int code = (pathname == null) ? ReplyCodes.STAT_SYSTEM_OK : ReplyCodes.STAT_FILE_OK;
|
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
MkdCommandHandler.java | 29 * <li>{@link #PATHNAME_KEY} ("pathname") - the pathname of the directory submitted on the invocation (the first command parameter)
38 public static final String PATHNAME_KEY = "pathname";
51 String pathname = command.getRequiredString(0);
local 52 invocationRecord.set(PATHNAME_KEY, pathname);
53 sendReply(session, pathname);
|
StatCommandHandler.java | 26 * along with a reply code of 211 if no pathname parameter is specified or 213 if a
27 * pathname is specified. You can customize the returned status information by setting
32 * <li>{@link #PATHNAME_KEY} ("pathname") - the pathname of the directory (or file) submitted on the
44 public static final String PATHNAME_KEY = "pathname";
59 String pathname = command.getOptionalString(0);
local 60 invocationRecord.set(PATHNAME_KEY, pathname);
64 int code = (pathname == null) ? ReplyCodes.STAT_SYSTEM_OK : ReplyCodes.STAT_FILE_OK;
|
/external/squashfs-tools/squashfs-tools/ |
unsquashfs_info.c | 45 char *pathname = NULL; variable 52 if(pathname) 53 free(pathname); 55 pathname = NULL; 61 if(pathname) 62 free(pathname); 64 pathname = name; 121 if(pathname) 122 INFO("%s\n", pathname);
|
pseudo.h | 39 char *pathname; member in struct:pseudo_entry
|
/external/e2fsprogs/lib/ext2fs/ |
namei.c | 26 const char *pathname, size_t pathlen, int follow, 33 char *pathname; local 67 pathname = buffer; 69 pathname = (char *)&(ei.i_block[0]); 70 retval = open_namei(fs, root, dir, pathname, ei.i_size, 1, 78 * This routine interprets a pathname in the context of the current 81 * (pointing into the pathname) and the length of the filename. 84 const char *pathname, int pathlen, 95 if ((c = *pathname) == '/') { 97 pathname++ [all...] |
/external/ltp/testcases/kernel/syscalls/access/ |
access04.c | 24 * if the specified file doesn't exist (or pathname is NULL). 26 * if the pathname size is > PATH_MAX characters. 28 * if a component used as a directory in pathname is not a directory. 30 * if too many symbolic links were encountered in resolving pathname. 59 const char *pathname; member in struct:tcase 73 TEST(access(tc->pathname, tc->mode));
|
access02.c | 26 * referred to by symbolic link if the pathname points to a symbolic link. 55 const char *pathname; member in struct:tcase 75 TEST(access(tc->pathname, tc->mode)); 79 tc->pathname, tc->name, user); 157 tc->pathname, tc->name, user);
|
/external/ltp/testcases/kernel/syscalls/faccessat/ |
faccessat01.c | 57 static char pathname[256]; variable 120 sprintf(pathname, "faccessattestdir%d", p); 127 SAFE_MKDIR(cleanup, pathname, 0700); 129 fds[0] = SAFE_OPEN(cleanup, pathname, O_DIRECTORY);
|
/external/ltp/testcases/kernel/syscalls/fchmodat/ |
fchmodat01.c | 57 char pathname[256]; variable 118 sprintf(pathname, "fchmodattestdir%d", p); 125 SAFE_MKDIR(cleanup, pathname, 0700); 127 fds[0] = SAFE_OPEN(cleanup, pathname, O_DIRECTORY);
|
/external/ltp/testcases/kernel/syscalls/futimesat/ |
futimesat01.c | 50 static const char pathname[] = "futimesattestdir", variable 109 SAFE_MKDIR(cleanup, pathname, 0700); 111 fds[0] = SAFE_OPEN(cleanup, pathname, O_DIRECTORY);
|
/external/ltp/testcases/kernel/syscalls/lchown/ |
lchown03.c | 53 char *pathname; member in struct:test_case_t 124 TEST(LCHOWN(cleanup, test->pathname, geteuid(), getegid()));
|
/external/ltp/testcases/kernel/syscalls/readlinkat/ |
readlinkat02.c | 27 * 4. pathname is relative and dirfd is a file descriptor referring to a file 48 const char *pathname; member in struct:test_case_t 100 TEST(readlinkat(*test->dirfd, test->pathname, buf, test->bufsiz));
|
/external/ltp/testcases/kernel/syscalls/chown/ |
chown02.c | 96 char *pathname; member in struct:test_case_t 134 file_name = test_cases[i].pathname;
|
chown04.c | 31 * 3) chown(2) returns -1 and sets errno to EFAULT if pathname points 33 * 4) chown(2) returns -1 and sets errno to ENAMETOOLONG if the pathname 36 * component in pathname is not a directory. 75 char *pathname; member in struct:test_case_t 114 TEST(CHOWN(cleanup, tc[i].pathname, user_id, group_id)); 163 tc[2].pathname = bad_addr;
|
/external/ltp/testcases/kernel/syscalls/fchown/ |
fchown02.c | 56 char *pathname; member in struct:test_case 77 tst_resm(TFAIL | TTERRNO, "fchown() Fails on %s", t->pathname); 87 t->pathname, t->user_id, t->group_id, 96 "%#o", t->pathname, NEW_PERMS1, 106 "%#o", t->pathname, 113 tst_resm(TPASS, "fchown() on %s succeeds : %s", t->pathname, t->desc);
|
/external/ltp/testcases/kernel/syscalls/fstatat/ |
fstatat01.c | 51 static const char pathname[] = "fstatattestdir", variable 126 SAFE_MKDIR(cleanup, pathname, 0700); 128 fds[0] = SAFE_OPEN(cleanup, pathname, O_DIRECTORY);
|
/external/ltp/testcases/kernel/syscalls/lstat/ |
lstat02.c | 26 * 3) lstat(2) returns -1 and sets errno to EFAULT if pathname points 28 * 4) lstat(2) returns -1 and sets errno to ENAMETOOLONG if the pathname 31 * component in pathname is not a directory. 32 * 6) lstat(2) returns -1 and sets errno to ELOOP if the pathname has too 68 char *pathname; member in struct:test_case_t 147 test_cases[i].pathname = SAFE_MMAP(cleanup, 0, 1, PROT_NONE, 153 test_cases[i].pathname = (char *)get_high_address(); 164 TEST(lstat(test_cases[i].pathname, &stat_buf));
|
/external/ltp/testcases/kernel/syscalls/mkdir/ |
mkdir03.c | 59 char *pathname; member in struct:test_case_t 137 tc->pathname = SAFE_MMAP(cleanup, 0, 1, PROT_NONE, 147 TEST(mkdir(tc->pathname, tc->mode));
|
/external/ltp/testcases/kernel/syscalls/mkdirat/ |
mkdirat02.c | 53 char *pathname; member in struct:test_case_t 138 TEST(mkdirat(*test->dirfd, test->pathname, 0777));
|
/external/ltp/testcases/kernel/syscalls/mknod/ |
mknod06.c | 27 * 2) mknod(2) returns -1 and sets errno to EFAULT if pathname points 30 * component in pathname does not exist. 31 * 4) mknod(2) returns -1 and sets errno to ENAMETOOLONG if the pathname 34 * component in pathname is not a directory. 99 char *pathname; member in struct:test_case_t 114 "", "Pathname is empty", ENOENT, no_setup}, { 115 Longpathname, "Pathname too long", ENAMETOOLONG, longpath_setup}, { 152 node_name = Test_cases[ind].pathname; 226 Test_cases[2].pathname = bad_addr;
|
mknod07.c | 29 * 3) mknod(2) returns -1 and sets errno to EROFS if pathname refers to 32 * links were encountered in resolving pathname. 69 char *pathname; member in struct:test_case_t 155 TEST(mknod(test_case->pathname, test_case->mode, 0));
|
/external/ltp/testcases/kernel/syscalls/mknodat/ |
mknodat02.c | 21 * 1) mknod(2) returns -1 and sets errno to EROFS if pathname refers to 24 * links were encountered in resolving pathname. 65 char *pathname; member in struct:test_case_t 154 char *pathname = tc->pathname; local 157 TEST(mknodat(fd, pathname, mode, 0)); 170 ltp_syscall(__NR_unlinkat, fd, pathname, 0) < 0) { 172 "failed.", fd, pathname);
|
/external/ltp/testcases/kernel/syscalls/openat/ |
openat01.c | 58 const char *pathname; member in struct:test_case 73 TEST(openat(*test->dir_fd, test->pathname, O_RDWR, 0600));
|