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

1234567891011>>

/haiku-fatelf/src/libs/zlib/
H A Dgzclose.c8 /* gzclose() is in a separate file so that it is linked in only if it is used.
11 int ZEXPORT gzclose(file)
12 gzFile file;
17 if (file == NULL)
19 state = (gz_statep)file;
21 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
23 return gzclose_r(file);
/haiku-fatelf/src/system/libroot/posix/stdio/
H A Dvsnprintf.c44 FILE file; local
46 file._file = -1;
47 file._flags = __SWR | __SSTR;
48 file._bf._base = file._p = (unsigned char *)buffer;
49 file._bf._size = file._w = bufferSize;
50 bytesWritten = vfprintf(&file, format, ap);
51 *file._p = '\0';
/haiku-fatelf/src/add-ons/media/plugins/asf_reader/libasf/
H A Dparse.h1 /* libasf - An Advanced Systems Format media file parser
24 int asf_parse_header(asf_file_t *file);
25 int asf_parse_data(asf_file_t *file);
26 int asf_parse_index(asf_file_t *file);
H A Dasf.c1 /* libasf - An Advanced Systems Format media file parser
52 asf_file_t *file; local
65 file = asf_open_cb(&stream);
66 if (!file)
69 file->filename = filename;
71 return file;
77 asf_file_t *file; local
83 file = calloc(1, sizeof(asf_file_t));
84 if (!file)
87 file
108 asf_init(asf_file_t *file) argument
181 asf_close(asf_file_t *file) argument
219 asf_get_packet(asf_file_t *file, asf_packet_t *packet) argument
249 asf_seek_to_msec(asf_file_t *file, int64_t msec) argument
333 asf_header_get_metadata(asf_file_t *file) argument
342 asf_header_destroy(asf_file_t *file) argument
358 asf_get_stream_count(asf_file_t *file) argument
372 asf_is_broadcast(asf_file_t *file) argument
377 asf_is_seekable(asf_file_t *file) argument
382 asf_get_stream(asf_file_t *file, uint8_t track) argument
391 asf_get_file_size(asf_file_t *file) argument
400 asf_get_creation_date(asf_file_t *file) argument
409 asf_get_data_packets(asf_file_t *file) argument
418 asf_get_duration(asf_file_t *file) argument
427 asf_get_max_bitrate(asf_file_t *file) argument
[all...]
/haiku-fatelf/data/config/boot/
H A DUserBootscript6 for file in $HOME/config/boot/launch/*
8 /bin/open "$file" &
15 # This file is a standard bash script. For more information regarding shell
/haiku-fatelf/src/bin/coreutils/man/
H A Dstat.x2 stat \- display file or file system status
H A Dchcon.x2 chcon \- change file security context
H A Dsync.x2 sync \- flush file system buffers
/haiku-fatelf/src/bin/coreutils/lib/
H A Ddirname-lgpl.c1 /* dirname.c -- return all but the last element in a file name
32 dir_len (char const *file) argument
34 size_t prefix_length = FILE_SYSTEM_PREFIX_LEN (file);
40 && ISSLASH (file[prefix_length]))
41 : (ISSLASH (file[0])
43 && ISSLASH (file[1]) && ! ISSLASH (file[2])
48 for (length = last_component (file) - file;
50 if (! ISSLASH (file[lengt
71 mdir_name(char const *file) argument
[all...]
H A Dstripslash.c1 /* stripslash.c -- remove redundant trailing slashes from a file name
24 was removed. This is useful when using file name completion from a
31 strip_trailing_slashes (char *file) argument
33 char *base = last_component (file);
37 /* last_component returns "" for file system roots, but we need to turn
40 base = file;
H A Dcreat-safer.c28 creat_safer (char const *file, mode_t mode) argument
30 return fd_safer (creat (file, mode));
H A Ddirname.c1 /* dirname.c -- return all but the last element in a file name
32 dir_name (char const *file) argument
34 char *result = mdir_name (file);
H A Dselinux-at.h21 "at" suffix. For example, getfileconat (AT_FDCWD, file, &c) is usually
22 equivalent to getfilecon (file, &c). The emulation is accomplished
29 of the file specified by DIR_FD and FILE and return the length of *CON.
34 int getfileconat (int dir_fd, char const *file, security_context_t *con);
39 int lgetfileconat (int dir_fd, char const *file, security_context_t *con);
42 the file specified by DIR_FD and FILE to CON. DIR_FD and FILE are
45 int setfileconat (int dir_fd, char const *file, security_context_t con);
52 int lsetfileconat (int dir_fd, char const *file, security_context_t con);
H A Dclosein.h25 void close_stdin_set_file_name (const char *file);
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Ddirname.c1 /* dirname.c -- return all but the last element in a file name
32 dir_len (char const *file) argument
34 size_t prefix_length = FILE_SYSTEM_PREFIX_LEN (file);
40 && ISSLASH (file[prefix_length]))
41 : (ISSLASH (file[0])
43 && ISSLASH (file[1]) && ! ISSLASH (file[2])
48 for (length = last_component (file) - file;
50 if (! ISSLASH (file[lengt
71 dir_name(char const *file) argument
[all...]
H A Dstripslash.c1 /* stripslash.c -- remove redundant trailing slashes from a file name
23 was removed. This is useful when using file name completion from a
30 strip_trailing_slashes (char *file) argument
32 char *base = last_component (file);
36 /* last_component returns "" for file system roots, but we need to turn
39 base = file;
H A Dcreat-safer.c28 creat_safer (char const *file, mode_t mode) argument
30 return fd_safer (creat (file, mode));
H A Dclosein.h25 void close_stdin_set_file_name (const char *file);
H A Dcloseout.h25 void close_stdout_set_file_name (const char *file);
H A Dlstat.c24 include this include file here, because on some systems, a
47 rpl_lstat (const char *file, struct stat *sbuf) argument
50 int lstat_result = lstat (file, sbuf);
55 len = strlen (file);
56 if (len == 0 || file[len - 1] != '/')
63 if (stat (file, sbuf) != 0)
/haiku-fatelf/src/bin/gdb/gdb/
H A Dui-file.c5 This file is part of GDB.
25 #include "ui-file.h"
57 struct ui_file *file = xmalloc (sizeof (struct ui_file)); local
58 file->magic = &ui_file_magic;
59 set_ui_file_data (file, NULL, null_file_delete);
60 set_ui_file_flush (file, null_file_flush);
61 set_ui_file_write (file, null_file_write);
62 set_ui_file_fputs (file, null_file_fputs);
63 set_ui_file_read (file, null_file_read);
64 set_ui_file_isatty (file, null_file_isatt
71 ui_file_delete(struct ui_file *file) argument
78 null_file_isatty(struct ui_file *file) argument
84 null_file_rewind(struct ui_file *file) argument
90 null_file_put(struct ui_file *file, ui_file_put_method_ftype *write, void *dest) argument
98 null_file_flush(struct ui_file *file) argument
104 null_file_write(struct ui_file *file, const char *buf, long sizeof_buf) argument
132 null_file_read(struct ui_file *file, char *buf, long sizeof_buf) argument
141 null_file_fputs(const char *buf, struct ui_file *file) argument
155 null_file_delete(struct ui_file *file) argument
161 ui_file_data(struct ui_file *file) argument
170 gdb_flush(struct ui_file *file) argument
176 ui_file_isatty(struct ui_file *file) argument
182 ui_file_rewind(struct ui_file *file) argument
188 ui_file_put(struct ui_file *file, ui_file_put_method_ftype *write, void *dest) argument
196 ui_file_write(struct ui_file *file, const char *buf, long length_buf) argument
204 ui_file_read(struct ui_file *file, char *buf, long length_buf) argument
210 fputs_unfiltered(const char *buf, struct ui_file *file) argument
216 set_ui_file_flush(struct ui_file *file, ui_file_flush_ftype *flush) argument
222 set_ui_file_isatty(struct ui_file *file, ui_file_isatty_ftype *isatty) argument
228 set_ui_file_rewind(struct ui_file *file, ui_file_rewind_ftype *rewind) argument
234 set_ui_file_put(struct ui_file *file, ui_file_put_ftype *put) argument
240 set_ui_file_write(struct ui_file *file, ui_file_write_ftype *write) argument
247 set_ui_file_read(struct ui_file *file, ui_file_read_ftype *read) argument
253 set_ui_file_fputs(struct ui_file *file, ui_file_fputs_ftype *fputs) argument
259 set_ui_file_data(struct ui_file *file, void *data, ui_file_delete_ftype *delete) argument
289 ui_file_xstrdup(struct ui_file *file, long *length) argument
325 struct ui_file *file = ui_file_new (); local
338 mem_file_delete(struct ui_file *file) argument
356 mem_file_rewind(struct ui_file *file) argument
366 mem_file_put(struct ui_file *file, ui_file_put_method_ftype *write, void *dest) argument
379 mem_file_write(struct ui_file *file, const char *buffer, long length_buffer) argument
423 FILE *file; member in struct:stdio_file
428 stdio_file_new(FILE *file, int close_p) argument
445 stdio_file_delete(struct ui_file *file) argument
459 stdio_file_flush(struct ui_file *file) argument
469 stdio_file_read(struct ui_file *file, char *buf, long length_buf) argument
479 stdio_file_write(struct ui_file *file, const char *buf, long length_buf) argument
489 stdio_file_fputs(const char *linebuffer, struct ui_file *file) argument
499 stdio_file_isatty(struct ui_file *file) argument
511 stdio_fileopen(FILE *file) argument
562 tee_file_delete(struct ui_file *file) argument
577 tee_file_flush(struct ui_file *file) argument
588 tee_file_write(struct ui_file *file, const char *buf, long length_buf) argument
599 tee_file_fputs(const char *linebuffer, struct ui_file *file) argument
610 tee_file_isatty(struct ui_file *file) argument
[all...]
/haiku-fatelf/src/libs/expat/xmlwf/
H A Dxmlwf21 relink_command="cd /boot/home/projects/develop/ThirdParty/Haiku/src/libs/expat; LIBRARY_PATH=\"%A/lib:/boot/home/config/lib:/boot/beos/system/lib:/boot/apps/GeekGadgets/lib:/boot/apps/X11R6.4/lib\"; export LIBRARY_PATH; { test -z \"\${COMPILER_PATH+set}\" || unset COMPILER_PATH || { COMPILER_PATH=; export COMPILER_PATH; }; }; { test -z \"\${GCC_EXEC_PREFIX+set}\" || unset GCC_EXEC_PREFIX || { GCC_EXEC_PREFIX=; export GCC_EXEC_PREFIX; }; }; { test -z \"\${LD_RUN_PATH+set}\" || unset LD_RUN_PATH || { LD_RUN_PATH=; export LD_RUN_PATH; }; }; LIBRARY_PATH=\"%A/lib:/boot/home/config/lib:/boot/beos/system/lib:/boot/apps/GeekGadgets/lib:/boot/apps/X11R6.4/lib\"; export LIBRARY_PATH; PATH=\".:/boot/home/config/bin:/bin:/boot/apps:/boot/preferences:/boot/beos/apps:/boot/beos/preferences:/boot/develop/tools/gnupro/bin:/boot/apps/GeekGadgets/bin:/boot/apps/X11R6.4/bin\"; export PATH; gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -I/boot/home/config/include -I./lib -I. -o \$progdir/\$file xmlwf/xmlwf.o xmlwf/xmlfile.o xmlwf/codepage.o xmlwf/readfilemap.o -L/boot/home/config/lib ./.libs/libexpat.so -Wl,--rpath -Wl,/boot/home/projects/develop/ThirdParty/Haiku/src/libs/expat/.libs -Wl,--rpath -Wl,/boot/home//lib"
28 # When we are sourced in execute mode, $file and $echo are already set.
31 file="$0"
46 thisdir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
47 test "x$thisdir" = "x$file" && thisdir=.
50 file=`ls -ld "$file" | sed -n 's/.*-> //p'`
51 while test -n "$file"; do
52 destdir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
55 if test "x$destdir" != "x$file"; the
[all...]
/haiku-fatelf/src/tests/kits/media/mp3_reader_test/
H A DFileDataIO.cpp4 : file(new BFile(filepath, open_mode))
10 delete file;
16 return file->Read(buffer, size);
22 return file->Write(buffer, size);
/haiku-fatelf/src/tests/kits/media/wav_reader_test/
H A DFileDataIO.cpp4 : file(new BFile(filepath, open_mode))
10 delete file;
16 return file->Read(buffer, size);
22 return file->Write(buffer, size);
/haiku-fatelf/src/bin/bc/lib/
H A Dvfprintf.c20 int vfprintf(file, format, argp)
21 FILE *file;
25 _doprintf(file, format, argp);
26 if (testflag(file, PERPRINTF)) fflush(file);

Completed in 103 milliseconds

1234567891011>>