/third_party/e2fsprogs/lib/ext2fs/ |
D | fileio.c | 41 #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/toybox/tests/ |
D | chmod.test | 24 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/gstreamer/gstreamer/scripts/ |
D | update-states | 10 file=$1 12 if grep -q GstElementState $file; then 13 echo "$file: GstElementState->GstState" 14 perl -i -p -e 's/GstElementState/GstState/g' $file 17 if grep -q GstStateReturn $file; then 18 echo "$file: GstStateReturn->GstStateChangeReturn" 19 perl -i -p -e 's/GstStateReturn/GstStateChangeReturn/g' $file 22 if egrep 'GST_STATE_(ASYNC|SUCCESS|FAILURE|NO_PREROLL)' $file | grep -q -v 'NO_PREROLL ('; then 23 echo "$file: GST_STATE_SUCCESS -> GST_STATE_CHANGE_SUCCESS" 24 perl -i -p -e 's/GST_STATE_SUCCESS/GST_STATE_CHANGE_SUCCESS/g' $file [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | tsxStatelessFunctionComponentOverload1.symbols | 1 === 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 …]
|
D | tsxStatelessFunctionComponentOverload6.symbols | 1 === 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 …]
|
D | tsxStatelessFunctionComponentOverload5.symbols | 1 === 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 …]
|
D | tsxStatelessFunctionComponentsWithTypeArguments3.symbols | 1 === 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 …]
|
D | tsxReactEmit1.symbols | 1 === 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 …]
|
D | tsxTypeArgumentResolution.symbols | 1 === 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 …]
|
D | tsxEmit1.symbols | 1 === 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 …]
|
D | tsxStatelessFunctionComponentOverload4.symbols | 1 === 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/ |
D | descriptor_database_unittest.cc | 88 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/grpc/tools/release/ |
D | release_notes.py | 181 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/node/test/parallel/ |
D | test-fs-read-stream-inherit.js | 15 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 …]
|
/third_party/littlefs/tests/ |
D | test_entries.toml | 18 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 …]
|
/third_party/curl/docs/examples/ |
D | fopen.c | 71 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/alsa-lib/src/pcm/ |
D | pcm_file.c | 146 static int snd_pcm_file_replace_fname(snd_pcm_file_t *file, char **new_fname_p) in snd_pcm_file_replace_fname() argument 149 char *fname = file->fname; in snd_pcm_file_replace_fname() 154 snd_pcm_t *pcm = file->gen.slave; in snd_pcm_file_replace_fname() 225 static int snd_pcm_file_open_output_file(snd_pcm_file_t *file) in snd_pcm_file_open_output_file() argument 230 err = snd_pcm_file_replace_fname(file, &(file->final_fname)); in snd_pcm_file_open_output_file() 236 if (file->final_fname[0] == '|') { in snd_pcm_file_open_output_file() 240 pipe = popen(file->final_fname + 1, "w"); in snd_pcm_file_open_output_file() 243 file->final_fname); in snd_pcm_file_open_output_file() 247 file->pipe = pipe; in snd_pcm_file_open_output_file() 249 file->pipe = NULL; in snd_pcm_file_open_output_file() [all …]
|
/third_party/libsnd/tests/ |
D | cpp_test.cc | 44 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/gstreamer/gstreamer/plugins/elements/ |
D | gstsparsefile.c | 40 #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 80 get_write_range (GstSparseFile * file, gsize offset) in get_write_range() argument 84 if (file->write_range && file->write_range->stop == offset) in get_write_range() 85 return file->write_range; in get_write_range() 88 next = file->ranges; in get_write_range() 109 file->ranges = result; in get_write_range() 111 file->write_range = result; in get_write_range() [all …]
|
/third_party/libpng/contrib/tools/ |
D | pngfix.c | 832 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/ |
D | pngfix.c | 832 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/ |
D | pngfix.c | 832 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/gstreamer/gstreamer/tests/check/libs/ |
D | sparsefile.c | 35 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/lwip/src/apps/http/ |
D | fs.c | 44 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/mesa3d/src/intel/compiler/ |
D | brw_disasm.c | 757 string(FILE *file, const char *string) in string() argument 759 fputs(string, file); in string() 798 control(FILE *file, const char *name, const char *const ctrl[], in control() argument 802 fprintf(file, "*** invalid %s value %d ", name, id); in control() 807 string(file, " "); in control() 808 string(file, ctrl[id]); in control() 816 print_opcode(FILE *file, const struct intel_device_info *devinfo, in print_opcode() argument 821 format(file, "*** invalid opcode value %d ", id); in print_opcode() 824 string(file, desc->name); in print_opcode() 829 reg(FILE *file, unsigned _reg_file, unsigned _reg_nr) in reg() argument [all …]
|