Home
last modified time | relevance | path

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

12345678910>>...211

/third_party/node/deps/v8/tools/mb/
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): argument
[all …]
/third_party/cef/tools/cefbuilds/
Dcef_json_builder_test.py129 files = builder.get_files()
130 self.assertEqual(len(files), 0)
139 files = builder.get_files()
140 self.assertEqual(len(files), 1)
141 self.assertEqual(expected, files[0])
200 files = builder.get_files()
201 self.assertEqual(len(files), 1)
202 self.assertEqual(expected, files[0])
205 files = builder.get_files(platform='linux32')
206 self.assertEqual(len(files), 1)
[all …]
/third_party/node/deps/npm/node_modules/tar/lib/
Dcreate.js11 module.exports = (opt_, files, cb) => { argument
12 if (typeof files === 'function') {
13 cb = files
17 files = opt_, opt_ = {}
20 if (!files || !Array.isArray(files) || !files.length) {
24 files = Array.from(files)
36 return opt.file && opt.sync ? createFileSync(opt, files)
37 : opt.file ? createFile(opt, files, cb)
38 : opt.sync ? createSync(opt, files)
39 : create(opt, files)
[all …]
Dreplace.js19 module.exports = (opt_, files, cb) => { argument
30 if (!files || !Array.isArray(files) || !files.length) {
34 files = Array.from(files)
36 return opt.sync ? replaceSync(opt, files)
37 : replace(opt, files, cb)
40 const replaceSync = (opt, files) => { argument
93 streamSync(opt, p, position, fd, files)
103 const streamSync = (opt, p, position, fd, files) => { argument
109 addFilesSync(p, files)
112 const replace = (opt, files, cb) => { argument
[all …]
/third_party/rust/crates/codespan/codespan-reporting/examples/
Dcustom_files.rs18 let mut files = files::Files::new(); in main() localVariable
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 { module
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: Vec<File>, field
89 Files { files: Vec::new() } in new()
[all …]
/third_party/NuttX/fs/inode/
Dfs_files.c498 process_files = processCB->files; 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->next_fd = 3; in alloc_files()
790 spin_lock_init(&files->workdir_lock); in alloc_files()
791 memset_s(files->workdir, PATH_MAX, 0, PATH_MAX); in alloc_files()
792 files->workdir[0] = '/'; in alloc_files()
794 files->fdt = alloc_fd_table(NR_OPEN_DEFAULT); in alloc_files()
[all …]
/third_party/typescript/tests/baselines/reference/
DjsDeclarationsInterfaces.errors.txt1 …ations/index.js(4,18): error TS8006: 'interface' declarations can only be used in TypeScript files.
2 …ations/index.js(6,18): error TS8006: 'interface' declarations can only be used in TypeScript files.
3 …tions/index.js(10,18): error TS8006: 'interface' declarations can only be used in TypeScript files.
4 …tions/index.js(31,11): error TS8006: 'interface' declarations can only be used in TypeScript files.
5 …ons/index.js(33,10): error TS18043: Types cannot appear in export declarations in JavaScript files.
6 …tions/index.js(35,11): error TS8006: 'interface' declarations can only be used in TypeScript files.
7 …ons/index.js(37,10): error TS18043: Types cannot appear in export declarations in JavaScript files.
8 …tions/index.js(39,18): error TS8006: 'interface' declarations can only be used in TypeScript files.
9 …ons/index.js(40,10): error TS18043: Types cannot appear in export declarations in JavaScript files.
10 …ons/index.js(42,10): error TS18043: Types cannot appear in export declarations in JavaScript files.
[all …]
DjsDeclarationsClassesErr.errors.txt1 …ons/index.js(4,16): error TS8004: Type parameter declarations can only be used in TypeScript files.
2 …c/declarations/index.js(5,12): error TS8010: Type annotations can only be used in TypeScript files.
3 …ons/index.js(8,16): error TS8004: Type parameter declarations can only be used in TypeScript files.
4 …doc/declarations/index.js(8,29): error TS8011: Type arguments can only be used in TypeScript files.
5 …c/declarations/index.js(9,12): error TS8010: Type annotations can only be used in TypeScript files.
6 …/declarations/index.js(13,11): error TS8010: Type annotations can only be used in TypeScript files.
7 …/declarations/index.js(19,11): error TS8010: Type annotations can only be used in TypeScript files.
8 …/declarations/index.js(23,11): error TS8010: Type annotations can only be used in TypeScript files.
9 …/declarations/index.js(27,11): error TS8010: Type annotations can only be used in TypeScript files.
10 …/declarations/index.js(28,11): error TS8010: Type annotations can only be used in TypeScript files.
[all …]
DjsDeclarationsEnums.errors.txt1 …eclarations/index.js(4,13): error TS8006: 'enum' declarations can only be used in TypeScript files.
2 …eclarations/index.js(6,13): error TS8006: 'enum' declarations can only be used in TypeScript files.
3 …eclarations/index.js(10,6): error TS8006: 'enum' declarations can only be used in TypeScript files.
4 …eclarations/index.js(14,6): error TS8006: 'enum' declarations can only be used in TypeScript files.
5 …clarations/index.js(18,13): error TS8006: 'enum' declarations can only be used in TypeScript files.
6 …clarations/index.js(22,13): error TS8006: 'enum' declarations can only be used in TypeScript files.
7 …clarations/index.js(24,13): error TS8006: 'enum' declarations can only be used in TypeScript files.
8 …clarations/index.js(30,13): error TS8006: 'enum' declarations can only be used in TypeScript files.
9 …clarations/index.js(35,13): error TS8006: 'enum' declarations can only be used in TypeScript files.
10 …clarations/index.js(41,19): error TS8006: 'enum' declarations can only be used in TypeScript files.
[all …]
DnodeModulesForbidenSyntax(module=nodenext).errors.txt1 tests/cases/conformance/node/index.cts(2,12): error TS7060: This syntax is reserved in files with t…
2 tests/cases/conformance/node/index.cts(2,20): error TS7059: This syntax is reserved in files with t…
3 tests/cases/conformance/node/index.cts(2,23): error TS7059: This syntax is reserved in files with t…
4 tests/cases/conformance/node/index.mts(2,12): error TS7060: This syntax is reserved in files with t…
5 tests/cases/conformance/node/index.mts(2,20): error TS7059: This syntax is reserved in files with t…
6 tests/cases/conformance/node/index.mts(2,23): error TS7059: This syntax is reserved in files with t…
7 …/node/subfolder/index.cts(2,12): error TS7060: This syntax is reserved in files with the .mts or .…
8 …/node/subfolder/index.cts(2,20): error TS7059: This syntax is reserved in files with the .mts or .…
9 …/node/subfolder/index.cts(2,23): error TS7059: This syntax is reserved in files with the .mts or .…
10 …/node/subfolder/index.mts(2,12): error TS7060: This syntax is reserved in files with the .mts or .…
[all …]
/third_party/rust/crates/codespan/codespan-lsp/src/
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.source(file_id)?; in position_to_byte_index()
[all …]
/third_party/typescript/src/testRunner/unittests/config/
DprojectReferences.ts5 files: { [fileName: string]: string }; property
46 const files = new Map<string, string>(); constant
66 files.set(configFileName, configContent);
67 for (const sourceFile of Object.keys(sp.files)) {
68 files.set(sourceFile, sp.files[sourceFile]);
72 files.set(combineAllPaths("/", key, outDir, outFile), sp.outputFiles[outFile]);
77 …const vfsys = new vfs.FileSystem(false, { files: { "/lib.d.ts": TestFSWithWatch.libFile.content } …
78 files.forEach((v, k) => {
103 files: { "/primary/a.ts": emptyModule },
107 files: { "/secondary/b.ts": moduleImporting("../primary/a") },
[all …]
/third_party/skia/infra/bots/recipes/
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(
63 analyzed += len(files)
64 if files:
65 analyze_web_file(api, checkout_root, out_dir, files)
67 files = api.file.glob_paths(
72 analyzed += len(files)
[all …]
/third_party/typescript/src/testRunner/unittests/
DreuseProgramStructure.ts108 const files = arrayToMap(texts, t => t.name, t => { constant
126 getSourceFile: fileName => files.get(fileName),
134 fileExists: fileName => files.has(fileName),
136 const file = files.get(fileName);
141 …const filesByPath = mapEntries(files, (fileName, file) => [toPath(fileName, "", getCanonicalFileNa…
155 …eTexts, rootNames: readonly string[], options: CompilerOptions, updater: (files: NamedSourceText[]…
167 …export function updateProgramText(files: readonly NamedSourceText[], fileName: string, newProgramT…
168 const file = find(files, f => f.name === fileName)!;
216 const files: NamedSourceText[] = [ constant
231 const program1 = newProgram(files, ["a.ts"], { target });
[all …]
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
Dpkg_gencmn.cpp90 static File *files = NULL; variable
222 qsort(files, fileCount, sizeof(File), compareFiles); in createCommonDataFile()
231 files[i].fileOffset=fileOffset; in createCommonDataFile()
232 fileOffset+=(files[i].fileSize+15)&~0xf; in createCommonDataFile()
233 files[i].basenameOffset=basenameOffset; in createCommonDataFile()
234 basenameOffset+=files[i].basenameLength; in createCommonDataFile()
252 udata_write32(out, files[i].basenameOffset); in createCommonDataFile()
253 udata_write32(out, files[i].fileOffset); in createCommonDataFile()
258 udata_writeString(out, files[i].basename, files[i].basenameLength); in createCommonDataFile()
271 …printf("adding %s (%ld byte%s)\n", files[i].pathname, (long)files[i].fileSize, files[i].fileSize =… in createCommonDataFile()
[all …]
/third_party/icu/icu4c/source/tools/toolutil/
Dpkg_gencmn.cpp90 static File *files = NULL; variable
222 qsort(files, fileCount, sizeof(File), compareFiles); in createCommonDataFile()
231 files[i].fileOffset=fileOffset; in createCommonDataFile()
232 fileOffset+=(files[i].fileSize+15)&~0xf; in createCommonDataFile()
233 files[i].basenameOffset=basenameOffset; in createCommonDataFile()
234 basenameOffset+=files[i].basenameLength; in createCommonDataFile()
252 udata_write32(out, files[i].basenameOffset); in createCommonDataFile()
253 udata_write32(out, files[i].fileOffset); in createCommonDataFile()
258 udata_writeString(out, files[i].basename, files[i].basenameLength); in createCommonDataFile()
271 …printf("adding %s (%ld byte%s)\n", files[i].pathname, (long)files[i].fileSize, files[i].fileSize =… in createCommonDataFile()
[all …]
/third_party/python/Lib/distutils/tests/
Dtest_filelist.py103 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']
131 self.assertEqual(file_list.files, ['a', 'b', 'c', 'g'])
161 file_list.files = ['a.py', 'b.py']
166 file_list.files = ['a.py', 'a.txt']
168 self.assertEqual(file_list.files, ['a.txt'])
203 self.assertEqual(file_list.files, ['a.py'])
[all …]
/third_party/elfutils/libdw/
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()
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 != NULL && cu->files != (void *) -1l); in dwarf_getsrcfiles()
102 *files = cu->files; in dwarf_getsrcfiles()
104 *nfiles = cu->files->nfiles; in dwarf_getsrcfiles()
/third_party/littlefs/tests/
Dtest_interspersed.toml6 lfs_file_t files[FILES];
12 lfs_file_open(&lfs, &files[j], path,
18 lfs_file_write(&lfs, &files[j], &alphas[j], 1) => 1;
23 lfs_file_close(&lfs, &files[j]);
45 lfs_file_open(&lfs, &files[j], path, LFS_O_RDONLY) => 0;
50 lfs_file_read(&lfs, &files[j], buffer, 1) => 1;
56 lfs_file_close(&lfs, &files[j]);
120 lfs_file_t files[3];
121 lfs_file_open(&lfs, &files[0], "e", LFS_O_WRONLY | LFS_O_CREAT) => 0;
122 lfs_file_open(&lfs, &files[1], "f", LFS_O_WRONLY | LFS_O_CREAT) => 0;
[all …]
/third_party/node/deps/icu-small/source/tools/toolutil/
Dpkg_gencmn.cpp90 static File *files = nullptr; variable
222 qsort(files, fileCount, sizeof(File), compareFiles); in createCommonDataFile()
231 files[i].fileOffset=fileOffset; in createCommonDataFile()
232 fileOffset+=(files[i].fileSize+15)&~0xf; in createCommonDataFile()
233 files[i].basenameOffset=basenameOffset; in createCommonDataFile()
234 basenameOffset+=files[i].basenameLength; in createCommonDataFile()
252 udata_write32(out, files[i].basenameOffset); in createCommonDataFile()
253 udata_write32(out, files[i].fileOffset); in createCommonDataFile()
258 udata_writeString(out, files[i].basename, files[i].basenameLength); in createCommonDataFile()
271 …printf("adding %s (%ld byte%s)\n", files[i].pathname, (long)files[i].fileSize, files[i].fileSize =… in createCommonDataFile()
[all …]
/third_party/mesa3d/.gitlab-ci/container/
Dlava_build.sh136 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/rootfs-${DEBIAN_ARCH}/usr/bin/
178 mv /usr/local/bin/crosvm /lava-files/rootfs-${DEBIAN_ARCH}/usr/bin/
[all …]
/third_party/gn/src/gn/
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": [ "//dir/data.html" ],
[all …]
/third_party/node/lib/internal/fs/
Drecursive_watch.js46 async function traverse(dir, files = new SafeMap(), symbolicLinks = new SafeSet()) { argument
55 files.set(f, file);
61 ArrayPrototypePush(subdirectories, traverse(f, files));
67 return files;
73 #files = new SafeMap(); field in FSWatcher
116 for (const file of this.#files.keys()) {
120 this.#files.clear();
130 for (const filename of this.#files.keys()) {
141 const files = await opendir(folder);
143 for await (const file of files) {
[all …]
/third_party/gstreamer/gstplugins_base/tests/icles/
Dtest-header-compile16 files="allocators.h gstdmabuf.h"
18 files="app.h gstappsrc.h gstappsink.h"
20 files="audio.h audio-format.h audio-channels.h audio-info.h \
26 files="fft.h gstfft.h gstffts16.h gstffts32.h gstfftf32.h gstfftf64.h"
28 files="pbutils.h codec-utils.h descriptions.h encoding-profile.h \
32 files="riff.h riff-ids.h riff-media.h riff-read.h"
34 files="rtp.h gstrtpbuffer.h gstrtcpbuffer.h gstrtppayloads.h \
38 files="rtsp.h gstrtsp.h gstrtsptransport.h gstrtspurl.h \
42 files="sdp.h gstsdp.h gstsdpmessage.h"
44 files="tag.h gsttagdemux.h gsttagmux.h xmpwriter.h"
[all …]
/third_party/rust/crates/codespan/codespan-reporting/tests/support/
Dmod.rs2 use codespan_reporting::files::Files;
10 pub struct TestData<'files, F: Files<'files>> {
11 pub files: F, field
15 impl<'files, F: Files<'files>> TestData<'files, F> {
16 fn emit<W: WriteColor>(&'files self, mut writer: W, config: &Config) -> W { in emit()
18 emit(&mut writer, config, &self.files, &diagnostic).unwrap(); in emit()
23 pub fn emit_color(&'files self, config: &Config) -> String { in emit_color()
27 pub fn emit_no_color(&'files self, config: &Config) -> String { in emit_no_color()

12345678910>>...211