HomeSort by relevance Sort by last modified time
    Searched refs:file (Results 151 - 175 of 31893) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/io/
FileMatchersTest.java 6 import java.io.File;
13 private File directory;
14 private File file; field in class:FileMatchersTest
18 directory = File.createTempFile("myDir", "");
22 file = new File(directory, "myFile");
23 file.createNewFile();
28 assertDoesNotMatch("doesn't match existing file", FileMatchers.anExistingDirectory(), file);
    [all...]
  /external/kmod/libkmod/
libkmod-file.c 43 int (*load)(struct kmod_file *file);
44 void (*unload)(struct kmod_file *file);
64 static void xz_uncompress_belch(struct kmod_file *file, lzma_ret ret)
68 ERR(file->ctx, "xz: %s\n", strerror(ENOMEM));
71 ERR(file->ctx, "xz: File format not recognized\n");
74 ERR(file->ctx, "xz: Unsupported compression options\n");
77 ERR(file->ctx, "xz: File is corrupt\n");
80 ERR(file->ctx, "xz: Unexpected end of input\n")
287 struct kmod_file *file = calloc(1, sizeof(struct kmod_file)); local
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
FaultyFileSystem.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
31 private final Set<File> writeFaults = new LinkedHashSet<>();
37 public void setFaulty(File file, boolean faulty) {
39 writeFaults.add(file);
41 writeFaults.remove(file);
45 @Override public Source source(File file) throws FileNotFoundException {
46 return delegate.source(file);
78 private final File file; field in class:FaultyFileSystem.FaultySink
    [all...]
  /external/libmtp/examples/
files.c 2 * \file files.c
26 static void dump_fileinfo(LIBMTP_file_t *file)
28 printf("File ID: %u\n", file->item_id);
29 if (file->filename != NULL)
30 printf(" Filename: %s\n", file->filename);
33 if (file->filesize == (uint32_t) -1) {
34 printf(" None. (abstract file, size = -1)\n");
37 printf(" File size %llu (0x%016I64X) bytes\n", file->filesize, file->filesize)
62 LIBMTP_file_t *file, *tmp; local
    [all...]
  /external/libpng/contrib/tools/
chkfmt 16 # -e: spawn an editor for each file that needs a change ($EDITOR must be
40 # Function to edit a single file - if the file isn't changed ask the user
44 cp "$file" "$file".orig
45 "$EDITOR" "$file" 0>&3 1>&4 2>&5 3>&- 4>&- 5>&- || exit 1
46 if cmp -s "$file".orig "$file"
48 rm "$file".orig
49 echo -n "$file: file not changed, type anything to continue: " >&
    [all...]
  /bionic/libc/bionic/
assert.cpp 35 void __assert(const char* file, int line, const char* failed_expression) {
36 async_safe_fatal("%s:%d: assertion \"%s\" failed", file, line, failed_expression);
39 void __assert2(const char* file, int line, const char* function, const char* failed_expression) {
40 async_safe_fatal("%s:%d: %s: assertion \"%s\" failed", file, line, function, failed_expression);
  /device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3399/drivers/pmu/
pmu_fw.c 8 #define _INCBIN(file, sym) \
15 ".incbin \"" #file "\"\n" \
21 #define INCBIN(file, sym) _INCBIN(file, sym)
  /external/brotli/tests/
roundtrip_test.sh 19 for file in $INPUTS; do
21 echo "Roundtrip testing $file at quality $quality"
22 compressed=${TMP_DIR}/${file##*/}.br
23 uncompressed=${TMP_DIR}/${file##*/}.unbr
24 $BROTLI -fq $quality $file -o $compressed
26 diff -q $file $uncompressed
28 cat $file | $BROTLI -cq $quality | $BROTLI -cd >$uncompressed
29 diff -q $file $uncompressed
  /external/clang/bindings/python/tests/cindex/
test_file.py 1 from clang.cindex import Index, File
6 file = File.from_name(tu, "t.c")
7 assert str(file) == "t.c"
8 assert file.name == "t.c"
9 assert repr(file) == "<File: t.c>"
  /external/eigen/cmake/
EigenUninstall.cmake 2 # CMake Template file for uninstallation of files
13 file(STRINGS ${MANIFEST} files)
14 foreach(file ${files})
15 if(EXISTS ${file})
16 message(STATUS "Removing file: '${file}'")
19 COMMAND ${CMAKE_COMMAND} -E remove ${file}
25 message(FATAL_ERROR "Failed to remove file: '${file}'.")
28 message(STATUS "File '${file}' does not exist."
    [all...]
  /external/jcommander/src/test/java/com/beust/jcommander/
ArgsRequiredWrongMain.java 5 public String[] file; field in class:ArgsRequiredWrongMain
  /external/llvm/test/MC/ELF/
file-double.s 5 .file "foo.c"
6 .file "bar.c"
18 // CHECK-NEXT: Type: File
26 // CHECK-NEXT: Type: File
  /external/ltp/include/
safe_stdio_fn.h 23 FILE *safe_fopen(const char *file, const int lineno, void (cleanup_fn)(void),
26 int safe_fclose(const char *file, const int lineno, void (cleanup_fn)(void),
27 FILE *f);
29 int safe_asprintf(const char *file, const int lineno, void (cleanup_fn)(void),
32 FILE *safe_popen(const char *file, const int lineno, void (cleanup_fn)(void),
  /external/ltp/testcases/kernel/fs/racer/
fs_racer_file_rm.sh 26 file=$(($RANDOM%$MAX))
27 rm -rf $DIR/$file 2> /dev/null
  /external/proguard/src/proguard/
FileWordReader.java 28 * 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
39 super(new LineNumberReader(new BufferedReader(new FileReader(file))),
40 "file '" + file.getPath() + "'",
41 file.getParentFile()
52 "file '" + url.toString() + "'",
  /external/selinux/libsepol/tests/policies/test-deps/
modreq-bool-global.conf 5 class file { read write };
14 allow a_t b_t : file { read write };
modreq-type-global.conf 5 class file { read write };
12 allow test_t type_req_t : file { read write };
modreq-type-opt.conf 5 class file { read write };
15 allow type_req_t file_t : file { read write };
  /external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/internal/
ProgressListener.java 27 import java.io.File;
33 public void onDirectory(File file);
35 public void onFileAddition(File file);
39 public void onFileScan(File file);
41 public void onInplaceConversion(File file);
  /external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/internal/
NopProgressListener.java 27 import java.io.File;
33 public void onDirectory(File file) {
39 public void onFileAddition(File file) {
42 public void onFileScan(File file) {
45 public void onInplaceConversion(File file) {
  /external/swiftshader/src/Common/
Debug.cpp 4 // you may not use this file except in compliance with the License.
24 FILE *file = fopen("debug.txt", "a"); local
26 if(file)
30 vfprintf(file, format, vararg);
33 fclose(file);
  /external/webrtc/webrtc/base/
posix.h 5 * 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.
21 bool RunAsDaemon(const char *file, const char *const argv[]);
  /frameworks/wilhelm/src/
assert.cpp 5 * you may not use this file except in compliance with the License.
24 void __assert(const char *file, int line, const char *failedexpr)
26 LOG_ALWAYS_FATAL("assertion \"%s\" failed: file \"%s\", line %d", failedexpr, file, line);
30 void __assert2(const char *file, int line, const char *func, const char *failedexpr)
32 LOG_ALWAYS_FATAL("assertion \"%s\" failed: file \"%s\", line %d, function \"%s\"",
33 failedexpr, file, line, func);
  /libcore/luni/src/test/java/libcore/java/io/
OldAndroidFileTest.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
23 * Checks creation and deletion of a file.
28 File file = File.createTempFile(String.valueOf(System.currentTimeMillis()), null, null); local
30 assertTrue(file.exists());
31 assertTrue(file.delete());
32 assertFalse(file.exists());
  /libcore/ojluni/src/main/java/java/nio/file/
AccessMode.java 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
26 package java.nio.file;
29 * Defines access modes used to test the accessibility of a file.

Completed in 617 milliseconds

1 2 3 4 5 67 8 91011>>