Searched refs:file (Results 1 - 25 of 1033) sorted by relevance

1234567891011>>

/vbox/src/libs/zlib-1.2.6/
H A Dgzclose.c8 /* gzclose() is in a separate file so that it is linked in only if it is used.
11 int ZEXPORT gzclose(file)
12 gzFile file;
17 if (file == NULL)
19 state = (gz_statep)file;
21 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
23 return gzclose_r(file);
/vbox/src/libs/xpcom18a4/xpcom/tests/utils/
H A Dls.js6 var file = Components.classes["@mozilla.org/file/local;1"].
9 file.initWithPath( path );
11 if (file.isDirectory() && arguments.length == 1)
12 ls_dir(file, recur);
14 ls_file(file, recur);
20 function ls_file(file, recur)
25 if (file.isDirectory()) {
26 dump("directory " + file.leafName + "\n");
28 ls_dir(file, tru
[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/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));
/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Dposix_io.c31 /** @file
40 /** An open file */
67 * Free open file
72 struct posix_file *file = local
77 list_for_each_entry_safe ( iobuf, tmp, &file->data, list ) {
81 free ( file );
85 * Terminate file data transfer
87 * @v file POSIX file
90 static void posix_file_finished ( struct posix_file *file, in argument
103 posix_file_xfer_deliver( struct posix_file *file, struct io_buffer *iobuf, struct xfer_metadata *meta ) argument
140 struct posix_file *file; local
172 struct posix_file *file; local
225 struct posix_file *file; local
261 struct posix_file *file; local
307 struct posix_file *file; local
324 struct posix_file *file; local
[all...]
/vbox/src/VBox/Devices/PC/BIOS/
H A Dpci32.c2 /** @file
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
19 #error This file must be compiled as 32-bit!
/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/libs/xpcom18a4/xpcom/typelib/xpidl/
H A Dxpidl_header.c5 * The contents of this file are subject to the Netscape Public License
6 * Version 1.1 (the "License"); you may not use this file except in
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 NPL, indicate your
33 * the provisions above, a recipient may use your version of this file under
64 fprintf(state->file, "/*\n * DO NOT EDIT. THIS FILE IS GENERATED FROM"
66 fprintf(state->file,
74 fputc('\n', state->file);
90 fprintf(state->file,
125 write_classname_iid_define(FILE *file, const char *className) argument
[all...]
H A Dxpidl_java.c3 * The contents of this file are subject to the Mozilla Public
4 * License Version 1.1 (the "License"); you may not use this file
41 write_classname_iid_define(FILE *file, const char *className) argument
46 fputs("NS_", file);
53 fputc(toupper(*iidName++), file);
56 fputs("_IID", file);
88 fprintf(state->file,
102 state->file);
104 fprintf(state->file,
105 " *\n * This file wa
[all...]
/vbox/src/libs/xpcom18a4/xpcom/components/
H A DnsIComponentLoaderManager.idl4 * 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
22 * Alternatively, the contents of this file may be used under the terms of
26 * of those above. If you wish to allow use of your version of this file only
28 * use your version of this file under the terms of the MPL, indicate your
31 * the provisions above, a recipient may use your version of this file under
55 boolean hasFileChanged(in nsIFile file, in string loaderString, in PRInt64 modDate);
56 void saveFileInfo(in nsIFile file, in string loaderString, in PRInt64 modDate);
57 void removeFileInfo(in nsIFile file, in string loaderString);
60 string getOptionalData(in nsIFile file, i
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/interface/efi/
H A Defi_download.c34 /** A single in-progress file */
39 /** Current file position */
57 * @v file Data transfer file
60 static void efi_download_close ( struct efi_download_file *file, int rc ) { argument
62 file->finish_callback ( file->context, RC_TO_EFIRC ( rc ) );
64 intf_shutdown ( &file->xfer, rc );
70 * @v file Data transfer file
75 efi_download_deliver_iob( struct efi_download_file *file, struct io_buffer *iobuf, struct xfer_metadata *meta ) argument
126 struct efi_download_file *file; local
163 struct efi_download_file *file = File; local
[all...]
/vbox/src/VBox/GuestHost/OpenGL/include/state/
H A Dcr_stateerror.h4 * See the file LICENSE.txt for information on redistributing this software.
14 DECLEXPORT(void) crStateError( int line, const char *file, GLenum err, const char *format, ... );
/vbox/src/VBox/Runtime/generic/
H A DRTFileCopy-generic.cpp2 /** @file
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
17 * The contents of this file may alternatively be used under the terms
19 * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
23 * You may elect to license modified versions of this file under the
31 #include <iprt/file.h>
/vbox/src/VBox/Runtime/include/internal/
H A Dfile.h2 /** @file
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
17 * The contents of this file may alternatively be used under the terms
19 * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
23 * You may elect to license modified versions of this file under the
30 #include <iprt/file.h>
/vbox/src/libs/xpcom18a4/ipc/ipcd/extensions/dconnect/test/
H A DTestClient.js5 * 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 * This file contains code that mirrors the code in TestDConnect.cpp:DoTest
64 var file = dcon.createInstanceByContractID(serverID, "@mozilla.org/file/local;1", nsIFile);
66 var localFile = file
[all...]
/vbox/src/libs/zlib-1.2.6/contrib/minizip/
H A Dmztools.h20 /* Repair a ZIP file (missing central directory)
21 file: file to recover
22 fileOut: output file after recovery
23 fileOutTmp: temporary file name used for recovery
25 extern int ZEXPORT unzRepair(const char* file,
H A Dunzip.h110 /* unz_file_info contain information about a file in the zipfile */
117 uLong dosDate; /* last mod file date in Dos fmt 4 bytes */
123 uLong size_file_comment; /* file comment length 2 bytes */
126 uLong internal_fa; /* internal file attributes 2 bytes */
127 uLong external_fa; /* external file attributes 4 bytes */
138 uLong dosDate; /* last mod file date in Dos fmt 4 bytes */
144 uLong size_file_comment; /* file comment length 2 bytes */
147 uLong internal_fa; /* internal file attributes 2 bytes */
148 uLong external_fa; /* external file attributes 4 bytes */
169 Open a Zip file
[all...]
/vbox/src/libs/xpcom18a4/xpcom/tests/
H A DnsIFileTest.cpp62 void GetPaths(nsILocalFile* file) argument
69 rv = file->GetNativePath(pathName);
77 nsILocalFile* file = nsnull; local
78 nsresult rv = CallCreateInstance(NS_LOCAL_FILE_CONTRACTID, &file);
81 if (NS_FAILED(rv) || (!file))
92 rv = file->InitWithNativePath(nsDependentCString(creationPath));
96 rv = file->GetNativeLeafName(leafName);
101 rv = file->AppendNative(nsDependentCString(appendPath));
105 rv = file->GetNativeLeafName(leafName);
109 GetPaths(file);
128 nsCOMPtr<nsILocalFile> file = local
177 nsCOMPtr<nsILocalFile> file = local
229 nsCOMPtr<nsILocalFile> file = local
263 nsCOMPtr<nsILocalFile> file = local
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dbigfile.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
68 PR_fprintf(output, "\tk\tKeep data file after exit\t(false)\n");
70 PR_fprintf(output, "\t<filename>\tName of test file\t(none)\n");
77 VERBOSE(v_shout, "Checking for existing file");
81 VERBOSE(v_shout, "Deleting existing file");
104 Verbose( Verbosity level, const char *msg, const char *file, PRIntn line) argument
141 PRFileDesc *file = NULL; local
[all...]
/vbox/src/libs/libxml2-2.6.31/
H A Dmissing22 # distribute this file as part of a program that contains a
67 aclocal touch file \`aclocal.m4'
68 autoconf touch file \`configure'
69 autoheader touch file \`config.h.in'
73 help2man touch the output file
75 makeinfo touch the output file
171 file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
172 test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
173 if test -f "$file"; the
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/Include/sys/
H A Dfile.h33 * @(#)file.h 8.3 (Berkeley) 1/9/95
34 * $Id: file.h,v 1.1.1.1 2006/05/30 06:12:53 hhzhou Exp $
55 struct file { struct
56 LIST_ENTRY(file) f_list;/* list of active files */
58 #define DTYPE_VNODE 1 /* file */
67 int (*fo_read) __P((struct file *fp, struct uio *uio,
69 int (*fo_write) __P((struct file *fp, struct uio *uio,
72 int (*fo_ioctl) __P((struct file *fp, u_long com,
74 int (*fo_poll) __P((struct file *fp, int events,
76 int (*fo_close) __P((struct file *f
[all...]
/vbox/src/VBox/GuestHost/OpenGL/packer/
H A Dpacker.h4 * See the file LICENSE.txt for information on redistributing this software.
22 extern void __PackError( int line, const char *file, GLenum error, const char *info );
24 # define __PackError( line, file, error, info) do { AssertReleaseFailed(); } while (0)
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 );
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/common/misc/
H A Dtst.include.ksh4 # 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.
39 file=$1
42 cfile=${TMPDIR:-/tmp}/inc.$$.$file.c
43 cofile=${TMPDIR:-/tmp}/inc.$$.$file
45 #include <sys/$file>
53 #include <sys/$file>
84 # file
[all...]
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/common/ustack/
H A Dtst.depth.ksh4 # 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.
33 file=out.$$
36 rm -f $file
38 $dtrace -o $file -c date -s /dev/stdin <<EOF
72 perl /dev/stdin $file <<EOF
99 count=`wc -l $file | cut -f1 -do`
107 rm -f $file
[all...]

Completed in 145 milliseconds

1234567891011>>