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

1234567891011>>

/external/bison/lib/
H A Ddirname.c1 /* dirname.c -- return all but the last element in a file name
32 dir_name (char const *file) argument
34 char *result = mdir_name (file);
H A Dstripslash.c1 /* stripslash.c -- remove redundant trailing slashes from a file name
24 was removed. This is useful when using file name completion from a
31 strip_trailing_slashes (char *file) argument
33 char *base = last_component (file);
37 /* last_component returns "" for file system roots, but we need to turn
40 base = file;
H A Ddirname-lgpl.c1 /* dirname.c -- return all but the last element in a file name
32 dir_len (char const *file) argument
34 size_t prefix_length = FILE_SYSTEM_PREFIX_LEN (file);
40 && ISSLASH (file[prefix_length]))
41 : (ISSLASH (file[0])
43 && ISSLASH (file[1]) && ! ISSLASH (file[2])
48 for (length = last_component (file) - file;
50 if (! ISSLASH (file[lengt
71 mdir_name(char const *file) argument
[all...]
H A Dfopen-safer.c31 fopen_safer (char const *file, char const *mode) argument
33 FILE *fp = fopen (file, mode);
H A Dspawnp.c2 This file is part of the GNU C Library.
27 posix_spawnp (pid_t *pid, const char *file, argument
32 return __spawni (pid, file, file_actions, attrp, argv, envp, 1);
/external/checkpolicy/
H A Dparse_util.c36 int read_source_policy(policydb_t * p, const char *file, const char *progname) argument
38 yyin = fopen(file, "r");
40 fprintf(stderr, "%s: unable to open %s\n", progname, file);
43 set_source_file(file);
62 set_source_file(file);
/external/chromium_org/base/test/
H A Dtest_file_util_linux.cc3 // found in the LICENSE file.
17 bool EvictFileFromSystemCache(const FilePath& file) { argument
18 ScopedFD fd(open(file.value().c_str(), O_RDONLY));
H A Dtest_file_util_mac.cc3 // found in the LICENSE file.
16 bool EvictFileFromSystemCache(const FilePath& file) { argument
17 // There aren't any really direct ways to purge a file from the UBC. From
18 // talking with Amit Singh, the safest is to mmap the file with MAP_FILE (the
20 // open should then have to load the file from disk.
23 if (!GetFileSize(file, &length)) {
24 DLOG(ERROR) << "failed to get size of " << file.value();
28 // When a file is empty, we do not need to evict it from cache.
31 DLOG(WARNING) << "file size is zero, will not attempt to map to memory";
36 if (!mapped_file.Initialize(file)) {
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_mem/memory_manager/
H A Dhmm_dflt_abort.c5 * that can be found in the LICENSE file in the root of the source
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
16 /* The function in this file performs default actions if self-auditing
22 ** to the write system call using file handle number 2.
30 /* Print abort message, file and line. Terminate execution.
32 void hmm_dflt_abort(const char *file, const char *line) { argument
45 fputs(file, stderr);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_eu_debug.c39 static const char *file[] = { local
61 if (hwreg.file == BRW_GENERAL_REGISTER_FILE &&
71 else if (hwreg.file == BRW_GENERAL_REGISTER_FILE &&
79 else if (hwreg.file == BRW_IMMEDIATE_VALUE) {
84 file[hwreg.file],
/external/chromium_org/tools/gn/
H A Dsource_file_type.cc3 // found in the LICENSE file.
10 SourceFileType GetSourceFileType(const SourceFile& file) { argument
11 base::StringPiece extension = FindExtension(&file.value());
/external/compiler-rt/lib/builtins/
H A Dint_util.c5 * This file is dual licensed under the MIT and the University of Illinois Open
14 /* NOTE: The definitions in this file are declared weak because we clients to be
30 void compilerrt_abort_impl(const char *file, int line, const char *function) { argument
31 panic("%s:%d: abort in %s", file, line, function);
37 extern void __assert_rtn(const char *func, const char *file,
44 void compilerrt_abort_impl(const char *file, int line, const char *function) { argument
45 __assert_rtn(function, file, line, "libcompiler_rt abort");
57 void compilerrt_abort_impl(const char *file, int line, const char *function) { argument
H A Deprintf.c5 * This file is dual licensed under the MIT and the University of Illinois Open
30 const char* line, const char* file)
32 fprintf(stderr, format, assertion_expression, line, file);
29 __eprintf(const char* format, const char* assertion_expression, const char* line, const char* file) argument
/external/libvpx/libvpx/vpx_mem/memory_manager/
H A Dhmm_dflt_abort.c5 * that can be found in the LICENSE file in the root of the source
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
16 /* The function in this file performs default actions if self-auditing
22 ** to the write system call using file handle number 2.
30 /* Print abort message, file and line. Terminate execution.
32 void hmm_dflt_abort(const char *file, const char *line) { argument
45 fputs(file, stderr);
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_eu_debug.c39 static const char *file[] = { local
61 if (hwreg.file == BRW_GENERAL_REGISTER_FILE &&
71 else if (hwreg.file == BRW_GENERAL_REGISTER_FILE &&
79 else if (hwreg.file == BRW_IMMEDIATE_VALUE) {
84 file[hwreg.file],
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
H A Dgzclose.c8 /* gzclose() is in a separate file so that it is linked in only if it is used.
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);
11 gzclose( gzFile file) argument
/external/proguard/src/proguard/
H A DFileWordReader.java28 * A <code>WordReader</code> that returns words from a file or a URL.
35 * Creates a new FileWordReader for the given file.
37 public FileWordReader(File file) throws IOException argument
39 super(new LineNumberReader(new BufferedReader(new FileReader(file))),
40 "file '" + file.getPath() + "'",
41 file.getParentFile()
52 "file '" + url.toString() + "'",
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
H A DIdItem.java5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
22 * Representation of a reference to an item inside a Dalvik file.
47 public void addContents(DexFile file) { argument
48 TypeIdsSection typeIds = file.getTypeIds();
H A DMemberIdsSection.java5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
22 * Member (field or method) refs list section of a {@code .dex} file.
29 * Constructs an instance. The file offset is initially unknown.
33 * @param file {@code non-null;} file that this instance is part of
35 public MemberIdsSection(String name, DexFile file) { argument
36 super(name, file, 4);
/external/chromium_org/tools/gyp/test/rules-use-built-dependencies/src/
H A Dmain.cc3 // found in the LICENSE file.
10 FILE* file; local
11 file = fopen(argv[1], "wb");
13 fwrite(output, 1, sizeof(output) - 1, file);
14 fclose(file);
/external/chromium_org/tools/gyp/test/standalone/
H A Dgyptest-standalone.py5 # found in the LICENSE file.
20 # of them reference the gyp file.
22 for file in files:
24 if os.path.splitext(__file__)[0] in file:
26 file = os.path.join(root, file) variable
27 contents = open(file).read()
29 print 'gyp file referenced in generated output: %s' % file
/external/elfutils/0.153/libdw/
H A Ddwarf_filesrc.c1 /* Find source file information.
3 This file is part of Red Hat elfutils.
26 those well defined interfaces identified in the file named EXCEPTION
37 covered by this exception. If you modify this file, you may extend this
38 exception to your version of the file, but you are not obligated to do
41 this file solely under the GPL without exception.
59 dwarf_filesrc (Dwarf_Files *file, size_t idx, Dwarf_Word *mtime, argument
62 if (file == NULL || idx >= file->nfiles)
66 *mtime = file
[all...]
/external/qemu/android/utils/
H A Deintr_wrapper.c17 void android_eintr_wrapper_fatal(const char* file, argument
23 file,
/external/chromium_org/chrome/browser/chromeos/file_manager/
H A Dfile_manager_jstest.cc3 // found in the LICENSE file.
16 // Runs all test functions in |file|, waiting for them to complete.
17 void RunTest(const base::FilePath& file) { argument
19 base::FilePath(FILE_PATH_LITERAL("file_manager/unit_tests")), file);
/external/chromium_org/chrome/browser/
H A Diframe_browsertest.cc3 // found in the LICENSE file.
16 void NavigateAndVerifyTitle(const char* file, const char* page_title) { argument
18 base::FilePath(), base::FilePath().AppendASCII(file));

Completed in 482 milliseconds

1234567891011>>