Searched defs:file (Results 1 - 25 of 164) sorted by relevance

1234567

/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Main/
H A Dassert.c1 /** @file
31 @param[in] file The name of the file containing the assert.
43 IN const char *file,
50 printf("Assertion failed: (%s), file %s, line %d.\n",
51 failedexpr, file, line);
53 printf("Assertion failed: (%s), file %s, function %s, line %d.\n",
54 failedexpr, file, func, line);
42 __assert( IN const char *file, IN const char *func, IN int line, IN const char *failedexpr ) argument
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Stdio/
H A Dremove.c1 /** @file
57 remove(const char *file) argument
61 _DIAGASSERT(file != NULL);
63 if (lstat(file, &sb) < 0)
67 * The file system may prohibit using unlink(2) on directories,
71 return (rmdir(file));
73 return (unlink(file));
H A Dfopen.c1 /** @file
60 fopen(const char *file, const char *mode) argument
66 _DIAGASSERT(file != NULL);
71 if ((f = open(file, oflags, DEFFILEMODE)) < 0)
99 * the file extends, this will fail, but there is not much
H A Dfreopen.c1 /** @file
63 * Re-direct an existing, open (probably) file to some other file.
64 * ANSI is written such that the original file gets closed if at
68 freopen(const char *file, const char *mode, FILE *fp) argument
73 _DIAGASSERT(file != NULL);
92 * Remember whether the stream was open to begin with, and which file
95 * should work. This is unnecessary if it was not a Unix file.
113 /* Get a new descriptor to refer to the new file. */
114 f = open(file, oflag
[all...]
/vbox/src/libs/xpcom18a4/python/test/
H A Dtest_comfile.py4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
24 # Alternatively, the contents of this file may be used under the terms of
28 # of those above. If you wish to allow use of your version of this file only
30 # use your version of this file under the terms of the MPL, indicate your
33 # the provisions above, a recipient may use your version of this file under
38 """Test the xpcom.file module."""
41 import xpcom.file namespace
45 return suite_from_functions(xpcom.file._TestAll)
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/LzmaCompress/Sdk/C/
H A D7zFile.h27 FILE *file;
36 /* reads max(*size, remain file's size) bytes */
51 CSzFile file; member in struct:__anon10234
60 CSzFile file; member in struct:__anon10235
69 CSzFile file; member in struct:__anon10236
/vbox/src/VBox/HostServices/SharedOpenGL/dlm/
H A Ddlm_error.c12 void crdlmWarning( int line, char *file, GLenum error, char *format, ... ) argument
54 file, line, glerr, errstr );
/vbox/src/VBox/GuestHost/OpenGL/packer/
H A Dpack_error.c4 * See the file LICENSE.txt for information on redistributing this software.
27 void __PackError( int line, const char *file, GLenum error, const char *info) argument
32 pc->Error( line, file, error, info );
69 file, line, glerr, info );
H A Dpack_swap.py4 # See the file LICENSE.txt for information on redistributing this software.
16 file = open(sys.argv[1]) variable
20 for line in file.readlines():
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VfrCompile/Pccts/h/
H A DPBlackBox.h65 FILE *file; member in class:ParserBlackBox
75 , file(0)
80 cerr << "invalid file pointer\n";
85 file = f;
101 , file(0)
111 file = f;
126 fclose(file);
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxFsDxe/test/
H A Dlslr.c2 * \file lslr.c
81 struct fsw_posix_file *file; local
85 file = fsw_posix_open(vol, path, 0, 0);
86 if (file == NULL) {
90 while ((r=fsw_posix_read(file, buf, sizeof(buf))) > 0)
98 fsw_posix_close(file);
109 printf("Usage: lslr <file/device>\n");
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/common/io/
H A Dtst.fds.c4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
48 const char *file = "/dev/null"; local
67 * With all of our file descriptors closed, wait here spinning in bogus
76 * To test the fds[] array, we open /dev/null (a file with reliable
79 fds[n++] = open(file, O_RDONLY);
80 fds[n++] = open(file, O_WRONLY);
81 fds[n++] = open(file, O_RDW
[all...]
/vbox/src/VBox/GuestHost/OpenGL/state_tracker/
H A Dstate_error.c4 * See the file LICENSE.txt for information on redistributing this software.
15 void crStateError( int line, const char *file, GLenum error, const char *format, ... ) argument
66 file, line, glerr, errstr );
/vbox/src/VBox/Additions/x11/x11include/libdrm-2.4.13/
H A Dradeon_track.h35 char *file; member in struct:radeon_track_event
53 const char *file,
62 FILE *file);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/cplus/
H A Drcfileio.h5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with
24 * Alternatively, the contents of this file may be used under the terms of
28 * of those above. If you wish to allow use of your version of this file only
30 * use your version of this file under the terms of the MPL, indicate your
33 * the provisions above, a recipient may use your version of this file under
39 ** Class definitions for normal and special file I/O (ref: prio.h)
118 ** The following function return a valid normal file object,
135 file = PR_FILE_FILE, enumerator in enum:__anon17206
H A Drcio.h5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with
24 * Alternatively, the contents of this file may be used under the terms of
28 * of those above. If you wish to allow use of your version of this file only
30 * use your version of this file under the terms of the MPL, indicate your
33 * the provisions above, a recipient may use your version of this file under
61 open = PR_TRANSMITFILE_KEEP_OPEN, /* socket is left open after file
63 close = PR_TRANSMITFILE_CLOSE_SOCKET/* socket is closed after file
128 file = PR_DESC_FILE, enumerator in enum:__anon17211
/vbox/src/libs/xpcom18a4/xpcom/tests/
H A DnsIFileEnumerator.cpp14 PRBool LoopInDir(nsILocalFile* file) argument
18 rv = file->GetDirectoryEntries(getter_AddRefs(entries));
30 nsCOMPtr<nsILocalFile> file = do_QueryInterface(sup);
31 if(!file)
35 if(NS_FAILED(file->GetNativeLeafName(name)))
40 rv = file->IsDirectory(&isDir);
49 nsCOMPtr<nsILocalFile> lfile = do_QueryInterface(file);
H A DRegFactory.cpp5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with
24 * Alternatively, the contents of this file may be used under the terms of
28 * of those above. If you wish to allow use of your version of this file only
30 * use your version of this file under the terms of the MPL, indicate your
33 * the provisions above, a recipient may use your version of this file under
72 nsCOMPtr<nsILocalFile> file; local
77 getter_AddRefs(file));
79 rv = registrar->AutoRegister(file);
/vbox/src/VBox/HostServices/SharedFolders/
H A Dshflhandle.h1 /** @file
10 * This file is part of VirtualBox Open Source Edition (OSE), as
11 * available from http://www.virtualbox.org. This file is free software;
14 * Foundation, in version 2 as it comes in the "COPYING" file of the
51 } file; member in union:_SHFLFILEHANDLE::__anon16448
56 PRTDIRENTRYEX pLastValidEntry; /* last found file in a directory search */
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dfsync.c5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with
24 * Alternatively, the contents of this file may be used under the terms of
28 * of those above. If you wish to allow use of your version of this file only
30 * use your version of this file under the terms of the MPL, indicate your
33 * the provisions above, a recipient may use your version of this file under
52 PR_fprintf(err, "\t-S Sync the file (default: FALSE)\n");
53 PR_fprintf(err, "\t-K Size of file (K bytes) (default: 10)\n");
54 PR_fprintf(err, "\t Name of file to write (default: /usr/tmp/sync.dat)\n");
63 PRFileDesc *file local
[all...]
H A Dlazyinit.c5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with
24 * Alternatively, the contents of this file may be used under the terms of
28 * of those above. If you wish to allow use of your version of this file only
30 * use your version of this file under the terms of the MPL, indicate your
33 * the provisions above, a recipient may use your version of this file under
81 PRFileDesc *file, *udp, *tcp, *pair[2]; local
104 case 3: file = PR_Open("/usr/tmp/", PR_RDONLY, 0);
H A Dmbcs.c5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with
24 * Alternatively, the contents of this file may be used under the terms of
28 * of those above. If you wish to allow use of your version of this file only
30 * use your version of this file under the terms of the MPL, indicate your
33 * the provisions above, a recipient may use your version of this file under
98 char file[256]; local
108 sprintf( file, "%s/%s", dir, dirEntry->name );
109 rc = PR_GetFileInfo( file, &info );
111 printf("PR_GetFileInfo() failed on file
[all...]
/vbox/src/libs/zlib-1.2.6/contrib/iostream/
H A Dzfstream.h22 inline int is_open() const { return (file !=NULL); }
35 gzFile file; member in class:gzfilebuf
/vbox/src/apps/tunctl/
H A Dtunctl.c42 char *tun = "", *file = "/dev/net/tun", *name = argv[0], *end; local
54 file = optarg;
98 if((tap_fd = open(file, O_RDWR)) < 0){
99 fprintf(stderr, "Failed to open '%s' : ", file);
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VfrCompile/Pccts/dlg/
H A Dsupport.c44 void internal_error(char *s, char *file,int line) /* MR9 23-Sep-97 */ argument
46 void internal_error(s,file,line) /* MR9 23-Sep-97 */
47 char *s,*file;
51 fprintf(stderr,s,file,line);
56 char *dlg_malloc(int bytes,char *file,int line) argument
58 char *dlg_malloc(bytes,file,line)
60 char *file;
70 file,line);
77 char *dlg_calloc(int n,int bytes,char *file,int line) argument
79 char *dlg_calloc(n,bytes,file,lin
[all...]

Completed in 72 milliseconds

1234567