Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 13825) sorted by relevance

12345678910>>...553

/third_party/toybox/tests/
Dchmod.test24 touch file
33 if [ "$type" == file ]
39 type=file
50 rm -rf dir file && mkdir dir && touch file
55 rm -rf dir file && mkdir dir && touch file
60 rm -rf dir file && mkdir dir && touch file
65 rm -rf dir file && mkdir dir && touch file
69 rm -rf dir file && mkdir dir && touch file
73 rm -rf dir file && mkdir dir && touch file
77 rm -rf dir file && mkdir dir && touch file
[all …]
/third_party/e2fsprogs/lib/ext2fs/
Dfileio.c41 #define BMAP_BUFFER (file->buf + fs->blocksize)
47 ext2_file_t file; in ext2fs_file_open2() local
58 retval = ext2fs_get_mem(sizeof(struct ext2_file), &file); in ext2fs_file_open2()
62 memset(file, 0, sizeof(struct ext2_file)); in ext2fs_file_open2()
63 file->magic = EXT2_ET_MAGIC_EXT2_FILE; in ext2fs_file_open2()
64 file->fs = fs; in ext2fs_file_open2()
65 file->ino = ino; in ext2fs_file_open2()
66 file->flags = flags & EXT2_FILE_MASK; in ext2fs_file_open2()
69 memcpy(&file->inode, inode, sizeof(struct ext2_inode)); in ext2fs_file_open2()
71 retval = ext2fs_read_inode(fs, ino, &file->inode); in ext2fs_file_open2()
[all …]
/third_party/typescript/tests/baselines/reference/
DtsxStatelessFunctionComponentOverload1.symbols1 === tests/cases/conformance/jsx/file.tsx ===
3 >React : Symbol(React, Decl(file.tsx, 0, 0))
6 …ing : Symbol(OneThing, Decl(file.tsx, 0, 31), Decl(file.tsx, 2, 57), Decl(file.tsx, 3, 76), Decl(f…
7 >k : Symbol(k, Decl(file.tsx, 2, 26))
8 >yxx : Symbol(yxx, Decl(file.tsx, 2, 30))
13 …ing : Symbol(OneThing, Decl(file.tsx, 0, 31), Decl(file.tsx, 2, 57), Decl(file.tsx, 3, 76), Decl(f…
14 >k : Symbol(k, Decl(file.tsx, 3, 26))
15 >yxx1 : Symbol(yxx1, Decl(file.tsx, 3, 30))
16 >children : Symbol(children, Decl(file.tsx, 3, 43))
21 …ing : Symbol(OneThing, Decl(file.tsx, 0, 31), Decl(file.tsx, 2, 57), Decl(file.tsx, 3, 76), Decl(f…
[all …]
DtsxStatelessFunctionComponentOverload6.symbols1 === tests/cases/conformance/jsx/file.tsx ===
3 >React : Symbol(React, Decl(file.tsx, 0, 0))
6 >ClickableProps : Symbol(ClickableProps, Decl(file.tsx, 0, 31))
9 >children : Symbol(ClickableProps.children, Decl(file.tsx, 2, 33))
12 >className : Symbol(ClickableProps.className, Decl(file.tsx, 3, 22))
16 >ButtonProps : Symbol(ButtonProps, Decl(file.tsx, 5, 1))
17 >ClickableProps : Symbol(ClickableProps, Decl(file.tsx, 0, 31))
20 >onClick : Symbol(ButtonProps.onClick, Decl(file.tsx, 7, 53))
21 >React : Symbol(React, Decl(file.tsx, 0, 0))
26 >LinkProps : Symbol(LinkProps, Decl(file.tsx, 9, 1))
[all …]
DtsxStatelessFunctionComponentOverload5.symbols1 === tests/cases/conformance/jsx/file.tsx ===
3 >React : Symbol(React, Decl(file.tsx, 0, 0))
6 >ClickableProps : Symbol(ClickableProps, Decl(file.tsx, 0, 31))
9 >children : Symbol(ClickableProps.children, Decl(file.tsx, 2, 33))
12 >className : Symbol(ClickableProps.className, Decl(file.tsx, 3, 22))
16 >ButtonProps : Symbol(ButtonProps, Decl(file.tsx, 5, 1))
17 >ClickableProps : Symbol(ClickableProps, Decl(file.tsx, 0, 31))
20 >onClick : Symbol(ButtonProps.onClick, Decl(file.tsx, 7, 53))
21 >React : Symbol(React, Decl(file.tsx, 0, 0))
26 >LinkProps : Symbol(LinkProps, Decl(file.tsx, 9, 1))
[all …]
DtsxStatelessFunctionComponentsWithTypeArguments3.symbols1 === tests/cases/conformance/jsx/file.tsx ===
3 >React : Symbol(React, Decl(file.tsx, 0, 0))
6 …OverloadComponent : Symbol(OverloadComponent, Decl(file.tsx, 0, 31), Decl(file.tsx, 2, 53), Decl(f…
7 >U : Symbol(U, Decl(file.tsx, 2, 35))
12 …OverloadComponent : Symbol(OverloadComponent, Decl(file.tsx, 0, 31), Decl(file.tsx, 2, 53), Decl(f…
13 >U : Symbol(U, Decl(file.tsx, 3, 35))
14 >attr : Symbol(attr, Decl(file.tsx, 3, 38))
15 >b : Symbol(b, Decl(file.tsx, 3, 45))
16 >U : Symbol(U, Decl(file.tsx, 3, 35))
17 >a : Symbol(a, Decl(file.tsx, 3, 50))
[all …]
DtsxReactEmit1.symbols1 === tests/cases/conformance/jsx/file.tsx ===
3 >JSX : Symbol(JSX, Decl(file.tsx, 0, 0))
6 >Element : Symbol(Element, Decl(file.tsx, 0, 20))
9 >IntrinsicElements : Symbol(IntrinsicElements, Decl(file.tsx, 1, 22))
12 >s : Symbol(s, Decl(file.tsx, 3, 3))
16 >React : Symbol(React, Decl(file.tsx, 6, 11))
19 >p : Symbol(p, Decl(file.tsx, 8, 3))
22 >selfClosed1 : Symbol(selfClosed1, Decl(file.tsx, 9, 3))
23 >div : Symbol(JSX.IntrinsicElements, Decl(file.tsx, 1, 22))
26 >selfClosed2 : Symbol(selfClosed2, Decl(file.tsx, 10, 3))
[all …]
DtsxTypeArgumentResolution.symbols1 === tests/cases/conformance/jsx/file.tsx ===
3 >React : Symbol(React, Decl(file.tsx, 0, 0))
6 >Prop : Symbol(Prop, Decl(file.tsx, 0, 32))
9 >a : Symbol(Prop.a, Decl(file.tsx, 2, 16))
12 >b : Symbol(Prop.b, Decl(file.tsx, 3, 14))
16 >MyComp : Symbol(MyComp, Decl(file.tsx, 5, 1))
17 >P : Symbol(P, Decl(file.tsx, 7, 21))
19 >React : Symbol(React, Decl(file.tsx, 0, 0))
21 >P : Symbol(P, Decl(file.tsx, 7, 21))
24 >internalProp : Symbol(MyComp.internalProp, Decl(file.tsx, 7, 56))
[all …]
DtsxEmit1.symbols1 === tests/cases/conformance/jsx/file.tsx ===
3 >JSX : Symbol(JSX, Decl(file.tsx, 0, 0))
6 >Element : Symbol(Element, Decl(file.tsx, 0, 20))
9 >IntrinsicElements : Symbol(IntrinsicElements, Decl(file.tsx, 1, 22))
12 >s : Symbol(s, Decl(file.tsx, 3, 3))
17 >p : Symbol(p, Decl(file.tsx, 7, 3))
20 >selfClosed1 : Symbol(selfClosed1, Decl(file.tsx, 8, 3))
21 >div : Symbol(JSX.IntrinsicElements, Decl(file.tsx, 1, 22))
24 >selfClosed2 : Symbol(selfClosed2, Decl(file.tsx, 9, 3))
25 >div : Symbol(JSX.IntrinsicElements, Decl(file.tsx, 1, 22))
[all …]
DtsxStatelessFunctionComponentOverload4.symbols1 === tests/cases/conformance/jsx/file.tsx ===
3 >React : Symbol(React, Decl(file.tsx, 0, 0))
6 >OneThing : Symbol(OneThing, Decl(file.tsx, 0, 31), Decl(file.tsx, 1, 41))
11 >OneThing : Symbol(OneThing, Decl(file.tsx, 0, 31), Decl(file.tsx, 1, 41))
12 >l : Symbol(l, Decl(file.tsx, 2, 26))
13 >yy : Symbol(yy, Decl(file.tsx, 2, 30))
14 >yy1 : Symbol(yy1, Decl(file.tsx, 2, 41))
19 >obj : Symbol(obj, Decl(file.tsx, 4, 3))
22 >yy : Symbol(yy, Decl(file.tsx, 4, 11))
25 >yy1 : Symbol(yy1, Decl(file.tsx, 5, 11))
[all …]
/third_party/protobuf/src/google/protobuf/
Ddescriptor_database_unittest.cc88 virtual bool AddToDatabase(const FileDescriptorProto& file) = 0;
104 virtual bool AddToDatabase(const FileDescriptorProto& file) { in AddToDatabase() argument
105 return database_.Add(file); in AddToDatabase()
122 virtual bool AddToDatabase(const FileDescriptorProto& file) { in AddToDatabase() argument
124 file.SerializeToString(&data); in AddToDatabase()
143 virtual bool AddToDatabase(const FileDescriptorProto& file) { in AddToDatabase() argument
144 return pool_.BuildFile(file); in AddToDatabase()
187 FileDescriptorProto file; in TEST_P() local
188 EXPECT_TRUE(database_->FindFileByName("foo.proto", &file)); in TEST_P()
189 EXPECT_EQ("foo.proto", file.name()); in TEST_P()
[all …]
/third_party/node/test/parallel/
Dtest-fs-read-stream-inherit.js15 const file = fs.ReadStream(fn); constant
17 file.on('open', common.mustCall(function(fd) {
18 file.length = 0;
20 assert.ok(file.readable);
23 file.pause();
24 file.resume();
25 file.pause();
26 file.resume();
29 file.on('data', common.mustCallAtLeast(function(data) {
32 file.length += data.length;
[all …]
Dtest-fs-read-stream.js38 const file = fs.createReadStream(fn, options);
41 assert.strictEqual(file.bytesRead, 0);
43 file.on('open', common.mustCall(function(fd) {
44 file.length = 0;
46 assert.strictEqual(file.bytesRead, 0);
47 assert.ok(file.readable);
50 file.pause();
51 file.resume();
52 file.pause();
53 file.resume();
[all …]
/third_party/grpc/tools/release/
Drelease_notes.py181 def write_draft(langs_pr, file, version, date): argument
182 file.write(content_header.format(version=version, date=date))
183 file.write("PRs with missing release notes label - please fix in Github\n")
184 file.write("---\n")
185 file.write("\n")
188 file.write("\n".join(langs_pr["nolabel"]))
190 file.write("- None")
191 file.write("\n")
192 file.write("\n")
193 file.write("PRs with missing lang label - please fix in Github\n")
[all …]
/third_party/libsnd/tests/
Dcpp_test.cc44 SndfileHandle file (filename, SFM_WRITE, SF_FORMAT_WAV | SF_FORMAT_PCM_16, 2, 44100) ; in ceeplusplus_wchar_test()
46 if (file.refCount () != 1) in ceeplusplus_wchar_test()
47 …{ printf ("\n\n%s %d : Error : Reference count (%d) should be 1.\n\n", __func__, __LINE__, file.re… in ceeplusplus_wchar_test()
71 { SndfileHandle file ; in create_file() local
73 if (file.refCount () != 0) in create_file()
74 …{ printf ("\n\n%s %d : Error : Reference count (%d) should be zero.\n\n", __func__, __LINE__, file in create_file()
78 file = SndfileHandle (filename, SFM_WRITE, format, 2, 48000) ; in create_file()
80 if (file.refCount () != 1) in create_file()
81 …{ printf ("\n\n%s %d : Error : Reference count (%d) should be 1.\n\n", __func__, __LINE__, file.re… in create_file()
85 file.setString (SF_STR_TITLE, filename) ; in create_file()
[all …]
/third_party/littlefs/tests/
Dtest_entries.toml18 lfs_file_open(&lfs, &file, path,
21 lfs_file_write(&lfs, &file, wbuffer, size) => size;
22 lfs_file_size(&lfs, &file) => size;
23 lfs_file_close(&lfs, &file) => 0;
26 lfs_file_open(&lfs, &file, path,
29 lfs_file_write(&lfs, &file, wbuffer, size) => size;
30 lfs_file_size(&lfs, &file) => size;
31 lfs_file_close(&lfs, &file) => 0;
34 lfs_file_open(&lfs, &file, path,
37 lfs_file_write(&lfs, &file, wbuffer, size) => size;
[all …]
Dtest_seek.toml2 [[case]] # simple file seek
14 lfs_file_open(&lfs, &file, "kitty",
19 lfs_file_write(&lfs, &file, buffer, size);
21 lfs_file_close(&lfs, &file) => 0;
25 lfs_file_open(&lfs, &file, "kitty", LFS_O_RDONLY) => 0;
30 lfs_file_read(&lfs, &file, buffer, size) => size;
32 pos = lfs_file_tell(&lfs, &file);
36 lfs_file_seek(&lfs, &file, pos, LFS_SEEK_SET) => pos;
37 lfs_file_read(&lfs, &file, buffer, size) => size;
40 lfs_file_rewind(&lfs, &file) => 0;
[all …]
/third_party/curl/docs/examples/
Dfopen.c71 FILE *file; member
84 int url_fclose(URL_FILE *file);
85 int url_feof(URL_FILE *file);
86 size_t url_fread(void *ptr, size_t size, size_t nmemb, URL_FILE *file);
87 char *url_fgets(char *ptr, size_t size, URL_FILE *file);
88 void url_rewind(URL_FILE *file);
128 static int fill_buffer(URL_FILE *file, size_t want) in fill_buffer() argument
140 if((!file->still_running) || (file->buffer_pos > want)) in fill_buffer()
203 curl_multi_perform(multi_handle, &file->still_running); in fill_buffer()
206 } while(file->still_running && (file->buffer_pos < want)); in fill_buffer()
[all …]
/third_party/lwip/src/apps/http/
Dfs.c44 int fs_open_custom(struct fs_file *file, const char *name);
45 void fs_close_custom(struct fs_file *file);
47 u8_t fs_canread_custom(struct fs_file *file);
48 u8_t fs_wait_read_custom(struct fs_file *file, fs_wait_cb callback_fn, void *callback_arg);
49 int fs_read_async_custom(struct fs_file *file, char *buffer, int count, fs_wait_cb callback_fn, voi…
51 int fs_read_custom(struct fs_file *file, char *buffer, int count);
57 fs_open(struct fs_file *file, const char *name) in fs_open() argument
61 if ((file == NULL) || (name == NULL)) { in fs_open()
66 if (fs_open_custom(file, name)) { in fs_open()
67 file->is_custom_file = 1; in fs_open()
[all …]
/third_party/gstreamer/gstreamer/tests/check/libs/
Dsparsefile.c35 expect_range_before (GstSparseFile * file, gsize offset, gsize start, in expect_range_before() argument
40 fail_unless (gst_sparse_file_get_range_before (file, offset, &tstart, in expect_range_before()
47 expect_range_after (GstSparseFile * file, gsize offset, gsize start, gsize stop) in expect_range_after() argument
51 fail_unless (gst_sparse_file_get_range_after (file, offset, &tstart, in expect_range_after()
58 expect_write (GstSparseFile * file, gsize offset, gsize count, gsize result, in expect_write() argument
65 res = gst_sparse_file_write (file, offset, buffer, count, &a, &error); in expect_write()
78 expect_read (GstSparseFile * file, gsize offset, gsize count, gsize result, in expect_read() argument
85 res = gst_sparse_file_read (file, offset, buffer, count, &a, &error); in expect_read()
99 GstSparseFile *file; in GST_START_TEST() local
108 file = gst_sparse_file_new (); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstreamer/plugins/elements/
Dgstsparsefile.c40 #define FSEEK_FILE(file,offset) (fseeko (file, (off_t) offset, SEEK_SET) != 0) argument
42 #define FSEEK_FILE(file,offset) (lseek (fileno (file), (off_t) offset, SEEK_SET) == (off_t) -1) argument
44 #define FSEEK_FILE(file,offset) (fseek (file, offset, SEEK_SET) != 0) argument
68 FILE *file; member
79 get_write_range (GstSparseFile * file, gsize offset) in get_write_range() argument
83 if (file->write_range && file->write_range->stop == offset) in get_write_range()
84 return file->write_range; in get_write_range()
87 next = file->ranges; in get_write_range()
108 file->ranges = result; in get_write_range()
110 file->write_range = result; in get_write_range()
[all …]
/third_party/libpng/contrib/tools/
Dpngfix.c832 struct file struct
860 FILE * file; /* Original PNG file */ argument
901 void (*alloc)(struct file*,int idat); argument
948 emit_error(struct file *file, int code, const char *what) in emit_error() argument
963 err = file->read_errno; in emit_error()
966 err = file->write_errno; in emit_error()
969 err = file->read_errno; in emit_error()
971 err = file->write_errno; in emit_error()
977 fprintf(stderr, "%s: %s %s [%s]\n", file->file_name, reason, what, in emit_error()
981 fprintf(stderr, "%s: %s %s\n", file->file_name, reason, what); in emit_error()
[all …]
/third_party/flutter/skia/third_party/externals/libpng/contrib/tools/
Dpngfix.c832 struct file struct
860 FILE * file; /* Original PNG file */ argument
901 void (*alloc)(struct file*,int idat); argument
948 emit_error(struct file *file, int code, const char *what) in emit_error() argument
963 err = file->read_errno; in emit_error()
966 err = file->write_errno; in emit_error()
969 err = file->read_errno; in emit_error()
971 err = file->write_errno; in emit_error()
977 fprintf(stderr, "%s: %s %s [%s]\n", file->file_name, reason, what, in emit_error()
981 fprintf(stderr, "%s: %s %s\n", file->file_name, reason, what); in emit_error()
[all …]
/third_party/skia/third_party/externals/libpng/contrib/tools/
Dpngfix.c832 struct file struct
860 FILE * file; /* Original PNG file */ argument
901 void (*alloc)(struct file*,int idat); argument
948 emit_error(struct file *file, int code, const char *what) in emit_error() argument
963 err = file->read_errno; in emit_error()
966 err = file->write_errno; in emit_error()
969 err = file->read_errno; in emit_error()
971 err = file->write_errno; in emit_error()
977 fprintf(stderr, "%s: %s %s [%s]\n", file->file_name, reason, what, in emit_error()
981 fprintf(stderr, "%s: %s %s\n", file->file_name, reason, what); in emit_error()
[all …]
/third_party/curl/lib/
Dchecksrc.pl35 my $file;
142 my ($name, $num, $col, $file, $line, $msg, $error) = @_;
162 enable_warn($name, $num, $file, $line);
185 print "$file:$num:$col: $w: $msg ($name)\n";
194 $file = shift @ARGV;
196 while(defined $file) {
198 if($file =~ /-D(.*)/) {
200 $file = shift @ARGV;
203 elsif($file =~ /-W(.*)/) {
205 $file = shift @ARGV;
[all …]

12345678910>>...553