Home
last modified time | relevance | path

Searched defs:file (Results 1 – 25 of 3554) sorted by relevance

12345678910>>...143

/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DAttributeServiceTest.java71 File file = Directory.create(0); in testSetInitialAttributes() local
84 File file = Directory.create(0); in testGetAttribute() local
96 File file = Directory.create(0); in testGetAttribute_fromInheritedProvider() local
104 File file = Directory.create(0); in testGetAttribute_failsForAttributesNotDefinedByProvider() local
121 File file = Directory.create(0); in testSetAttribute() local
131 File file = Directory.create(0); in testSetAttribute_forInheritedProvider() local
140 File file = Directory.create(0); in testSetAttribute_withAlternateAcceptedType() local
150 File file = Directory.create(0); in testSetAttribute_onCreate() local
157 File file = Directory.create(0); in testSetAttribute_failsForAttributesNotDefinedByProvider() local
178 File file = Directory.create(0); in testSetAttribute_failsForArgumentThatIsNotOfCorrectType() local
[all …]
DFileTest.java40 File file = RegularFile.create(0, new HeapDisk(10, 10, 10)); in testAttributes() local
60 File file = regularFile(0); in testFileBasics() local
68 File file = Directory.create(0); in testDirectory() local
76 File file = regularFile(10); in testRegularFile() local
84 File file = SymbolicLink.create(0, fakePath()); in testSymbolicLink() local
92 Directory file = Directory.createRoot(0, Name.simple("/")); in testRootDirectory() local
101 File file = regularFile(0); in testLinkAndUnlink() local
/external/protobuf/src/google/protobuf/
Ddescriptor_database_unittest.cc103 virtual bool AddToDatabase(const FileDescriptorProto& file) { in AddToDatabase()
121 virtual bool AddToDatabase(const FileDescriptorProto& file) { in AddToDatabase()
142 virtual bool AddToDatabase(const FileDescriptorProto& file) { in AddToDatabase()
186 FileDescriptorProto file; in TEST_P() local
193 FileDescriptorProto file; in TEST_P() local
201 FileDescriptorProto file; in TEST_P() local
230 FileDescriptorProto file; in TEST_P() local
237 FileDescriptorProto file; in TEST_P() local
248 FileDescriptorProto file; in TEST_P() local
255 FileDescriptorProto file; in TEST_P() local
[all …]
/external/dagger2/javatests/dagger/internal/codegen/
DInjectConstructorFactoryGeneratorTest.java69 JavaFileObject file = JavaFileObjects.forSourceLines("test.PrivateConstructor", in injectOnPrivateConstructor() local
86 JavaFileObject file = JavaFileObjects.forSourceLines("test.OuterClass", in injectConstructorOnInnerClass() local
107 JavaFileObject file = JavaFileObjects.forSourceLines("test.AbstractClass", in injectConstructorOnAbstractClass() local
124 JavaFileObject file = JavaFileObjects.forSourceLines("test.GenericClass", in injectConstructorOnGenericClass() local
169 JavaFileObject file = JavaFileObjects.forSourceLines("test.GenericClass", in fieldAndMethodGenerics() local
226 JavaFileObject file = JavaFileObjects.forSourceLines("test.GenericClass", in genericClassWithNoDependencies() local
270 JavaFileObject file = JavaFileObjects.forSourceLines("test.GenericClass", in twoGenericTypes() local
319 JavaFileObject file = JavaFileObjects.forSourceLines("test.GenericClass", in boundedGenerics() local
384 JavaFileObject file = JavaFileObjects.forSourceLines("test.GenericClass", in multipleSameTypesWithGenericsAndQualifiersAndLazies() local
541 JavaFileObject file = JavaFileObjects.forSourceLines("test.TooManyInjectConstructors", in multipleInjectConstructors() local
[all …]
/external/python/cpython3/Python/
Ddynamic_annotations.c48 void AnnotateRWLockCreate(const char *file, int line, in AnnotateRWLockCreate()
50 void AnnotateRWLockDestroy(const char *file, int line, in AnnotateRWLockDestroy()
52 void AnnotateRWLockAcquired(const char *file, int line, in AnnotateRWLockAcquired()
54 void AnnotateRWLockReleased(const char *file, int line, in AnnotateRWLockReleased()
56 void AnnotateBarrierInit(const char *file, int line, in AnnotateBarrierInit()
59 void AnnotateBarrierWaitBefore(const char *file, int line, in AnnotateBarrierWaitBefore()
61 void AnnotateBarrierWaitAfter(const char *file, int line, in AnnotateBarrierWaitAfter()
63 void AnnotateBarrierDestroy(const char *file, int line, in AnnotateBarrierDestroy()
66 void AnnotateCondVarWait(const char *file, int line, in AnnotateCondVarWait()
69 void AnnotateCondVarSignal(const char *file, int line, in AnnotateCondVarSignal()
[all …]
/external/guava/guava/src/com/google/common/io/
DFiles.java86 public static BufferedReader newReader(File file, Charset charset) throws FileNotFoundException { in newReader()
105 public static BufferedWriter newWriter(File file, Charset charset) throws FileNotFoundException { in newWriter()
116 public static ByteSource asByteSource(File file) { in asByteSource()
122 private final File file; field in Files.FileByteSource
124 private FileByteSource(File file) { in FileByteSource()
177 public static ByteSink asByteSink(File file, FileWriteMode... modes) { in asByteSink()
183 private final File file; field in Files.FileByteSink
186 private FileByteSink(File file, FileWriteMode... modes) { in FileByteSink()
208 public static CharSource asCharSource(File file, Charset charset) { in asCharSource()
220 public static CharSink asCharSink(File file, Charset charset, FileWriteMode... modes) { in asCharSink()
[all …]
/external/guava/android/guava/src/com/google/common/io/
DFiles.java86 public static BufferedReader newReader(File file, Charset charset) throws FileNotFoundException { in newReader()
105 public static BufferedWriter newWriter(File file, Charset charset) throws FileNotFoundException { in newWriter()
116 public static ByteSource asByteSource(File file) { in asByteSource()
122 private final File file; field in Files.FileByteSource
124 private FileByteSource(File file) { in FileByteSource()
177 public static ByteSink asByteSink(File file, FileWriteMode... modes) { in asByteSink()
183 private final File file; field in Files.FileByteSink
186 private FileByteSink(File file, FileWriteMode... modes) { in FileByteSink()
208 public static CharSource asCharSource(File file, Charset charset) { in asCharSource()
220 public static CharSink asCharSink(File file, Charset charset, FileWriteMode... modes) { in asCharSink()
[all …]
/external/autotest/client/profilers/powertop/src/
Dmisctips.c37 FILE *file; in set_laptop_mode() local
47 FILE *file; in suggest_laptop_mode() local
87 FILE *file; in nmi_watchdog_off() local
96 FILE *file; in suggest_nmi_watchdog() local
118 FILE *file; in suggest_hpet() local
144 FILE *file; in ac97_power_on() local
161 FILE *file; in suggest_ac97_powersave() local
186 FILE *file; in suggest_noatime() local
210 FILE *file; in powersched_on() local
220 FILE *file; in suggest_powersched() local
[all …]
/external/auto/factory/src/test/java/com/google/auto/factory/processor/
DAutoFactoryProcessorTest.java190 JavaFileObject file = JavaFileObjects.forResource("bad/MixedFinals.java"); in failsWithMixedFinals() local
204 JavaFileObject file = JavaFileObjects.forResource("bad/ProvidedButNoAutoFactory.java"); in providedButNoAutoFactory() local
215 JavaFileObject file = JavaFileObjects.forResource("bad/ProvidedOnMethodParameter.java"); in providedOnMethodParameter() local
226 JavaFileObject file = JavaFileObjects.forResource("bad/InvalidCustomName.java"); in invalidCustomName() local
245 JavaFileObject file = in factoryExtendingAbstractClass_withConstructorParams() local
259 JavaFileObject file = JavaFileObjects.forResource( in factoryExtendingAbstractClass_multipleConstructors() local
268 JavaFileObject file = JavaFileObjects.forResource("bad/InterfaceSupertype.java"); in factoryExtendingInterface() local
279 JavaFileObject file = JavaFileObjects.forResource("bad/EnumSupertype.java"); in factoryExtendingEnum() local
291 JavaFileObject file = JavaFileObjects.forResource("bad/FinalSupertype.java"); in factoryExtendingFinalClass() local
302 JavaFileObject file = in factoryImplementingGenericInterfaceExtension() local
[all …]
/external/rust/crates/tokio/tests/
Dfs_file_mocked.rs28 mod file; module
78 let mut file = File::from_std(file); in open_read() localVariable
104 let mut file = File::from_std(file); in read_twice_before_dispatch() localVariable
126 let mut file = File::from_std(file); in read_with_smaller_buf() localVariable
159 let mut file = File::from_std(file); in read_with_bigger_buf() localVariable
200 let mut file = File::from_std(file); in read_err_then_read_success() localVariable
231 let mut file = File::from_std(file); in open_write() localVariable
254 let mut file = File::from_std(file); in flush_while_idle() localVariable
281 let mut file = File::from_std(file); in read_with_buffer_larger_than_max() localVariable
324 let mut file = File::from_std(file); in write_with_buffer_larger_than_max() localVariable
[all …]
Dfs_file.rs18 let mut file = File::open(tempfile.path()).await.unwrap(); in basic_read() localVariable
31 let mut file = File::create(tempfile.path()).await.unwrap(); in basic_write() localVariable
36 let file = std::fs::read(tempfile.path()).unwrap(); in basic_write() localVariable
44 let mut file = File::create(tempfile.path()).await.unwrap(); in basic_write_and_shutdown() localVariable
49 let file = std::fs::read(tempfile.path()).unwrap(); in basic_write_and_shutdown() localVariable
59 let mut file = File::open(tempfile.path()).await.unwrap(); in coop() localVariable
88 let file = File::create(tempfile.path()).await.unwrap(); in unix_fd() localVariable
98 let file = File::create(tempfile.path()).await.unwrap(); in windows_handle() localVariable
/external/OpenCSD/decoder/tests/snapshots-ete/001-ack_test/
Dcpu_0.ini14 file=bindir/code_91_0_exec key
19 file=bindir/code_107_0_exec key
24 file=bindir/OTHERS_exec key
29 file=bindir/code_42_0_exec key
34 file=bindir/code_18_0_exec key
39 file=bindir/code_83_0_exec key
44 file=bindir/code_92_0_exec key
49 file=bindir/code_113_0_exec key
54 file=bindir/code_38_0_exec key
59 file=bindir/code_123_0_exec key
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DFaultyFileSystem.java37 public void setFaulty(File file, boolean faulty) { in setFaulty()
45 @Override public Source source(File file) throws FileNotFoundException { in source()
49 @Override public Sink sink(File file) throws FileNotFoundException { in sink()
53 @Override public Sink appendingSink(File file) throws FileNotFoundException { in appendingSink()
57 @Override public void delete(File file) throws IOException { in delete()
61 @Override public boolean exists(File file) throws IOException { in exists()
65 @Override public long size(File file) { in size()
78 private final File file; field in FaultyFileSystem.FaultySink
80 public FaultySink(Sink delegate, File file) { in FaultySink()
/external/sonic/
Dwave.c30 waveFile file, in writeBytes()
49 waveFile file, in writeString()
57 waveFile file, in writeInt()
72 waveFile file, in writeShort()
87 waveFile file, in readBytes()
99 waveFile file, in readExactBytes()
117 waveFile file) in readInt()
132 waveFile file) in readShort()
147 waveFile file, in expectString()
168 waveFile file, in writeHeader()
[all …]
/external/ltp/lib/
Dsafe_macros.c21 char *safe_basename(const char *file, const int lineno, in safe_basename()
37 safe_chdir(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_chdir()
53 safe_close(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_close()
69 safe_creat(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_creat()
84 char *safe_dirname(const char *file, const int lineno, in safe_dirname()
99 char *safe_getcwd(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_getcwd()
114 struct passwd *safe_getpwnam(const char *file, const int lineno, in safe_getpwnam()
130 safe_getrusage(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_getrusage()
145 void *safe_malloc(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_malloc()
160 int safe_mkdir(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_mkdir()
[all …]
/external/clang/tools/scan-build-py/tests/functional/exec/
Dmain.c61 void expected_out(const char *file) { in expected_out()
74 void create_source(char *file) { in create_source()
115 char *const file = "execv.c"; in call_execv() local
128 char *const file = "execve.c"; in call_execve() local
142 char *const file = "execvp.c"; in call_execvp() local
155 char *const file = "execv_p.c"; in call_execvP() local
168 char *const file = "execvpe.c"; in call_execvpe() local
182 char *const file = "exect.c"; in call_exect() local
196 char *const file = "execl.c"; in call_execl() local
208 char *const file = "execlp.c"; in call_execlp() local
[all …]
/external/llvm-project/clang/tools/scan-build-py/tests/functional/exec/
Dmain.c60 void expected_out(const char *file) { in expected_out()
73 void create_source(char *file) { in create_source()
114 char *const file = "execv.c"; in call_execv() local
127 char *const file = "execve.c"; in call_execve() local
141 char *const file = "execvp.c"; in call_execvp() local
154 char *const file = "execv_p.c"; in call_execvP() local
167 char *const file = "execvpe.c"; in call_execvpe() local
181 char *const file = "exect.c"; in call_exect() local
195 char *const file = "execl.c"; in call_execl() local
207 char *const file = "execlp.c"; in call_execlp() local
[all …]
/external/libchrome/base/files/
Dfile_unittest.cc28 File file; in TEST() local
39 File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); in TEST() local
47 File file(file_path, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_READ); in TEST() local
55 File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); in TEST() local
67 File file; in TEST() local
80 File file(file_path, base::File::FLAG_CREATE | base::File::FLAG_READ); in TEST() local
89 File file(file_path, in TEST() local
99 File file(file_path, in TEST() local
114 File file(file_path, in TEST() local
126 File file(file_path, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_ASYNC); in TEST() local
[all …]
/external/okio/okio/src/jvmTest/kotlin/okio/
DOkioKotlinTest.kt50 val file = temp.newFile() in fileSink() constant
57 val file = temp.newFile() in fileAppendingSink() constant
66 val file = temp.newFile() in fileSource() constant
75 val file = temp.newFile() in pathSink() constant
82 val file = temp.newFile() in pathSinkWithOptions() constant
90 val file = temp.newFile() in pathSource() constant
101 val file = File(folder, "new.txt") in pathSourceWithOptions() constant
/external/clang/tools/scan-build-py/tests/functional/src/compilation_database/
Dbuild_broken.json.in5 "file": "${path}/main.c" string
11 "file": "${path}/broken-one.c" string
17 "file": "${path}/broken-two.c" string
23 "file": "${path}/clean-one.c" string
29 "file": "${path}/clean-two.c" string
35 "file": "${path}/emit-one.c" string
41 "file": "${path}/emit-two.c" string
/external/llvm-project/clang/tools/scan-build-py/tests/functional/src/compilation_database/
Dbuild_broken.json.in5 "file": "${path}/main.c" string
11 "file": "${path}/broken-one.c" string
17 "file": "${path}/broken-two.c" string
23 "file": "${path}/clean-one.c" string
29 "file": "${path}/clean-two.c" string
35 "file": "${path}/emit-one.c" string
41 "file": "${path}/emit-two.c" string
/external/kmod/libkmod/
Dlibkmod-file.c70 static int zstd_read_block(struct kmod_file *file, size_t block_size, in zstd_read_block()
117 static int zstd_decompress_block(struct kmod_file *file, ZSTD_DStream *dstr, in zstd_decompress_block()
148 static int load_zstd(struct kmod_file *file) in load_zstd()
194 static void unload_zstd(struct kmod_file *file) in unload_zstd()
205 static void xz_uncompress_belch(struct kmod_file *file, lzma_ret ret) in xz_uncompress_belch()
229 static int xz_uncompress(lzma_stream *strm, struct kmod_file *file) in xz_uncompress()
284 static int load_xz(struct kmod_file *file) in load_xz()
303 static void unload_xz(struct kmod_file *file) in unload_xz()
315 static int load_zlib(struct kmod_file *file) in load_zlib()
366 static void unload_zlib(struct kmod_file *file) in unload_zlib()
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/
DFileSystem.java106 Source source(File file) throws FileNotFoundException; in source()
112 Sink sink(File file) throws FileNotFoundException; in sink()
118 Sink appendingSink(File file) throws FileNotFoundException; in appendingSink()
121 void delete(File file) throws IOException; in delete()
124 boolean exists(File file) throws IOException; in exists()
127 long size(File file); in size()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/io/
DFileSystem.java108 Source source(File file) throws FileNotFoundException; in source()
114 Sink sink(File file) throws FileNotFoundException; in sink()
120 Sink appendingSink(File file) throws FileNotFoundException; in appendingSink()
123 void delete(File file) throws IOException; in delete()
126 boolean exists(File file) throws IOException; in exists()
129 long size(File file); in size()
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliClassModifierListTest.java46 SmaliFile file = (SmaliFile)myFixture.addFileToProject("my/pkg/blah.smali", in testAllClassAccessFlags() local
80 SmaliFile file = (SmaliFile)myFixture.addFileToProject("my/pkg/blah.smali", in testNoClassAccessFlags() local
107 final SmaliFile file = (SmaliFile)myFixture.addFileToProject("my/pkg/blah.smali", in testAddClassAccessFlag() local
124 final SmaliFile file = (SmaliFile)myFixture.addFileToProject("my/pkg/blah.smali", in testRemoveClassAccessFlag() local
141 final SmaliFile file = (SmaliFile)myFixture.addFileToProject("my/pkg/blah.smali", in testBasicAnnotation() local
160 final SmaliFile file = (SmaliFile)myFixture.addFileToProject("my/pkg/blah.smali", in testNoAnnotation() local
177 final SmaliFile file = (SmaliFile)myFixture.addFileToProject("my/pkg/blah.smali", in testFindAnnotation() local

12345678910>>...143