Searched defs:write (Results 1 - 25 of 76) sorted by path

1234

/illumos-gate/usr/src/boot/lib/libstand/
H A Dwrite.c1 /* $NetBSD: write.c,v 1.7 1996/06/21 20:29:30 pk Exp $ */
34 * @(#)write.c 8.1 (Berkeley) 6/11/93
70 write(fd, dest, bcount) function
/illumos-gate/usr/src/boot/lib/libz/
H A Dgzguts.h41 # define write _write macro
165 /* x.next: next output data to deliver or write */
/illumos-gate/usr/src/boot/lib/libz/test/
H A Dminigzip.c172 int write; member in struct:gzFile_s
207 gz->write = strchr(mode, 'w') != NULL;
211 if (gz->write)
222 gz->file = path == NULL ? fdopen(fd, gz->write ? "wb" : "rb") :
223 fopen(path, gz->write ? "wb" : "rb");
225 gz->write ? deflateEnd(&(gz->strm)) : inflateEnd(&(gz->strm));
244 if (gz == NULL || !gz->write)
270 if (gz == NULL || gz->write)
306 if (gz->write) {
548 * -c : write t
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dzlib.c849 state->noheader = -1; /* write the trailer only once! */
2969 * i.e. no pending output (hence s->read equals s->write), and the state must
3089 Bytef *write; /* window write pointer */ member in struct:inflate_blocks_state
3100 #define UPDOUT {s->write=q;}
3111 #define LOADOUT {q=s->write;m=WAVAIL;}
3226 s->read = s->write = s->window;
3267 Bytef *q; /* output window write pointer */
3504 if (s->read != s->write)
3535 * i.e. no pending output (hence s->read equals s->write), an
[all...]
/illumos-gate/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_util.c327 dlmgmt_table_readwritelock(boolean_t write) argument
329 if (write)
336 dlmgmt_table_lock(boolean_t write) argument
339 while (dlmgmt_table_readwritelock(write) == EBUSY)
551 dlmgmt_dlconf_table_lock(boolean_t write) argument
553 if (write)
/illumos-gate/usr/src/cmd/lvm/metassist/common/
H A Dvolume_devconfig.c924 * Set the write strategy for mirror
929 * @param write
930 * the value to set as the write strategy for mirror
942 mirror_write_strategy_t write)
945 ATTR_MIRROR_WRITE, (uint16_t)write));
949 * Get write strategy for mirror
954 * @param write
955 * RETURN: write strategy for mirror
967 mirror_write_strategy_t *write)
975 volume_set_error(gettext("mirror write strateg
940 devconfig_set_mirror_write( devconfig_t *mirror, mirror_write_strategy_t write) argument
965 devconfig_get_mirror_write( devconfig_t *mirror, mirror_write_strategy_t *write) argument
1525 devconfig_write_strategy_to_str( mirror_write_strategy_t write) argument
1564 mirror_write_strategy_t write; local
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_mirror.c479 * Sets the read and write strategies, and the resync pass
546 mirror_write_strategy_t write = 0; local
547 if ((error = get_mirror_write_strategy(request, &write)) == 0) {
548 error = devconfig_set_mirror_write(*mirror, write);
/illumos-gate/usr/src/cmd/lvm/metassist/xml/
H A Dxml_convert.c1926 * Validate and set the write attribute in the given mirror
1930 * the devconfig_t in which to set the write
1957 volume_set_error(gettext("%s: invalid mirror write value"), value);
2182 * Get, as a string, the value of the write attribute of the given
2186 * the devconfig_t from which to retrieve the write
2203 mirror_write_strategy_t write; local
2205 /* Get mirror write strategy */
2206 if ((error = devconfig_get_mirror_write(mirror, &write)) == 0) {
2208 devconfig_write_strategy_to_str(write))) == NULL) {
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_kdi.c194 kmdb_kdi_range_is_nontoxic(uintptr_t va, size_t sz, int write) argument
196 return (mdb.m_kdi->kdi_range_is_nontoxic(va, sz, write));
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_fmt.c74 * mdb_fmt_print(). These are characters that write (vwWZ) and characters that
729 const char *write; local
738 write = (fp->f_type & FMT_WRITE) ? "write " : "";
741 mdb_printf("%c - %s%s", i, write, fp->f_help);
745 mdb_printf("%c - %s%s", i, write, fp->f_help);
747 mdb_printf("%c - %s%s", i, write,
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_buffers.c57 tlm_allocate_buffers(boolean_t write, long xfer_size) argument
78 buffers->tbs_buffer[buf].tb_buffer_size = (write)
H A Dtlm_lib.c412 tlm_create_reader_writer_ipc(boolean_t write, long data_transfer_size) argument
424 cmd->tc_buffers = tlm_allocate_buffers(write, data_transfer_size);
608 * char *buf - buffer to write new dir/name string
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/helptools/
H A DparseMain.java51 theWriter.write(s, 0, s.length());
55 protected void write(String s) throws IOException { method in class:ResourceWriter
56 theWriter.write(s, 0, s.length());
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dexternal.c669 write(int fd, const void *buf, size_t size) function
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Derror.h128 int fd; /* write(2) fd */
131 ssize_t (*write) __PROTO__((int, const __V_*, size_t)); /* error output */ member in struct:Error_info_s
/illumos-gate/usr/src/lib/libast/common/comp/
H A Domitted.c651 write(int fd, const void* buf, size_t n) function
/illumos-gate/usr/src/lib/libast/common/include/
H A Derror.h119 int fd; /* write(2) fd */
122 ssize_t (*write)(int, const void*, size_t); /* error output */ member in struct:Error_info_s
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Derror.h128 int fd; /* write(2) fd */
131 ssize_t (*write) __PROTO__((int, const __V_*, size_t)); /* error output */ member in struct:Error_info_s
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Derror.h128 int fd; /* write(2) fd */
131 ssize_t (*write) __PROTO__((int, const __V_*, size_t)); /* error output */ member in struct:Error_info_s
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Derror.h128 int fd; /* write(2) fd */
131 ssize_t (*write) __PROTO__((int, const __V_*, size_t)); /* error output */ member in struct:Error_info_s
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Dwrite.c45 write(int fd, char *buf, int size) function
62 (void) fprintf(stderr, "write: malloc failed\n");
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dwrite.c41 write(int fd, char *buf, int size) function
58 (void) fprintf(stderr, "write: malloc failed\n");
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_utils.c834 * write out all the stored lines
933 boolean_t write = B_TRUE; local
1027 "could not open tmp file for write: %s\n"), strerror(err));
1057 } else if (write || strncmp(menu_buf, BE_GRUB_COMMENT,
1079 * need to write that entry out and keep searching.
1095 write = B_FALSE;
1122 * write out the line(s) we've buffered since
1138 write = B_TRUE;
1154 write = B_FALSE;
1177 } else if (write) {
[all...]
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dscalls.c49 #pragma weak _write = write
520 write(int fd, const void *buf, size_t size) function
H A Dspawn.c892 * child process, depending on the 'write' argument.
897 const char *cmd, boolean_t write,
912 if (write) {
896 posix_spawn_pipe_np(pid_t *pidp, int *fdp, const char *cmd, boolean_t write, posix_spawn_file_actions_t *fact, posix_spawnattr_t *attr) argument

Completed in 290 milliseconds

1234