Home
last modified time | relevance | path

Searched refs:fileManager (Results 1 – 18 of 18) sorted by relevance

/external/auto/value/src/it/functional/src/test/java/com/google/auto/value/
DCompileWithEclipseTest.java98 StandardJavaFileManager fileManager = compiler.getStandardFileManager(null, null, null); in compileWithEclipse() local
108 .addAll(fileManager.getLocation(StandardLocation.PLATFORM_CLASS_PATH)) in compileWithEclipse()
110 fileManager.setLocation(StandardLocation.PLATFORM_CLASS_PATH, bootClassPath); in compileWithEclipse()
113 fileManager.getJavaFileObjectsFromFiles(sources); in compileWithEclipse()
118 compiler.getTask(null, fileManager, null, options, null, sourceFileObjects); in compileWithEclipse()
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DCompilingClassLoader.java138 InMemoryFileManager fileManager = in compileSourceCodeToByteCode() local
154 fileManager, diagnosticListener, options, null, singleton(javaFile)); in compileSourceCodeToByteCode()
169 public InMemoryFileManager(JavaFileManager fileManager) { in InMemoryFileManager() argument
170 super(fileManager); in InMemoryFileManager()
/external/auto/common/src/test/java/com/google/auto/common/
DGeneratedAnnotationsTest.java144 private final StandardJavaFileManager fileManager; field in GeneratedAnnotationsTest.FileManagerInvocationHandler
147 FileManagerInvocationHandler(StandardJavaFileManager fileManager, String packageToMask) { in FileManagerInvocationHandler() argument
148 this.fileManager = fileManager; in FileManagerInvocationHandler()
160 return method.invoke(fileManager, args); in invoke()
DOverridesTest.java550 StandardJavaFileManager fileManager = compiler.getStandardFileManager(null, null, UTF_8); in evaluate() local
557 .addAll(fileManager.getLocation(StandardLocation.PLATFORM_CLASS_PATH)) in evaluate()
559 fileManager.setLocation(StandardLocation.PLATFORM_CLASS_PATH, bootClassPath); in evaluate()
561 Iterable<? extends JavaFileObject> sources = fileManager.getJavaFileObjects(dummySourceFile); in evaluate()
563 compiler.getTask(null, fileManager, null, null, null, sources); in evaluate()
/external/javapoet/src/test/java/com/squareup/javapoet/
DFileReadingTest.java101 StandardJavaFileManager fileManager = compiler.getStandardFileManager(diagnosticCollector, in compileJavaFile() local
103 fileManager.setLocation(StandardLocation.CLASS_OUTPUT, in compileJavaFile()
106 fileManager, in compileJavaFile()
115 ClassLoader loader = fileManager.getClassLoader(StandardLocation.CLASS_OUTPUT); in compileJavaFile()
DTypesEclipseTest.java134 …JavaFileManager fileManager = compiler.getStandardFileManager(diagnosticCollector, Locale.getDefau… in compile() local
137 fileManager, in compile()
/external/grpc-grpc-java/testing-proto/src/test/java/io/grpc/testing/protobuf/
DSimpleServiceTest.java147 StandardJavaFileManager fileManager = compiler.getStandardFileManager(null, null, null); in testRpcMethodAnnotations() local
149 Iterable<? extends JavaFileObject> obs = fileManager.getJavaFileObjects(grpcJavaFile); in testRpcMethodAnnotations()
154 fileManager, in testRpcMethodAnnotations()
162 fileManager.close(); in testRpcMethodAnnotations()
/external/turbine/javatests/com/google/turbine/bytecode/
DClassWriterTest.java74 JavacFileManager fileManager = new JavacFileManager(new Context(), false, UTF_8); in roundTrip() local
75 fileManager.setLocationFromPaths(StandardLocation.CLASS_OUTPUT, ImmutableList.of(out)); in roundTrip()
82 fileManager, in roundTrip()
86 fileManager.getJavaFileObjects(path)); in roundTrip()
/external/webrtc/sdk/objc/api/peerconnection/
DRTCFileLogger.mm59 NSFileManager *fileManager = [NSFileManager defaultManager];
60 if ([fileManager fileExistsAtPath:dirPath isDirectory:&isDir]) {
66 if (![fileManager createDirectoryAtPath:dirPath
/external/turbine/javatests/com/google/turbine/lower/
DIntegrationTestSupport.java550 JavacFileManager fileManager = new JavacFileManager(new Context(), true, UTF_8); in setupJavac() local
551 fileManager.setLocationFromPaths(StandardLocation.CLASS_OUTPUT, ImmutableList.of(out)); in setupJavac()
552 fileManager.setLocationFromPaths(StandardLocation.CLASS_PATH, classpath); in setupJavac()
553 fileManager.setLocationFromPaths(StandardLocation.locationFor("MODULE_PATH"), classpath); in setupJavac()
557 fileManager.setLocationFromPaths( in setupJavac()
563 fileManager, in setupJavac()
567 fileManager.getJavaFileObjectsFromPaths(inputs)); in setupJavac()
/external/walt/ios/WALT/
DMenuController.m85 NSFileManager *fileManager = [NSFileManager defaultManager];
86 NSArray *urls = [fileManager URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask];
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DFormatter.java123 JavacFileManager fileManager = new JavacFileManager(context, true, UTF_8); in format() local
125 fileManager.setLocation(StandardLocation.PLATFORM_CLASS_PATH, ImmutableList.of()); in format()
DRemoveUnusedImports.java206 JavacFileManager fileManager = new JavacFileManager(context, true, UTF_8); in parse() local
208 fileManager.setLocation(StandardLocation.PLATFORM_CLASS_PATH, ImmutableList.of()); in parse()
DStringWrapper.java378 JavacFileManager fileManager = new JavacFileManager(context, true, UTF_8); in parse() local
380 fileManager.setLocation(StandardLocation.PLATFORM_CLASS_PATH, ImmutableList.of()); in parse()
/external/antlr/tool/src/test/java/org/antlr/test/
DBaseTest.java140 StandardJavaFileManager fileManager = in compile() local
144 fileManager.getJavaFileObjectsFromFiles(Arrays.asList(f)); in compile()
150 compiler.getTask(null, fileManager, null, compileOptions, null, in compile()
155 fileManager.close(); in compile()
/external/turbine/javatests/com/google/turbine/processing/
DAbstractTurbineTypesTest.java336 JavaFileManager fileManager = new JavacFileManager(context, true, UTF_8); in typeParameters() local
354 fileManager, in typeParameters()
/external/google-breakpad/src/client/mac/sender/
Duploader.mm657 NSFileManager *fileManager = [NSFileManager defaultManager];
658 if ([fileManager fileExistsAtPath:logFilePath]) {
665 [fileManager createFileAtPath:logFilePath
/external/google-breakpad/src/client/ios/
DBreakpad.mm490 NSFileManager *fileManager = [NSFileManager defaultManager];
491 NSArray *dirContents = [fileManager contentsOfDirectoryAtPath:directory error:nil];
498 [[fileManager attributesOfItemAtPath:filePath error:nil] fileCreationDate];