Home
last modified time | relevance | path

Searched refs:file (Results 1 - 25 of 14435) sorted by relevance

12345678910>>...578

/kernel/linux/linux-6.6/include/media/
H A Dv4l2-ioctl.h300 int (*vidioc_querycap)(struct file *file, void *fh,
304 int (*vidioc_enum_fmt_vid_cap)(struct file *file, void *fh,
306 int (*vidioc_enum_fmt_vid_overlay)(struct file *file, void *fh,
308 int (*vidioc_enum_fmt_vid_out)(struct file *file, void *fh,
310 int (*vidioc_enum_fmt_sdr_cap)(struct file *file, voi
[all...]
/kernel/linux/linux-5.10/include/media/
H A Dv4l2-ioctl.h300 int (*vidioc_querycap)(struct file *file, void *fh,
304 int (*vidioc_enum_fmt_vid_cap)(struct file *file, void *fh,
306 int (*vidioc_enum_fmt_vid_overlay)(struct file *file, void *fh,
308 int (*vidioc_enum_fmt_vid_out)(struct file *file, void *fh,
310 int (*vidioc_enum_fmt_sdr_cap)(struct file *file, voi
[all...]
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
H A Dvivid-vid-cap.h20 int vivid_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
21 int vivid_try_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
22 int vivid_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
23 int vidioc_g_fmt_vid_cap_mplane(struct file *file, void *priv, struct v4l2_format *f);
24 int vidioc_try_fmt_vid_cap_mplane(struct file *file, voi
[all...]
H A Dvivid-vid-out.h15 int vivid_g_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
16 int vivid_try_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
17 int vivid_s_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
18 int vidioc_g_fmt_vid_out_mplane(struct file *file, void *priv, struct v4l2_format *f);
19 int vidioc_try_fmt_vid_out_mplane(struct file *file, voi
[all...]
/kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/
H A Dvivid-vid-cap.h20 int vivid_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
21 int vivid_try_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
22 int vivid_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
23 int vidioc_g_fmt_vid_cap_mplane(struct file *file, void *priv, struct v4l2_format *f);
24 int vidioc_try_fmt_vid_cap_mplane(struct file *file, voi
[all...]
H A Dvivid-vid-out.h15 int vivid_g_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
16 int vivid_try_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
17 int vivid_s_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
18 int vidioc_g_fmt_vid_out_mplane(struct file *file, void *priv, struct v4l2_format *f);
19 int vidioc_try_fmt_vid_out_mplane(struct file *file, voi
[all...]
/third_party/pulseaudio/sonic/
H A Dwave.c4 This file is part of the Sonic Library.
6 This file is licensed under the Apache 2.0 license.
10 This file supports read/write wave files.
28 /* Write a string to a file. */
30 waveFile file, in writeBytes()
36 if(file->failed) { in writeBytes()
39 bytesWritten = fwrite(bytes, sizeof(char), length, file->soundFile); in writeBytes()
41 fprintf(stderr, "Unable to write to output file"); in writeBytes()
42 file->failed = 1; in writeBytes()
44 file in writeBytes()
29 writeBytes( waveFile file, void *bytes, int length) writeBytes() argument
48 writeString( waveFile file, char *string) writeString() argument
56 writeInt( waveFile file, int value) writeInt() argument
71 writeShort( waveFile file, short value) writeShort() argument
86 readBytes( waveFile file, void *bytes, int length) readBytes() argument
98 readExactBytes( waveFile file, void *bytes, int length) readExactBytes() argument
116 readInt( waveFile file) readInt() argument
131 readShort( waveFile file) readShort() argument
146 expectString( waveFile file, char *expectedString) expectString() argument
167 writeHeader( waveFile file, int sampleRate) writeHeader() argument
190 readHeader( waveFile file) readHeader() argument
227 closeFile( waveFile file) closeFile() argument
245 waveFile file; openInputWaveFile() local
270 waveFile file; openOutputWaveFile() local
290 closeWaveFile( waveFile file) closeWaveFile() argument
325 readFromWaveFile( waveFile file, short *buffer, int maxSamples) readFromWaveFile() argument
349 writeToWaveFile( waveFile file, short *buffer, int numSamples) writeToWaveFile() argument
[all...]
/third_party/protobuf/src/google/protobuf/
H A Ddescriptor_database_unittest.cc35 // This file makes extensive use of RFC 3092. :)
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()
194 FileDescriptorProto file; TEST_P() local
202 FileDescriptorProto file; TEST_P() local
231 FileDescriptorProto file; TEST_P() local
238 FileDescriptorProto file; TEST_P() local
249 FileDescriptorProto file; TEST_P() local
256 FileDescriptorProto file; TEST_P() local
263 FileDescriptorProto file; TEST_P() local
270 FileDescriptorProto file; TEST_P() local
277 FileDescriptorProto file; TEST_P() local
284 FileDescriptorProto file; TEST_P() local
291 FileDescriptorProto file; TEST_P() local
298 FileDescriptorProto file; TEST_P() local
305 FileDescriptorProto file; TEST_P() local
311 FileDescriptorProto file; TEST_P() local
339 FileDescriptorProto file; TEST_P() local
345 FileDescriptorProto file; TEST_P() local
352 FileDescriptorProto file; TEST_P() local
360 FileDescriptorProto file; TEST_P() local
368 FileDescriptorProto file; TEST_P() local
374 FileDescriptorProto file; TEST_P() local
381 FileDescriptorProto file; TEST_P() local
626 FileDescriptorProto file; TEST_F() local
634 FileDescriptorProto file; TEST_F() local
642 FileDescriptorProto file; TEST_F() local
650 FileDescriptorProto file; TEST_F() local
658 FileDescriptorProto file; TEST_F() local
666 FileDescriptorProto file; TEST_F() local
674 FileDescriptorProto file; TEST_F() local
682 FileDescriptorProto file; TEST_F() local
690 FileDescriptorProto file; TEST_F() local
699 FileDescriptorProto file; TEST_F() local
706 FileDescriptorProto file; TEST_F() local
714 FileDescriptorProto file; TEST_F() local
722 FileDescriptorProto file; TEST_F() local
730 FileDescriptorProto file; TEST_F() local
738 FileDescriptorProto file; TEST_F() local
747 FileDescriptorProto file; TEST_F() local
754 FileDescriptorProto file; TEST_F() local
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/
H A Ddrv_hdmi_proc.c495 static hi_void proc_sw_version(hdmi_proc_entry *file) in proc_sw_version() argument
497 osal_seq_printf(file, "%s\n", g_sz_version); in proc_sw_version()
501 static hi_void proc_app_attr_info(hdmi_proc_entry *file, hdmi_device_id hdmi_id) in proc_app_attr_info() argument
511 osal_seq_printf(file, "-------------------------- APPAttr -----------------------------\n"); in proc_app_attr_info()
513 osal_seq_printf(file, "%-15s: %-20s ", "HDMIEnable", app_attr->enable_hdmi ? STR_YES : STR_NO); in proc_app_attr_info()
515 osal_seq_printf(file, "%-15s: %-20s \n", "DefaultAction", g_default_action_str[index]); in proc_app_attr_info()
518 osal_seq_printf(file, "%-15s: %-20s ", "VideoEnable", app_attr->enable_video ? STR_YES : STR_NO); in proc_app_attr_info()
519 osal_seq_printf(file, "%-15s: %-20s \n", "AudioInfoEnable", app_attr->enable_audio ? STR_YES : STR_NO); in proc_app_attr_info()
522 osal_seq_printf(file, "%-15s: %-20s ", "avi_info_enable", app_attr->enable_avi_infoframe ? STR_YES : STR_NO); in proc_app_attr_info()
523 osal_seq_printf(file, " in proc_app_attr_info()
553 proc_run_state(hdmi_proc_entry *file, hi_u32 state) proc_run_state() argument
568 proc_transition_state(hdmi_proc_entry *file, hi_u32 state) proc_transition_state() argument
583 proc_sw_status(hdmi_proc_entry *file, hdmi_device_id hdmi_id) proc_sw_status() argument
630 proc_hdr_status(hdmi_proc_entry *file, hdmi_device_id hdmi_id) proc_hdr_status() argument
653 proc_frl_status(hdmi_proc_entry *file, hdmi_device_id hdmi_id) proc_frl_status() argument
702 proc_detail_timing(hdmi_proc_entry *file, const hdmi_video_status *video_status) proc_detail_timing() argument
719 proc_hw_status(hdmi_proc_entry *file, hdmi_device_id hdmi_id) proc_hw_status() argument
768 proc_if_raw_data(hdmi_proc_entry *file, hi_u32 *index, hi_u32 *line, hi_u8 *data) proc_if_raw_data() argument
786 proc_vic_timing(hdmi_proc_entry *file, const hdmi_vo_attr *vo_attr, const hdmi_infoframe_status *info_status) proc_vic_timing() argument
843 proc_video_attr(hdmi_proc_entry *file, const hdmi_vo_attr *vo_attr, const hdmi_infoframe_status *info_status) proc_video_attr() argument
906 proc_video_path(hdmi_proc_entry *file, hdmi_hardware_status *hw_status) proc_video_path() argument
969 proc_video_info(hdmi_proc_entry *file, hdmi_device_id hdmi_id) proc_video_info() argument
994 proc_hdr_of_data(hdmi_proc_entry *file, hi_u8 *data) proc_hdr_of_data() argument
1012 proc_hdr_info(hdmi_proc_entry *file, hdmi_device_id hdmi_id) proc_hdr_info() argument
1074 porc_auido_attr(hdmi_proc_entry *file, const hdmi_ao_attr *ao_attr, const hdmi_hardware_status *hw_status) porc_auido_attr() argument
1112 proc_audio_path(hdmi_proc_entry *file, hdmi_hardware_status *hw_status) proc_audio_path() argument
1178 proc_audio_info(hdmi_proc_entry *file, hdmi_device_id hdmi_id) proc_audio_info() argument
1199 proc_event_info(hdmi_proc_entry *file, hdmi_device_id hdmi_id) proc_event_info() argument
1249 proc_edid_raw_data(hdmi_proc_entry *file, hdmi_device_id hdmi_id) proc_edid_raw_data() argument
1296 proc_edid_status(hdmi_proc_entry *file, hdmi_device_id hdmi_id) proc_edid_status() argument
1361 proc_sink_basic_cap(hdmi_proc_entry *file, const hdmi_sink_capability *cap) proc_sink_basic_cap() argument
1414 proc_sink_video_deepcolor(hdmi_proc_entry *file, const hdmi_sink_capability *cap) proc_sink_video_deepcolor() argument
1447 proc_sink_video_colorimetry(hdmi_proc_entry *file, const hdmi_edid_colorimetry *colorimetry) proc_sink_video_colorimetry() argument
1479 proc_sink_video_cap(hdmi_proc_entry *file, const hdmi_sink_capability *cap) proc_sink_video_cap() argument
1527 proc_sink_std_format(hdmi_proc_entry *file, const hdmi_edid_std_timing *std_timing) proc_sink_std_format() argument
1562 proc_sink_format_cap(hdmi_proc_entry *file, const hdmi_sink_capability *cap) proc_sink_format_cap() argument
1614 proc_sink_3d_cap(hdmi_proc_entry *file, const hdmi_sink_capability *cap) proc_sink_3d_cap() argument
1636 proc_sink_audio_cap(hdmi_proc_entry *file, const hdmi_sink_capability *cap) proc_sink_audio_cap() argument
1678 proc_sink_hdr_cap(hdmi_proc_entry *file, const hdmi_sink_capability *cap) proc_sink_hdr_cap() argument
1729 proc_sink_frl_caps(hdmi_proc_entry *file, const hdmi_sink_capability *cap) proc_sink_frl_caps() argument
1738 proc_sink_detail_timing(hdmi_proc_entry *file, const hdmi_sink_capability *cap) proc_sink_detail_timing() argument
1779 drv_hdmi_read_proc(hdmi_proc_entry *file) drv_hdmi_read_proc() argument
1806 drv_hdmi_vo_read_proc(hdmi_proc_entry *file) drv_hdmi_vo_read_proc() argument
1827 drv_hdmi_ao_read_proc(osal_proc_entry_t *file) drv_hdmi_ao_read_proc() argument
1846 drv_hdmi_sink_read_proc(osal_proc_entry_t *file) drv_hdmi_sink_read_proc() argument
[all...]
/third_party/libsnd/tests/
H A Dcpp_test.cc42 /* Use this scope to make sure the created file is closed. */ in ceeplusplus_wchar_test()
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.refCount ()) ; in ceeplusplus_wchar_test()
51 /* This should check that the file did in fact get created with a in ceeplusplus_wchar_test()
60 /* Use this because the file was created with CreateFileW. */ 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.refCount ()) ; in create_file()
78 file in create_file()
103 check_title(const SndfileHandle & file, const char * filename) check_title() argument
123 { SndfileHandle file ; read_file() local
220 { SndfileHandle file ; ceeplusplus_extra_test() local
[all...]
H A Dstring_test.c205 long_title [] = "This is a very long and very boring title for this file",
218 SNDFILE *file ; in string_start_end_test() local
231 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_TRUE, __LINE__) ; in string_start_end_test()
233 /* Write stuff at start of file. */ in string_start_end_test()
234 sf_set_string (file, SF_STR_TITLE, filename) ; in string_start_end_test()
235 sf_set_string (file, SF_STR_SOFTWARE, software) ; in string_start_end_test()
236 sf_set_string (file, SF_STR_ARTIST, artist) ; in string_start_end_test()
237 sf_set_string (file, SF_STR_GENRE, genre) ; in string_start_end_test()
238 sf_set_string (file, SF_STR_TRACKNUMBER, trackno) ; in string_start_end_test()
240 /* Write data to file in string_start_end_test()
367 SNDFILE *file ; string_start_test() local
552 SNDFILE *file ; string_multi_set_test() local
621 { SNDFILE *file ; string_rdwr_test() local
674 { SNDFILE *file ; string_short_rdwr_test() local
755 SNDFILE *file ; software_string_test() local
785 { SNDFILE *file ; string_rdwr_grow_test() local
843 { SNDFILE *file , *file1 ; string_header_update() local
[all...]
/third_party/node/test/parallel/
H A Dtest-fs-read-stream-inherit.js15 const file = fs.ReadStream(fn);
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
[all...]
H A 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
[all...]
/kernel/linux/linux-6.6/fs/overlayfs/
H A Dfile.c7 #include <linux/file.h>
39 static struct file *ovl_open_realfile(const struct file *file, in ovl_open_realfile() argument
43 struct inode *inode = file_inode(file); in ovl_open_realfile()
45 struct file *realfile; in ovl_open_realfile()
47 int flags = file->f_flags | OVL_OPEN_FLAGS; in ovl_open_realfile()
63 realfile = backing_file_open(&file->f_path, flags, realpath, in ovl_open_realfile()
69 file, file, ovl_whatisi in ovl_open_realfile()
77 ovl_change_flags(struct file *file, unsigned int flags) ovl_change_flags() argument
104 ovl_real_fdget_meta(const struct file *file, struct fd *real, bool allow_meta) ovl_real_fdget_meta() argument
142 ovl_real_fdget(const struct file *file, struct fd *real) ovl_real_fdget() argument
154 ovl_open(struct inode *inode, struct file *file) ovl_open() argument
186 ovl_release(struct inode *inode, struct file *file) ovl_release() argument
193 ovl_llseek(struct file *file, loff_t offset, int whence) ovl_llseek() argument
238 ovl_file_accessed(struct file *file) ovl_file_accessed() argument
315 struct file *file = iocb->ki_filp; ovl_read_iter() local
364 struct file *file = iocb->ki_filp; ovl_write_iter() local
502 ovl_fsync(struct file *file, loff_t start, loff_t end, int datasync) ovl_fsync() argument
528 ovl_mmap(struct file *file, struct vm_area_struct *vma) ovl_mmap() argument
550 ovl_fallocate(struct file *file, int mode, loff_t offset, loff_t len) ovl_fallocate() argument
583 ovl_fadvise(struct file *file, loff_t offset, loff_t len, int advice) ovl_fadvise() argument
703 ovl_flush(struct file *file, fl_owner_t id) ovl_flush() argument
[all...]
/kernel/linux/linux-5.10/fs/sharefs/
H A Dfile.c3 * fs/sharefs/file.c
14 static int sharefs_readdir(struct file *file, struct dir_context *ctx) in sharefs_readdir() argument
17 struct file *lower_file = NULL; in sharefs_readdir()
18 struct dentry *dentry = file->f_path.dentry; in sharefs_readdir()
20 lower_file = sharefs_lower_file(file); in sharefs_readdir()
22 file->f_pos = lower_file->f_pos; in sharefs_readdir()
29 static int sharefs_open(struct inode *inode, struct file *file) in sharefs_open() argument
32 struct file *lower_fil in sharefs_open()
78 sharefs_flush(struct file *file, fl_owner_t id) sharefs_flush() argument
93 sharefs_file_release(struct inode *inode, struct file *file) sharefs_file_release() argument
107 sharefs_fsync(struct file *file, loff_t start, loff_t end, int datasync) sharefs_fsync() argument
126 sharefs_fasync(int fd, struct file *file, int flag) sharefs_fasync() argument
144 sharefs_file_llseek(struct file *file, loff_t offset, int whence) sharefs_file_llseek() argument
163 struct file *file = iocb->ki_filp; sharefs_read_iter() local
193 struct file *file = iocb->ki_filp; sharefs_write_iter() local
218 sharefs_file_mmap(struct file *file, struct vm_area_struct *vma) sharefs_file_mmap() argument
[all...]
/kernel/linux/linux-6.6/fs/sharefs/
H A Dfile.c3 * fs/sharefs/file.c
14 static int sharefs_readdir(struct file *file, struct dir_context *ctx) in sharefs_readdir() argument
17 struct file *lower_file = NULL; in sharefs_readdir()
18 struct dentry *dentry = file->f_path.dentry; in sharefs_readdir()
20 lower_file = sharefs_lower_file(file); in sharefs_readdir()
22 file->f_pos = lower_file->f_pos; in sharefs_readdir()
29 static int sharefs_open(struct inode *inode, struct file *file) in sharefs_open() argument
32 struct file *lower_fil in sharefs_open()
78 sharefs_flush(struct file *file, fl_owner_t id) sharefs_flush() argument
93 sharefs_file_release(struct inode *inode, struct file *file) sharefs_file_release() argument
107 sharefs_fsync(struct file *file, loff_t start, loff_t end, int datasync) sharefs_fsync() argument
126 sharefs_fasync(int fd, struct file *file, int flag) sharefs_fasync() argument
144 sharefs_file_llseek(struct file *file, loff_t offset, int whence) sharefs_file_llseek() argument
163 struct file *file = iocb->ki_filp; sharefs_read_iter() local
193 struct file *file = iocb->ki_filp; sharefs_write_iter() local
218 sharefs_file_mmap(struct file *file, struct vm_area_struct *vma) sharefs_file_mmap() argument
[all...]
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_disasm.c760 string(FILE *file, const char *string) in string() argument
762 fputs(string, file); in string()
801 control(FILE *file, const char *name, const char *const ctrl[], in control() argument
805 fprintf(file, "*** invalid %s value %d ", name, id); in control()
810 string(file, " "); in control()
811 string(file, ctrl[id]); in control()
819 print_opcode(FILE *file, const struct brw_isa_info *isa, in print_opcode() argument
824 format(file, "*** invalid opcode value %d ", id); in print_opcode()
827 string(file, desc->name); in print_opcode()
832 reg(FILE *file, unsigne argument
894 dest(FILE *file, const struct brw_isa_info *isa, const brw_inst *inst) dest() argument
975 dest_3src(FILE *file, const struct intel_device_info *devinfo, const brw_inst *inst) dest_3src() argument
1023 src_align1_region(FILE *file, unsigned _vert_stride, unsigned _width, unsigned _horiz_stride) src_align1_region() argument
1039 src_da1(FILE *file, const struct intel_device_info *devinfo, unsigned opcode, enum brw_reg_type type, unsigned _reg_file, unsigned _vert_stride, unsigned _width, unsigned _horiz_stride, unsigned reg_num, unsigned sub_reg_num, unsigned __abs, unsigned _negate) src_da1() argument
1069 src_ia1(FILE *file, const struct intel_device_info *devinfo, unsigned opcode, enum brw_reg_type type, int _addr_imm, unsigned _addr_subreg_nr, unsigned _negate, unsigned __abs, unsigned _horiz_stride, unsigned _width, unsigned _vert_stride) src_ia1() argument
1100 src_swizzle(FILE *file, unsigned swiz) src_swizzle() argument
1122 src_da16(FILE *file, const struct intel_device_info *devinfo, unsigned opcode, enum brw_reg_type type, unsigned _reg_file, unsigned _vert_stride, unsigned _reg_nr, unsigned _subreg_nr, unsigned __abs, unsigned _negate, unsigned swz_x, unsigned swz_y, unsigned swz_z, unsigned swz_w) src_da16() argument
1248 src0_3src(FILE *file, const struct intel_device_info *devinfo, const brw_inst *inst) src0_3src() argument
1335 src1_3src(FILE *file, const struct intel_device_info *devinfo, const brw_inst *inst) src1_3src() argument
1409 src2_3src(FILE *file, const struct intel_device_info *devinfo, const brw_inst *inst) src2_3src() argument
1497 imm(FILE *file, const struct brw_isa_info *isa, enum brw_reg_type type, const brw_inst *inst) imm() argument
1567 src_sends_da(FILE *file, const struct intel_device_info *devinfo, enum brw_reg_type type, enum brw_reg_file _reg_file, unsigned _reg_nr, unsigned _reg_subnr) src_sends_da() argument
1587 src_sends_ia(FILE *file, const struct intel_device_info *devinfo, enum brw_reg_type type, int _addr_imm, unsigned _addr_subreg_nr) src_sends_ia() argument
1605 src_send_desc_ia(FILE *file, const struct intel_device_info *devinfo, unsigned _addr_subreg_nr) src_send_desc_ia() argument
1618 src0(FILE *file, const struct brw_isa_info *isa, const brw_inst *inst) src0() argument
1697 src1(FILE *file, const struct brw_isa_info *isa, const brw_inst *inst) src1() argument
1761 qtr_ctrl(FILE *file, const struct intel_device_info *devinfo, const brw_inst *inst) qtr_ctrl() argument
1796 swsb(FILE *file, const struct brw_isa_info *isa, const brw_inst *inst) swsb() argument
1829 write_label(FILE *file, const struct intel_device_info *devinfo, const struct brw_label *root_label, int offset, int jump) write_label() argument
1844 lsc_disassemble_ex_desc(const struct intel_device_info *devinfo, uint32_t imm_desc, uint32_t imm_ex_desc, FILE *file) lsc_disassemble_ex_desc() argument
1888 brw_disassemble_inst(FILE *file, const struct brw_isa_info *isa, const brw_inst *inst, bool is_compacted, int offset, const struct brw_label *root_label) brw_disassemble_inst() argument
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/efivarfs/
H A Defivarfs.sh56 local file=$efivarfs_mount/$FUNCNAME-$test_guid
58 printf "$attrs\x00" > $file
60 if [ ! -e $file ]; then
61 echo "$file couldn't be created" >&2
65 if [ $(stat -c %s $file) -ne 5 ]; then
66 echo "$file has invalid size" >&2
67 file_cleanup $file
70 file_cleanup $file
75 local file=$efivarfs_mount/$FUNCNAME-$test_guid
77 : > $file
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/efivarfs/
H A Defivarfs.sh56 local file=$efivarfs_mount/$FUNCNAME-$test_guid
58 printf "$attrs\x00" > $file
60 if [ ! -e $file ]; then
61 echo "$file couldn't be created" >&2
65 if [ $(stat -c %s $file) -ne 5 ]; then
66 echo "$file has invalid size" >&2
67 file_cleanup $file
70 file_cleanup $file
75 local file=$efivarfs_mount/$FUNCNAME-$test_guid
77 : > $file
[all...]
/third_party/lwip/src/apps/http/
H A Dfs.c27 * This file is part of the lwIP TCP/IP stack.
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, void *callback_arg);
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, nam in fs_open()
96 fs_close(struct fs_file *file) fs_close() argument
112 fs_read_async(struct fs_file *file, char *buffer, int count, fs_wait_cb callback_fn, void *callback_arg) fs_read_async() argument
150 fs_is_file_ready(struct fs_file *file, fs_wait_cb callback_fn, void *callback_arg) fs_is_file_ready() argument
171 fs_bytes_left(struct fs_file *file) fs_bytes_left() argument
[all...]
/kernel/linux/linux-5.10/fs/
H A Dfile_table.c11 #include <linux/file.h>
40 /* SLAB cache for file structures */
47 struct file *f = container_of(head, struct file, f_u.fu_rcuhead); in file_free_rcu()
53 static inline void file_free(struct file *f) in file_free()
96 static struct file *__alloc_file(int flags, const struct cred *cred) in __alloc_file()
98 struct file *f; in __alloc_file()
124 /* Find an unused file structure and return a pointer to it.
125 * Returns an error pointer if some error happend e.g. we over file
134 struct file *alloc_empty_fil
191 struct file *file; alloc_file() local
224 struct file *file; alloc_file_pseudo() local
255 __fput(struct file *file) __fput() argument
335 fput_many(struct file *file, unsigned int refs) fput_many() argument
356 fput(struct file *file) fput() argument
369 __fput_sync(struct file *file) __fput_sync() argument
[all...]
/third_party/skia/third_party/externals/libpng/contrib/tools/
H A Dpngfix.c692 unsigned int errors :1; /* print file errors to stderr */
713 # define FILE_ERROR 0x10 /* could not read the file */
718 struct IDAT_list idat_cache; /* Cache of file IDAT information buffers */
832 struct file struct
839 const char * out_name; /* Name of output file (if required) */
860 FILE * file; /* Original PNG file */ member
901 void (*alloc)(struct file*,int idat);
948 emit_error(struct file *file, in argument
988 file_end(struct file *file) file_end() argument
1028 file_init(struct file *file, struct global *global, const char *file_name, const char *out_name, void *alloc_ptr, void (*alloc)(struct file*,int)) file_init() argument
1087 log_error(struct file *file, int code, const char *what) log_error() argument
1129 stop(struct file *file, int code, const char *what) stop() argument
1184 stop_invalid(struct file *file, const char *what) stop_invalid() argument
1190 type_message(struct file *file, png_uint_32 type, const char *what) type_message() argument
1208 file_getpos(struct file *file, fpos_t *pos) file_getpos() argument
1219 file_setpos(struct file *file, const fpos_t *pos) file_setpos() argument
1229 getpos(struct file *file) getpos() argument
1244 read_byte(struct file *file) read_byte() argument
1295 reread_byte(struct file *file) reread_byte() argument
1312 reread_4(struct file *file) reread_4() argument
1325 skip_12(struct file *file) skip_12() argument
1341 write_byte(struct file *file, int b) write_byte() argument
1362 read_4(struct file *file, png_uint_32 *pu) read_4() argument
1386 crc_read_many(struct file *file, png_uint_32 length) crc_read_many() argument
1413 calc_image_size(struct file *file) calc_image_size() argument
1542 struct file * file; global() member
1582 chunk_init(struct chunk * const chunk, struct file * const file) chunk_init() argument
1611 current_type(struct file *file, int code) current_type() argument
1663 process_zTXt_iCCP(struct file *file) process_zTXt_iCCP() argument
1694 process_iTXt(struct file *file) process_iTXt() argument
1752 struct file * file; global() member
1774 struct file *file = idat->file; IDAT_end() local
1791 IDAT_init(struct IDAT * const idat, struct file * const file) IDAT_init() argument
1907 process_IDAT(struct file *file) process_IDAT() argument
2015 struct file * file; global() member
2285 struct file *file = zlib->file; zlib_advance() local
2607 zlib_check(struct file *file, png_uint_32 offset) zlib_check() argument
2784 process_chunk(struct file *file, png_uint_32 file_crc, png_uint_32 next_length, png_uint_32 next_type) process_chunk() argument
2964 sync_stream(struct file *file) sync_stream() argument
3082 read_chunk(struct file *file) read_chunk() argument
3177 struct file *file = get_control(png_ptr); warning_handler() local
3190 struct file *file = get_control(png_ptr); read_callback() local
3525 struct file file; global() member
3548 allocate(struct file *file, int allocate_idat) allocate() argument
[all...]
/third_party/ltp/lib/
H A Dtst_netdevice.c18 static struct tst_rtnl_context *create_request(const char *file, in create_request() argument
28 ctx = tst_rtnl_create_context(file, lineno); in create_request()
33 if (!tst_rtnl_add_message(file, lineno, ctx, &header, payload, psize)) { in create_request()
34 tst_rtnl_destroy_context(file, lineno, ctx); in create_request()
41 int tst_netdev_index_by_name(const char *file, const int lineno, in tst_netdev_index_by_name() argument
48 tst_brk_(file, lineno, TBROK, in tst_netdev_index_by_name()
53 sock = safe_socket(file, lineno, NULL, AF_INET, SOCK_DGRAM, 0); in tst_netdev_index_by_name()
59 ret = SAFE_IOCTL_(file, lineno, sock, SIOCGIFINDEX, &ifr); in tst_netdev_index_by_name()
60 safe_close(file, lineno, NULL, sock); in tst_netdev_index_by_name()
65 int tst_netdev_set_state(const char *file, cons argument
101 tst_create_veth_pair(const char *file, const int lineno, int strict, const char *ifname1, const char *ifname2) tst_create_veth_pair() argument
160 tst_netdev_add_device(const char *file, const int lineno, int strict, const char *ifname, const char *devtype) tst_netdev_add_device() argument
204 tst_netdev_remove_device(const char *file, const int lineno, int strict, const char *ifname) tst_netdev_remove_device() argument
239 modify_address(const char *file, const int lineno, int strict, unsigned int action, unsigned int nl_flags, const char *ifname, unsigned int family, const void *address, unsigned int prefix, size_t addrlen, uint32_t addr_flags) modify_address() argument
289 tst_netdev_add_address(const char *file, const int lineno, int strict, const char *ifname, unsigned int family, const void *address, unsigned int prefix, size_t addrlen, unsigned int flags) tst_netdev_add_address() argument
298 tst_netdev_add_address_inet(const char *file, const int lineno, int strict, const char *ifname, in_addr_t address, unsigned int prefix, unsigned int flags) tst_netdev_add_address_inet() argument
306 tst_netdev_remove_address(const char *file, const int lineno, int strict, const char *ifname, unsigned int family, const void *address, size_t addrlen) tst_netdev_remove_address() argument
314 tst_netdev_remove_address_inet(const char *file, const int lineno, int strict, const char *ifname, in_addr_t address) tst_netdev_remove_address_inet() argument
321 change_ns(const char *file, const int lineno, int strict, const char *ifname, unsigned short attr, uint32_t value) change_ns() argument
362 tst_netdev_change_ns_fd(const char *file, const int lineno, int strict, const char *ifname, int nsfd) tst_netdev_change_ns_fd() argument
368 tst_netdev_change_ns_pid(const char *file, const int lineno, int strict, const char *ifname, pid_t nspid) tst_netdev_change_ns_pid() argument
374 modify_route(const char *file, const int lineno, int strict, unsigned int action, unsigned int flags, const char *ifname, unsigned int family, const void *srcaddr, unsigned int srcprefix, size_t srclen, const void *dstaddr, unsigned int dstprefix, size_t dstlen, const void *gateway, size_t gatewaylen) modify_route() argument
457 modify_route_inet(const char *file, const int lineno, int strict, unsigned int action, unsigned int flags, const char *ifname, in_addr_t srcaddr, unsigned int srcprefix, in_addr_t dstaddr, unsigned int dstprefix, in_addr_t gateway) modify_route_inet() argument
485 tst_netdev_add_route(const char *file, const int lineno, int strict, const char *ifname, unsigned int family, const void *srcaddr, unsigned int srcprefix, size_t srclen, const void *dstaddr, unsigned int dstprefix, size_t dstlen, const void *gateway, size_t gatewaylen) tst_netdev_add_route() argument
496 tst_netdev_add_route_inet(const char *file, const int lineno, int strict, const char *ifname, in_addr_t srcaddr, unsigned int srcprefix, in_addr_t dstaddr, unsigned int dstprefix, in_addr_t gateway) tst_netdev_add_route_inet() argument
505 tst_netdev_remove_route(const char *file, const int lineno, int strict, const char *ifname, unsigned int family, const void *srcaddr, unsigned int srcprefix, size_t srclen, const void *dstaddr, unsigned int dstprefix, size_t dstlen, const void *gateway, size_t gatewaylen) tst_netdev_remove_route() argument
516 tst_netdev_remove_route_inet(const char *file, const int lineno, int strict, const char *ifname, in_addr_t srcaddr, unsigned int srcprefix, in_addr_t dstaddr, unsigned int dstprefix, in_addr_t gateway) tst_netdev_remove_route_inet() argument
525 modify_qdisc(const char *file, const int lineno, int strict, const char *object, unsigned int action, unsigned int nl_flags, const char *ifname, unsigned int family, unsigned int parent, unsigned int handle, unsigned int info, const char *qd_kind, const struct tst_rtnl_attr_list *config) modify_qdisc() argument
584 tst_netdev_add_qdisc(const char *file, const int lineno, int strict, const char *ifname, unsigned int family, unsigned int parent, unsigned int handle, const char *qd_kind, const struct tst_rtnl_attr_list *config) tst_netdev_add_qdisc() argument
594 tst_netdev_remove_qdisc(const char *file, const int lineno, int strict, const char *ifname, unsigned int family, unsigned int parent, unsigned int handle, const char *qd_kind) tst_netdev_remove_qdisc() argument
603 tst_netdev_add_traffic_class(const char *file, const int lineno, int strict, const char *ifname, unsigned int parent, unsigned int handle, const char *qd_kind, const struct tst_rtnl_attr_list *config) tst_netdev_add_traffic_class() argument
613 tst_netdev_remove_traffic_class(const char *file, const int lineno, int strict, const char *ifname, unsigned int parent, unsigned int handle, const char *qd_kind) tst_netdev_remove_traffic_class() argument
622 tst_netdev_add_traffic_filter(const char *file, const int lineno, int strict, const char *ifname, unsigned int parent, unsigned int handle, unsigned int protocol, unsigned int priority, const char *f_kind, const struct tst_rtnl_attr_list *config) tst_netdev_add_traffic_filter() argument
633 tst_netdev_remove_traffic_filter(const char *file, const int lineno, int strict, const char *ifname, unsigned int parent, unsigned int handle, unsigned int protocol, unsigned int priority, const char *f_kind) tst_netdev_remove_traffic_filter() argument
[all...]
/third_party/alsa-lib/src/pcm/
H A Dpcm_file.c2 * \file pcm/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()
234 file->fname, file->final_fname);*/ in snd_pcm_file_open_output_file()
236 if (file in snd_pcm_file_open_output_file()
295 snd_pcm_file_t *file = pcm->private_data; snd_pcm_file_areas_read_infile() local
340 snd_pcm_file_t *file = pcm->private_data; write_wav_header() local
391 snd_pcm_file_t *file = pcm->private_data; fixup_wav_header() local
420 snd_pcm_file_t *file = pcm->private_data; snd_pcm_file_write_bytes() local
463 snd_pcm_file_t *file = pcm->private_data; snd_pcm_file_add_frames() local
494 snd_pcm_file_t *file = pcm->private_data; snd_pcm_file_close() local
514 snd_pcm_file_t *file = pcm->private_data; snd_pcm_file_reset() local
526 snd_pcm_file_t *file = pcm->private_data; snd_pcm_file_drop() local
539 snd_pcm_file_t *file = pcm->private_data; snd_pcm_file_drain() local
552 snd_pcm_file_t *file = pcm->private_data; snd_pcm_file_rewindable() local
562 snd_pcm_file_t *file = pcm->private_data; snd_pcm_file_rewind() local
580 snd_pcm_file_t *file = pcm->private_data; snd_pcm_file_forwardable() local
590 snd_pcm_file_t *file = pcm->private_data; snd_pcm_file_forward() local
609 snd_pcm_file_t *file = pcm->private_data; snd_pcm_file_writei() local
627 snd_pcm_file_t *file = pcm->private_data; snd_pcm_file_writen() local
645 snd_pcm_file_t *file = pcm->private_data; snd_pcm_file_readi() local
669 snd_pcm_file_t *file = pcm->private_data; snd_pcm_file_readn() local
694 snd_pcm_file_t *file = pcm->private_data; snd_pcm_file_mmap_commit() local
717 snd_pcm_file_t *file = pcm->private_data; snd_pcm_file_mmap_begin() local
739 snd_pcm_file_t *file = pcm->private_data; snd_pcm_file_hw_free() local
753 snd_pcm_file_t *file = pcm->private_data; snd_pcm_file_hw_params() local
811 snd_pcm_file_t *file = pcm->private_data; snd_pcm_file_dump() local
905 snd_pcm_file_t *file; snd_pcm_file_open() local
[all...]
/kernel/linux/linux-5.10/fs/overlayfs/
H A Dfile.c7 #include <linux/file.h>
39 static struct file *ovl_open_realfile(const struct file *file, in ovl_open_realfile() argument
42 struct inode *inode = file_inode(file); in ovl_open_realfile()
43 struct file *realfile; in ovl_open_realfile()
45 int flags = file->f_flags | OVL_OPEN_FLAGS; in ovl_open_realfile()
59 realfile = open_with_fake_path(&file->f_path, flags, realinode, in ovl_open_realfile()
65 file, file, ovl_whatisi in ovl_open_realfile()
73 ovl_change_flags(struct file *file, unsigned int flags) ovl_change_flags() argument
108 ovl_real_fdget_meta(const struct file *file, struct fd *real, bool allow_meta) ovl_real_fdget_meta() argument
137 ovl_real_fdget(const struct file *file, struct fd *real) ovl_real_fdget() argument
149 ovl_open(struct inode *inode, struct file *file) ovl_open() argument
170 ovl_release(struct inode *inode, struct file *file) ovl_release() argument
177 ovl_llseek(struct file *file, loff_t offset, int whence) ovl_llseek() argument
222 ovl_file_accessed(struct file *file) ovl_file_accessed() argument
299 struct file *file = iocb->ki_filp; ovl_read_iter() local
350 struct file *file = iocb->ki_filp; ovl_write_iter() local
467 ovl_fsync(struct file *file, loff_t start, loff_t end, int datasync) ovl_fsync() argument
493 ovl_mmap(struct file *file, struct vm_area_struct *vma) ovl_mmap() argument
524 ovl_fallocate(struct file *file, int mode, loff_t offset, loff_t len) ovl_fallocate() argument
557 ovl_fadvise(struct file *file, loff_t offset, loff_t len, int advice) ovl_fadvise() argument
576 ovl_real_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ovl_real_ioctl() argument
600 ovl_ioctl_set_flags(struct file *file, unsigned int cmd, unsigned long arg) ovl_ioctl_set_flags() argument
640 ovl_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ovl_ioctl() argument
663 ovl_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ovl_compat_ioctl() argument
[all...]

Completed in 17 milliseconds

12345678910>>...578