Searched defs:file (Results 1 - 25 of 1709) 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/base/test/
H A Dtest_file_util_linux.cc3 // found in the LICENSE file.
15 bool EvictFileFromSystemCache(const FilePath& file) { argument
16 int fd = open(file.value().c_str(), O_RDONLY);
H A Dtest_file_util_mac.cc3 // found in the LICENSE file.
14 bool EvictFileFromSystemCache(const FilePath& file) { argument
15 // There aren't any really direct ways to purge a file from the UBC. From
16 // talking with Amit Singh, the safest is to mmap the file with MAP_FILE (the
18 // open should then have to load the file from disk.
21 if (!mapped_file.Initialize(file)) {
22 DLOG(WARNING) << "failed to memory map " << file.value();
28 DLOG(WARNING) << "failed to invalidate memory map of " << file.value()
/external/chromium_org/base/test/
H A Dtest_file_util_linux.cc3 // found in the LICENSE file.
16 bool EvictFileFromSystemCache(const base::FilePath& file) { argument
17 int fd = open(file.value().c_str(), O_RDONLY);
H A Dtest_file_util_mac.cc3 // found in the LICENSE file.
16 bool EvictFileFromSystemCache(const base::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 (!file_util::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/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/compiler-rt/lib/
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");
58 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
29 const char* line, const char* file)
31 fprintf(stderr, format, assertion_expression, line, file);
28 __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/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/chrome/common/safe_browsing/
H A Ddownload_protection_util.cc3 // found in the LICENSE file.
10 bool IsArchiveFile(const base::FilePath& file) { argument
11 return file.MatchesExtension(FILE_PATH_LITERAL(".zip"));
14 bool IsBinaryFile(const base::FilePath& file) { argument
17 file.MatchesExtension(FILE_PATH_LITERAL(".bas")) ||
18 file.MatchesExtension(FILE_PATH_LITERAL(".bat")) ||
19 file.MatchesExtension(FILE_PATH_LITERAL(".cab")) ||
20 file.MatchesExtension(FILE_PATH_LITERAL(".cmd")) ||
21 file.MatchesExtension(FILE_PATH_LITERAL(".com")) ||
22 file
[all...]
/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/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.
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/chromium/third_party/libjingle/source/talk/base/
H A Dchecks.cc35 void Fatal(const char* file, int line, const char* format, ...) { argument
43 LOG(LS_ERROR) << "\n\n#\n# Fatal error in " << 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));
/external/chromium_org/skia/ext/
H A Dgoogle_logging.cc3 // found in the LICENSE file.
5 // This file provides integration with Google-style "base/logging.h" assertions
6 // for Skia SkASSERT. If you don't want this, you can link with another file
13 void SkDebugf_FileLine(const char* file, int line, bool fatal, argument
22 logging::LogMessage(file, line,

Completed in 1472 milliseconds

1234567891011>>