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

1234567891011>>

/external/bison/lib/
H A Dstripslash.c1 /* stripslash.c -- remove redundant trailing slashes from a file name
27 This is useful when using file name completion from a shell that
30 when given a file that ends in "/" (except for the root directory). */
33 strip_trailing_slashes (char *file) argument
35 char *base = base_name (file);
H A Dfopen-safer.c37 fopen_safer (char const *file, char const *mode) argument
39 FILE *fp = fopen (file, mode);
/external/dropbear/libtomcrypt/testprof/
H A Dtest_driver.c3 void run_cmd(int res, int line, char *file, char *cmd) argument
6 fprintf(stderr, "%s (%d)\n%s:%d:%s\n", error_to_string(res), res, file, line, cmd);
/external/elfutils/libdw/
H A Ddwarf_filesrc.c1 /* Find source file information.
23 dwarf_filesrc (Dwarf_Files *file, size_t idx, Dwarf_Word *mtime, argument
26 if (file == NULL || idx >= file->nfiles)
30 *mtime = file->info[idx].mtime;
33 *length = file->info[idx].length;
35 return file->info[idx].name;
/external/e2fsprogs/lib/ext2fs/
H A Dgetsectsize.c8 * This file may be redistributed under the terms of the GNU Public
39 errcode_t ext2fs_get_device_sectsize(const char *file, int *sectsize) argument
44 fd = open64(file, O_RDONLY);
46 fd = open(file, O_RDONLY);
/external/libffi/src/
H A Ddebug.c41 void ffi_assert(char *expr, char *file, int line) argument
43 fprintf(stderr, "ASSERTION FAILURE: %s at %s:%d\n", expr, file, line);
50 void ffi_type_test(ffi_type *a, char *file, int line) argument
52 FFI_ASSERT_AT(a != NULL, file, line);
54 FFI_ASSERT_AT(a->type <= FFI_TYPE_LAST, file, line);
55 FFI_ASSERT_AT(a->type == FFI_TYPE_VOID || a->size > 0, file, line);
56 FFI_ASSERT_AT(a->type == FFI_TYPE_VOID || a->alignment > 0, file, line);
57 FFI_ASSERT_AT(a->type != FFI_TYPE_STRUCT || a->elements != NULL, file, line);
/external/openssl/crypto/x509/
H A Dx509_d2.c83 int X509_STORE_load_locations(X509_STORE *ctx, const char *file, argument
88 if (file != NULL)
92 if (X509_LOOKUP_load_file(lookup,file,X509_FILETYPE_PEM) != 1)
102 if ((path == NULL) && (file == NULL))
/external/oprofile/libutil/
H A Dop_lockfile.c2 * @file op_lockfile.c
6 * @remark Read the file COPYING
22 static pid_t op_read_lock_file(char const * file) argument
27 fp = fopen(file, "r");
42 int op_write_lock_file(char const * file) argument
46 if (op_file_readable(file)) {
47 pid_t pid = op_read_lock_file(file);
51 int err = unlink(file);
52 fprintf(stderr, "Removing stale lock file %s\n",
53 file);
[all...]
/external/proguard/src/proguard/
H A DUpToDateChecker.java120 * Returns the minimum or maximum modification time of the given file or
123 private long lastModified(File file, boolean minimum) argument
126 if (file.isDirectory())
129 File[] files = file.listFiles();
149 // Return the file's modification time.
150 return file.lastModified();
H A DFileWordReader.java28 * A <code>WordReader</code> that returns words from a file or a URL.
39 * Creates a new FileWordReader for the given file.
41 public FileWordReader(File file) throws IOException argument
43 super(file.getParentFile());
45 this.name = file.getPath();
48 new FileReader(file)));
76 return "line " + reader.getLineNumber() + " of file '" + name + "'";
/external/srec/portable/src/
H A DpLastError.c7 * you may not use this file except in compliance with the License. *
23 void printGetLastErrorInternal(const LCHAR* text, char* file, int line) argument
48 pfprintf(PSTDERR, L("[%s:%d] %s: %s\n"), file, line, text, msg);
58 pfprintf(PSTDERR, "[%s:%d] %s, errno = %x\n", file, line, text, err);
/external/webkit/WebKit/mac/Misc/
H A DOldWebAssertions.c29 void WebReportAssertionFailure(const char *file, int line, const char *function, const char *assertion);
30 void WebReportError(const char *file, int line, const char *function, const char *format, ...);
32 void WebReportAssertionFailure(const char *file, int line, const char *function, const char *assertion) argument
36 void WebReportError(const char *file, int line, const char *function, const char *format, ...) argument
/external/bluetooth/bluez/input/
H A Dmain.c38 static GKeyFile *load_config_file(const char *file) argument
45 if (!g_key_file_load_from_file(keyfile, file, 0, &err)) {
46 error("Parsing %s failed: %s", file, err->message);
/external/clearsilver/java-jni/
H A DCSTest.java92 // Now, test reading an HDF file from disk
98 System.out.println("Testing HDF.readFile() for a file that doesn't exist");
255 System.out.println("---- file begin ----\n" + data +
256 "\n---- file end ----\n");
260 private String readFile(File file) throws IOException { argument
261 InputStreamReader fin = new InputStreamReader(new FileInputStream(file),
/external/embunit/src/
H A DTestResult.c61 void TestResult_addFailure(TestResult* self,Test* test,const char* msg,int line,const char* file) argument
65 TestListner_addFailure(self->listener, test, msg, line, file);
/external/emma/ant/ant15/com/vladium/emma/ant/
H A DXFileSet.java19 * a single 'file' attribute
40 // 'file' attribute:
41 public void setFile (final File file) argument
45 super.setFile (file);
51 final File parent = file.getParentFile ();
55 include.setName (file.getName ());
/external/icu4c/test/intltest/
H A Dtextfile.h18 * This class implements access to a text data file located in the
24 * Open a file with the given name, in the given encoding, in the
34 * this file's encoding to Unicode. The EOL character(s) are not
60 FileStream* file; member in class:TextFile
/external/icu4c/tools/gentest/
H A Dgenres32.c8 * file name: genres32.c
53 char file[512]; local
56 uprv_strcpy(file,path);
57 if(file[strlen(file)-1]!=U_FILE_SEP_CHAR) {
58 uprv_strcat(file,U_FILE_SEP_STRING);
60 uprv_strcat(file,"testtable32.txt");
61 out = fopen(file, "w");
62 /*puts(file);*/
65 fprintf(stderr, "%s: Couldn't create resource test file
[all...]
/external/iproute2/include/
H A Ddlfcn.h13 static inline void *dlopen(const char *file, int flag) argument
15 if (file == NULL)
/external/proguard/src/proguard/gui/
H A DExtensionFileFilter.java59 public boolean accept(File file) argument
61 if (file.isDirectory())
66 String fileName = file.getName().toLowerCase();
/external/proguard/src/proguard/io/
H A DDirectoryPump.java27 * This class can read a given file or directory, recursively, applying a given
50 throw new IOException("No such file or directory");
61 private void readFiles(File file, DataEntryReader dataEntryReader) argument
64 // Pass the file data entry to the reader.
65 dataEntryReader.read(new FileDataEntry(directory, file));
67 if (file.isDirectory())
70 File[] files = file.listFiles();
/external/proguard/src/proguard/obfuscate/
H A DObfuscator.java143 System.err.println(" You should adapt your configuration or edit the mapping file.");
403 // Rename the source file attributes, if requested.
422 * Returns whether the given file is actually a file, or just a placeholder
425 private boolean isFile(File file) argument
427 return file.getPath().length() > 0;
/external/proguard/src/proguard/shrink/
H A DShrinker.java163 * Returns whether the given file is actually a file, or just a placeholder
166 private boolean isFile(File file) argument
168 return file.getPath().length() > 0;
/external/skia/src/ports/
H A DSkDebug_android.cpp6 ** you may not use this file except in compliance with the License.
25 void Android_SkDebugf(const char* file, int line, const char* function, argument
/external/webkit/WebKitTools/android/flex-2.5.4a/
H A Dccl.c114 * Writes to the given file a character-class representation of those
119 void list_character_set( file, cset )
120 FILE *file;
125 putc( '[', file );
133 putc( ' ', file );
135 fputs( readable_form( i ), file ); local
142 fprintf( file, "-%s", readable_form( i - 1 ) );
144 putc( ' ', file );
148 putc( ']', file );

Completed in 473 milliseconds

1234567891011>>