Searched refs:buf (Results 151 - 175 of 1692) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/libldap4/common/
H A Dtmplout.c48 static int do_entry2text( LDAP *ld, char *buf, char *base, LDAPMessage *entry,
56 static int do_vals2text( LDAP *ld, char *buf, char **vals, char *label,
60 static int output_label( char *buf, char *label, int width,
62 static int output_dn( char *buf, char *dn, int width, int rdncount,
67 static int searchaction( LDAP *ld, char *buf, char *base, LDAPMessage *entry,
97 char *buf, /* NULL for "use internal" */
117 rv = do_entry2text( ld, buf, NULL, entry, tmpl, defattrs, defvals,
122 return( do_entry2text( ld, buf, NULL, entry, tmpl, defattrs, defvals,
132 char *buf, /* NULL for "use internal" */
158 rv = do_entry2text( ld, buf, bas
95 ldap_entry2text( LDAP *ld, char *buf, LDAPMessage *entry, struct ldap_disptmpl *tmpl, char **defattrs, char ***defvals, writeptype writeproc, void *writeparm, char *eol, int rdncount, unsigned int opts ) argument
130 ldap_entry2html( LDAP *ld, char *buf, LDAPMessage *entry, struct ldap_disptmpl *tmpl, char **defattrs, char ***defvals, writeptype writeproc, void *writeparm, char *eol, int rdncount, unsigned int opts, char *base, char *urlprefix ) argument
170 do_entry2text( LDAP *ld, char *buf, char *base, LDAPMessage *entry, struct ldap_disptmpl *tmpl, char **defattrs, char ***defvals, writeptype writeproc, void *writeparm, char *eol, int rdncount, unsigned int opts, char *urlprefix ) argument
487 char *buf, **fetchattrs, **vals; local
612 ldap_vals2text( LDAP *ld, char *buf, char **vals, char *label, int labelwidth, unsigned int syntaxid, writeptype writeproc, void *writeparm, char *eol, int rdncount ) argument
645 ldap_vals2html( LDAP *ld, char *buf, char **vals, char *label, int labelwidth, unsigned int syntaxid, writeptype writeproc, void *writeparm, char *eol, int rdncount, char *urlprefix ) argument
683 do_vals2text( LDAP *ld, char *buf, char **vals, char *label, int labelwidth, unsigned int syntaxid, writeptype writeproc, void *writeparm, char *eol, int rdncount, char *urlprefix ) argument
876 output_label( char *buf, char *label, int width, writeptype writeproc, void *writeparm, char *eol, int html ) argument
900 output_dn( char *buf, char *dn, int width, int rdncount, writeptype writeproc, void *writeparm, char *eol, char *urlprefix ) argument
1072 searchaction( LDAP *ld, char *buf, char *base, LDAPMessage *entry, char *dn, struct ldap_tmplitem *tip, int labelwidth, int rdncount, writeptype writeproc, void *writeparm, char *eol, char *urlprefix ) argument
[all...]
/osnet-11/usr/src/lib/libproc/common/
H A DPexecname.c51 try_exec(struct ps_prochandle *P, const char *cwd, const char *path, char *buf, argument
57 (void) snprintf(buf, PATH_MAX, "%s/%s", cwd, path);
59 (void) strcpy(buf, path);
61 dprintf("try_exec \"%s\"\n", buf);
63 (void) Pfindobj(P, buf, buf, PATH_MAX);
64 if ((i = resolvepath(buf, buf, PATH_MAX)) > 0) {
65 buf[i] = '\0';
66 return (isexec(buf, isdat
85 char buf[PATH_MAX]; local
258 Pexecname(struct ps_prochandle *P, char *buf, size_t buflen) argument
[all...]
/osnet-11/usr/src/lib/libresolv2/common/isc/
H A Dctl_p.c78 ctl_bufget(struct ctl_buf *buf, ctl_logfunc logger) { argument
81 REQUIRE(!allocated_p(*buf) && buf->used == 0U);
82 buf->text = memget(MAX_LINELEN);
83 if (!allocated_p(*buf)) {
87 buf->used = 0;
92 ctl_bufput(struct ctl_buf *buf) { argument
94 REQUIRE(allocated_p(*buf));
95 memput(buf->text, MAX_LINELEN);
96 buf
101 ctl_sa_ntop(const struct sockaddr *sa, char *buf, size_t size, ctl_logfunc logger) argument
[all...]
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dpmap_prot.c52 rpc_inline_t *buf; local
56 buf = XDR_INLINE(xdrs, 4 * BYTES_PER_XDR_UNIT);
57 if (buf == NULL) {
67 IXDR_PUT_U_INT32(buf, objp->pm_prog);
68 IXDR_PUT_U_INT32(buf, objp->pm_vers);
69 IXDR_PUT_U_INT32(buf, objp->pm_prot);
70 IXDR_PUT_U_INT32(buf, objp->pm_port);
74 buf = XDR_INLINE(xdrs, 4 * BYTES_PER_XDR_UNIT);
75 if (buf == NULL) {
85 objp->pm_prog = IXDR_GET_U_INT32(buf);
182 rpc_inline_t *buf; local
[all...]
H A Drpc_td.c60 t_optreq.opt.buf = malloc(MAXOPTSIZE);
61 if (t_optreq.opt.buf == NULL) {
66 opt = (struct opthdr *)(t_optreq.opt.buf);
70 (void) memcpy((caddr_t)t_optreq.opt.buf +
77 t_optret.opt.buf = malloc(MAXOPTSIZE);
78 if (t_optret.opt.buf == NULL) {
80 free(t_optreq.opt.buf);
/osnet-11/usr/src/grub/grub2/grub-core/disk/
H A Draid6_recover.c37 grub_raid_block_mulx (int mul, char *buf, int size) argument
42 p = (grub_uint8_t *) buf;
68 char *buf, grub_disk_addr_t sector, int size)
100 0, size, buf)))
102 grub_crypto_xor (pbuf, pbuf, buf, size);
103 grub_raid_block_mulx (i, buf, size);
104 grub_crypto_xor (qbuf, qbuf, buf, size);
132 0, size, buf)))
134 grub_crypto_xor (buf, buf, pbu
67 grub_raid6_recover(struct grub_raid_array *array, int disknr, int p, char *buf, grub_disk_addr_t sector, int size) argument
[all...]
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dtmplout.c48 static int do_entry2text( LDAP *ld, char *buf, char *base, LDAPMessage *entry,
56 static int do_vals2text( LDAP *ld, char *buf, char **vals, char *label,
60 static int output_label( char *buf, char *label, int width,
62 static int output_dn( char *buf, char *dn, int width, int rdncount,
67 static int searchaction( LDAP *ld, char *buf, char *base, LDAPMessage *entry,
86 char *buf, /* NULL for "use internal" */
100 return( do_entry2text( ld, buf, NULL, entry, tmpl, defattrs, defvals,
111 char *buf, /* NULL for "use internal" */
131 return( do_entry2text( ld, buf, base, entry, tmpl, defattrs, defvals,
139 char *buf, /* NUL
84 ldap_entry2text( LDAP *ld, char *buf, LDAPMessage *entry, struct ldap_disptmpl *tmpl, char **defattrs, char ***defvals, writeptype writeproc, void *writeparm, char *eol, int rdncount, unsigned long opts ) argument
109 ldap_entry2html( LDAP *ld, char *buf, LDAPMessage *entry, struct ldap_disptmpl *tmpl, char **defattrs, char ***defvals, writeptype writeproc, void *writeparm, char *eol, int rdncount, unsigned long opts, char *base, char *urlprefix ) argument
137 do_entry2text( LDAP *ld, char *buf, char *base, LDAPMessage *entry, struct ldap_disptmpl *tmpl, char **defattrs, char ***defvals, writeptype writeproc, void *writeparm, char *eol, int rdncount, unsigned long opts, char *urlprefix ) argument
452 char *buf, **fetchattrs, **vals; local
565 ldap_vals2text( LDAP *ld, char *buf, char **vals, char *label, int labelwidth, unsigned long syntaxid, writeptype writeproc, void *writeparm, char *eol, int rdncount ) argument
587 ldap_vals2html( LDAP *ld, char *buf, char **vals, char *label, int labelwidth, unsigned long syntaxid, writeptype writeproc, void *writeparm, char *eol, int rdncount, char *urlprefix ) argument
613 do_vals2text( LDAP *ld, char *buf, char **vals, char *label, int labelwidth, unsigned long syntaxid, writeptype writeproc, void *writeparm, char *eol, int rdncount, char *urlprefix ) argument
813 output_label( char *buf, char *label, int width, writeptype writeproc, void *writeparm, char *eol, int html ) argument
838 output_dn( char *buf, char *dn, int width, int rdncount, writeptype writeproc, void *writeparm, char *eol, char *urlprefix ) argument
918 char buf[26]; local
1036 searchaction( LDAP *ld, char *buf, char *base, LDAPMessage *entry, char *dn, struct ldap_tmplitem *tip, int labelwidth, int rdncount, writeptype writeproc, void *writeparm, char *eol, char *urlprefix ) argument
[all...]
H A Dcompat.c67 nsldapi_compat_ctime_r( const time_t *clock, char *buf, int buflen ) argument
69 NSLDAPI_CTIME1( clock, buf, buflen );
70 return buf;
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_encode.c34 asn1_encode_boolean(asn1buf *buf, asn1_intmax val, unsigned int *retlen) argument
43 retval = asn1buf_insert_octet(buf, bval);
47 retval = asn1_make_tag(buf, UNIVERSAL, PRIMITIVE, ASN1_BOOLEAN, length, &partlen);
56 asn1_encode_integer_internal(asn1buf *buf, asn1_intmax val, argument
67 retval = asn1buf_insert_octet(buf,(asn1_octet) digit);
74 retval = asn1buf_insert_octet(buf,0); /* of the proper signed-ness */
78 retval = asn1buf_insert_octet(buf,0xFF);
89 asn1_encode_integer(asn1buf * buf, asn1_intmax val, unsigned int *retlen) argument
94 retval = asn1_encode_integer_internal(buf, val, &partlen);
98 retval = asn1_make_tag(buf,UNIVERSA
128 asn1_encode_unsigned_integer(asn1buf *buf, asn1_uintmax val, unsigned int *retlen) argument
161 encode_bytestring_with_tag(asn1buf *buf, unsigned int len, const void *val, int tag, unsigned int *retlen) argument
180 asn1_encode_oid(asn1buf *buf, unsigned int len, const asn1_octet *val, unsigned int *retlen) argument
188 asn1_encode_octetstring(asn1buf *buf, unsigned int len, const void *val, unsigned int *retlen) argument
225 asn1_encode_generaltime(asn1buf *buf, time_t val, unsigned int *retlen) argument
278 asn1_encode_generalstring(asn1buf *buf, unsigned int len, const void *val, unsigned int *retlen) argument
286 asn1_encode_bitstring(asn1buf *buf, unsigned int len, const void *val, unsigned int *retlen) argument
304 asn1_encode_opaque(asn1buf *buf, unsigned int len, const void *val, unsigned int *retlen) argument
362 encode_nullterm_sequence_of(asn1buf *buf, const void *val, const struct atype_info *type, int can_be_empty, unsigned int *retlen) argument
382 krb5int_asn1_encode_a_thing(asn1buf *buf, const void *val, const struct atype_info *a, unsigned int *retlen) argument
436 encode_a_field(asn1buf *buf, const void *val, const struct field_info *field, unsigned int *retlen) argument
588 encode_fields(asn1buf *buf, const void *val, const struct field_info *fields, size_t nfields, unsigned int optional, unsigned int *retlen) argument
618 just_encode_sequence(asn1buf *buf, const void *val, const struct seq_info *seq, unsigned int *retlen) argument
653 encode_sequence_of(asn1buf *buf, int seqlen, const void *val, const struct atype_info *eltinfo, unsigned int *retlen) argument
688 asn1buf *buf = NULL; local
[all...]
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dbitmap.c64 u8 *buf, *lastbyte_buf; local
83 buf = (u8*)ntfs_malloc(bufsize);
84 if (!buf)
88 memset(buf, value ? 0xff : 0, bufsize);
93 br = ntfs_attr_pread(na, start_bit >> 3, 1, buf);
95 free(buf);
102 *buf |= 1 << bit++;
104 *buf &= ~(1 << bit++);
127 lastbyte_buf = buf + lastbyte_pos - 1;
157 br = ntfs_attr_pwrite(na, tmp, bufsize, buf);
[all...]
/osnet-11/usr/src/lib/libcmd/common/
H A Dcmd.h103 char buf[64]; local
111 buf[0] = '_';
112 buf[1] = 'b';
113 buf[2] = '_';
114 strncpy(buf + 3, s, sizeof(buf) - 4);
115 buf[sizeof(buf) - 1] = 0;
116 if (t = strchr(buf, '.'))
122 if (fun = (Shbltin_f)dlsym(dll, buf
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/xzembed/
H A Dxz_dec_bcj.c63 /* Amount of already filtered data in the beginning of buf */
66 /* Total amount of data currently stored in buf */
81 uint8_t buf[16]; member in struct:xz_dec_bcj::__anon605
93 struct xz_dec_bcj *s, uint8_t *buf, size_t size)
113 if ((buf[i] & 0xFE) != 0xE8)
122 b = buf[i + 4 - mask_to_bit_num[prev_mask]];
134 if (bcj_x86_test_msbyte(buf[i + 4])) {
135 src = get_unaligned_le32(buf + i + 1);
151 put_unaligned_le32(dest, buf + i + 1);
166 struct xz_dec_bcj *s, uint8_t *buf, size_
92 bcj_x86( struct xz_dec_bcj *s, uint8_t *buf, size_t size) argument
165 bcj_powerpc( struct xz_dec_bcj *s, uint8_t *buf, size_t size) argument
187 bcj_ia64( struct xz_dec_bcj *s, uint8_t *buf, size_t size) argument
272 bcj_arm( struct xz_dec_bcj *s, uint8_t *buf, size_t size) argument
296 bcj_armthumb( struct xz_dec_bcj *s, uint8_t *buf, size_t size) argument
325 bcj_sparc( struct xz_dec_bcj *s, uint8_t *buf, size_t size) argument
355 bcj_apply(struct xz_dec_bcj *s, uint8_t *buf, size_t *pos, size_t size) argument
[all...]
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSLPV1SSrvMsg.java125 StringBuffer buf = new StringBuffer();
133 hdr.getString(buf, dis);
135 String rq = buf.toString();
431 StringBuffer buf = new StringBuffer();
437 parseInternal(tk, buf, true);
448 return buf.toString();
454 parseInternal(StreamTokenizer tk, StringBuffer buf, boolean start) argument
490 parseLogicalExpression(logOp, tk, buf);
493 parse(tk, buf, true);
499 parseLogicalExpression(logOp, tk, buf);
559 parseLogicalExpression(int logOp, StreamTokenizer tk, StringBuffer buf) argument
612 parse(StreamTokenizer tk, StringBuffer buf, boolean firstEscaped) argument
[all...]
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Bin/
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/Misc/
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/lib/nsswitch/user/common/
H A Dgetprinter.c59 args->buf.buffer[0] = NULL;
70 length = snprintf(args->buf.buffer, args->buf.buflen, "%s:%s=",
74 while ((length < args->buf.buflen) && (*value != NULL)) {
76 args->buf.buffer[length++] = '\\';
77 args->buf.buffer[length++] = *value++;
80 if (length >= args->buf.buflen) { /* the value was too big */
85 args->buf.buffer[length] = NULL; /* terminate, just in case */
86 args->returnval = args->buf.result;
112 if (be->buf
[all...]
/osnet-11/usr/src/lib/libnls/common/
H A Dnlsenv.c73 nlsenv(struct netbuf *buf, char *envname) argument
92 if (!(buf->buf = calloc(1, length)))
95 buf->maxlen = length;
96 return(nlsc2addr(buf->buf, buf->maxlen, charaddr));
/osnet-11/usr/src/cmd/sendmail/libsm/
H A Dcf.c48 char buf[2048]; local
59 while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) != NULL)
61 p = strchr(buf, '\n');
65 if (buf[0] != 'O' || buf[1] != ' ')
68 id = &buf[2];
/osnet-11/usr/src/lib/libast/common/regex/
H A Dregcoll.c34 * the collating symbol is converted to multibyte in <buf,size>
38 * or collating element (*wc == 0) in buf
42 regcollate(register const char* s, char** e, char* buf, size_t size, wchar_t* wc) argument
70 b = buf;
71 x = buf + size - 2;
99 if (mbxfrm(xfm, buf, sizeof(xfm)) >= mbxfrm(xfm, tmp, sizeof(xfm)))
101 t = (const char*)buf;
105 memcpy(buf, t, r);
107 buf[r] = 0;
/osnet-11/usr/src/lib/libc/port/stdio/
H A Dsetbuf.c46 Uchar *buf = (Uchar *)abuf; local
56 if (buf == 0) {
61 buf = (fno == 0) ? _sibuf : _sobuf;
65 buf = _smbuf[fno];
68 if ((buf = (Uchar *)malloc(_SMBFSZ * sizeof (Uchar))) != 0) {
76 if (buf == 0) {
80 temp = buf + PUSHBACK;
/osnet-11/usr/src/grub/grub2/grub-core/io/
H A Dxzio.c39 struct xz_buf buf; member in struct:grub_xzio
50 decode_vli (const grub_uint8_t buf[], grub_size_t size_max, argument
59 *num = buf[0] & 0x7F;
62 while (buf[i++] & 0x80)
64 if (i >= size_max || buf[i] == 0x00)
67 *num |= (uint64_t) (buf[i] & 0x7F) << (i * 7);
76 grub_uint8_t buf[VLI_MAX_DIGITS]; local
80 read = grub_file_read (file, buf, VLI_MAX_DIGITS);
84 dec = decode_vli (buf, read, num);
97 xzio->buf
245 grub_xzio_read(grub_file_t file, char *buf, grub_size_t len) argument
[all...]
/osnet-11/usr/src/cmd/hal/utils/
H A Dadt_data.c30 uchar_t *buf; local
76 buf = (uchar_t *)malloc (bufsize);
81 buf = realloc (buf, bufsize);
82 if (buf == NULL) {
90 buf[count++] = value;
99 free (buf);
100 buf = NULL;
103 return (adt_export_data_t *)buf;
/osnet-11/usr/src/lib/libc/port/gen/
H A Drealpath.c45 krealpath_impl(int fd, const char *path, char *buf, size_t bufsize) argument
52 if (buf == NULL) {
63 kbuf = buf;
68 if (ret == 0 || buf != NULL || bufsize != 0 || errno != ERANGE)
72 if (buf != sbuf)
78 if (buf != kbuf && kbuf != sbuf)
87 if (buf == NULL) {
88 buf = strdup(kbuf);
92 return (buf);
/osnet-11/usr/src/grub/grub2/include/grub/lib/
H A Denvblk.h29 char *buf; member in struct:grub_envblk
34 grub_envblk_t grub_envblk_open (char *buf, grub_size_t size);
44 return envblk->buf;
/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;

Completed in 102 milliseconds

1234567891011>>