Home
last modified time | relevance | path

Searched refs:files (Results 1 – 25 of 4690) sorted by relevance

12345678910>>...188

/external/v8/tools/mb/
Dmb_unittest.py36 self.files = {}
48 return self.files.get(path) is not None
51 self.files[path] = True
57 return self.files[path]
62 self.files[path] = contents
82 return FakeFile(self.files)
85 del self.files[path]
89 files_to_delete = [f for f in self.files if f.startswith(path)]
91 self.files[f] = None
95 def __init__(self, files): argument
[all …]
/external/snakeyaml/src/test/java/org/pyyaml/
DPyErrorsTest.java50 File[] files = getStreamsByExtension(".loader-error"); in testLoaderErrors() local
51 assertTrue("No test files found.", files.length > 0); in testLoaderErrors()
52 for (int i = 0; i < files.length; i++) { in testLoaderErrors()
53 if (skip(files[i].getName())) { in testLoaderErrors()
57 InputStream input = new FileInputStream(files[i]); in testLoaderErrors()
59 assertNotNull("File " + files[i], document); in testLoaderErrors()
62 fail("Loading must fail for " + files[i].getAbsolutePath()); in testLoaderErrors()
72 File[] files = getStreamsByExtension(".loader-error"); in testLoaderStringErrors() local
73 assertTrue("No test files found.", files.length > 0); in testLoaderStringErrors()
74 for (int i = 0; i < files.length; i++) { in testLoaderStringErrors()
[all …]
/external/boringssl/src/util/
Dgenerate_build_files.py84 def PrintVariableSection(self, out, name, files): argument
86 for f in sorted(files):
90 def WriteFiles(self, files, asm_outputs): argument
98 for f in sorted(files['crypto']):
130 for f in sorted(files['ssl']):
138 for f in sorted(files['tool']):
146 for f in sorted(files['test_support']):
154 for f in sorted(files['crypto_test']):
162 for f in sorted(files['ssl_test']):
171 self.PrintVariableSection(makefile, 'crypto_sources', files['crypto'])
[all …]
/external/python/cpython2/Lib/distutils/tests/
Dtest_filelist.py101 self.assertEqual(file_list.files, wanted)
119 files = ['a', 'b', 'c']
120 file_list.set_allfiles(files)
121 self.assertEqual(file_list.allfiles, files)
125 file_list.files = ['a', 'b', 'a', 'g', 'c', 'g']
129 self.assertEqual(file_list.files, ['a', 'b', 'c', 'g'])
159 file_list.files = ['a.py', 'b.py']
164 file_list.files = ['a.py', 'a.txt']
166 self.assertEqual(file_list.files, ['a.txt'])
201 self.assertEqual(file_list.files, ['a.py'])
[all …]
/external/python/cpython2/Demo/pdist/
Drcvs.py248 def update(self, files): argument
249 for e in self.whichentries(files, 1):
252 def commit(self, files, message = ""): argument
253 list = self.whichentries(files)
270 def mailinfo(self, files, message = ""): argument
272 mailtext = MAILFORM % (towhom, string.join(files),
273 string.join(files), message)
289 def report(self, files): argument
290 for e in self.whichentries(files):
293 def diff(self, files, opts): argument
[all …]
/external/icu/icu4c/source/tools/toolutil/
Dpkg_gencmn.c90 static File *files = NULL; variable
220 qsort(files, fileCount, sizeof(File), compareFiles); in createCommonDataFile()
229 files[i].fileOffset=fileOffset; in createCommonDataFile()
230 fileOffset+=(files[i].fileSize+15)&~0xf; in createCommonDataFile()
231 files[i].basenameOffset=basenameOffset; in createCommonDataFile()
232 basenameOffset+=files[i].basenameLength; in createCommonDataFile()
250 udata_write32(out, files[i].basenameOffset); in createCommonDataFile()
251 udata_write32(out, files[i].fileOffset); in createCommonDataFile()
256 udata_writeString(out, files[i].basename, files[i].basenameLength); in createCommonDataFile()
269 …printf("adding %s (%ld byte%s)\n", files[i].pathname, (long)files[i].fileSize, files[i].fileSize =… in createCommonDataFile()
[all …]
/external/vixl/tools/
Dlint.py127 def LintFiles(files, argument
142 files = filter(os.path.isfile, files)
146 n_input_files = len(files)
147 files = filter(lambda f: ShouldLint(f, cached_results), files)
148 n_skipped_files = n_input_files - len(files)
159 tasks = [(f, progress_prefix) for f in files]
200 files = git.get_tracked_files().split()
201 files = filter(IsLinterInput, files)
202 files = FilterOutTestTraceHeaders(files)
203 return 0, files
[all …]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DAssetManagerTest.java42 List<String> files; in assetsPathListing() local
46 files = Arrays.asList(assetManager.list(testPath)); in assetsPathListing()
47 assertTrue(files.contains("docs")); in assetsPathListing()
48 assertTrue(files.contains("assetsHome.txt")); in assetsPathListing()
51 files = Arrays.asList(assetManager.list(testPath)); in assetsPathListing()
52 assertTrue(files.contains("extra")); in assetsPathListing()
55 files = Arrays.asList(assetManager.list(testPath)); in assetsPathListing()
56 assertTrue(files.contains("testing")); in assetsPathListing()
59 files = Arrays.asList(assetManager.list(testPath)); in assetsPathListing()
60 assertTrue(files.contains("hello.txt")); in assetsPathListing()
[all …]
/external/elfutils/libdw/
Ddwarf_macro_getsrcfiles.c37 Dwarf_Files **files, size_t *nfiles) in dwarf_macro_getsrcfiles() argument
41 if (table->files == NULL) in dwarf_macro_getsrcfiles()
46 *files = NULL; in dwarf_macro_getsrcfiles()
76 NULL, &table->files) < 0) in dwarf_macro_getsrcfiles()
77 table->files = (void *) -1; in dwarf_macro_getsrcfiles()
80 if (table->files == (void *) -1) in dwarf_macro_getsrcfiles()
83 *files = table->files; in dwarf_macro_getsrcfiles()
84 *nfiles = table->files->nfiles; in dwarf_macro_getsrcfiles()
/external/google-breakpad/src/common/
Ddwarf_line_to_module_unittest.cc54 vector<Module::File *> files; in TEST() local
55 m.GetFiles(&files); in TEST()
56 EXPECT_EQ(1U, files.size()); in TEST()
57 EXPECT_STREQ("/file1", files[0]->name.c_str()); in TEST()
62 EXPECT_TRUE(lines[0].file == files[0]); in TEST()
89 vector<Module::File *> files; in TEST() local
90 m.GetFiles(&files); in TEST()
91 ASSERT_EQ(5U, files.size()); in TEST()
92 EXPECT_STREQ("/directory1/file1", files[0]->name.c_str()); in TEST()
93 EXPECT_STREQ("/directory1/file2", files[1]->name.c_str()); in TEST()
[all …]
/external/doclava/src/com/google/doclava/
DDoclava2.java27 ArrayList<String> files = new ArrayList<String>(); in main() local
28 files.add("frameworks/base/core/java/android/preference/VolumePreference.java"); in main()
29 files.add("frameworks/base/core/java/android/preference/SeekBarDialogPreference.java"); in main()
30 files.add("frameworks/base/core/java/android/view/ViewGroup.java"); in main()
31 files.add("frameworks/base/core/java/android/widget/FrameLayout.java"); in main()
32 files.add("frameworks/base/core/java/android/widget/DatePicker.java"); in main()
33 files.add("frameworks/base/core/java/android/widget/GridLayout.java"); in main()
35 for (String filename : files) { in main()
55 ArrayList<String> files = new ArrayList<String>(); in main() local
60 files.add(name); in main()
[all …]
/external/robolectric/v1/
Dbuild.gradle13 compile files('lib/main/android-support-v4.jar')
14 compile files('lib/main/commons-codec-1.6.jar')
15 compile files('lib/main/commons-logging-1.1.1.jar')
16 compile files('lib/main/httpclient-4.0.3.jar')
17 compile files('lib/main/httpcore-4.0.1.jar')
18 compile files('lib/main/javassist-3.14.0-GA.jar')
19 compile files('lib/main/json-20080701.jar')
20 compile files('lib/main/maps_v16.jar')
21 compile files('lib/main/sqlite-jdbc-3.7.2.jar')
22 compile files('lib/main/xpp3-1.1.4c.jar')
/external/python/cpython2/Lib/test/
Dtest_zipimport.py69 def doTest(self, expected_ext, files, *modules, **kw): argument
72 for name, (mtime, data) in files.items():
129 files = {"zlib.py": (NOW, test_src)}
131 self.doTest(".py", files, "zlib")
140 files = {TESTMOD + ".py": (NOW, test_src)}
141 self.doTest(".py", files, TESTMOD)
144 files = {TESTMOD + pyc_ext: (NOW, test_pyc)}
145 self.doTest(pyc_ext, files, TESTMOD)
148 files = {TESTMOD + ".py": (NOW, test_src),
150 self.doTest(pyc_ext, files, TESTMOD)
[all …]
/external/r8/tools/
Dcompare_cts_results.py27 def report(self, module_name, files, diff_only): argument
32 test_case.bf_covered_in_file, files)
34 test_case.report(module_name, test_case_name, files, diff_only)
47 def report(self, module_name, test_case_name, files, diff_only): argument
54 test.report(module_name, test_case_name, test_name, files)
69 def report(self, module_name, test_case_name, test_name, files): argument
71 for file_idx, f in enumerate(files):
109 def tree_report(result_tree, files, diff_only): argument
110 bf_all_files = (1 << len(files)) - 1
114 files)
[all …]
/external/okhttp/
DAndroid.mk18 okhttp_common_src_files := $(call all-java-files-under,okhttp/src/main/java)
19 okhttp_common_src_files += $(call all-java-files-under,okhttp-urlconnection/src/main/java)
20 okhttp_common_src_files += $(call all-java-files-under,okhttp-android-support/src/main/java)
21 okhttp_common_src_files += $(call all-java-files-under,okio/okio/src/main/java)
24 okhttp_system_src_files += $(call all-java-files-under, android/main/java)
26 okhttp_test_src_files := $(call all-java-files-under,android/test/java)
27 okhttp_test_src_files += $(call all-java-files-under,okhttp-android-support/src/test/java)
28 okhttp_test_src_files += $(call all-java-files-under,okhttp-testing-support/src/main/java)
29 okhttp_test_src_files += $(call all-java-files-under,okhttp-tests/src/test/java)
30 okhttp_test_src_files += $(call all-java-files-under,okhttp-urlconnection/src/test/java)
[all …]
/external/libchrome/base/
Dbase.gypi165 # This file depends on files from the 'allocator' target,
193 'files/dir_reader_fallback.h',
194 'files/dir_reader_linux.h',
195 'files/dir_reader_posix.h',
196 'files/file.cc',
197 'files/file.h',
198 'files/file_enumerator.cc',
199 'files/file_enumerator.h',
200 'files/file_enumerator_posix.cc',
201 'files/file_enumerator_win.cc',
[all …]
/external/python/cpython2/Tools/scripts/
Dmd5sum.py25 def sum(*files): argument
27 if files and isinstance(files[-1], file):
28 out, files = files[-1], files[:-1]
31 if len(files) == 1 and not isinstance(files[0], str):
32 files = files[0]
33 for f in files:
/external/v8/tools/
Dfind-commit-for-patch.py31 files = {}
45 files[next_file] = old_hash
46 return files
54 def CountMatchingFiles(commit, files): argument
58 cmd = ["git", "ls-tree", "-r", commit] + [f for f in files]
63 expected_hash = files[filename]
68 def FindFirstMatchingCommit(start, files, limit, verbose): argument
70 num_files = len(files)
73 matched_files = CountMatchingFiles(commit, files)
86 files = FindFilesInPatch(args.patch_file) variable
[all …]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DBuildDependencyGenerator.java99 List<File> files = new ArrayList<File>(); in getGeneratedFileList() local
112 files.add(new File(outputDir, recognizer)); in getGeneratedFileList()
116 files.add(new File(tool.getOutputDirectory(), generator.getVocabFileName())); in getGeneratedFileList()
124 files.add(new File(outputDir, fileName)); in getGeneratedFileList()
132 files.add(new File(outputDir, lexer)); in getGeneratedFileList()
137 files.add(new File(outputDir, header)); in getGeneratedFileList()
148 files.add(new File(fname)); in getGeneratedFileList()
151 if (files.size() == 0) { in getGeneratedFileList()
154 return files; in getGeneratedFileList()
164 List<File> files = getNonImportDependenciesFileList(); in getDependenciesFileList() local
[all …]
/external/devlib/doc/
DMakefile26 @echo " html to make standalone HTML files"
27 @echo " dirhtml to make HTML files named index.html in directories"
29 @echo " pickle to make pickle files"
30 @echo " json to make JSON files"
31 @echo " htmlhelp to make HTML files and a HTML help project"
32 @echo " qthelp to make HTML files and a qthelp project"
34 @echo " devhelp to make HTML files and a Devhelp project"
36 @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
37 @echo " latexpdf to make LaTeX files and run them through pdflatex"
38 @echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx"
[all …]
/external/linux-kselftest/
D.gitignore2 # NOTE! Don't add files that are generated in specific
6 # NOTE! Please use 'git ls-files -i --exclude-standard'
8 # any tracked files which get ignored after the change.
43 # Top-level generic files
66 # git files that we don't want to ignore even if they are dot-files
73 # Generated include files
82 # quilt's files
86 # cscope files
90 # gnu global files
96 # id-utils files
/external/python/cpython2/Tools/freeze/
Dcheckextensions.py9 files = []
28 if liba in files:
30 files.append(liba)
32 files = files + select(e, mods, vars,
35 files = files + select(e, mods, vars, mod, 0)
37 return files, modules
40 files = []
54 files.append(w)
55 return files
/external/antlr/antlr-3.4/antlr3-maven-plugin/src/site/apt/examples/
Dlibraries.apt3 The introduction of the import directive in a grammar allows reuse of common grammar files
5 caused some confusion in regard to the fact that generated vocab files (<<<xxx.tokens>>>) can also
9 your grammar files in certain cases. If you have grammars that both use the import
13 location of your imported grammars and ANTLR will not find any vocab files in
16 The .tokens files for any grammars are generated within the same output directory structure
17 as the .java files. So, whereever the .java files are generated, you will also find the .tokens
18 files. ANTLR looks for .tokens files in both the <<<<libDirectory>>>> and the output directory
19 where it is placing the geenrated .java files. Hence when you locate the grammars that generate
20 .tokens files in the same source directory as the ones that use the .tokens files, then
21 the Maven plugin will find the expected .tokens files.
/external/python/cpython2/Doc/distutils/
Dsourcedist.rst60 For example, if you want all files of the archive to be owned by root::
67 Specifying the files to distribute
70 If you don't supply an explicit list of files (or instructions on how to
74 * all Python source files implied by the ``py_modules`` and
77 * all C source files mentioned in the ``ext_modules`` or
94 * all files that matches the ``package_data`` metadata.
97 * all files that matches the ``data_files`` metadata.
98 See :ref:`distutils-additional-files`.
100 Sometimes this is enough, but usually you will want to specify additional files
104 the exact list of files to include in your source distribution. The
[all …]
/external/lzma/CPP/7zip/UI/Console/
DOpenCallbackConsole.cpp20 HRESULT COpenCallbackConsole::Open_SetTotal(const UInt64 *files, const UInt64 *bytes) in Open_SetTotal() argument
24 if (files) in Open_SetTotal()
28 _percent.Total = *files; in Open_SetTotal()
37 if (!files) in Open_SetTotal()
47 HRESULT COpenCallbackConsole::Open_SetCompleted(const UInt64 *files, const UInt64 *bytes) in Open_SetCompleted() argument
51 if (files) in Open_SetCompleted()
53 _percent.Files = *files; in Open_SetCompleted()
55 _percent.Completed = *files; in Open_SetCompleted()

12345678910>>...188