/prebuilts/go/linux-x86/src/cmd/gofmt/ |
long_test.go | 5 // This test applies gofmt to all Go files under -root. 6 // To test specific files provide a list of comma-separated 7 // filenames via the -files flag: go test -files=gofmt.go . 28 files = flag.String("files", "", "comma-separated list of files to test") 31 nfiles int // number of files processed 61 // exclude files w/ syntax errors (typically test cases) 116 // test Go files provided via -files, if an 27 files = flag.String("files", "", "comma-separated list of files to test") var [all...] |
/prebuilts/go/linux-x86/src/go/doc/ |
doc_test.go | 23 var update = flag.Bool("update", false, "update golden (.out) files") 24 var files = flag.String("files", "", "consider only Go test files matching this regular expression") var 71 len(name) > 0 && name[0] != '.' && // ignore .files 83 if *files != "" { 84 rx, err := regexp.Compile(*files) 108 // golden files always use / in filenames - canonicalize them
|
/system/core/libsparse/ |
simg2simg.c | 51 int files; local 73 files = sparse_file_resparse(s, max_size, NULL, 0); 74 if (files < 0) { 79 out_s = calloc(sizeof(struct sparse_file *), files); 85 files = sparse_file_resparse(s, max_size, out_s, files); 86 if (files < 0) { 91 for (i = 0; i < files; i++) {
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
BuildDependencyGenerator.java | 71 * all of its template files in order to figure out the file extension 74 * This code was obvious until I removed redundant "./" on front of files 96 * name files ANTLR will emit from T.g. 99 List<File> files = new ArrayList<File>(); local 112 files.add(new File(outputDir, recognizer)); 116 files.add(new File(tool.getOutputDirectory(), generator.getVocabFileName())); 124 files.add(new File(outputDir, fileName)); 132 files.add(new File(outputDir, lexer)); 137 files.add(new File(outputDir, header)); 142 // handle generated files for imported grammar 164 List<File> files = getNonImportDependenciesFileList(); local 189 List<File> files = new ArrayList<File>(); local [all...] |
/art/test/151-OpenFileLimit/src/ |
Main.java | 29 List<File> files = new ArrayList<File>(); local 34 files.add(file); 35 streams.add(Files.newOutputStream(file.toPath(), CREATE, APPEND)); 38 if (e.getMessage().contains("Too many open files")) { 39 System.out.println("Message includes \"Too many open files\""); 58 for (int i = 0; i < files.size(); i++) { 60 files.get(i).delete();
|
/bootable/recovery/applypatch/ |
applypatch_modes.cpp | 61 // new parallel arrays *sha1s and *files. Returns true on success. 63 std::vector<FileContents>* files) { 85 files->push_back(std::move(fc)); 130 std::vector<FileContents> files; local 131 if (!ParsePatchArgs(argc-5, argv+5, &sha1s, &files)) { 137 for (size_t i = 0; i < files.size(); ++i) { 139 VAL_BLOB, std::string(files[i].data.cbegin(), files[i].data.cend()))); 144 // This program (applypatch) applies binary patches to files in a way that
|
/cts/tools/utils/ |
VogarUtils.java | 76 File[] files = new File(dir).listFiles(new FilenameFilter() { local 77 // ignore obviously temporary files 82 if (files != null) { 83 expectSet.addAll(Arrays.asList(files));
|
/cts/tools/vm-tests-tf/src/util/build/ |
JavacBuildStep.java | 69 String[] files = new String[sourceFiles.size()]; local 70 sourceFiles.toArray(files); 72 System.arraycopy(files, 0, commandLine, args, files.length);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/ |
VersionNumberStripper.java | 25 //the directory containing the directories and files from which to remove version information 53 File [] files = file.listFiles(); local 55 for (int i=0; i<files.length; i++){ 56 String absolutePath = files[i].getAbsolutePath(); 58 - files[i].getName().length()); 60 int underScorePos = files[i].getName().indexOf("_"); 61 int jarExtPos = files[i].getName().indexOf(".jar"); 66 + files[i].getName().substring(0, underScorePos) 70 + files[i].getName().substring(0, underScorePos); 72 files[i].renameTo(new File(targetPath)) [all...] |
/external/elfutils/tests/ |
dwarf-getmacros.c | 61 Dwarf_Files *files; local 63 if (dwarf_macro_getsrcfiles (dbg, macro, &files, &nfiles) < 0) 70 const char *name = dwarf_filesrc (files, (size_t) w, NULL, NULL);
|
get-files.c | 70 Dwarf_Files *files; local 72 if (dwarf_getsrcfiles (die, &files, &nfiles) != 0) 74 printf ("%s: cannot get files\n", argv[cnt]); 81 if (dwarf_getsrcdirs (files, &dirs, &ndirs) != 0) 97 dwarf_filesrc (files, i, NULL, NULL));
|
/external/emma/ant/ant14/com/vladium/emma/ant/ |
FileTask.java | 33 // public FileElement (final List /* File */ files) 35 // m_files = files; 104 // // merge files: 118 final String [] files = new String [_files.size ()]; local 119 _files.toArray (files); 121 return files;
|
/external/emma/ant/ant14/com/vladium/emma/data/ |
mergeTask.java | 37 String [] files = getDataPath (true); local 38 if ((files == null) || (files.length == 0)) 40 + ": no valid input data files have been specified", location).fillInStackTrace (); 44 processor.setDataPath (files); files = null;
|
/external/icu/icu4c/source/test/depstest/ |
dependencies.py | 18 files: Set of "library/filename.o" files mentioned in the dependencies file. 21 A library or group item can have an optional set of "files" (as in the files attribute). 33 # item contents: {"type": "binary"} with optional files & deps 38 files = set() variable 78 global files 79 item_files = item.get("files") 84 if item_files == None: item_files = item["files"] = set() 88 if file_name in files [all...] |
/external/jacoco/org.jacoco.ant/src/org/jacoco/ant/ |
MergeTask.java | 30 * Task for merging a set of execution data files (*.exec) into a single file 36 private final Union files = new Union(); field in class:MergeTask 55 files.add(resources); 72 final Iterator<?> resourceIterator = files.iterator();
|
/external/libvpx/libvpx/test/ |
vp9_frame_parallel_test.cc | 95 void DecodeFilesWithPause(const PauseFileList files[]) { 96 for (const PauseFileList *iter = files; iter->name != NULL; ++iter) { 109 static const PauseFileList files[] = { local 118 DecodeFilesWithPause(files); 175 void DecodeFiles(const FileList files[]) { 176 for (const FileList *iter = files; iter->name != NULL; ++iter) { 187 static const FileList files[] = { local 204 DecodeFiles(files); 208 static const FileList files[] = { local 214 DecodeFiles(files); [all...] |
/external/libxml2/ |
testReader.c | 46 printf("\tParse the XML files using the xmlTextReader API\n"); 106 int files = 0; local 132 files ++;
|
/external/ltp/utils/ffsb-6.0-rc2/ |
filelist.h | 43 /* The base directory in which all subdirs and files are 52 /* Files which currently exist on the filesystem */ 53 struct red_black_tree *files; member in struct:benchfiles 58 /* Files which have been deleted, and whose numbers should be 66 uint32_t listsize; /* Sum size of nodes in files and holes */ 125 /* Function type which, does some validation of existing files 139 /* Get the number of files */
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
ParseResponseWithGson.java | 37 for (Map.Entry<String, GistFile> entry : gist.files.entrySet()) { 44 Map<String, GistFile> files; field in class:ParseResponseWithGson.Gist
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/ |
RawResourceLoader.java | 25 File[] files = rawResourceDir.listFiles(); local 26 for (int i = 0; i < files.length; i++) { 27 File file = files[i];
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
EnvironmentTest.java | 48 File[] files = path.listFiles(); local 49 for (File f : files) {
|
/external/snakeyaml/src/test/java/org/pyyaml/ |
PyErrorsTest.java | 50 File[] files = getStreamsByExtension(".loader-error"); local 51 assertTrue("No test files found.", files.length > 0); 52 for (int i = 0; i < files.length; i++) { 53 if (skip(files[i].getName())) { 57 InputStream input = new FileInputStream(files[i]); 59 assertNotNull("File " + files[i], document); 62 fail("Loading must fail for " + files[i].getAbsolutePath()); 64 // files[i].getAbsolutePath()); 72 File[] files = getStreamsByExtension(".loader-error") local 93 File[] files = getStreamsByExtension(".single-loader-error"); local 110 File[] files = getStreamsByExtension(".emitter-error"); local [all...] |
/external/vixl/tools/ |
lint.py | 54 '''This tool lints C++ files and produces a summary of the errors found. 55 If no files are provided on the command-line, all C++ source files in the 61 parser.add_argument('files', nargs = '*') 122 # Returns the total number of errors found in the files linted. 125 # If not `None`, `cached_results` is used to avoid re-linting files, and new 127 def LintFiles(files, 142 files = filter(os.path.isfile, files) 144 # Filter out files for which we have a cached correct result 254 files = args.files variable [all...] |
/external/vogar/src/vogar/ |
LocalTarget.java | 67 File[] files = directory.listFiles(); local 68 if (files == null) { 71 return Arrays.asList(files); 86 // if the user dir exists, cp would copy the files to the wrong place
|
/frameworks/base/core/tests/coretests/src/android/content/ |
AssetTest.java | 70 String[] files = mAssets.list(""); local 71 assertEquals(1, files.length); 72 assertEquals("test.txt", files[0]);
|