/nrf52832-nimble/ |
H A D | project.uvprojx | 382 <File> 386 </File> 387 <File> 391 </File> 392 <File> 396 </File> 397 <File> 401 </File> 402 <File> 406 </File> [all …]
|
H A D | project.uvoptx | 177 <File> 188 </File> 189 <File> 200 </File> 201 <File> 212 </File> 213 <File> 224 </File> 225 <File> 236 </File> [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/apps/httpd/ |
H A D | fs.c | 27 * This file is part of the lwIP TCP/IP stack. 49 int fs_open_custom(struct fs_file *file, const char *name); 50 void fs_close_custom(struct fs_file *file); 52 u8_t fs_canread_custom(struct fs_file *file); 53 u8_t fs_wait_read_custom(struct fs_file *file, fs_wait_cb callback_fn, void *callback_arg); 54 int fs_read_async_custom(struct fs_file *file, char *buffer, int count, fs_wait_cb callback_fn, voi… 56 int fs_read_custom(struct fs_file *file, char *buffer, int count); 62 fs_open(struct fs_file *file, const char *name) in fs_open() argument 66 if ((file == NULL) || (name == NULL)) { in fs_open() 71 if (fs_open_custom(file, name)) { in fs_open() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/apps/http/ |
H A D | fs.c | 27 * 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, 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() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/apps/httpd/makefsdata/ |
H A D | makefsdata | 8 while($file = <FILES>) { 11 if($file =~ /(CVS|~)/) { 15 chop($file); 18 if($file =~ /404/) { 19 print(HEADER "HTTP/1.0 404 File not found\r\n"); 24 if($file =~ /\.html$/) { 26 } elsif($file =~ /\.gif$/) { 28 } elsif($file =~ /\.png$/) { 30 } elsif($file =~ /\.jpg$/) { 32 } elsif($file =~ /\.class$/) { [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/apps/http/makefsdata/ |
H A D | makefsdata | 8 while($file = <FILES>) { 11 if($file =~ /(CVS|~)/) { 15 chop($file); 18 if($file =~ /404/) { 19 print(HEADER "HTTP/1.0 404 File not found\r\n"); 24 if($file =~ /\.html$/) { 26 } elsif($file =~ /\.gif$/) { 28 } elsif($file =~ /\.png$/) { 30 } elsif($file =~ /\.jpg$/) { 32 } elsif($file =~ /\.class$/) { [all …]
|
/nrf52832-nimble/rt-thread/components/net/uip/apps/webserver/ |
H A D | makefsdata | 11 foreach $file (@files) { 13 if(-d $file && $file !~ /^\./) { 14 print "Processing directory $file\n"; 15 opendir(DIR, $file); 19 @files = (@files, map { $_ = "$file/$_" } @newfiles); 24 foreach $file (@files) { 25 if(-f $file) { 27 print "Adding file $file\n"; 29 open(FILE, $file) || die "Could not open file $file\n"; 31 $file =~ s-^-/-; [all …]
|
/nrf52832-nimble/rt-thread/tools/kconfig-frontends/libs/parser/ |
H A D | util.c | 13 /* file already present in list? If not add it */ 14 struct file *file_lookup(const char *name) in file_lookup() 16 struct file *file; in file_lookup() local 19 for (file = file_list; file; file = file->next) { in file_lookup() 20 if (!strcmp(name, file->name)) { in file_lookup() 22 return file; in file_lookup() 26 file = xmalloc(sizeof(*file)); in file_lookup() 27 memset(file, 0, sizeof(*file)); in file_lookup() 28 file->name = file_name; in file_lookup() 29 file->next = file_list; in file_lookup() [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/ramfs/ |
H A D | dfs_ramfs.c | 57 int dfs_ramfs_ioctl(struct dfs_fd *file, int cmd, void *args) in dfs_ramfs_ioctl() argument 95 int dfs_ramfs_read(struct dfs_fd *file, void *buf, size_t count) in dfs_ramfs_read() argument 100 dirent = (struct ramfs_dirent *)file->data; in dfs_ramfs_read() 103 if (count < file->size - file->pos) in dfs_ramfs_read() 106 length = file->size - file->pos; in dfs_ramfs_read() 109 memcpy(buf, &(dirent->data[file->pos]), length); in dfs_ramfs_read() 111 /* update file current position */ in dfs_ramfs_read() 112 file->pos += length; in dfs_ramfs_read() 139 /* update dirent and file size */ in dfs_ramfs_write() 148 /* update file current position */ in dfs_ramfs_write() [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/jffs2/cyg/compress/src/ |
H A D | gzio.c | 5 * Compile this file with -DNO_GZCOMPRESS to avoid the compression code. 35 FILE *fdopen(int, const char *); 49 #define ASCII_FLAG 0x01 /* bit 0 set: file probably ascii text */ 52 #define ORIG_NAME 0x08 /* bit 3 set: original file name present */ 53 #define COMMENT 0x10 /* bit 4 set: file comment present */ 59 int z_eof; /* set if end of input file */ 60 FILE *file; /* .gz file */ member 66 int transparent; /* 1 if input file is not a .gz file */ 68 z_off_t start; /* start of compressed data in file (header skipped) */ 77 local int do_flush OF((gzFile file, int flush)); [all …]
|
H A D | minigzip.c | 9 * full-featured gzip. No attempt is made to deal with file systems 12 * real thing. On MSDOS, use only on file names without extension 35 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) argument 37 # define SET_BINARY_MODE(file) argument 47 # define fileno(file) file->__file argument 75 void gz_compress OF((FILE *in, gzFile out)); 77 int gz_compress_mmap OF((FILE *in, gzFile out)); 79 void gz_uncompress OF((gzFile in, FILE *out)); 80 void file_compress OF((char *file, char *mode)); 81 void file_uncompress OF((char *file)); [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/devfs/ |
H A D | devfs.c | 32 int dfs_device_fs_ioctl(struct dfs_fd *file, int cmd, void *args) in dfs_device_fs_ioctl() argument 37 RT_ASSERT(file != RT_NULL); in dfs_device_fs_ioctl() 40 dev_id = (rt_device_t)file->data; in dfs_device_fs_ioctl() 51 int dfs_device_fs_read(struct dfs_fd *file, void *buf, size_t count) in dfs_device_fs_read() argument 56 RT_ASSERT(file != RT_NULL); in dfs_device_fs_read() 59 dev_id = (rt_device_t)file->data; in dfs_device_fs_read() 63 result = rt_device_read(dev_id, file->pos, buf, count); in dfs_device_fs_read() 64 file->pos += result; in dfs_device_fs_read() 69 int dfs_device_fs_write(struct dfs_fd *file, const void *buf, size_t count) in dfs_device_fs_write() argument 74 RT_ASSERT(file != RT_NULL); in dfs_device_fs_write() [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/romfs/ |
H A D | dfs_romfs.c | 35 int dfs_romfs_ioctl(struct dfs_fd *file, int cmd, void *args) in dfs_romfs_ioctl() argument 114 /* return file dirent */ in dfs_romfs_lookup() 131 int dfs_romfs_read(struct dfs_fd *file, void *buf, size_t count) in dfs_romfs_read() argument 136 dirent = (struct romfs_dirent *)file->data; in dfs_romfs_read() 144 if (count < file->size - file->pos) in dfs_romfs_read() 147 length = file->size - file->pos; in dfs_romfs_read() 150 memcpy(buf, &(dirent->data[file->pos]), length); in dfs_romfs_read() 152 /* update file current position */ in dfs_romfs_read() 153 file->pos += length; in dfs_romfs_read() 158 int dfs_romfs_lseek(struct dfs_fd *file, off_t offset) in dfs_romfs_lseek() argument [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/uffs/ |
H A D | dfs_uffs.c | 22 #include "uffs/uffs_fd.h" /* posix file api is here */ 32 #define FILE_PATH_MAX 256 /* the longest file path */ 55 case UEACCES:/** Tried to open read-only file for writing, or files sharing mode in uffs_result_to_dfs() 65 case UEMFILE: /** No more file handles available(too many open files) */ in uffs_result_to_dfs() 68 case UENOENT: /** file or path not found */ in uffs_result_to_dfs() 71 case UETIME: /** can't set file time */ in uffs_result_to_dfs() 74 case UEBADF: /** invalid file handle */ in uffs_result_to_dfs() 276 static int dfs_uffs_open(struct dfs_fd* file) in dfs_uffs_open() argument 282 oflag = file->flags; in dfs_uffs_open() 289 if (uffs_mkdir(file->path) < 0) in dfs_uffs_open() [all …]
|
/nrf52832-nimble/rt-thread/tools/kconfig-frontends/scripts/.autostuff/scripts/ |
H A D | compile | 23 # distribute this file as part of a program that contains a 27 # This file is maintained in Automake, please report 41 # Convert a $build file to $host form and store it in $file 47 file=$1 48 case $file in 49 / | /[!/]*) # absolute file, and not a UNC file 68 file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` 71 file=`cygpath -m "$file" || echo "$file"` 74 file=`winepath -w "$file" || echo "$file"` 87 lib_path=$file [all …]
|
H A D | ar-lib | 24 # distribute this file as part of a program that contains a 28 # This file is maintained in Automake, please report 43 # Convert a $build file to $host form and store it in $file 47 file=$1 48 case $file in 49 / | /[!/]*) # absolute file, and not a UNC file 66 file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` 69 file=`cygpath -m "$file" || echo "$file"` 72 file=`winepath -w "$file" || echo "$file"` 82 # When interpreting the content of the @FILE, do NOT use func_file_conv, [all …]
|
/nrf52832-nimble/rt-thread/documentation/doxygen/ |
H A D | filesystem.h | 2 * This file is only used for doxygen document generation. 6 * @defgroup DFS Device Virtual File System 8 * @brief DFS is a virtual file system in RT-Thread RTOS. 10 * The DFS (Device Virtual File System) is a vfs file system of RT-Thread RTOS, 12 * more concrete file system. The purpose of a VFS is to allow client applications 13 * to access different types of concrete file systems in a uniform way. 15 * @image html dfs.png "Figure 4: Device Virtual File System Architecture" 17 * The DFS specifies an interface between the kernel and a concrete file system. 18 * Therefore, it is easy to add support for new file system types to the kernel 28 * @defgroup Fd File Descriptor [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/jffs2/ |
H A D | dfs_jffs2.c | 209 static int dfs_jffs2_open(struct dfs_fd* file) in dfs_jffs2_open() argument 218 oflag = file->flags; in dfs_jffs2_open() 219 fs = (struct dfs_filesystem *)file->data; in dfs_jffs2_open() 227 name = file->path; in dfs_jffs2_open() 248 /* fixme, should test file->path can end with '/' */ in dfs_jffs2_open() 270 file->data = jffs2_file; in dfs_jffs2_open() 273 /* regular file operations */ in dfs_jffs2_open() 277 /* Opens the file, if it is existing. If not, a new file is created. */ in dfs_jffs2_open() 279 /* Creates a new file. If the file is existing, it is truncated and overwritten. */ in dfs_jffs2_open() 281 /* Creates a new file. The function fails if the file is already existing. */ in dfs_jffs2_open() [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/uffs/src/emu/ |
H A D | test_cmds.c | 2 This file is part of UFFS, the Ultra-low-cost Flash File System. 22 macros or inline functions from this file, or you compile this file 23 and link it with other works to produce a work based on this file, 24 this file does not by itself cause the resulting work to be covered 26 file must still be made available in accordance with section (3) of 30 on this file might be covered by the GNU General Public License. 34 * \file test_cmds.c 91 MSGLN("Write file failed, size %d at %d", len, pos); in do_write_test_file() 106 MSGLN("Can't open file %s for write.", file_name); in test_write_file() 111 MSGLN("Can't seek file %s at pos %d", file_name, pos); in test_write_file() [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/elmfat/ |
H A D | ff.h | 2 / FatFs - Generic FAT file system module R0.12b / 33 #error Wrong configuration file (ffconf.h). 78 /* Type of file size variables */ 91 /* File system object structure (FATFS) */ 94 BYTE fs_type; /* File system type (0:N/A) */ 99 WORD id; /* File system mount ID */ 133 BYTE win[_MAX_SS]; /* Disk access window for Directory, FAT (and file data at tiny cfg) */ 141 FATFS* fs; /* Pointer to the owner file system object */ 142 WORD id; /* Owner file system mount ID */ 154 UINT lockid; /* File lock ID origin from 1 (index of file semaphore table Files[]) */ [all …]
|
H A D | dfs_elm.c | 322 int dfs_elm_open(struct dfs_fd *file) in dfs_elm_open() argument 331 struct dfs_filesystem *fs = (struct dfs_filesystem *)file->data; in dfs_elm_open() 345 rt_snprintf(drivers_fn, 256, "%d:%s", vol, file->path); in dfs_elm_open() 347 drivers_fn = file->path; in dfs_elm_open() 350 if (file->flags & O_DIRECTORY) in dfs_elm_open() 354 if (file->flags & O_CREAT) in dfs_elm_open() 386 file->data = dir; in dfs_elm_open() 393 if (file->flags & O_WRONLY) in dfs_elm_open() 395 if ((file->flags & O_ACCMODE) & O_RDWR) in dfs_elm_open() 397 /* Opens the file, if it is existing. If not, a new file is created. */ in dfs_elm_open() [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/ |
H A D | Kconfig | 1 menu "Device virtual file system" 4 bool "Using device virtual file system" 8 The device file system is a light weight virtual file system. 16 int "The maximal number of mounted file system" 21 int "The maximal number of file system type" 30 bool "Using mount table for file system" 45 FatFs is a generic FAT/exFAT file system module for small embedded systems. 58 prompt "Support long file name" 82 int "Maximal size of file name length" 111 bool "Enable ReadOnly file system on flash" [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/uffs/src/inc/uffs/ |
H A D | uffs.h | 2 This file is part of UFFS, the Ultra-low-cost Flash File System. 22 macros or inline functions from this file, or you compile this file 23 and link it with other works to produce a work based on this file, 24 this file does not by itself cause the resulting work to be covered 26 file must still be made available in accordance with section (3) of 30 on this file might be covered by the GNU General Public License. 33 * \file uffs.h 56 #define UO_NOECC 0x0800 /** skip ECC when reading file data from media */ 64 #define UEACCES 1 /** Tried to open read-only file 72 #define UEMFILE 4 /** No more file handles available [all …]
|
/nrf52832-nimble/rt-thread/tools/kconfig-frontends/scripts/.autostuff/ |
H A D | config.h.in | 3 /* Define to 1 if you have the <curses.h> header file. */ 6 /* Define to 1 if you have the <dlfcn.h> header file. */ 9 /* Define to 1 if you have the <inttypes.h> header file. */ 12 /* Define to 1 if you have the <libintl.h> header file. */ 15 /* Define to 1 if you have the <memory.h> header file. */ 18 /* Define to 1 if you have the <ncursesw/curses.h> header file. */ 21 /* Define to 1 if you have the <ncurses/curses.h> header file. */ 24 /* Define to 1 if you have the <ncurses.h> header file. */ 27 /* Define to 1 if you have the <ncurses/ncurses.h> header file. */ 30 /* Define to 1 if you have the <stdint.h> header file. */ [all …]
|
/nrf52832-nimble/rt-thread/components/net/uip/apps/webserver/httpd-fs/ |
H A D | files.shtml | 2 <h1>File statistics</h1> 6 <td>%! file-stats /index.html 7 </td><td><img src="/fade.png" height=10 width=%! file-stats /index.html 10 <td>%! file-stats /files.shtml 11 </td><td><img src="/fade.png" height=10 width=%! file-stats /files.shtml 14 <td>%! file-stats /tcp.shtml 15 </td><td><img src="/fade.png" height=10 width=%! file-stats /tcp.shtml 18 <td>%! file-stats /stats.shtml 19 </td><td><img src="/fade.png" height=10 width=%! file-stats /stats.shtml 22 <td>%! file-stats /style.css [all …]
|