Searched refs:buf (Results 1 - 25 of 1692) sorted by path

1234567891011>>

/osnet-11/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpppoe.c324 * Warning: the data->buf pointer here is not necessarily properly
328 poep = (const poep_t *)data->buf;
336 plp = (struct ppp_ls *)ctrl->buf;
437 ptc = (struct ppptun_control *)ctrl->buf;
/osnet-11/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dpppdump.c102 unsigned char buf[16]; local
128 c2 = buf[k];
134 buf[nb++] = c;
160 c2 = buf[k];
228 unsigned char buf[8192]; member in struct:pkt
286 p = pkt->buf;
388 pkt->buf[pkt->cnt++] = c;
H A Dzlib.c121 typedef uLong (*check_func) OF((uLong check, Bytef *buf, uInt len));
410 local ulg ct_flush_block OF((deflate_state *s, charf *buf, ulg stored_len,
413 local void ct_stored_block OF((deflate_state *s, charf *buf, ulg stored_len,
537 local int read_buf OF((z_stream *strm, charf *buf, unsigned size));
876 local int read_buf(strm, buf, size)
878 charf *buf;
892 zmemcpy(buf, strm->next_in, len);
1586 local void copy_block OF((deflate_state *s, charf *buf, unsigned len,
2224 local void ct_stored_block(s, buf, stored_len, eof)
2226 charf *buf; /* inpu
[all...]
H A Dzlib.h610 extern uLong adler32 OF((uLong adler, Bytef *buf, uInt len));
613 Update a running Adler-32 checksum with the bytes buf[0..len-1] and
614 return the updated checksum. If buf is NULL, this function returns
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Apps/
H A Dhttpdstat.d86 self->buf = 1;
90 /self->buf/
92 self->buf = arg1;
99 /self->buf && arg0/
101 this->str = (char *)copyin(self->buf, arg0);
108 self->buf = 0;
H A Dweblatency.d82 self->buf = arg1;
90 this->str = (char *)copyin(self->buf, MAX_REQ);
99 this->str = (char *)copyin(self->buf, MAX_REQ);
131 self->buf = 0;
139 /self->buf/
141 self->buf = 0;
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Bin/
H A Ddappprof21 # -b bufsize # dynamic variable buf size (default is "4m")
64 opt_command=0; command=""; opt_buf=0; buf="4m"
72 b) opt_buf=1; buf=$OPTARG ;;
91 -b bufsize # dynamic variable buf size
234 /usr/sbin/dtrace -x dynvarsize=$buf -x evaltime=exec -n "$dtrace" \
237 /usr/sbin/dtrace -x dynvarsize=$buf -n "$dtrace" -p "$pid" >&2
H A Ddapptrace23 # -b bufsize # dynamic variable buf size (default is "4m")
69 opt_command=0; command=""; opt_buf=0; buf="4m"
77 b) opt_buf=1; buf=$OPTARG ;;
100 -b bufsize # dynamic variable buf size
254 /usr/sbin/dtrace -x dynvarsize=$buf -x evaltime=exec -n "$dtrace" \
257 /usr/sbin/dtrace -x dynvarsize=$buf -n "$dtrace" -p "$pid" >&2
H A Ddtruss22 # -b bufsize # dynamic variable buf size (default is "4m")
70 command=""; opt_buf=0; buf="4m"; opt_trace=0; trace="."; opt_stack=0
76 b) opt_buf=1; buf=$OPTARG ;;
105 -b bufsize # dynamic variable buf size
582 /usr/sbin/dtrace -x dynvarsize=$buf -x evaltime=exec -n "$dtrace" \
585 /usr/sbin/dtrace -x dynvarsize=$buf -n "$dtrace" -p "$pid" >&2
587 /usr/sbin/dtrace -x dynvarsize=$buf -n "$dtrace" >&2
H A Dguess.d43 self->buf = arg1;
49 key = copyin(self->buf, arg0);
51 self->buf = 0;
103 self->buf = arg1;
111 name = stringof(copyin(self->buf, arg0 - 1));
H A Dhttpdstat.d86 self->buf = 1;
90 /self->buf/
92 self->buf = arg1;
99 /self->buf && arg0/
101 this->str = (char *)copyin(self->buf, arg0);
108 self->buf = 0;
H A Dweblatency.d82 self->buf = arg1;
90 this->str = (char *)copyin(self->buf, MAX_REQ);
99 this->str = (char *)copyin(self->buf, MAX_REQ);
131 self->buf = 0;
139 /self->buf/
141 self->buf = 0;
H A Dwhatexec.d46 this char *buf;
62 bcopy(args[0], this->buf = alloca(5), 4);
63 this->buf[4] = '\0';
64 self->hdr = stringof(this->buf);
H A Dwpm.d84 self->buf = arg1;
88 /self->buf && last/
98 /self->buf/
102 this->key = stringof(copyin(self->buf, arg0));
107 /self->buf && (this->key == " " || this->key == "\n" || this->key == "\r") &&
112 self->buf = 0;
116 /self->buf && (this->key == " " || this->key == "\n" || this->key == "\r")/
124 /self->buf/
126 self->buf = 0;
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Kernel/
H A Dwhatexec.d46 this char *buf;
62 bcopy(args[0], this->buf = alloca(5), 4);
63 this->buf[4] = '\0';
64 self->hdr = stringof(this->buf);
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Misc/
H A Dguess.d43 self->buf = arg1;
49 key = copyin(self->buf, arg0);
51 self->buf = 0;
103 self->buf = arg1;
111 name = stringof(copyin(self->buf, arg0 - 1));
H A Dwpm.d84 self->buf = arg1;
88 /self->buf && last/
98 /self->buf/
102 this->key = stringof(copyin(self->buf, arg0));
107 /self->buf && (this->key == " " || this->key == "\n" || this->key == "\r") &&
112 self->buf = 0;
116 /self->buf && (this->key == " " || this->key == "\n" || this->key == "\r")/
124 /self->buf/
126 self->buf = 0;
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Proc/
H A Ddappprof21 # -b bufsize # dynamic variable buf size (default is "4m")
64 opt_command=0; command=""; opt_buf=0; buf="4m"
72 b) opt_buf=1; buf=$OPTARG ;;
91 -b bufsize # dynamic variable buf size
234 /usr/sbin/dtrace -x dynvarsize=$buf -x evaltime=exec -n "$dtrace" \
237 /usr/sbin/dtrace -x dynvarsize=$buf -n "$dtrace" -p "$pid" >&2
H A Ddapptrace23 # -b bufsize # dynamic variable buf size (default is "4m")
69 opt_command=0; command=""; opt_buf=0; buf="4m"
77 b) opt_buf=1; buf=$OPTARG ;;
100 -b bufsize # dynamic variable buf size
254 /usr/sbin/dtrace -x dynvarsize=$buf -x evaltime=exec -n "$dtrace" \
257 /usr/sbin/dtrace -x dynvarsize=$buf -n "$dtrace" -p "$pid" >&2
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/
H A Ddtruss22 # -b bufsize # dynamic variable buf size (default is "4m")
70 command=""; opt_buf=0; buf="4m"; opt_trace=0; trace="."; opt_stack=0
76 b) opt_buf=1; buf=$OPTARG ;;
105 -b bufsize # dynamic variable buf size
582 /usr/sbin/dtrace -x dynvarsize=$buf -x evaltime=exec -n "$dtrace" \
585 /usr/sbin/dtrace -x dynvarsize=$buf -n "$dtrace" -p "$pid" >&2
587 /usr/sbin/dtrace -x dynvarsize=$buf -n "$dtrace" >&2
/osnet-11/usr/src/cmd/hal/addons/network-devices/
H A Dcommon.c100 addr_to_string(char *prefix, uchar_t *mac, int mac_len, char *buf, int buf_len) argument
104 buf[0] = '\0';
106 n = sprintf(buf, prefix);
108 n += sprintf(buf + n, "%2.2X", *mac++);
110 return (buf);
117 char buf[128]; local
151 buf, sizeof (buf));
155 hp->h_length, buf, sizeof (buf));
295 char buf[INET_ADDRSTRLEN]; local
[all...]
/osnet-11/usr/src/cmd/hal/hald/
H A Ddevice.c559 hal_device_property_get_as_string (HalDevice *device, const char *key, char *buf, size_t bufsize) argument
565 g_return_val_if_fail (buf != NULL, NULL);
572 strncpy (buf, hal_property_get_string (prop), bufsize);
575 snprintf (buf, bufsize, "%d", hal_property_get_int (prop));
578 snprintf (buf, bufsize, "%llu", (long long unsigned int) hal_property_get_uint64 (prop));
581 snprintf (buf, bufsize, "%f", hal_property_get_double (prop));
584 strncpy (buf, hal_property_get_bool (prop) ? "true" : "false", bufsize);
594 buf[0] = '\t';
604 strncpy (buf + i, str, bufsize - i);
608 buf[
[all...]
H A Ddevice.h125 char *buf,
H A Ddevice_info.c1196 char buf[256]; local
1209 strncpy (buf, pc->cdata_buf, sizeof (buf));
1213 hal_device_property_get_as_string (pc->device, pc->cdata_buf, buf, sizeof (buf));
1224 strncat (buf2, buf, sizeof (buf2) - strlen(buf2));
1226 strncpy (buf2, buf, sizeof (buf2));
1234 char buf[256]; local
1247 strncpy (buf, pc->cdata_buf, sizeof (buf));
1368 char buf[512]; local
[all...]
H A Ddevice_store.c175 const char buf[] = "/org/freedesktop/Hal/devices/"; local
177 if (strncmp(device->udi, buf, sizeof (buf) - 1) != 0) {

Completed in 109 milliseconds

1234567891011>>