/reactos/modules/rostests/apitests/msvcrt/ |
H A D | splitpath.c | 19 char fname[32]; in START_TEST() local 29 ok_str(fname, "file"); in START_TEST() 44 ok_str(fname, ""); in START_TEST() 63 ok_str(fname, "file"); in START_TEST() 69 ok_str(fname, "file"); in START_TEST() 75 ok_str(fname, "file"); in START_TEST() 89 ok_str(fname, "file"); in START_TEST() 95 ok_str(fname, ".ext"); in START_TEST() 101 ok_str(fname, "file"); in START_TEST() 107 ok_str(fname, ""); in START_TEST() [all …]
|
/reactos/sdk/tools/mkisofs/schilytools/libschily/ |
H A D | checkerr.c | 152 char *fname; member 212 if (ep->fname == NULL) { 229 _errptr(etype, fname) in _errptr() argument 231 const char *fname; 238 if (fname == NULL) { 246 nlen = strlen(fname); 264 errhidden(etype, fname) in errhidden() argument 266 const char *fname; 282 errwarnonly(etype, fname) in errwarnonly() argument 284 const char *fname; [all …]
|
/reactos/modules/rosapps/applications/cmdutils/touch/ |
H A D | touch.c | 280 stime_file(char *fname, time_t *tvp) in stime_file() argument 284 if (stat(fname, &sb)) in stime_file() 285 err(1, "%s", fname); in stime_file() 291 rw(char *fname, struct stat *sbp, int force) in rw() argument 298 warnx("%s: %s", fname, strerror(0)); in rw() 304 if (!force || _chmod(fname, DEFFILEMODE)) in rw() 306 if ((fd = _open(fname, O_RDWR, 0)) == -1) in rw() 321 warn("%s", fname); in rw() 325 warn("%s: file modified", fname); in rw() 331 warn("%s", fname); in rw() [all …]
|
/reactos/modules/rostests/winetests/msvfw32/ |
H A D | mciwnd.c | 112 static BOOL create_avi_file(char *fname) in create_avi_file() argument 126 ret = GetTempFileNameA(temp_path, "mci", 0, fname); in create_avi_file() 130 DeleteFileA(fname); in create_avi_file() 132 lstrcatA(fname, ".avi"); in create_avi_file() 134 hFile = CreateFileA(fname, GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); in create_avi_file() 160 char fname[MAX_PATH]; in test_MCIWndCreate() local 165 create_avi_file(fname); in test_MCIWndCreate() 167 window = MCIWndCreateA(NULL, hinst, MCIWNDF_NOERRORDLG, fname); in test_MCIWndCreate() 180 window = MCIWndCreateA(parent, hinst, MCIWNDF_NOERRORDLG, fname); in test_MCIWndCreate() 197 DeleteFileA(fname); in test_MCIWndCreate()
|
/reactos/sdk/lib/crt/string/ |
H A D | _tsplitpath_x.h | 26 _Out_writes_opt_z_(fname_size) _TCHAR* fname, in _tsplitpath_x() 42 _Pre_maybenull_ _Post_z_ _TCHAR* fname, in _tsplitpath_x() 58 ((fname != NULL) && (fname_size == 0)) || in _tsplitpath_x() 69 if (fname) fname[0] = '\0'; in _tsplitpath_x() 141 if (fname) in _tsplitpath_x() 145 while (src < ext_start && count--) *fname++ = *src++; in _tsplitpath_x() 146 *fname = '\0'; in _tsplitpath_x()
|
/reactos/sdk/tools/log2lines/ |
H A D | image.c | 102 get_ImageBase(char *fname, size_t *ImageBase) in get_ImageBase() argument 113 fr = fopen(fname, "rb"); in get_ImageBase() 116 l2l_dbg(3, "get_ImageBase, cannot open '%s' (%s)\n", fname, strerror(errno)); in get_ImageBase() 123 l2l_dbg(1, "get_ImageBase %s, read error IMAGE_DOS_HEADER (%s)\n", fname, strerror(errno)); in get_ImageBase() 131 l2l_dbg(2, "get_ImageBase %s, MZ header missing\n", fname); in get_ImageBase() 141 l2l_dbg(1, "get_ImageBase %s, read error IMAGE_FILE_HEADER (%s)\n", fname, strerror(errno)); in get_ImageBase() 150 … l2l_dbg(1, "get_ImageBase %s, read error IMAGE_OPTIONAL_HEADER (%s)\n", fname, strerror(errno)); in get_ImageBase() 159 l2l_dbg(2, "get_ImageBase %s, not an IMAGE_NT_OPTIONAL_HDR 32/64 bit\n", fname); in get_ImageBase()
|
/reactos/sdk/lib/crt/stdlib/ |
H A D | makepath.c | 21 void _makepath(char* path, const char* drive, const char* dir, const char* fname, const char* ext) in _makepath() argument 41 if (fname && fname[0]) in _makepath() 43 size_t len = strlen(fname); in _makepath() 44 memmove(p, fname, len); in _makepath()
|
H A D | wmakpath.c | 19 void _wmakepath(wchar_t* path, const wchar_t* drive, const wchar_t* dir, const wchar_t* fname, cons… in _wmakepath() argument 39 if (fname && fname[0]) in _wmakepath() 41 size_t len = strlenW(fname); in _wmakepath() 42 memmove(p, fname, len * sizeof(wchar_t)); in _wmakepath()
|
/reactos/modules/rostests/winetests/winmm/ |
H A D | mmio.c | 62 static void test_mmioDescend(char *fname) in test_mmioDescend() argument 73 hmmio = mmioOpenA(fname, &mmio, MMIO_READ); in test_mmioDescend() 74 if (fname && !hmmio) in test_mmioDescend() 229 static void test_mmioOpen(char *fname) in test_mmioOpen() argument 241 if (fname && !hmmio) in test_mmioOpen() 474 static void test_mmioSetBuffer(char *fname) in test_mmioSetBuffer() argument 486 if (fname && !hmmio) in test_mmioSetBuffer() 1013 char fname[] = "msrle.avi"; in START_TEST() local 1016 test_mmioDescend(fname); in START_TEST() 1018 test_mmioOpen(fname); in START_TEST() [all …]
|
/reactos/dll/win32/advpack/ |
H A D | files.c | 332 DWORD fattrs = GetFileAttributesW(fname); in DELNODE_recurse_dirtree() 344 int fname_len = lstrlenW(fname); in DELNODE_recurse_dirtree() 351 if (fname_len && fname[fname_len-1] != '\\') fname[fname_len++] = '\\'; in DELNODE_recurse_dirtree() 352 lstrcpyW(fname + fname_len, asterisk); in DELNODE_recurse_dirtree() 374 *(fname + fname_len) = '\0'; in DELNODE_recurse_dirtree() 384 if (RemoveDirectoryW(fname)) in DELNODE_recurse_dirtree() 386 if (SetFileAttributesW(fname, FILE_ATTRIBUTE_NORMAL) && RemoveDirectoryW(fname)) in DELNODE_recurse_dirtree() 398 if (DeleteFileW(fname)) in DELNODE_recurse_dirtree() 400 if (SetFileAttributesW(fname, FILE_ATTRIBUTE_NORMAL) && DeleteFileW(fname)) in DELNODE_recurse_dirtree() 451 WCHAR fname[MAX_PATH]; in DelNodeW() local [all …]
|
/reactos/sdk/lib/crt/math/libm_sse2/ |
H A D | _handle_error.c | 35 char *fname, in _handle_error() argument 47 _invoke_matherr(type, fname, arg1, arg2, retval); in _handle_error() 57 char *fname, in _handle_errorf() argument 69 _invoke_matherr(type, fname, arg1, arg2, retval); in _handle_errorf()
|
H A D | libm.h | 29 #define FN_PROTOTYPE(fname) fname argument
|
H A D | libm_new.h | 99 char *fname, 110 char *fname,
|
/reactos/dll/3rdparty/libjpeg/ |
H A D | jmemname.c | 95 select_file_name (char * fname) in select_file_name() argument 102 sprintf(fname, TEMP_FILE_NAME, TEMP_DIRECTORY, next_file_num); in select_file_name() 103 if ((tfile = fopen(fname, READ_BINARY)) == NULL) { in select_file_name() 126 select_file_name (char * fname) in select_file_name() argument 129 sprintf(fname, TEMP_FILE_NAME, TEMP_DIRECTORY, next_file_num); in select_file_name() 130 mktemp(fname); /* make sure file name is unique */ in select_file_name()
|
/reactos/drivers/filesystems/ext2/src/ext3/ |
H A D | htree.c | 571 struct fname { struct 590 struct fname *fname; in free_rb_tree_fname() argument 609 fname = rb_entry(n, struct fname, rb_hash); in free_rb_tree_fname() 611 struct fname * old = fname; in free_rb_tree_fname() 612 fname = fname->next; in free_rb_tree_fname() 658 struct fname * fname, *new_fn; in ext3_htree_store_dirent() local 686 fname = rb_entry(parent, struct fname, rb_hash); in ext3_htree_store_dirent() 747 curr_pos = hash2pos(fname->hash, fname->minor_hash); in call_filldir() 757 fname = fname->next; in call_filldir() 1506 struct fname *fname; in ext3_dx_readdir() local [all …]
|
/reactos/sdk/tools/widl/ |
H A D | parser.l | 137 char *cptr, *fname; variable 142 fname = strchr(cptr, '"'); 143 if(!fname) 145 fname++; 146 cptr = strchr(fname, '"'); 151 input_name = xstrdup(fname); 513 int do_import(char *fname) 522 while (import && strcmp(import->name, fname)) 527 import->name = xstrdup(fname); 533 if (strchr( fname, '/' ) || strchr( fname, '\\' )) [all …]
|
/reactos/dll/win32/userenv/ |
H A D | misc.c | 226 LPSTR *fname; in LoadDynamicImports() local 240 for (fname = Module->Functions; *fname != NULL; fname++) in LoadDynamicImports() 242 *fn = GetProcAddress(DynFuncs->hModule, *fname); in LoadDynamicImports()
|
/reactos/sdk/tools/mkisofs/schilytools/include/schily/ |
H A D | checkerr.h | 86 extern BOOL errhidden __PR((int etype, const char *fname)); 87 extern BOOL errwarnonly __PR((int etype, const char *fname)); 88 extern BOOL errabort __PR((int etype, const char *fname,
|
/reactos/drivers/network/tcpip/lwip/src/apps/tftp/ |
H A D | tftp.c | 136 send_request(const ip_addr_t *addr, u16_t port, u16_t opcode, const char* fname, const char* mode) in send_request() argument 138 size_t fname_length = strlen(fname)+1; in send_request() 149 MEMCPY(payload+2, fname, fname_length); in send_request() 523 tftp_get(void* handle, const ip_addr_t *addr, u16_t port, const char* fname, enum tftp_transfer_mod… in tftp_get() argument 526 LWIP_ERROR("tftp_get: invalid file name", fname != NULL, return ERR_VAL); in tftp_get() 532 return send_request(addr, port, TFTP_RRQ, fname, mode_to_string(mode)); in tftp_get() 536 tftp_put(void* handle, const ip_addr_t *addr, u16_t port, const char* fname, enum tftp_transfer_mod… in tftp_put() argument 539 LWIP_ERROR("tftp_put: invalid file name", fname != NULL, return ERR_VAL); in tftp_put() 545 return send_request(addr, port, TFTP_WRQ, fname, mode_to_string(mode)); in tftp_put()
|
/reactos/base/shell/cmd/ |
H A D | filecomp.c | 39 TCHAR fname[MAX_PATH]; in CompleteFilename() local 127 _tcscpy (fname, file.cFileName); in CompleteFilename() 130 _tcscat (fname, _T("\\")); in CompleteFilename() 134 _tcscpy(maxmatch, fname); in CompleteFilename() 138 for (count = 0; maxmatch[count] && fname[count]; count++) in CompleteFilename() 140 if (tolower(maxmatch[count]) != tolower(fname[count])) in CompleteFilename() 149 fname[count] != _T('\0')) in CompleteFilename() 208 TCHAR fname[MAX_PATH]; in ShowCompletionMatches() local 311 _stprintf (fname, _T("[%s]"), file.cFileName); in ShowCompletionMatches() 313 _tcscpy (fname, file.cFileName); in ShowCompletionMatches() [all …]
|
/reactos/modules/rosapps/applications/net/ncftp/libncftp/ |
H A D | glob.c | 178 char *fname, in UnDosLine() argument 356 char *fname, in UnLslRLine() argument 488 (void) Strncpy(fname, curdir, fnamesize); in UnLslRLine() 568 char fname[256]; in UnLslR() local 640 rc = UnDosLine(line, curdir, curdirlen, fname, sizeof(fname), &ftype, &fsize, &ftime); in UnLslR() 648 fileLen = strlen(fname); in UnLslR() 652 fi.relname = StrDup(fname); in UnLslR() 812 if (len > (sizeof(mlip->fname) - 1)) { in UnMlsT() 816 memcpy(mlip->fname, cp, len); in UnMlsT() 850 fileLen = strlen(mli.fname); in UnMlsD() [all …]
|
/reactos/modules/rosapps/applications/net/ncftp/ncftp/ |
H A D | util.h | 67 char *Path(char *const dst, const size_t siz, const char *const parent, const char *const fname); 68 char *OurDirectoryPath(char *const dst, const size_t siz, const char *const fname); 77 char *OurInstallationPath(char *const dst, const size_t siz, const char *const fname);
|
/reactos/drivers/network/tcpip/lwip/src/include/lwip/apps/ |
H A D | tftp_client.h | 47 err_t tftp_get(void* handle, const ip_addr_t *addr, u16_t port, const char* fname, enum tftp_transf… 48 err_t tftp_put(void* handle, const ip_addr_t *addr, u16_t port, const char* fname, enum tftp_transf…
|
/reactos/dll/directx/wine/d3dcompiler_43/ |
H A D | ppl.l | 1478 void pp_do_include(char *fname, int type) 1485 if(!fname) 1490 if(!strcmp(iep->filename, fname)) 1497 free(fname); 1502 n = strlen(fname); 1507 free(fname); 1512 fname[n-1] = '\0'; 1516 ppy_error("Unable to open include file %s", fname+1); 1517 free(fname); 1521 fname[n-1] = *fname; /* Redo the quotes */ [all …]
|
/reactos/sdk/tools/wpp/ |
H A D | ppl.l | 1577 void pp_do_include(char *fname, int type) 1584 if(!fname) 1589 if(!strcmp(iep->filename, fname)) 1596 free(fname); 1601 n = strlen(fname); 1606 free(fname); 1611 fname[n-1] = '\0'; 1615 ppy_error("Unable to open include file %s", fname+1); 1616 free(fname); 1620 fname[n-1] = *fname; /* Redo the quotes */ [all …]
|