/external/chromium_org/chrome/tools/ |
D | webforms_aggregator_unittests.py | 127 self.files['site1_home'] = 'site1_index.html' 128 self.files['site1_page1'] = 'site1_page1.html' 129 self.files['site1_page2'] = 'site1_page2.html' 130 self.files['site1_page3'] = 'site1_page3.html' 131 self.files['site1_signin'] = 'site1_signin.html' 132 self.files['site1_reg'] = 'site1_register.html' 135 file_content[self.files['site1_home']] = self.HOME_CONTENT % ( 137 self.files['site1_page1'], self.files['site1_page2'], 138 self.files['site1_page3'], self.files['site1_signin']) 140 file_content[self.files['site1_page1']] = self.SIMPLE_PAGE_CONTENT % ( [all …]
|
/external/chromium_org/net/disk_cache/ |
D | block_files_unittest.cc | 36 BlockFiles files(cache_path_); in TEST_F() local 37 ASSERT_TRUE(files.Init(true)); in TEST_F() 44 EXPECT_TRUE(files.CreateBlock(RANKINGS, 4, &address[i])); in TEST_F() 51 files.DeleteBlock(address[target], false); in TEST_F() 52 EXPECT_TRUE(files.CreateBlock(RANKINGS, 4, &address[target])); in TEST_F() 62 BlockFiles files(cache_path_); in TEST_F() local 63 ASSERT_TRUE(files.Init(true)); in TEST_F() 70 EXPECT_TRUE(files.CreateBlock(RANKINGS, 4, &address[i])); in TEST_F() 75 files.DeleteBlock(address[i], false); in TEST_F() 85 BlockFiles files(cache_path_); in TEST_F() local [all …]
|
/external/libyuv/ |
D | Android.mk | 8 files/source/compare.cc \ 9 files/source/convert.cc \ 10 files/source/convert_argb.cc \ 11 files/source/convert_from.cc \ 12 files/source/cpu_id.cc \ 13 files/source/format_conversion.cc \ 14 files/source/planar_functions.cc \ 15 files/source/rotate.cc \ 16 files/source/rotate_argb.cc \ 17 files/source/row_common.cc \ [all …]
|
/external/chromium/net/disk_cache/ |
D | block_files_unittest.cc | 35 BlockFiles files(path); in TEST_F() local 36 ASSERT_TRUE(files.Init(true)); in TEST_F() 43 EXPECT_TRUE(files.CreateBlock(RANKINGS, 4, &address[i])); in TEST_F() 50 files.DeleteBlock(address[target], false); in TEST_F() 51 EXPECT_TRUE(files.CreateBlock(RANKINGS, 4, &address[target])); in TEST_F() 62 BlockFiles files(path); in TEST_F() local 63 ASSERT_TRUE(files.Init(true)); in TEST_F() 70 EXPECT_TRUE(files.CreateBlock(RANKINGS, 4, &address[i])); in TEST_F() 75 files.DeleteBlock(address[i], false); in TEST_F() 86 BlockFiles files(path); in TEST_F() local [all …]
|
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/model/ |
D | testfile_test.py | 73 files = self._getAllFiles() 74 self.assertEqual(1, len(files)) 75 self._assertFileMatchesData(file_data, files[0]) 77 _, code = testfile.TestFile.save_file(files[0], None) 80 files = self._getAllFiles() 81 self.assertEqual(1, len(files), 'Expected exactly one file to be present.') 82 self._assertFileMatchesData(file_data, files[0]) 88 files = self._getAllFiles() 89 …self.assertEqual(len(TEST_DATA), len(files), 'Mismatch between number of test records and number o… 91 for f in files: [all …]
|
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
D | pkg_gencmn.c | 88 static File *files = NULL; variable 197 qsort(files, fileCount, sizeof(File), compareFiles); in createCommonDataFile() 206 files[i].fileOffset=fileOffset; in createCommonDataFile() 207 fileOffset+=(files[i].fileSize+15)&~0xf; in createCommonDataFile() 208 files[i].basenameOffset=basenameOffset; in createCommonDataFile() 209 basenameOffset+=files[i].basenameLength; in createCommonDataFile() 227 udata_write32(out, files[i].basenameOffset); in createCommonDataFile() 228 udata_write32(out, files[i].fileOffset); in createCommonDataFile() 233 udata_writeString(out, files[i].basename, files[i].basenameLength); in createCommonDataFile() 246 …printf("adding %s (%ld byte%s)\n", files[i].pathname, (long)files[i].fileSize, files[i].fileSize =… in createCommonDataFile() [all …]
|
/external/icu4c/tools/toolutil/ |
D | pkg_gencmn.c | 88 static File *files = NULL; variable 218 qsort(files, fileCount, sizeof(File), compareFiles); in createCommonDataFile() 227 files[i].fileOffset=fileOffset; in createCommonDataFile() 228 fileOffset+=(files[i].fileSize+15)&~0xf; in createCommonDataFile() 229 files[i].basenameOffset=basenameOffset; in createCommonDataFile() 230 basenameOffset+=files[i].basenameLength; in createCommonDataFile() 248 udata_write32(out, files[i].basenameOffset); in createCommonDataFile() 249 udata_write32(out, files[i].fileOffset); in createCommonDataFile() 254 udata_writeString(out, files[i].basename, files[i].basenameLength); in createCommonDataFile() 267 …printf("adding %s (%ld byte%s)\n", files[i].pathname, (long)files[i].fileSize, files[i].fileSize =… in createCommonDataFile() [all …]
|
/external/chromium_org/tools/grit/grit/format/ |
D | html_inline_unittest.py | 27 files = { 72 tmp_dir = util.TempDir(files) 73 for filename in files: 84 files = { 91 tmp_dir = util.TempDir(files) 92 for filename in files: 104 files = { 145 tmp_dir = util.TempDir(files) 146 for filename in files: 161 files = { [all …]
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
D | filesystem_mock.py | 42 def __init__(self, files=None, dirs=None, cwd='/'): argument 51 self.files = files or {} 58 for f in self.files: 117 self.files[destination] = self.files[source] 118 self.written_files[destination] = self.files[source] 131 files = [] 133 … if file_filter(self, self.dirname(path), self.basename(path)) and self.files[path] is not None: 134 files.append(path) 135 return files 144 for filename in self.files: [all …]
|
D | outputtee.py | 37 def __init__(self, *files): argument 38 self.files = files 42 for file in self.files: 70 def _tee_outputs_to_files(self, files): argument 74 if files and len(files): 75 sys.stdout = Tee(self._original_stdout, *files) 76 sys.stderr = Tee(self._original_stderr, *files)
|
/external/robolectric/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/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/chromium_org/native_client_sdk/src/examples/api/var_array_buffer/ |
D | example.js | 24 if (!dropEvent.dataTransfer || !dropEvent.dataTransfer.files) 28 var files = dropEvent.dataTransfer.files; 29 for(var i = 0; i < files.length; ++i) 30 postFileContents(files[i]); 36 var files = file_input.files; 37 for(var i = 0; i < files.length; ++i) 38 postFileContents(files[i]);
|
/external/chromium_org/third_party/sqlite/src/test/ |
D | attach4.test | 12 # focus of this script is attaching many database files to a single 28 set files {main test.db} 30 lappend files aux$ii "test.db$ii" 39 foreach {name f} $files { forcedelete $f } 42 foreach {name f} $files { 51 } $files 59 foreach {name f} $files { 68 foreach {name f} $files { 72 } $files 76 foreach {name f} $files { [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
D | FileInputType.cpp | 64 Vector<FileChooserFileInfo> files; in filesFromFormControlState() local 67 files.append(FileChooserFileInfo(state[i], state[i + 1])); in filesFromFormControlState() 69 files.append(FileChooserFileInfo(state[i])); in filesFromFormControlState() 71 return files; in filesFromFormControlState() 101 FileList* fileList = element().files(); in appendFormData() 172 FileList* FileInputType::files() in files() function in WebCore::FileInputType 209 PassRefPtr<FileList> FileInputType::createFileList(const Vector<FileChooserFileInfo>& files) const in createFileList() 212 size_t size = files.size(); in createFileList() 219 String rootPath = directoryName(files[0].path); in createFileList() 221 while (!files[i].path.startsWith(rootPath)) in createFileList() [all …]
|
/external/chromium_org/native_client_sdk/src/tools/ |
D | oshelpers.py | 22 def IncludeFiles(filters, files): argument 28 return files 31 match |= set(fnmatch.filter(files, file_filter)) 32 return [name for name in files if name in match] 35 def ExcludeFiles(filters, files): argument 41 return files 44 excludes = set(fnmatch.filter(files, file_filter)) 46 return [name for name in files if name not in match] 126 options, files = parser.parse_args(args) 127 if len(files) < 2: [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/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/chromium_org/v8/test/intl/ |
D | testcfg.py | 41 for dirname, dirs, files in os.walk(self.root): 45 files.sort() 46 for filename in files: 57 files = [] 58 files.append(os.path.join(self.root, "assert.js")) 59 files.append(os.path.join(self.root, "utils.js")) 60 files.append(os.path.join(self.root, testcase.path + self.suffix())) 62 flags += files 65 flags += files
|
/external/junit/ |
D | Android.mk | 24 LOCAL_SRC_FILES := $(call all-java-files-under, src) 39 LOCAL_SRC_FILES := $(call all-java-files-under, src/junit/extensions) 40 LOCAL_SRC_FILES += $(core-junit-files) 57 LOCAL_SRC_FILES := $(call all-java-files-under, src/junit/extensions) 58 LOCAL_SRC_FILES += $(core-junit-files) 71 LOCAL_SRC_FILES := $(junit-runner-files) 82 LOCAL_SRC_FILES := $(junit-runner-files) 99 LOCAL_SRC_FILES := $(call all-java-files-under, src/org) 100 LOCAL_SRC_FILES += $(call all-java-files-under, src/junit/extensions) 101 LOCAL_SRC_FILES += $(call all-java-files-under, src/junit/runner) [all …]
|
/external/chromium_org/third_party/closure_linter/closure_linter/common/ |
D | simplefileflags.py | 76 files = argv[1:] or [] 81 for f in files: 107 for root, subdirs, files in os.walk(start): 108 for f in files: 126 files = _GetUserSpecifiedFiles(argv, suffixes) 129 files += _GetRecursiveFiles(suffixes) 131 return FilterFiles(files) 134 def FilterFiles(files): argument 145 num_files = len(files) 152 for f in files:
|
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/common/ |
D | simplefileflags.py | 76 files = argv[1:] or [] 81 for f in files: 107 for root, subdirs, files in os.walk(start): 108 for f in files: 126 files = _GetUserSpecifiedFiles(argv, suffixes) 129 files += _GetRecursiveFiles(suffixes) 131 return FilterFiles(files) 134 def FilterFiles(files): argument 145 num_files = len(files) 152 for f in 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/chromium_org/native_client_sdk/src/build_tools/tests/ |
D | update_nacl_manifest_test.py | 186 def __init__(self, manifest, history, files, version_mapping): argument 189 self.files = files 207 for filename, _ in self.files.iteritems(): 214 if path not in self.files: 216 return self.files[path] 222 self.files[dest_path] = stdin 225 if src_path not in self.files: 227 self.files[dest_path] = self.files[src_path] 264 self.files = MakeFiles() 274 self.files, self.version_mapping) [all …]
|
/external/elfutils/libdw/ |
D | dwarf_getsrcfiles.c | 61 dwarf_getsrcfiles (Dwarf_Die *cudie, Dwarf_Files **files, size_t *nfiles) in dwarf_getsrcfiles() argument 80 else if (cu->files != (void *) -1l) in dwarf_getsrcfiles() 86 assert (cu->files != NULL && cu->files != (void *) -1l); in dwarf_getsrcfiles() 87 *files = cu->files; in dwarf_getsrcfiles() 89 *nfiles = cu->files->nfiles; in dwarf_getsrcfiles()
|