/external/v8/tools/mb/ |
D | mb_unittest.py | 36 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/ |
D | PyErrorsTest.java | 50 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/ |
D | generate_build_files.py | 82 def PrintVariableSection(self, out, name, files): argument 84 for f in sorted(files): 88 def WriteFiles(self, files, asm_outputs): argument 96 for f in sorted(files['crypto']): 128 for f in sorted(files['ssl']): 136 for f in sorted(files['tool']): 144 for f in sorted(files['test_support']): 152 for f in sorted(files['crypto_test']): 160 for f in sorted(files['ssl_test']): 168 for f in sorted(files['test']): [all …]
|
/external/icu/icu4c/source/tools/toolutil/ |
D | pkg_gencmn.c | 90 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/ |
D | lint.py | 127 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/ |
D | AssetManagerTest.java | 42 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/google-breakpad/src/common/ |
D | dwarf_line_to_module_unittest.cc | 54 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/elfutils/libdw/ |
D | dwarf_macro_getsrcfiles.c | 37 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()
|
D | dwarf_getsrcfiles.c | 40 dwarf_getsrcfiles (Dwarf_Die *cudie, Dwarf_Files **files, size_t *nfiles) in dwarf_getsrcfiles() argument 63 else if (cu->files != (void *) -1l) in dwarf_getsrcfiles() 69 assert (cu->files != NULL && cu->files != (void *) -1l); in dwarf_getsrcfiles() 70 *files = cu->files; in dwarf_getsrcfiles() 72 *nfiles = cu->files->nfiles; in dwarf_getsrcfiles()
|
/external/doclava/src/com/google/doclava/ |
D | Doclava2.java | 27 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/ |
D | build.gradle | 13 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/libchrome/base/ |
D | base.gypi | 165 # 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/okhttp/ |
D | Android.mk | 18 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/v8/tools/ |
D | find-commit-for-patch.py | 31 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/ |
D | BuildDependencyGenerator.java | 99 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/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/ |
D | VersionNumberStripper.java | 53 File [] files = file.listFiles(); in stripVersions() local 55 for (int i=0; i<files.length; i++){ in stripVersions() 56 String absolutePath = files[i].getAbsolutePath(); in stripVersions() 58 - files[i].getName().length()); in stripVersions() 60 int underScorePos = files[i].getName().indexOf("_"); in stripVersions() 61 int jarExtPos = files[i].getName().indexOf(".jar"); in stripVersions() 66 + files[i].getName().substring(0, underScorePos) in stripVersions() 70 + files[i].getName().substring(0, underScorePos); in stripVersions() 72 files[i].renameTo(new File(targetPath)); in stripVersions()
|
/external/linux-kselftest/ |
D | .gitignore | 2 # 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/antlr/antlr-3.4/antlr3-maven-plugin/src/site/apt/examples/ |
D | libraries.apt | 3 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/squashfs-tools/RELEASE-READMEs/ |
D | README-3.3 | 9 both to the filesystem itself (bigger blocks, and sparse files), but 19 1. Extended wildcard pattern matching now supported in exclude files 23 Supports both anchored and non-anchored exclude files. 27 Similar to existing exclude files except with wildcards. Exclude 34 Exclude all files matching "*.gz" in the top level directory "test". 38 Exclude all files beginning with "example" inside directories called 45 Exclude all files matching "*.gz" in top level directory "test", 59 Exclude files matching "*.gz" anywhere in the source directories. 65 Exclude files matching "*.gz" inside directories called "Test" or 72 Exclude all files matching "*.gz" anywhere in the source directories, [all …]
|
/external/chromium-trace/catapult/telemetry/ |
D | cloud_storage | 35 def _FindFilesInCloudStorage(files): argument 47 for path in files: 97 files = _FindFilesInCloudStorage(GetFilesInPaths(args.paths, args.recursive)) 99 if not files: 103 for file_path, buckets in sorted(files.iteritems()): 124 files = _FindFilesInCloudStorage(args.files) 126 for file_path, buckets in sorted(files.iteritems()): 130 for file_path, buckets in sorted(files.iteritems()): 154 files = _FindFilesInCloudStorage(args.files) 155 for file_path, buckets in sorted(files.iteritems()): [all …]
|
/external/libmtp/src/ |
D | playlist-spl.c | 72 …racks_from_spl_text_t(text_t* p, uint32_t* tracks, LIBMTP_folder_t* folders, LIBMTP_file_t* files); 73 …t ver_major, const uint32_t ver_minor, char* dnse, LIBMTP_folder_t* folders, LIBMTP_file_t* files); 75 …_id_from_filepath(const char* s, LIBMTP_folder_t* folders, LIBMTP_file_t* files); // TODO add file… 76 …iscover_filepath_from_id(char** p, uint32_t track, LIBMTP_folder_t* folders, LIBMTP_file_t* files); 156 LIBMTP_file_t *files; in spl_to_playlist_t() local 158 files = LIBMTP_Get_Filelisting_With_Callback(device, NULL, NULL); in spl_to_playlist_t() 164 tracks_from_spl_text_t(p, pl->tracks, folders, files); in spl_to_playlist_t() 186 LIBMTP_file_t *files; in playlist_t_to_spl() local 188 files = LIBMTP_Get_Filelisting_With_Callback(device, NULL, NULL); in playlist_t_to_spl() 215 spl_text_t_from_tracks(&t, pl->tracks, pl->no_tracks, ver_major, ver_minor, NULL, folders, files); in playlist_t_to_spl() [all …]
|
/external/webrtc/resources/audio_coding/ |
D | READ.ME | 1 Test files for Audio Coding Module 10 Format: all .INP and .OUT files contain 16 bit sampled data using the 11 Intel (PC) format. The .BIT files are stored in the appropriate byte 14 *.INP - input files 15 *.BIT20 - bit stream files 20 ms mode 16 *.OUT20 - output files 20 ms mode (on a channel without packet loss) 17 *.BIT30 - bit stream files 30 ms mode 18 *.OUT30 - output files 30 ms mode (on a channel without packet loss)
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/ |
D | MemoryMultiReportOutput.java | 36 …private final Map<String, ByteArrayOutputStream> files = new HashMap<String, ByteArrayOutputStream… field in MemoryMultiReportOutput 43 assertFalse("Duplicate output " + path, files.containsKey(path)); in createFile() 52 files.put(path, out); in createFile() 61 assertEquals(Collections.emptySet(), files.keySet()); in assertEmpty() 66 path, files.keySet()), files.get(path)); in assertFile() 70 assertNull(String.format("Unexpected file %s.", path), files.get(path)); in assertNoFile() 74 assertEquals(Collections.singleton(path), files.keySet()); in assertSingleFile() 79 return files.get(path).toByteArray(); in getFile()
|
/external/clang/bindings/python/tests/cindex/ |
D | test_code_completion.py | 13 files = [('fake.c', """ 25 tu = TranslationUnit.from_source('fake.c', ['-std=c99'], unsaved_files=files, 28 cr = tu.codeComplete('fake.c', 9, 1, unsaved_files=files, include_brief_comments=True) 38 files = [('fake.cpp', """ 55 tu = TranslationUnit.from_source('fake.cpp', ['-std=c++98'], unsaved_files=files) 57 cr = tu.codeComplete('fake.cpp', 12, 5, unsaved_files=files) 68 cr = tu.codeComplete('fake.cpp', 13, 5, unsaved_files=files)
|
/external/libmtp/examples/ |
D | emptyfolders.c | 25 static void prune_empty_folders(LIBMTP_mtpdevice_t *device, LIBMTP_file_t *files, LIBMTP_folder_t *… in prune_empty_folders() argument 34 file = files; in prune_empty_folders() 55 prune_empty_folders(device,files,folderlist->child,do_delete); // recurse down in prune_empty_folders() 56 prune_empty_folders(device,files,folderlist->sibling,do_delete); // recurse along in prune_empty_folders() 84 LIBMTP_file_t *files; in main() local 94 files = LIBMTP_Get_Filelisting_With_Callback(device,NULL,NULL); in main() 102 prune_empty_folders(device,files,folders,do_delete); in main() 106 LIBMTP_destroy_file_t(files); in main()
|