| /components/dfs/dfs_v1/filesystems/elmfat/ |
| A D | ff.h | 305 FRESULT f_open (FIL* fp, const TCHAR* path, BYTE mode); /* Open or create a file */ 306 FRESULT f_close (FIL* fp); /* Close an open file object */ 310 FRESULT f_truncate (FIL* fp); /* Truncate the file */ 311 FRESULT f_sync (FIL* fp); /* Flush cached data of the writing file */ 336 int f_putc (TCHAR c, FIL* fp); /* Put a character to the file */ 339 TCHAR* f_gets (TCHAR* buff, int len, FIL* fp); /* Get a string from the file */ 341 #define f_eof(fp) ((int)((fp)->fptr == (fp)->obj.objsize)) argument 342 #define f_error(fp) ((fp)->err) argument 343 #define f_tell(fp) ((fp)->fptr) argument 344 #define f_size(fp) ((fp)->obj.objsize) argument [all …]
|
| A D | ff.c | 3870 remain = fp->obj.objsize - fp->fptr; 3975 …= wcnt, *bw += wcnt, wbuff += wcnt, fp->fptr += wcnt, fp->obj.objsize = (fp->fptr > fp->obj.objsiz… 4040 fp->fptr < fp->obj.objsize && 4423 fp->clust = clmt_clust(fp, ofs - 1); 4479 fp->obj.objsize = fp->fptr; 4504 fp->obj.objsize = fp->fptr; 4877 ncl = get_fat(&fp->obj, fp->clust); 4882 res = remove_chain(&fp->obj, ncl, fp->clust); 5619 remain = fp->obj.objsize - fp->fptr; 5627 fp->obj.sclust : get_fat(&fp->obj, fp->clust); [all …]
|
| /components/dfs/dfs_v2/filesystems/elmfat/ |
| A D | ff.h | 305 FRESULT f_open (FIL* fp, const TCHAR* path, BYTE mode); /* Open or create a file */ 306 FRESULT f_close (FIL* fp); /* Close an open file object */ 310 FRESULT f_truncate (FIL* fp); /* Truncate the file */ 311 FRESULT f_sync (FIL* fp); /* Flush cached data of the writing file */ 336 int f_putc (TCHAR c, FIL* fp); /* Put a character to the file */ 339 TCHAR* f_gets (TCHAR* buff, int len, FIL* fp); /* Get a string from the file */ 343 #define f_eof(fp) ((int)((fp)->fptr == (fp)->obj.objsize)) argument 344 #define f_error(fp) ((fp)->err) argument 345 #define f_tell(fp) ((fp)->fptr) argument 346 #define f_size(fp) ((fp)->obj.objsize) argument [all …]
|
| A D | ff.c | 3934 remain = fp->obj.objsize - fp->fptr; 4039 …= wcnt, *bw += wcnt, wbuff += wcnt, fp->fptr += wcnt, fp->obj.objsize = (fp->fptr > fp->obj.objsiz… 4104 fp->fptr < fp->obj.objsize && 4489 fp->clust = clmt_clust(fp, ofs - 1); 4545 fp->obj.objsize = fp->fptr; 4570 fp->obj.objsize = fp->fptr; 4947 ncl = get_fat(&fp->obj, fp->clust); 4952 res = remove_chain(&fp->obj, ncl, fp->clust); 5699 remain = fp->obj.objsize - fp->fptr; 5707 fp->obj.sclust : get_fat(&fp->obj, fp->clust); [all …]
|
| /components/libc/posix/io/stdio/ |
| A D | stdio.c | 55 FILE *fp; in rt_posix_stdio_set_console() local 75 fp = fopen(name, file_mode); in rt_posix_stdio_set_console() 76 if (fp) in rt_posix_stdio_set_console() 78 setvbuf(fp, NULL, _IONBF, 0); in rt_posix_stdio_set_console() 85 std_console = fp; in rt_posix_stdio_set_console() 132 FILE *fp; in rt_posix_stdio_set_console() local 143 fp = fopen(name, file_mode); in rt_posix_stdio_set_console() 144 if (fp) in rt_posix_stdio_set_console() 146 setvbuf(fp, NULL, _IONBF, 0); in rt_posix_stdio_set_console() 153 std_console = fp; in rt_posix_stdio_set_console()
|
| /components/lwp/terminal/freebsd/ |
| A D | tty_pts.c | 438 struct file *fp = kn->kn_fp; in pts_kqops_read_detach() local 439 struct lwp_tty *tp = fp->f_data; in pts_kqops_read_detach() 447 struct file *fp = kn->kn_fp; in pts_kqops_read_event() local 448 struct lwp_tty *tp = fp->f_data; in pts_kqops_read_event() 465 struct file *fp = kn->kn_fp; in pts_kqops_write_detach() local 466 struct lwp_tty *tp = fp->f_data; in pts_kqops_write_detach() 474 struct file *fp = kn->kn_fp; in pts_kqops_write_event() local 475 struct lwp_tty *tp = fp->f_data; in pts_kqops_write_event() 503 struct lwp_tty *tp = fp->f_data; in ptsdev_kqfilter() 582 if (fp->f_vnode != NULL) in ptsdev_close() [all …]
|
| A D | tty_compat.c | 450 fdrop(fp, td); in lwp_tty_ioctl_adapter() 464 fdrop(fp, td); in lwp_tty_ioctl_adapter() 605 fdrop(fp, td); in lwp_tty_ioctl_adapter() 631 fdrop(fp, td); in lwp_tty_ioctl_adapter()
|
| /components/lwp/terminal/ |
| A D | bsd_porting.h | 204 struct file *fp); 683 typedef int fo_chown_t(struct file *fp, uid_t uid, gid_t gid, 688 typedef int fo_seek_t(struct file *fp, off_t offset, int whence, 691 typedef int fo_kqfilter_t(struct file *fp, struct knote *kn); 692 typedef int fo_fill_kinfo_t(struct file *fp, struct kinfo_file *kif, 697 typedef int fo_aio_queue_t(struct file *fp, struct kaiocb *job); 699 typedef int fo_add_seals_t(struct file *fp, int flags); 700 typedef int fo_get_seals_t(struct file *fp, int *flags); 701 typedef int fo_fallocate_t(struct file *fp, off_t offset, off_t len, 703 typedef int fo_fspacectl_t(struct file *fp, int cmd, off_t *offset, [all …]
|
| /components/dfs/dfs_v1/filesystems/nfs/ |
| A D | dfs_nfs.c | 792 nfs_file *fp; in nfs_open() local 805 fp = rt_malloc(sizeof(nfs_file)); in nfs_open() 806 if (fp == NULL) in nfs_open() 812 rt_free(fp); in nfs_open() 818 fp->size = nfs_get_filesize(nfs, handle); in nfs_open() 819 fp->offset = 0; in nfs_open() 820 fp->eof = FALSE; in nfs_open() 822 copy_handle(&fp->handle, handle); in nfs_open() 828 fp->offset = fp->size; in nfs_open() 832 nfs->data = fp; in nfs_open() [all …]
|
| /components/lwp/arch/aarch64/cortex-a/ |
| A D | lwp_gcc.S | 130 mov fp, xzr 151 stp fp, lr, [sp, -16]! 152 mov fp, sp 179 ldp fp, lr, [sp], 16
|
| A D | lwp_arch.c | 255 frame.fp = stack->x29; in arch_backtrace_uthread()
|
| /components/dfs/dfs_v2/src/ |
| A D | dfs_file.c | 162 char *tmp_path, *fp; in _dfs_normalize_path() local 175 fp = dfs_normalize_path(NULL, tmp_path); in _dfs_normalize_path() 178 return fp; in _dfs_normalize_path() 470 if (fp) in dfs_file_realpath() 472 int pos = rt_strncmp(path, fp, path_len); in dfs_file_realpath() 475 … int ret = _insert_link_path(fp + path_len, rt_strlen(fp + path_len), tmp_path, &index); in dfs_file_realpath() 478 rt_free(fp); in dfs_file_realpath() 495 pos = rt_strncmp(path, fp, path_len); in dfs_file_realpath() 506 … ret = _insert_link_path(fp + path_len, rt_strlen(fp + path_len), tmp_path, &index); in dfs_file_realpath() 509 rt_free(fp); in dfs_file_realpath() [all …]
|
| /components/net/lwip/lwip-2.0.3/src/netif/ppp/ |
| A D | auth.c | 1994 FILE *fp; 2005 fp = fopen(filename, "r"); 2006 if (fp == NULL) { 2010 check_access(fp, filename); 2013 ret = scan_authfile(fp, client, server, secret, &addrs, &opts, 2015 fclose(fp);
|
| /components/net/lwip/lwip-2.1.2/src/netif/ppp/ |
| A D | auth.c | 1994 FILE *fp; 2005 fp = fopen(filename, "r"); 2006 if (fp == NULL) { 2010 check_access(fp, filename); 2013 ret = scan_authfile(fp, client, server, secret, &addrs, &opts, 2015 fclose(fp);
|
| /components/lwp/arch/risc-v/rv64/ |
| A D | lwp_arch.c | 349 frame.fp = stack->s0_fp; in arch_backtrace_uthread()
|