Searched refs:filename (Results 1 - 25 of 76) sorted by relevance

1234

/seL4-camkes-master/projects/musllibc/src/unistd/
H A Dacct.c6 int acct(const char *filename) argument
8 return syscall(SYS_acct, filename);
H A Daccess.c5 int access(const char *filename, int amode) argument
8 return syscall(SYS_access, filename, amode);
10 return syscall(SYS_faccessat, AT_FDCWD, filename, amode, 0);
H A Dfaccessat.c10 const char *filename; member in struct:ctx
29 ret = __syscall(SYS_faccessat, c->fd, c->filename, c->amode, 0);
34 int faccessat(int fd, const char *filename, int amode, int flag) argument
37 return syscall(SYS_faccessat, fd, filename, amode, flag);
46 struct ctx c = { .fd = fd, .filename = filename, .amode = amode };
/seL4-camkes-master/projects/musllibc/src/fcntl/
H A Dcreat.c4 int creat(const char *filename, mode_t mode) argument
6 return open(filename, O_CREAT|O_WRONLY|O_TRUNC, mode);
H A Dopenat.c6 int openat(int fd, const char *filename, int flags, ...) argument
17 return syscall_cp(SYS_openat, fd, filename, flags|O_LARGEFILE, mode);
H A Dopen.c6 int open(const char *filename, int flags, ...) argument
17 int fd = __sys_open_cp(filename, flags, mode);
/seL4-camkes-master/projects/musllibc/src/legacy/
H A Deuidaccess.c6 int euidaccess(const char *filename, int amode) argument
8 return faccessat(AT_FDCWD, filename, amode, AT_EACCESS);
H A Dlutimes.c6 int lutimes(const char *filename, const struct timeval tv[2]) argument
13 return utimensat(AT_FDCWD, filename, times, AT_SYMLINK_NOFOLLOW);
/seL4-camkes-master/projects/picotcp/test/examples/
H A Dtftp.c28 char *filename; member in struct:command_t
34 char *filename; member in struct:note_t
43 struct note_t *add_note(const char *filename, int fd, char direction) argument
47 note->filename = strdup(filename);
63 if (note->filename)
64 free (note->filename);
71 if (note->filename)
72 free (note->filename);
82 char *filename, unio
81 add_command(struct command_t *commands, char operation, char *filename, union pico_address *server_address) argument
93 get_filesize(const char *filename) argument
105 setup_transfer(char operation, const char *filename) argument
242 transfer_prepare(struct pico_tftp_session **psession, char operation, const char *filename, union pico_address *addr, uint16_t family) argument
251 start_rx(struct pico_tftp_session *session, const char *filename, uint16_t port, int (*rx_callback)(struct pico_tftp_session *session, uint16_t err, uint8_t *block, int32_t len, void *arg), struct note_t *note) argument
261 start_tx(struct pico_tftp_session *session, const char *filename, uint16_t port, int (*tx_callback)(struct pico_tftp_session *session, uint16_t err, uint8_t *block, int32_t len, void *arg), struct note_t *note) argument
271 tftp_listen_cb(union pico_address *addr, uint16_t port, uint16_t opcode, char *filename, int32_t len) argument
288 tftp_listen_cb_opt(union pico_address *addr, uint16_t port, uint16_t opcode, char *filename, int32_t len) argument
354 char *filename; local
[all...]
/seL4-camkes-master/projects/picotcp/modules/
H A Dpico_dev_pcap.h16 struct pico_device *pico_pcap_create_fromfile(char *filename, char *name, uint8_t *mac);
/seL4-camkes-master/projects/camkes-tool/camkes/parser/
H A Dstage2.py36 def _resolve(self, source, filename, ast_raw, read):
39 ast_augmented = [(source, filename, t) for t in ast_raw.tail]
45 source, filename, item = queue.popleft()
66 if filename is None:
70 os.path.dirname(filename), import_content))
89 import_content, filename=filename,
103 final_ast_augmented.append((source, filename, item))
107 def parse_file(self, filename):
108 source, ast_raw, read = self.parse1.parse_file(filename)
[all...]
H A Dexception.py24 def __init__(self, content, location=None, filename=None, lineno=None):
27 filename = location.filename
34 msg = self._format_message(six.text_type(content), filename, lineno,
39 def __init__(self, content, location=None, filename=None, lineno=None):
41 super(OutcallError, self).__init__(content, location, filename, lineno)
H A Dstage0.py50 def parse_file(self, filename):
53 output_basename = os.path.join(self.out_dir, os.path.basename(filename))
57 output] + self.flags + [filename], stdout=subprocess.PIPE,
66 return processed, set([filename]) | read
98 def parse_file(self, filename):
99 with codecs.open(filename, 'r', 'utf-8') as f:
100 return f.read(), set([filename])
H A Dbase.py26 def parse_file(self, filename):
40 def parse_file(self, filename):
41 assert isinstance(filename, six.string_types)
42 ast_lifted, read = self.subordinate.parse_file(filename)
H A Dparser.py94 def parse_file(self, filename):
95 return self.parser.parse_file(filename)
100 def parse_file(filename, options=None):
102 return p.parse_file(filename)
H A Dstage1.py49 def parse_file(self, filename):
50 processed, read = self.parse0.parse_file(filename)
54 location = SourceLocation(filename, e, processed)
/seL4-camkes-master/projects/camkes-tool/camkes/internal/
H A Dexception.py22 def _get_line(filename, lineno):
27 with open(filename, 'rt') as f:
45 def _format_message(message, filename=None, lineno=None, min_col=None,
50 if filename is not None:
51 msg.extend([filename, ':'])
56 line = _get_line(filename, lineno)
/seL4-camkes-master/projects/camkes-tool/camkes/parser/tests/
H A Dtestcpp.py106 filename = self.mkstemp()
109 with open(filename, 'wt') as f:
113 with open(filename) as f:
121 filename = self.mkstemp()
124 with open(filename, 'wt') as f:
128 with open(filename) as f:
136 filename = self.mkstemp()
139 with open(filename, 'wt') as f:
145 with open(filename) as f:
153 filename
[all...]
H A Dtestobjects.py40 raise ParseError('hello world', filename='myfile')
48 raise ParseError('hello world', filename='myfile', lineno=10)
/seL4-camkes-master/projects/picotcp/test/
H A Dtest_tftp_app_client.c18 int32_t get_filesize(const char *filename) argument
23 ret = stat(filename, &buf);
30 void start_rx(struct pico_tftp_session *session, int *synchro, const char *filename, int options) argument
39 printf("Start receiving file %s with options set to %d\n", filename, options);
49 ret = pico_tftp_app_start_rx(session, filename);
55 fd = open(filename, O_WRONLY | O_EXCL | O_CREAT, 0664);
96 void start_tx(struct pico_tftp_session *session, int *synchro, const char *filename, int options) argument
105 printf("Start sending file %s with options set to %d\n", filename, options);
108 ret = get_filesize(filename);
121 ret = pico_tftp_app_start_tx(session, filename);
[all...]
H A Dmkunits.sh4 filename=$1
6 echo USAGE: $0 filename.c
12 bname=`basename $filename`
13 cat $filename |grep static|grep \( | grep \) >/tmp/$bname
20 cat $filename |grep "\#include " > ./test/unit/modunit_$bname
22 INCLUDES=`cat $filename |grep "\#include \"" |grep -v $MYSELF| cut -d '"' -f 2`
26 echo "#include \"$filename\"" >>./test/unit/modunit_$bname
/seL4-camkes-master/projects/musllibc/src/stdio/
H A D__fopen_rb_ca.c5 FILE *__fopen_rb_ca(const char *filename, FILE *f, unsigned char *buf, size_t len) argument
9 f->fd = sys_open(filename, O_RDONLY|O_CLOEXEC);
H A Dfopen.c6 FILE *fopen(const char *restrict filename, const char *restrict mode) argument
21 fd = sys_open(filename, flags, 0666);
/seL4-camkes-master/tools/seL4/misc/
H A Dcpio-strip.c43 static void *get_header(void *data, const char *filename) argument
46 uintptr_t p = (uintptr_t)data - strlen(filename) - 1
105 const char *filename; local
106 void *data = cpio_get_entry(p, i, &filename, &size);
113 struct cpio_header *header = get_header(data, filename);
/seL4-camkes-master/projects/musllibc/src/misc/
H A Drealpath.c12 char *realpath(const char *restrict filename, char *restrict resolved) argument
20 if (!filename) {
25 fd = sys_open(filename, O_PATH|O_NONBLOCK|O_CLOEXEC);

Completed in 272 milliseconds

1234