Home
last modified time | relevance | path

Searched refs:files (Results 1 - 25 of 890) sorted by relevance

12345678910>>...36

/third_party/node/deps/v8/tools/mb/
H A Dmb_test.py39 self.files = {}
51 return self.files.get(path) is not None
54 self.files[path] = True
60 return self.files[path]
65 self.files[path] = contents
83 return FakeFile(self.files)
86 del self.files[path]
90 files_to_delete = [f for f in self.files if f.startswith(path)]
92 self.files[f] = None
97 def __init__(self, files)
[all...]
/third_party/python/Lib/test/test_importlib/
H A Dtest_compatibilty_files.py25 def files(self): member in CompatibilityFilesTests
26 return resources.files(self.package)
30 sorted(path.name for path in self.files.iterdir()),
35 self.assertEqual(list((self.files / 'a').iterdir()), [])
38 self.assertEqual(list((self.files / 'a' / 'a').iterdir()), [])
39 self.assertEqual(list((self.files / 'a' / 'a' / 'a').iterdir()), [])
42 self.assertFalse(self.files.is_file())
43 self.assertFalse(self.files.is_dir())
46 self.assertTrue((self.files / 'a').is_file())
47 self.assertFalse((self.files / '
98 def files(self): global() member in CompatibilityFilesNoReaderTests
[all...]
H A Dtest_resource.py18 target = resources.files(self.data) / 'binary.file'
22 target = resources.files(self.data) / 'not-a-file'
26 target = resources.files(self.data) / 'subdirectory'
49 self.assertEqual(names(resources.files(package)), {'A', 'B', 'C'})
55 self.assertTrue(resources.files(package).joinpath('B').is_file())
61 self.assertTrue(resources.files(package).joinpath('D').is_dir())
67 self.assertFalse(resources.files(package).joinpath('Z').is_file())
85 self.assertFalse(resources.files(module).joinpath('A').is_file())
93 self.assertTrue(resources.files(submodule).joinpath('binary.file').is_file())
97 resources.files('ziptestdat
[all...]
H A Dfixtures.py18 getattr(resources, 'files')
92 files: FilesDef = {
120 build_files(DistInfoPkg.files, self.site_dir)
127 files = copy.deepcopy(DistInfoPkg.files)
128 info = files["distinfo_pkg-1.0.0.dist-info"]
130 build_files(files, self.site_dir)
134 files: FilesDef = {
145 build_files(DistInfoPkgWithDot.files, self.site_dir)
149 files
[all...]
/third_party/rust/crates/codespan/codespan-reporting/examples/
H A Dcustom_files.rs18 let mut files = files::Files::new(); in main() variables
20 let file_id0 = files.add("0.greeting", "hello world!").unwrap(); in main()
21 let file_id1 = files.add("1.greeting", "bye world").unwrap(); in main()
36 term::emit(writer, &config, &files, &message.to_diagnostic())?; in main()
43 mod files { modules
44 use codespan_reporting::files;
59 fn line_start(&self, line_index: usize) -> Result<usize, files::Error> { in line_start()
69 Ordering::Greater => Err(files::Error::LineTooLarge { in line_start()
83 files
[all...]
/third_party/NuttX/fs/inode/
H A Dfs_files.c247 * This is called from the FS initialization logic to configure the files.
258 * Description: Initializes the list of files for a new task
304 * Assign an vnode to a specific files structure. This is the heart of
498 process_files = processCB->files; in files_close_internal()
501 PRINT_ERR("process files is NULL, %s %d\n", __FUNCTION__ ,__LINE__); in files_close_internal()
780 struct files_struct *files = LOS_MemAlloc(m_aucSysMem0, sizeof(struct files_struct)); in alloc_files() local
781 if (!files) in alloc_files()
786 files->count = 1; in alloc_files()
787 files->file_lock = 0; in alloc_files()
788 files in alloc_files()
816 struct files_struct *files = NULL; dup_fd() local
864 delete_files(struct files_struct *files) delete_files() argument
906 struct files_struct *files = NULL; create_files_snapshot() local
947 delete_files_snapshot(struct files_struct *files) delete_files_snapshot() argument
[all...]
/third_party/rust/crates/codespan/codespan-lsp/src/
H A Dlib.rs5 use codespan_reporting::files::{Error, Files};
38 files: &'a F, in byte_index_to_position()
45 let source = files.source(file_id)?; in byte_index_to_position()
48 let line_index = files.line_index(file_id, byte_index)?; in byte_index_to_position()
49 let line_span = files.line_range(file_id, line_index).unwrap(); in byte_index_to_position()
67 files: &'a F, in byte_span_to_range()
75 start: byte_index_to_position(files, file_id, span.start)?, in byte_span_to_range()
76 end: byte_index_to_position(files, file_id, span.end)?, in byte_span_to_range()
108 files: &'a F, in position_to_byte_index()
115 let source = files in position_to_byte_index()
151 let mut files = SimpleFiles::new(); position() variables
178 let mut files = SimpleFiles::new(); unicode_get_byte_index() variables
204 let mut files = SimpleFiles::new(); unicode_get_position() variables
[all...]
/third_party/elfutils/libdw/
H A Ddwarf_getsrcfiles.c39 dwarf_getsrcfiles (Dwarf_Die *cudie, Dwarf_Files **files, size_t *nfiles) in dwarf_getsrcfiles() argument
53 if (cu->files == NULL) in dwarf_getsrcfiles()
61 cu->files = (void *) -1; in dwarf_getsrcfiles()
67 /* We are only interested in the files, the lines will in dwarf_getsrcfiles()
72 &cu->files); in dwarf_getsrcfiles()
80 res = INTUSE(dwarf_getsrcfiles) (&skeldie, files, nfiles); in dwarf_getsrcfiles()
81 cu->files = skel->files; in dwarf_getsrcfiles()
95 else if (cu->files != (void *) -1l) in dwarf_getsrcfiles()
101 assert (cu->files ! in dwarf_getsrcfiles()
[all...]
H A Ddwarf_macro_getsrcfiles.c37 Dwarf_Files **files, size_t *nfiles) in dwarf_macro_getsrcfiles()
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()
36 dwarf_macro_getsrcfiles(Dwarf *dbg, Dwarf_Macro *macro, Dwarf_Files **files, size_t *nfiles) dwarf_macro_getsrcfiles() argument
/third_party/python/Lib/distutils/tests/
H A Dtest_filelist.py78 l('global/files.x'),
103 self.assertEqual(file_list.files, wanted)
121 files = ['a', 'b', 'c']
122 file_list.set_allfiles(files)
123 self.assertEqual(file_list.allfiles, files)
127 file_list.files = ['a', 'b', 'a', 'g', 'c', 'g']
128 # files must be sorted beforehand (sdist does it)
131 self.assertEqual(file_list.files, ['a', 'b', 'c', 'g'])
159 # return True if files match
161 file_list.files
[all...]
/third_party/mesa3d/.gitlab-ci/container/
H A Dlava_build.sh16 # If remote files are up-to-date, skip rebuilding them
136 mkdir -p /lava-files/rootfs-${DEBIAN_ARCH}/usr/lib/$GCC_ARCH
141 mkdir -p /lava-files/rootfs-${DEBIAN_ARCH}/apitrace
142 mv /apitrace/build /lava-files/rootfs-${DEBIAN_ARCH}/apitrace
148 mkdir -p /lava-files/rootfs-${DEBIAN_ARCH}/usr/bin
149 mv /usr/local/bin/*-runner /lava-files/rootfs-${DEBIAN_ARCH}/usr/bin/.
155 mv /deqp /lava-files/rootfs-${DEBIAN_ARCH}/.
162 mv /skqp /lava-files/rootfs-${DEBIAN_ARCH}/.
167 mv /piglit /lava-files/rootfs-${DEBIAN_ARCH}/.
172 mv /va/bin/* /lava-files/rootf
[all...]
/third_party/skia/infra/bots/recipes/
H A Dcompute_buildstats.py49 files = api.file.glob_paths(
54 analyzed += len(files)
55 if files:
56 analyze_wasm_file(api, checkout_root, out_dir, files)
58 files = api.file.glob_paths(
59 'find JS files',
63 analyzed += len(files)
64 if files:
65 analyze_web_file(api, checkout_root, out_dir, files)
67 files
[all...]
/third_party/node/deps/icu-small/source/tools/toolutil/
H A Dpkg_gencmn.cpp28 /* ICU package data file format (.dat files) ------------------------------- ***
90 static File *files = nullptr; variable
171 /* read the list of files and get their lengths */ in createCommonDataFile()
217 fprintf(stderr, "gencmn: no files listed in %s\n", dataFile == nullptr ? "<stdin>" : dataFile); in createCommonDataFile()
221 /* sort the files by basename */ in createCommonDataFile()
222 qsort(files, fileCount, sizeof(File), compareFiles); in createCommonDataFile()
227 /* determine the offsets of all basenames and files in this common one */ in createCommonDataFile()
231 files[i].fileOffset=fileOffset; in createCommonDataFile()
232 fileOffset+=(files[i].fileSize+15)&~0xf; in createCommonDataFile()
233 files[ in createCommonDataFile()
[all...]
/third_party/icu/icu4c/source/tools/toolutil/
H A Dpkg_gencmn.cpp28 /* ICU package data file format (.dat files) ------------------------------- ***
90 static File *files = NULL; variable
171 /* read the list of files and get their lengths */ in createCommonDataFile()
217 fprintf(stderr, "gencmn: no files listed in %s\n", dataFile == NULL ? "<stdin>" : dataFile); in createCommonDataFile()
221 /* sort the files by basename */ in createCommonDataFile()
222 qsort(files, fileCount, sizeof(File), compareFiles); in createCommonDataFile()
227 /* determine the offsets of all basenames and files in this common one */ in createCommonDataFile()
231 files[i].fileOffset=fileOffset; in createCommonDataFile()
232 fileOffset+=(files[i].fileSize+15)&~0xf; in createCommonDataFile()
233 files[ in createCommonDataFile()
[all...]
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
H A Dpkg_gencmn.cpp28 /* ICU package data file format (.dat files) ------------------------------- ***
90 static File *files = NULL; variable
171 /* read the list of files and get their lengths */ in createCommonDataFile()
217 fprintf(stderr, "gencmn: no files listed in %s\n", dataFile == NULL ? "<stdin>" : dataFile); in createCommonDataFile()
221 /* sort the files by basename */ in createCommonDataFile()
222 qsort(files, fileCount, sizeof(File), compareFiles); in createCommonDataFile()
227 /* determine the offsets of all basenames and files in this common one */ in createCommonDataFile()
231 files[i].fileOffset=fileOffset; in createCommonDataFile()
232 fileOffset+=(files[i].fileSize+15)&~0xf; in createCommonDataFile()
233 files[ in createCommonDataFile()
[all...]
/third_party/node/lib/internal/fs/
H A Drecursive_watch.js47 async function traverse(dir, files = new SafeMap(), symbolicLinks = new SafeSet()) {
56 files.set(f, file);
62 ArrayPrototypePush(subdirectories, traverse(f, files));
68 return files;
74 #files = new SafeMap();
117 for (const file of this.#files.keys()) {
121 this.#files.clear();
131 for (const filename of this.#files.keys()) {
142 const files = await opendir(folder);
144 for await (const file of files) {
[all...]
/third_party/vk-gl-cts/scripts/src_util/
H A Dcheck_all.py36 parser.add_argument("-i", "--only-changed", action="store_true", dest="useGitIndex", default=False, help="Check only modified files. Uses git.")
42 files = getChangedFiles() variable
44 files = getAllProjectFiles() variable
47 files = [f for f in files if "vulkancts/scripts/src" not in f.replace("\\", "/")] variable
50 checkBOMs(files, args.fixBOMs),
51 checkEncoding(files),
52 checkWhitespace(files),
53 checkIncludeGuards(files),
54 checkLicense(files),
[all...]
/third_party/gn/src/gn/
H A Danalyzer_unittest.cc124 "files": [ "//dir/file_name.cc" ], in TEST_F()
137 "files": [ "//dir/file_name.cc" ],
155 "files": [ "//dir/header_name.h" ],
168 "files": [ "//dir/header_name.h" ],
186 "files": [ "//dir/extra_input.cc" ],
200 "files": [ "//dir/extra_input.cc" ],
218 "files": [ "//dir/extra_input.cc" ],
252 "files": [ "//dir3/BUILD.gn" ],
270 "files": [ "//dir/data.html" ],
283 "files"
[all...]
/third_party/node/deps/v8/tools/
H A Dfind-commit-for-patch.py34 files = {}
47 if old_hash.startswith("0000000"): continue # Ignore new files.
48 files[next_file] = old_hash
49 return files
57 def CountMatchingFiles(commit, files):
61 cmd = ["git", "ls-tree", "-r", commit] + [f for f in files]
66 expected_hash = files[filename]
71 def FindFirstMatchingCommit(start, files, limit, verbose):
73 num_files = len(files)
74 if verbose: print(">>> Found %d files modifie
89 files = FindFilesInPatch(args.patch_file) global() variable
[all...]
/third_party/python/Lib/test/
H A Dtest_zipimport.py90 def makeTree(self, files, dirName=TEMP_DIR):
92 # defined by files under the directory dirName.
95 for name, (mtime, data) in files.items():
107 def makeZip(self, files, zipName=TEMP_ZIP, **kw):
109 # defined by files in the zip file zipName. If the
114 for name, (mtime, data) in files.items():
131 def doTest(self, expected_ext, files, *modules, **kw):
132 self.makeZip(files, **kw)
170 files = {"zlib.py": (NOW, test_src)}
172 self.doTest(".py", files, "zli
[all...]
/third_party/python/Lib/distutils/
H A Dfilelist.py4 and building lists of files.
15 """A list of files built by on exploring the filesystem and filtered by
20 directory from which files will be taken -- only used if
22 files
25 complete list of files under consideration (ie. without any
33 self.files = []
52 self.files.append(item)
55 self.files.extend(items)
59 sortable_files = sorted(map(os.path.split, self.files))
60 self.files
[all...]
/third_party/rust/crates/codespan/codespan/src/
H A Dfile.rs1 use codespan_reporting::files::Error;
15 /// Offset of our `FileId`'s numeric value to an index on `Files::files`.
30 /// A database of source files.
41 files: Vec<File<Source>>,
49 Self { files: vec![] } in default()
57 /// Create a new, empty database of files.
65 let file_id = FileId::new(self.files.len()); in add()
66 self.files.push(File::new(name.into(), source.into())); in add()
81 &self.files[file_id.get()] in get()
87 &mut self.files[file_i in get_mut()
397 let mut files = Files::<String>::new(); line_starts() variables
416 let mut files = Files::<Arc<str>>::new(); line_starts() variables
[all...]
/third_party/lzma/CPP/7zip/UI/Console/
H A DOpenCallbackConsole.cpp20 HRESULT COpenCallbackConsole::Open_SetTotal(const UInt64 *files, const UInt64 *bytes) in Open_SetTotal() argument
24 if (files) in Open_SetTotal()
27 // _totalFiles = *files; in Open_SetTotal()
28 _percent.Total = *files; in Open_SetTotal()
37 if (!files) in Open_SetTotal()
43 if (!files) in Open_SetTotal()
51 HRESULT COpenCallbackConsole::Open_SetCompleted(const UInt64 *files, const UInt64 *bytes) in Open_SetCompleted() argument
55 if (files) in Open_SetCompleted()
57 _percent.Files = *files; in Open_SetCompleted()
59 _percent.Completed = *files; in Open_SetCompleted()
[all...]
/third_party/rust/crates/codespan/codespan-reporting/tests/
H A Dterm.rs2 use codespan_reporting::files::{SimpleFile, SimpleFiles};
91 let files = SimpleFiles::new();
102 TestData { files, diagnostics }
121 let mut files = SimpleFiles::new(); variables
123 let file_id1 = files.add(
152 TestData { files, diagnostics }
173 let mut files = SimpleFiles::new(); variables
175 let file_id1 = files.add(
185 let file_id2 = files.add(
192 let file_id3 = files
454 let mut files = SimpleFiles::new(); global() variables
540 let mut files = SimpleFiles::new(); global() variables
669 let mut files = SimpleFiles::new(); global() variables
732 let mut files = SimpleFiles::new(); global() variables
967 let mut files = SimpleFiles::new(); global() variables
[all...]
/third_party/vixl/tools/
H A Dlint.py53 '''This tool lints C++ files and produces a summary of the errors found.
54 If no files are provided on the command-line, all C++ source files are
60 parser.add_argument('files', nargs = '*')
125 # Returns the total number of errors found in the files linted.
128 # If not `None`, `cached_results` is used to avoid re-linting files, and new
130 def LintFiles(files,
145 files = list(filter(os.path.isfile, files))
147 # Filter out files fo
244 files = args.files or util.get_source_files() global() variable
[all...]

Completed in 10 milliseconds

12345678910>>...36