/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.0.25b/source/torture/ |
H A D | torture.c | 364 fstring fname; local 389 slprintf(fname, sizeof(fstring) - 1, "\\torture.%u", n); 395 fnum = cli_open(c, fname, O_RDWR | O_CREAT | O_TRUNC, DENY_ALL); 433 if (!cli_unlink(c, fname)) { 689 printf("run_readwritemulti: fname %s\n", randomfname); 934 const char *fname = "\\lockt1.lck"; local 947 cli_unlink(cli1, fname); 949 fnum1 = cli_open(cli1, fname, O_RDWR|O_CREAT|O_EXCL, DENY_NONE); 951 printf("open of %s failed (%s)\n", fname, cli_errstr(cli1)); 954 fnum2 = cli_open(cli1, fname, O_RDW 1047 const char *fname = "\\\\tcontest.tmp"; local 1307 const char *fname = "\\\\lockt2.lck"; local 1443 const char *fname = "\\\\lockt3.lck"; local 1568 const char *fname = "\\\\lockt4.lck"; local 1739 const char *fname = "\\\\lockt5.lck"; local 1863 const char *fname[1] = { "\\\\lock6.txt" }; local 1903 const char *fname = "\\\\lockt7.lck"; local 2040 const char *fname = "\\\\fdpass.tst"; local 2092 const char *fname = "\\\\fdsess.tst"; local 2177 const char *fname = "\\\\unlink.tst"; local 2227 fstring fname; local 2412 const char *fname = "\\\\attrib123456789.tst"; local 2478 const char *fname = "\\\\trans2.tst"; local 2630 const char *fname = "\\\\w2ktest\\\\w2k.tst"; local 2665 const char *fname = "\\\\lockt1.lck"; local 2714 const char *fname = "\\\\lockt2.lck"; local 2857 const char *fname = "\\\\oplockt3.dat"; local 2912 const char *fname = "\\\\delete.file"; local 3442 const char *fname = "\\\\test.txt"; local 3484 const char *fname = "\\\\test.txt"; local 3706 const char *fname = "\\\\readonly.file"; local 4155 const char *fname = "\\\\openattr.file"; local 4283 fstring fname; local 4303 fstring fname; local 4320 fstring fname; local 4344 const char *fname = "\\\\ioctl.dat"; local 4476 const char *fname = "\\\\eatest.txt"; local 4615 fstring fname; local 4626 fstring fname; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/rp-l2tp/ |
H A D | main.c | 60 char *fname = (char *) data; local 62 unlink(fname); 66 pidfile_check(char const *fname) argument 71 fp = fopen(fname, "r"); 87 pidfile_init(char const *fname) argument 91 unlink(fname); 92 fp = fopen(fname, "w"); 94 l2tp_set_errmsg("pidfile_init: can't create pid file '%s'", fname); 101 l2tp_register_shutdown_handler(pidfile_cleanup, (void *) fname);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/rp-l2tp/ |
H A D | main.c | 60 char *fname = (char *) data; local 62 unlink(fname); 66 pidfile_check(char const *fname) argument 71 fp = fopen(fname, "r"); 87 pidfile_init(char const *fname) argument 91 unlink(fname); 92 fp = fopen(fname, "w"); 94 l2tp_set_errmsg("pidfile_init: can't create pid file '%s'", fname); 101 l2tp_register_shutdown_handler(pidfile_cleanup, (void *) fname);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/rp-l2tp/ |
H A D | main.c | 60 char *fname = (char *) data; local 62 unlink(fname); 66 pidfile_check(char const *fname) argument 71 fp = fopen(fname, "r"); 87 pidfile_init(char const *fname) argument 91 unlink(fname); 92 fp = fopen(fname, "w"); 94 l2tp_set_errmsg("pidfile_init: can't create pid file '%s'", fname); 101 l2tp_register_shutdown_handler(pidfile_cleanup, (void *) fname);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source4/torture/basic/ |
H A D | delete.c | 34 const char *fname, bool expect_it, 45 fname, 89 status = smbcli_qpathinfo(cli->tree, fname, 108 static const char *fname = "\\delete.file"; variable 118 smbcli_setatr(cli1->tree, fname, 0, 0); 119 smbcli_unlink(cli1->tree, fname); 132 fnum1 = smbcli_nt_create_full(cli1->tree, fname, 0, 139 fname, smbcli_errstr(cli1->tree))); 144 fnum1 = smbcli_open(cli1->tree, fname, O_RDWR, DENY_NONE); 146 fname)); 32 check_delete_on_close(struct torture_context *tctx, struct smbcli_state *cli, int fnum, const char *fname, bool expect_it, const char *where) argument [all...] |
H A D | base.c | 126 const char *fname = "\\fdpass.tst"; local 130 smbcli_unlink(cli1->tree, fname); 134 fnum1 = smbcli_open(cli1->tree, fname, O_RDWR|O_CREAT|O_EXCL, DENY_NONE); 137 "open of %s failed (%s)\n", fname, smbcli_errstr(cli1->tree))); 158 smbcli_unlink(cli1->tree, fname); 173 const char *fname = "\\attrib123456789.tst"; local 176 smbcli_unlink(cli->tree, fname); 177 fnum = smbcli_open(cli->tree, fname, 181 if (NT_STATUS_IS_ERR(smbcli_getatr(cli->tree, fname, NULL, NULL, &t))) { 199 if (NT_STATUS_IS_ERR(smbcli_setatr(cli->tree, fname, 232 const char *fname = "\\\\trans2.tst"; local 401 const char *fname = "\\\\tcontest.tmp"; local 636 const char *fname = "\\\\defer_open_test.dat"; local 718 const char *fname = "\\\\vuid.tst"; local 769 const char *fname = "\\\\readonly.file"; local 1287 const char *fname = "\\\\test.txt"; local 1313 const char *fname = "\\\\iobw.tst"; local 1582 const char *fname = "test.txt"; local 1619 const char *fname = "\\\\test_dir.txt"; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source4/torture/basic/ |
H A D | delete.c | 34 const char *fname, bool expect_it, 45 fname, 89 status = smbcli_qpathinfo(cli->tree, fname, 108 static const char *fname = "\\delete.file"; variable 118 smbcli_setatr(cli1->tree, fname, 0, 0); 119 smbcli_unlink(cli1->tree, fname); 132 fnum1 = smbcli_nt_create_full(cli1->tree, fname, 0, 139 fname, smbcli_errstr(cli1->tree))); 144 fnum1 = smbcli_open(cli1->tree, fname, O_RDWR, DENY_NONE); 146 fname)); 32 check_delete_on_close(struct torture_context *tctx, struct smbcli_state *cli, int fnum, const char *fname, bool expect_it, const char *where) argument [all...] |
H A D | base.c | 126 const char *fname = "\\fdpass.tst"; local 130 smbcli_unlink(cli1->tree, fname); 134 fnum1 = smbcli_open(cli1->tree, fname, O_RDWR|O_CREAT|O_EXCL, DENY_NONE); 137 "open of %s failed (%s)\n", fname, smbcli_errstr(cli1->tree))); 158 smbcli_unlink(cli1->tree, fname); 173 const char *fname = "\\attrib123456789.tst"; local 176 smbcli_unlink(cli->tree, fname); 177 fnum = smbcli_open(cli->tree, fname, 181 if (NT_STATUS_IS_ERR(smbcli_getatr(cli->tree, fname, NULL, NULL, &t))) { 199 if (NT_STATUS_IS_ERR(smbcli_setatr(cli->tree, fname, 232 const char *fname = "\\\\trans2.tst"; local 401 const char *fname = "\\\\tcontest.tmp"; local 636 const char *fname = "\\\\defer_open_test.dat"; local 718 const char *fname = "\\\\vuid.tst"; local 769 const char *fname = "\\\\readonly.file"; local 1287 const char *fname = "\\\\test.txt"; local 1313 const char *fname = "\\\\iobw.tst"; local 1582 const char *fname = "test.txt"; local 1619 const char *fname = "\\\\test_dir.txt"; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source4/torture/basic/ |
H A D | delete.c | 34 const char *fname, bool expect_it, 45 fname, 89 status = smbcli_qpathinfo(cli->tree, fname, 108 static const char *fname = "\\delete.file"; variable 118 smbcli_setatr(cli1->tree, fname, 0, 0); 119 smbcli_unlink(cli1->tree, fname); 132 fnum1 = smbcli_nt_create_full(cli1->tree, fname, 0, 139 fname, smbcli_errstr(cli1->tree))); 144 fnum1 = smbcli_open(cli1->tree, fname, O_RDWR, DENY_NONE); 146 fname)); 32 check_delete_on_close(struct torture_context *tctx, struct smbcli_state *cli, int fnum, const char *fname, bool expect_it, const char *where) argument [all...] |
H A D | base.c | 126 const char *fname = "\\fdpass.tst"; local 130 smbcli_unlink(cli1->tree, fname); 134 fnum1 = smbcli_open(cli1->tree, fname, O_RDWR|O_CREAT|O_EXCL, DENY_NONE); 137 "open of %s failed (%s)\n", fname, smbcli_errstr(cli1->tree))); 158 smbcli_unlink(cli1->tree, fname); 173 const char *fname = "\\attrib123456789.tst"; local 176 smbcli_unlink(cli->tree, fname); 177 fnum = smbcli_open(cli->tree, fname, 181 if (NT_STATUS_IS_ERR(smbcli_getatr(cli->tree, fname, NULL, NULL, &t))) { 199 if (NT_STATUS_IS_ERR(smbcli_setatr(cli->tree, fname, 232 const char *fname = "\\\\trans2.tst"; local 401 const char *fname = "\\\\tcontest.tmp"; local 636 const char *fname = "\\\\defer_open_test.dat"; local 718 const char *fname = "\\\\vuid.tst"; local 769 const char *fname = "\\\\readonly.file"; local 1287 const char *fname = "\\\\test.txt"; local 1313 const char *fname = "\\\\iobw.tst"; local 1582 const char *fname = "test.txt"; local 1619 const char *fname = "\\\\test_dir.txt"; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.0.25b/source/tdb/tools/ |
H A D | tdbbackup.c | 92 printf("Usage: tdbbackup [options] <fname...>\n\n"); 135 const char *fname = argv[i]; local 138 bak_name = add_suffix(fname, suffix); 141 if (verify_tdb(fname, bak_name) != 0) { 145 if (file_newer(fname, bak_name) && 146 backup_tdb(fname, bak_name, hashsize) != 0) {
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/db-4.8.30/os/ |
H A D | os_fid.c | 20 __os_fileid(env, fname, unique_okay, fidp) 22 const char *fname; 47 RETRY_CHK((stat(CHAR_STAR_CAST fname, &sb)), ret); 49 __db_syserr(env, ret, "stat: %s", fname); 94 (void)strncpy((char *)fidp, fname, DB_FILE_ID_LEN);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/db-4.8.30/os/ |
H A D | os_fid.c | 20 __os_fileid(env, fname, unique_okay, fidp) 22 const char *fname; 47 RETRY_CHK((stat(CHAR_STAR_CAST fname, &sb)), ret); 49 __db_syserr(env, ret, "stat: %s", fname); 94 (void)strncpy((char *)fidp, fname, DB_FILE_ID_LEN);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.0.25b/source/tdb/tools/ |
H A D | tdbbackup.c | 92 printf("Usage: tdbbackup [options] <fname...>\n\n"); 135 const char *fname = argv[i]; local 138 bak_name = add_suffix(fname, suffix); 141 if (verify_tdb(fname, bak_name) != 0) { 145 if (file_newer(fname, bak_name) && 146 backup_tdb(fname, bak_name, hashsize) != 0) {
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/db-4.8.30/os/ |
H A D | os_fid.c | 20 __os_fileid(env, fname, unique_okay, fidp) 22 const char *fname; 47 RETRY_CHK((stat(CHAR_STAR_CAST fname, &sb)), ret); 49 __db_syserr(env, ret, "stat: %s", fname); 94 (void)strncpy((char *)fidp, fname, DB_FILE_ID_LEN);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.0.25b/source/tdb/tools/ |
H A D | tdbbackup.c | 92 printf("Usage: tdbbackup [options] <fname...>\n\n"); 135 const char *fname = argv[i]; local 138 bak_name = add_suffix(fname, suffix); 141 if (verify_tdb(fname, bak_name) != 0) { 145 if (file_newer(fname, bak_name) && 146 backup_tdb(fname, bak_name, hashsize) != 0) {
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.0.25b/source/smbd/ |
H A D | mangle_hash.c | 149 * Input: fname - String containing the name to be tested. 158 static NTSTATUS is_valid_name(const smb_ucs2_t *fname, BOOL allow_wildcards, BOOL only_8_3) argument 164 if (!fname || !*fname) 168 if (strcmp_wa(fname, ".")==0 || strcmp_wa(fname, "..")==0) 172 ret = has_valid_83_chars(fname, allow_wildcards); 177 ret = has_illegal_chars(fname, allow_wildcards); 182 num_ucs2_chars = strlen_w(fname); 183 if (fname[num_ucs2_char 237 is_8_3_w(const smb_ucs2_t *fname, BOOL allow_wildcards) argument 278 is_8_3(const char *fname, BOOL check_case, BOOL allow_wildcards, const struct share_params *p) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.0.25b/source/smbd/ |
H A D | mangle_hash.c | 149 * Input: fname - String containing the name to be tested. 158 static NTSTATUS is_valid_name(const smb_ucs2_t *fname, BOOL allow_wildcards, BOOL only_8_3) argument 164 if (!fname || !*fname) 168 if (strcmp_wa(fname, ".")==0 || strcmp_wa(fname, "..")==0) 172 ret = has_valid_83_chars(fname, allow_wildcards); 177 ret = has_illegal_chars(fname, allow_wildcards); 182 num_ucs2_chars = strlen_w(fname); 183 if (fname[num_ucs2_char 237 is_8_3_w(const smb_ucs2_t *fname, BOOL allow_wildcards) argument 278 is_8_3(const char *fname, BOOL check_case, BOOL allow_wildcards, const struct share_params *p) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.0.25b/source/smbd/ |
H A D | mangle_hash.c | 149 * Input: fname - String containing the name to be tested. 158 static NTSTATUS is_valid_name(const smb_ucs2_t *fname, BOOL allow_wildcards, BOOL only_8_3) argument 164 if (!fname || !*fname) 168 if (strcmp_wa(fname, ".")==0 || strcmp_wa(fname, "..")==0) 172 ret = has_valid_83_chars(fname, allow_wildcards); 177 ret = has_illegal_chars(fname, allow_wildcards); 182 num_ucs2_chars = strlen_w(fname); 183 if (fname[num_ucs2_char 237 is_8_3_w(const smb_ucs2_t *fname, BOOL allow_wildcards) argument 278 is_8_3(const char *fname, BOOL check_case, BOOL allow_wildcards, const struct share_params *p) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/lib/zlib/contrib/untgz/ |
H A D | untgz.c | 98 char *fname; member in struct:attr_item 206 int setfiletime (char *fname,time_t ftime) argument 234 hFile = CreateFile(fname, GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 246 return utime(fname,&settime); 253 void push_attr(struct attr_item **list,char *fname,int mode,time_t time) argument 260 item->fname = strdup(fname); 276 setfiletime(item->fname,item->time); 277 chmod(item->fname,item->mode); 371 int matchname (int arg,int argc,char **argv,char *fname) argument 394 char fname[BLOCKSIZE]; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/zlib/contrib/untgz/ |
H A D | untgz.c | 98 char *fname; member in struct:attr_item 206 int setfiletime (char *fname,time_t ftime) argument 234 hFile = CreateFile(fname, GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 246 return utime(fname,&settime); 253 void push_attr(struct attr_item **list,char *fname,int mode,time_t time) argument 260 item->fname = strdup(fname); 276 setfiletime(item->fname,item->time); 277 chmod(item->fname,item->mode); 371 int matchname (int arg,int argc,char **argv,char *fname) argument 394 char fname[BLOCKSIZE]; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/lib/zlib/contrib/untgz/ |
H A D | untgz.c | 98 char *fname; member in struct:attr_item 206 int setfiletime (char *fname,time_t ftime) argument 234 hFile = CreateFile(fname, GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 246 return utime(fname,&settime); 253 void push_attr(struct attr_item **list,char *fname,int mode,time_t time) argument 260 item->fname = strdup(fname); 276 setfiletime(item->fname,item->time); 277 chmod(item->fname,item->mode); 371 int matchname (int arg,int argc,char **argv,char *fname) argument 394 char fname[BLOCKSIZE]; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/zlib/contrib/untgz/ |
H A D | untgz.c | 98 char *fname; member in struct:attr_item 206 int setfiletime (char *fname,time_t ftime) argument 234 hFile = CreateFile(fname, GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 246 return utime(fname,&settime); 253 void push_attr(struct attr_item **list,char *fname,int mode,time_t time) argument 260 item->fname = strdup(fname); 276 setfiletime(item->fname,item->time); 277 chmod(item->fname,item->mode); 371 int matchname (int arg,int argc,char **argv,char *fname) argument 394 char fname[BLOCKSIZE]; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/lib/zlib/contrib/untgz/ |
H A D | untgz.c | 98 char *fname; member in struct:attr_item 206 int setfiletime (char *fname,time_t ftime) argument 234 hFile = CreateFile(fname, GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 246 return utime(fname,&settime); 253 void push_attr(struct attr_item **list,char *fname,int mode,time_t time) argument 260 item->fname = strdup(fname); 276 setfiletime(item->fname,item->time); 277 chmod(item->fname,item->mode); 371 int matchname (int arg,int argc,char **argv,char *fname) argument 394 char fname[BLOCKSIZE]; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/zlib/contrib/untgz/ |
H A D | untgz.c | 98 char *fname; member in struct:attr_item 206 int setfiletime (char *fname,time_t ftime) argument 234 hFile = CreateFile(fname, GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 246 return utime(fname,&settime); 253 void push_attr(struct attr_item **list,char *fname,int mode,time_t time) argument 260 item->fname = strdup(fname); 276 setfiletime(item->fname,item->time); 277 chmod(item->fname,item->mode); 371 int matchname (int arg,int argc,char **argv,char *fname) argument 394 char fname[BLOCKSIZE]; local [all...] |