Searched refs:filename (Results 51 - 75 of 94) sorted by relevance

1234

/fuchsia/zircon/system/ulib/tftp/
H A Dtftp-file-test.cpp34 char filename[PATH_MAX + 1]; member in struct:__anon1216
71 return file_info->filename;
74 ssize_t file_open_read(const char* filename, void* file_cookie) { argument
77 strncpy(file_info->filename, filename, PATH_MAX);
78 file_info->filename[PATH_MAX] = '\0';
82 tftp_status file_open_write(const char* filename, argument
87 file_info->filename[PATH_MAX] = '\0';
88 strncpy(file_info->filename, filename, PATH_MA
[all...]
H A Dtftp-test.cpp21 constexpr char kLocalFilename[] = "local-filename";
22 constexpr char kRemoteFilename[] = "remote-filename";
80 auto open_read_fn = [](const char* filename, void* cookie) -> ssize_t {
83 auto open_write_fn = [](const char* filename, size_t size, void* cookie) -> tftp_status {
112 EXPECT_STR_EQ(kRemoteFilename, msg->data, "bad filename");
119 EXPECT_STR_EQ(kRemoteFilename, msg->data, "bad filename");
401 [](const char* filename, size_t size, void* cookie) -> tftp_status {
402 EXPECT_STR_EQ(filename, kRemoteFilename,
403 "bad remote filename in open_write callback");
408 [](const char* filename, voi
466 dummy_open_read(const char* filename, void* cookie) argument
470 dummy_open_write(const char* filename, size_t size, void* cookie) argument
743 mock_open_write(const char* filename, size_t size, void* file_cookie) argument
1825 open_read_should_wait(const char* filename, void* cookie) argument
1829 open_write_should_wait(const char* filename, size_t size, void* cookie) argument
[all...]
H A Dtftp.c321 xprintf("filename too long %zd > %zd\n", remote_filename_len, left - kMaxMode);
327 strncpy(session->filename, local_filename, sizeof(session->filename) - 1);
328 session->filename[sizeof(session->filename) - 1] = '\0';
425 // opcode, filename, 0, mode, 0, opt1, 0, value1 ... optN, 0, valueN, 0
436 // filename, 0, mode, 0 can be interpreted like option, 0, value, 0
445 xprintf("filename = '%s', mode = '%s'\n", option, value);
447 strncpy(session->filename, option, sizeof(session->filename)
[all...]
/fuchsia/zircon/third_party/ulib/backtrace/
H A Dbtest.c69 char *filename; member in struct:info
136 if (all[index].filename == NULL || all[index].function == NULL)
143 if (strcmp (base (all[index].filename), "btest.c") != 0)
146 all[index].filename);
167 const char *filename, int lineno, const char *function)
180 if (filename == NULL)
181 p->filename = NULL;
184 p->filename = strdup (filename);
185 assert (p->filename !
166 callback_one(void *vdata, uintptr_t pc ATTRIBUTE_UNUSED, const char *filename, int lineno, const char *function) argument
[all...]
H A Ddwarf.c296 const char *filename; member in struct:line
322 /* If this is an inlined function, the filename of the call
376 const char *filename; member in struct:unit
1422 u->filename = val.u.string;
1570 u->filename = NULL;
1617 uintptr_t pc, const char *filename, int lineno,
1628 if (pc == ln->pc && filename == ln->filename && lineno == ln->lineno)
1642 ln->filename = filename;
1616 add_line(struct backtrace_state *state, struct dwarf_data *ddata, uintptr_t pc, const char *filename, int lineno, backtrace_error_callback error_callback, void *data, struct line_vector *vec) argument
1766 const char *filename; local
1838 const char *filename; local
2671 report_inlined_functions(uintptr_t pc, struct function *function, backtrace_full_callback callback, void *data, const char **filename, int *lineno) argument
2739 const char *filename; local
2875 const char *filename; local
[all...]
H A Dinternal.h130 const char *filename; member in struct:backtrace_state
174 extern int backtrace_open (const char *filename,
/fuchsia/zircon/system/ulib/inspector/
H A Dbacktrace.cpp202 const char* filename; member in struct:inspector::bt_pcinfo_data
210 btprint_callback(void* vdata, uintptr_t pc, const char* filename, int lineno, argument
214 data->filename = filename;
258 if (pcinfo_data.filename != nullptr && pcinfo_data.lineno > 0) {
259 const char* base = path_basename(pcinfo_data.filename);
260 // Be paranoid and handle |pcinfo_data.filename| having a trailing /.
263 base = pcinfo_data.filename;
/fuchsia/zircon/system/uapp/usb-test-fwloader/
H A Dusb-test-fwloader.cpp33 zx_status_t watch_dir_cb(int dirfd, int event, const char* filename, void* cookie) { argument
37 int fd = openat(dirfd, filename, O_RDWR);
134 const char* filename = argv[1]; local
135 fbl::unique_fd file_fd(open(filename, O_RDONLY));
137 fprintf(stderr, "Failed to open \"%s\", err: %s\n", filename, strerror(errno));
/fuchsia/zircon/system/utest/memfs/
H A Dfidl-tests.cpp41 const char* filename = "file-a"; local
42 fd.reset(openat(dirfd(d), filename, O_CREAT | O_RDWR));
132 const char* filename = "file-a"; local
133 fd.reset(openat(dirfd(d), filename, O_CREAT | O_RDWR));
144 ASSERT_EQ(unlinkat(dirfd(d), filename, 0), 0);
/fuchsia/zircon/system/host/bootserver/
H A Dtftp.c42 ssize_t file_open_read(const char* filename, void* cookie) { argument
44 if (strcmp(filename, "(cmdline)")) {
45 xd->fd = open(filename, O_RDONLY);
47 fprintf(stderr, "%s: error: Could not open file %s\n", appname, filename);
52 fprintf(stderr, "%s: error: Could not stat %s\n", appname, filename);
57 initialize_status(filename, xd->datalen);
/fuchsia/zircon/system/private/efi/protocol/
H A Dfile.h66 char16_t* filename, uint64_t open_mode, uint64_t attributes) EFIAPI;
89 char16_t* filename, uint64_t open_mode, uint64_t attributes,
/fuchsia/zircon/third_party/ulib/jemalloc/src/
H A Dprof.c931 prof_dump_open(bool propagate_err, const char *filename) argument
935 fd = creat(filename, 0644);
938 filename);
1396 char filename[PATH_MAX + 1]; local
1399 malloc_vsnprintf(filename, sizeof(filename), format, ap);
1401 mfd = open(filename, O_RDONLY);
1477 const char *filename)
1502 filename);
1577 prof_dump_file(tsd_t *tsd, bool propagate_err, const char *filename, argument
1476 prof_leakcheck(const prof_cnt_t *cnt_all, size_t leak_ngctx, const char *filename) argument
1619 prof_dump(tsd_t *tsd, bool propagate_err, const char *filename, bool leakcheck) argument
1708 prof_dump_filename(char *filename, char v, uint64_t vseq) argument
1730 char filename[DUMP_FILENAME_BUFSIZE]; local
1766 char filename[PATH_MAX + 1]; local
1776 prof_mdump(tsd_t *tsd, const char *filename) argument
1818 char filename[DUMP_FILENAME_BUFSIZE]; local
[all...]
/fuchsia/zircon/system/core/userboot/
H A Duserboot-elf.c146 const char* filename, zx_handle_t to_child,
148 zx_handle_t vmo = bootfs_open(log, "program", fs, filename);
152 zx_vaddr_t entry = load(log, filename,
165 printl(log, "'%s' has PT_INTERP \"%s\"", filename, interp);
144 elf_load_bootfs(zx_handle_t log, struct bootfs *fs, zx_handle_t proc, zx_handle_t vmar, zx_handle_t thread, const char* filename, zx_handle_t to_child, size_t* stack_size, zx_handle_t* loader_svc) argument
H A Dstart.c234 const char* filename = o.value[OPTION_FILENAME]; local
237 status = zx_process_create(job, filename, strlen(filename), 0,
246 status = zx_thread_create(proc, filename, strlen(filename), 0, &thread);
/fuchsia/zircon/third_party/ulib/jemalloc/test/unit/
H A Dprof_accum.c14 prof_dump_open_intercept(bool propagate_err, const char *filename) argument
H A Dprof_gdump.c10 prof_dump_open_intercept(bool propagate_err, const char *filename) argument
/fuchsia/zircon/system/core/netsvc/
H A Dnetboot.c60 // filename twice.
145 static void nb_open(const char* filename, uint32_t cookie, uint32_t arg, argument
151 m.arg = netfile_open(filename, arg, NULL);
304 const char* filename; local
306 filename = &((const char*)msg->data)[prefix_len];
308 filename = (const char*)msg->data;
310 printf("netboot: Receive File '%s'...\n", filename);
/fuchsia/zircon/system/uapp/audio/
H A Dwav-source.cpp15 zx_status_t WAVSource::Initialize(const char* filename) { argument
16 zx_status_t res = WAVCommon::Initialize(filename, InitMode::SOURCE);
H A Dwav-common.h62 zx_status_t Initialize(const char* filename, InitMode mode);
/fuchsia/zircon/system/ulib/tftp/include/tftp/
H A Dtftp.h126 typedef ssize_t (*tftp_file_open_read_cb)(const char* filename,
133 typedef tftp_status (*tftp_file_open_write_cb)(const char* filename,
/fuchsia/zircon/system/host/netprotocol/
H A Dnetcp.c49 static ssize_t file_open_read(const char* filename, void* file_cookie) { argument
50 int fd = open(filename, O_RDONLY);
65 static tftp_status file_open_write(const char* filename, size_t size, void* file_cookie) { argument
66 int fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
/fuchsia/zircon/third_party/uapp/dash/src/bltin/
H A Dzircon.c30 fprintf(stderr, "usage: dump <filename>\n");
126 printf("usage: list <filename>\n");
143 static bool file_exists(const char *filename) argument
146 return stat(filename, &statbuf) == 0;
149 static bool verify_file(bool is_mv, const char *filename) argument
153 if (stat(filename, &statbuf) != 0) {
155 filename);
245 fprintf(stderr, "%s: Invalid filename \"%s\"\n",
253 fprintf(stderr, "%s: Invalid filename \"%s\"\n", is_mv ? "mv" : "cp",
459 fprintf(stderr, "usage: rm [-frR]... <filename>
[all...]
/fuchsia/zircon/third_party/uapp/kilo/
H A Dkilo.c125 char *filename; /* Currently open filename */ member in struct:editorConfig
168 * dot, it is matched as the last past of the filename, for example ".c".
555 /* Select the syntax highlight scheme depending on the filename,
557 void editorSelectSyntaxHighlight(char *filename) { argument
564 if ((p = strstr(filename,s->filematch[i])) != NULL) {
811 int editorOpen(char *filename) { argument
815 free(E.filename);
816 E.filename = strdup(filename);
[all...]
/fuchsia/zircon/system/host/fidl/include/fidl/
H A Dtables_generator.h41 void GenerateInclude(StringView filename);
/fuchsia/zircon/third_party/ulib/jemalloc/include/jemalloc/internal/
H A Dprof_externs.h61 bool prof_mdump(tsd_t *tsd, const char *filename);

Completed in 106 milliseconds

1234