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

1234567891011>>

/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/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
28 void compilerrt_abort_impl(const char *file, int line, const char *function) { argument
29 panic("%s:%d: abort in %s", file, line, function);
35 extern void __assert_rtn(const char *func, const char *file,
40 void compilerrt_abort_impl(const char *file, int line, const char *function) { argument
41 __assert_rtn(function, file, line, "libcompiler_rt abort");
52 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
27 const char* line, const char* file)
29 fprintf(stderr, format, assertion_expression, line, file);
26 __eprintf(const char* format, const char* assertion_expression, const char* line, const char* file) argument
/external/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
46 fputs(file, stderr);
/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/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);
/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/harfbuzz/src/
H A Dharfbuzz-debug.c10 void Android_Debug(const char* file, int line, argument
/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/llvm/utils/
H A Dclang-parse-diagnostics-file69 file = file_diags.get('main-file') variable
70 print "*** %s ***" % file
/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();
/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/valgrind/main/none/tests/
H A Dmmap_fcntl_bug.c3 * mmap. Feed it a r/w file, such as its own source code. */
19 const char *file = /* argv[1]; */ local
23 if (!file)
24 errx(1, "Usage: %s <normal-file>", argv[0]);
26 fd = open(file, O_RDWR);
28 err(1, "Opening %s", file);
37 err(1, "Locking %s", file);
39 /* If under valgrind, mmap re-opens and closes file, screwing us */
41 err(1, "mmap of %s", file);
/external/webkit/Source/ThirdParty/ANGLE/src/common/
H A Ddebug.cpp4 // found in the LICENSE file.
29 FILE *file = fopen(TRACE_OUTPUT_FILE, "a"); local
31 if (file)
35 vfprintf(file, format, vararg);
38 fclose(file);
/external/webkit/Source/WebCore/fileapi/
H A DFileEntrySync.cpp46 PassRefPtr<File> FileEntrySync::file(ExceptionCode& ec) function in class:WebCore::FileEntrySync
/external/webkit/Source/WebCore/platform/efl/
H A DSharedBufferEfl.cpp42 FILE* file; local
49 if (!(file = fopen(filePath.utf8().data(), "rb")))
52 if (fstat(fileno(file), &fileStat)) {
53 fclose(file);
60 fclose(file);
64 fread(result->m_buffer.data(), 1, fileStat.st_size, file);
65 fclose(file);
/external/webkit/Source/WebKit/chromium/src/
H A DWebCommon.cpp38 void failedAssertion(const char* file, int line, const char* function, const char* assertion) argument
40 WTFReportAssertionFailure(file, line, function, assertion);
/external/webkit/Source/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

Completed in 6170 milliseconds

1234567891011>>