/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | asn1_k_decode.c | 264 #define sequence_of(buf) \ argument 279 #define sequence_of_no_tagvars(buf) \ argument 294 #define sequence_of_common(buf) \ argument 309 #define end_sequence_of(buf) \ argument 331 #define end_sequence_of_no_tagvars(buf) \ argument 351 asn1_error_code asn1_decode_kerberos_time(asn1buf *buf, krb5_timestamp *val) in asn1_decode_kerberos_time() 406 asn1_error_code asn1_decode_msgtype(asn1buf *buf, krb5_msgtype *val) in asn1_decode_msgtype() 420 asn1_error_code asn1_decode_realm(asn1buf *buf, krb5_principal *val) in asn1_decode_realm() 427 asn1_error_code asn1_decode_principal_name(asn1buf *buf, krb5_principal *val) in asn1_decode_principal_name() 460 asn1_error_code asn1_decode_checksum(asn1buf *buf, krb5_checksum *val) in asn1_decode_checksum() [all …]
|
H A D | asn1buf.c | 66 asn1_error_code asn1buf_create(asn1buf **buf) in asn1buf_create() 76 asn1_error_code asn1buf_wrap_data(asn1buf *buf, const krb5_data *code) in asn1buf_wrap_data() 84 asn1_error_code asn1buf_imbed(asn1buf *subbuf, const asn1buf *buf, const unsigned int length, const… in asn1buf_imbed() 96 asn1_error_code asn1buf_sync(asn1buf *buf, asn1buf *subbuf, in asn1buf_sync() 116 asn1_error_code asn1buf_skiptail(asn1buf *buf, const unsigned int length, const int indef) in asn1buf_skiptail() 148 asn1_error_code asn1buf_destroy(asn1buf **buf) in asn1buf_destroy() 161 asn1_error_code asn1buf_insert_octet(asn1buf *buf, const int o) in asn1buf_insert_octet() 172 asn1_error_code asn1buf_insert_octetstring(asn1buf *buf, const unsigned int len, const krb5_octet *… in asn1buf_insert_octetstring() 184 asn1_error_code asn1buf_insert_charstring(asn1buf *buf, const unsigned int len, const char *s) in asn1buf_insert_charstring() 197 asn1_error_code asn1buf_remove_octet(asn1buf *buf, asn1_octet *o) in asn1buf_remove_octet() [all …]
|
H A D | asn1_decode.c | 60 asn1_error_code asn1_decode_integer(asn1buf *buf, long int *val) in asn1_decode_integer() 85 asn1_error_code asn1_decode_unsigned_integer(asn1buf *buf, long unsigned int *val) in asn1_decode_unsigned_integer() 119 asn1_error_code asn1_decode_maybe_unsigned(asn1buf *buf, unsigned long *val) in asn1_decode_maybe_unsigned() 153 asn1_error_code asn1_decode_oid(asn1buf *buf, unsigned int *retlen, asn1_octet **val) in asn1_decode_oid() 163 asn1_error_code asn1_decode_octetstring(asn1buf *buf, unsigned int *retlen, asn1_octet **val) in asn1_decode_octetstring() 173 asn1_error_code asn1_decode_charstring(asn1buf *buf, unsigned int *retlen, char **val) in asn1_decode_charstring() 184 asn1_error_code asn1_decode_generalstring(asn1buf *buf, unsigned int *retlen, char **val) in asn1_decode_generalstring() 195 asn1_error_code asn1_decode_null(asn1buf *buf) in asn1_decode_null() 203 asn1_error_code asn1_decode_printablestring(asn1buf *buf, int *retlen, char **val) in asn1_decode_printablestring() 213 asn1_error_code asn1_decode_ia5string(asn1buf *buf, int *retlen, char **val) in asn1_decode_ia5string() [all …]
|
H A D | asn1buf.h | 20 #define asn1buf_size(buf) \ argument 29 #define asn1buf_free(buf) \ argument 42 #define asn1buf_ensure_space(buf,amount) \ argument 59 #define asn1buf_len(buf) ((buf)->next - (buf)->base) argument 148 static __inline__ asn1_error_code asn1buf_insert_octet(asn1buf *buf, const int o) in asn1buf_insert_octet() 185 #define asn1buf_remove_octet(buf,o) \ argument
|
H A D | asn1_encode.c | 33 asn1_error_code asn1_encode_boolean(asn1buf *buf, asn1_intmax val, in asn1_encode_boolean() 55 static asn1_error_code asn1_encode_integer_internal(asn1buf *buf, in asn1_encode_integer_internal() 88 asn1_error_code asn1_encode_integer(asn1buf * buf, asn1_intmax val, in asn1_encode_integer() 127 asn1_error_code asn1_encode_unsigned_integer(asn1buf *buf, asn1_uintmax val, in asn1_encode_unsigned_integer() 160 encode_bytestring_with_tag(asn1buf *buf, unsigned int len, in encode_bytestring_with_tag() 178 asn1_error_code asn1_encode_oid(asn1buf *buf, unsigned int len, in asn1_encode_oid() 186 asn1_error_code asn1_encode_octetstring(asn1buf *buf, unsigned int len, in asn1_encode_octetstring() 223 asn1_error_code asn1_encode_generaltime(asn1buf *buf, time_t val, in asn1_encode_generaltime() 276 asn1_error_code asn1_encode_generalstring(asn1buf *buf, unsigned int len, in asn1_encode_generalstring() 284 asn1_error_code asn1_encode_bitstring(asn1buf *buf, unsigned int len, in asn1_encode_bitstring() [all …]
|
H A D | asn1_k_encode.c | 120 asn1_encode_kerberos_time_at(asn1buf *buf, const krb5_timestamp *val, in asn1_encode_kerberos_time_at() 163 asn1_encode_krb5_flags_at(asn1buf *buf, const krb5_flags *val, in asn1_encode_krb5_flags_at() 333 asn1_encode_kdc_req_body(asn1buf *buf, const krb5_kdc_req *val, in asn1_encode_kdc_req_body() 1460 asn1_encode_kerberos_time(asn1buf *buf, const krb5_timestamp val, in asn1_encode_kerberos_time() 1467 asn1_error_code asn1_encode_pk_authenticator(asn1buf *buf, const krb5_pk_authenticator *val, unsign… in asn1_encode_pk_authenticator() 1479 asn1_error_code asn1_encode_pk_authenticator_draft9(asn1buf *buf, const krb5_pk_authenticator_draft… in asn1_encode_pk_authenticator_draft9() 1494 asn1_error_code asn1_encode_algorithm_identifier(asn1buf *buf, const krb5_algorithm_identifier *val… in asn1_encode_algorithm_identifier() 1521 asn1_error_code asn1_encode_subject_pk_info(asn1buf *buf, const krb5_subject_pk_info *val, unsigned… in asn1_encode_subject_pk_info() 1561 asn1_error_code asn1_encode_sequence_of_algorithm_identifier(asn1buf *buf, const krb5_algorithm_ide… in asn1_encode_sequence_of_algorithm_identifier() 1580 asn1_error_code asn1_encode_auth_pack(asn1buf *buf, const krb5_auth_pack *val, unsigned int *retlen) in asn1_encode_auth_pack() [all …]
|
H A D | asn1_make.c | 29 asn1_error_code asn1_make_etag(asn1buf *buf, asn1_class asn1class, in asn1_make_etag() 37 asn1_error_code asn1_make_tag(asn1buf *buf, asn1_class asn1class, in asn1_make_tag() 58 asn1_error_code asn1_make_length(asn1buf *buf, const unsigned int in_len, unsigned int *retlen) in asn1_make_length() 84 asn1_error_code asn1_make_id(asn1buf *buf, asn1_class asn1class, in asn1_make_id() 119 asn1_error_code asn1_make_sequence(asn1buf *buf, const unsigned int seq_len, unsigned int *retlen) in asn1_make_sequence() 135 asn1_error_code asn1_make_set(asn1buf *buf, const unsigned int set_len, unsigned int *retlen) in asn1_make_set() 151 asn1_error_code asn1_make_string(asn1buf *buf, const unsigned int length, const char *string, int *… in asn1_make_string()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | buf.h | 82 typedef struct buf { struct 84 struct buf *b_forw; /* headed by d_tab of conf.c */ argument 85 struct buf *b_back; /* " */ argument 86 struct buf *av_forw; /* position on free list, */ argument 87 struct buf *av_back; /* if not BUSY */ argument 88 o_dev_t b_dev; /* OLD major+minor device name */ 89 size_t b_bcount; /* transfer count */ 90 union { 117 size_t b_bufsize; /* size of allocated buffer */ argument 118 int (*b_iodone)(struct buf *); /* function called by iodone */ argument [all …]
|
/illumos-gate/usr/src/cmd/sendmail/include/sm/ |
H A D | setjmp.h | 31 # define sm_setjmp_sig(buf) sigsetjmp(buf, 1) argument 32 # define sm_setjmp_nosig(buf) sigsetjmp(buf, 0) argument 33 # define sm_longjmp_sig(buf, val) siglongjmp(buf, val) argument 34 # define sm_longjmp_nosig(buf, val) siglongjmp(buf, val) argument 39 # define sm_setjmp_sig(buf) setjmp(buf) argument 40 # define sm_longjmp_sig(buf, val) longjmp(buf, val) argument 41 # define sm_setjmp_nosig(buf) _setjmp(buf) argument 42 # define sm_longjmp_nosig(buf, val) _longjmp(buf, val) argument
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | xdr.h | 337 #define IXDR_GET_INT32(buf) ((int32_t)ntohl((uint32_t)*(buf)++)) argument 338 #define IXDR_PUT_INT32(buf, v) (*(buf)++ = (int32_t)htonl((uint32_t)v)) argument 339 #define IXDR_GET_U_INT32(buf) ((uint32_t)IXDR_GET_INT32(buf)) argument 340 #define IXDR_PUT_U_INT32(buf, v) IXDR_PUT_INT32((buf), ((int32_t)(v))) argument 344 #define IXDR_GET_LONG(buf) ((long)ntohl((ulong_t)*(buf)++)) argument 345 #define IXDR_PUT_LONG(buf, v) (*(buf)++ = (long)htonl((ulong_t)v)) argument 346 #define IXDR_GET_U_LONG(buf) ((ulong_t)IXDR_GET_LONG(buf)) argument 347 #define IXDR_PUT_U_LONG(buf, v) IXDR_PUT_LONG((buf), ((long)(v))) argument 349 #define IXDR_GET_BOOL(buf) ((bool_t)IXDR_GET_LONG(buf)) argument 350 #define IXDR_GET_ENUM(buf, t) ((t)IXDR_GET_LONG(buf)) argument [all …]
|
/illumos-gate/usr/src/cmd/sgs/include/ |
H A D | conv.h | 120 char buf[CONV_INV_BUFSIZE]; member 127 char buf[CONV_EHDR_FLAGS_BUFSIZE]; member 142 char buf[CONV_LA_BIND_BUFSIZE]; member 151 char buf[CONV_LA_SEARCH_BUFSIZE]; member 160 char buf[CONV_LA_SYMBIND_BUFSIZE]; member 172 char buf[CONV_CAP_VAL_HW1_BUFSIZE]; member 178 char buf[CONV_CAP_VAL_HW2_BUFSIZE]; member 184 char buf[CONV_CAP_VAL_SF1_BUFSIZE]; member 190 char buf[CONV_CAP_VAL_HW3_BUFSIZE]; member 206 char buf[CONV_CONFIG_FEAT_BUFSIZE]; member [all …]
|
/illumos-gate/usr/src/ucblib/libucb/port/gen/ |
H A D | statfs.c | 25 cnvtvfs64(struct statfs64 *buf, struct statvfs64 *vbuf) in cnvtvfs64() 39 statfs64(char *path, struct statfs64 *buf) in statfs64() 55 fstatfs64(int fd, struct statfs64 *buf) in fstatfs64() 67 cnvtvfs(struct statfs *buf, struct statvfs *vbuf) in cnvtvfs() 81 statfs(char *path, struct statfs *buf) in statfs() 98 fstatfs(int fd, struct statfs *buf) in fstatfs()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/lib/snmp/ |
H A D | asn1.c | 45 asn_build_sequence(uchar_t *buf, size_t *bufsz_p, uchar_t id, size_t length) in asn_build_sequence() 71 asn_build_header(uchar_t *buf, size_t *bufsz_p, uchar_t id, size_t length) in asn_build_header() 82 asn_build_length(uchar_t *buf, size_t *bufsz_p, size_t length) in asn_build_length() 118 asn_build_int(uchar_t *buf, size_t *bufsz_p, uchar_t id, int val) in asn_build_int() 172 asn_build_string(uchar_t *buf, size_t *bufsz_p, uchar_t id, uchar_t *str, in asn_build_string() 200 asn_build_objid(uchar_t *buf, size_t *bufsz_p, uchar_t id, void *oidp, in asn_build_objid() 313 asn_build_null(uchar_t *buf, size_t *bufsz_p, uchar_t id) in asn_build_null() 331 asn_parse_sequence(uchar_t *buf, size_t *bufsz_p, uchar_t exp_id) in asn_parse_sequence() 348 asn_parse_header(uchar_t *buf, size_t *bufsz_p, uchar_t *id) in asn_parse_header() 383 asn_parse_length(uchar_t *buf, size_t *asnobj_len_p) in asn_parse_length() [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | libmandoc.h | 44 struct buf { struct 45 char *buf; argument 47 struct buf *next; argument
|
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/ |
H A D | rsrc_info.c | 132 char *buf = NULL; in ri_pack() local 206 char *buf = NULL; in ap_list_pack() local 259 char *buf = NULL; in dev_list_pack() local 313 char *buf = NULL; in client_list_pack() local 363 char *buf = NULL; in ap_pack() local 427 char *buf = NULL; in dev_pack() local 472 char *buf = NULL; in client_pack() local 519 char *buf = NULL; in pack_add_byte_array() local 541 ri_unpack(caddr_t buf, size_t size, ri_hdl_t **hdlp) in ri_unpack() 614 ap_list_unpack(char *buf, size_t size, ri_ap_t **aps) in ap_list_unpack() [all …]
|
H A D | rdr_messages.c | 1543 char *buf = NULL; in rdr_rcv() local 1729 pack_ses_req_request(ses_req_params_t *params, char **buf, int *buf_size) in pack_ses_req_request() 1789 unpack_ses_req_request(ses_req_params_t *params, const char *buf) in unpack_ses_req_request() 1821 pack_ses_req_reply(ses_req_params_t *params, char **buf, int *buf_size) in pack_ses_req_reply() 1861 unpack_ses_req_reply(ses_req_params_t *params, const char *buf) in unpack_ses_req_reply() 1888 pack_change_state_request(change_state_params_t *params, char **buf, in pack_change_state_request() 2011 unpack_change_state_request(change_state_params_t *params, const char *buf) in unpack_change_state_request() 2100 pack_change_state_reply(change_state_params_t *params, char **buf, in pack_change_state_reply() 2170 unpack_change_state_reply(change_state_params_t *params, const char *buf) in unpack_change_state_reply() 2207 pack_private_func_request(private_func_params_t *params, char **buf, in pack_private_func_request() [all …]
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | io.c | 33 io_abort(const char *buf) in io_abort() 40 io_die(const char *buf) in io_die() 47 io_err(const char *buf) in io_err() 53 io_out(const char *buf) in io_out()
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | io.c | 35 io_abort(const char *buf) in io_abort() 41 io_die(const char *buf) in io_die() 47 io_err(const char *buf) in io_err() 53 io_out(const char *buf) in io_out()
|
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | parser.c | 37 #define INCREMENT_BUF(buf) \ argument 185 usb_nth_descr(const uchar_t *buf, size_t buflen, int descr_type, uint_t n, in usb_nth_descr() 223 usb_parse_dev_descr(const uchar_t *buf, size_t buflen, in usb_parse_dev_descr() 238 usb_parse_cfg_descr(const uchar_t *buf, size_t buflen, in usb_parse_cfg_descr() 253 usba_parse_cfg_pwr_descr(const uchar_t *buf, size_t buflen, in usba_parse_cfg_pwr_descr() 285 usb_parse_ia_descr(const uchar_t *buf, size_t buflen, size_t first_if, in usb_parse_ia_descr() 316 usb_parse_if_descr(const uchar_t *buf, size_t buflen, uint_t if_number, in usb_parse_if_descr() 347 usba_parse_if_pwr_descr(const uchar_t *buf, size_t buflen, uint_t if_number, in usba_parse_if_pwr_descr() 398 usb_parse_ep_descr(const uchar_t *buf, size_t buflen, uint_t if_number, in usb_parse_ep_descr() 445 usba_ascii_string_descr(const uchar_t *buf, size_t buflen, char *ret_descr, in usba_ascii_string_descr() [all …]
|
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_debug.c | 74 char buf[BNXE_LOG_LEN]; in elink_cb_dbg() local 91 char buf[BNXE_LOG_LEN]; in elink_cb_dbg1() local 108 char buf[BNXE_LOG_LEN]; in elink_cb_dbg2() local 125 char buf[BNXE_LOG_LEN]; in elink_cb_dbg3() local 144 char buf[BNXE_LOG_LEN]; in BnxeLogInfo() local 173 char buf[BNXE_LOG_LEN]; in BnxeLogWarn() local 196 char buf[BNXE_LOG_LEN]; in BnxeLogDbg() local 220 char buf[256]; in BnxeDumpMem() local 258 char buf[256]; in BnxeDumpPkt() local
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_nfs4.c | 834 static char buf[SUM_COMPND_MAX + 2]; /* 1 for null, 1 for overflow */ in sum_compound4args() local 947 static char buf[SUM_COMPND_MAX + 2]; /* 1 for null, 1 for overflow */ in sum_cb_compound4args() local 1015 static char buf[1024]; in sum_operand() local 1035 static char buf[1024]; in sum_cb_operand() local 1269 static char buf[32]; in _sum_stateid() local 1320 static char buf[64]; in sum_lock_denied() local 1411 sumarg_access(char *buf, size_t buflen, void *obj) in sumarg_access() 1427 sumarg_close(char *buf, size_t buflen, void *obj) in sumarg_close() 1445 sumarg_commit(char *buf, size_t buflen, void *obj) in sumarg_commit() 1463 sumarg_compnt(char *buf, size_t buflen, void *obj) in sumarg_compnt() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/ |
H A D | pathnative.c | 41 pathnative(const char* path, char* buf, size_t siz) in pathnative() 53 pathnative(const char* path, char* buf, size_t siz) in pathnative() 75 pathnative(const char* path, char* buf, size_t siz) in pathnative() 98 pathnative(const char* path, char* buf, size_t siz) in pathnative() 111 pathnative(const char* path, char* buf, size_t siz) in pathnative()
|
H A D | pathposix.c | 41 pathposix(const char* path, char* buf, size_t siz) in pathposix() 53 pathposix(const char* path, char* buf, size_t siz) in pathposix() 75 pathposix(const char* path, char* buf, size_t siz) in pathposix() 98 pathposix(const char* path, char *buf, size_t siz) in pathposix() 113 pathposix(const char* path, char* buf, size_t siz) in pathposix()
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | corectl.c | 56 core_set_global_path(const char *buf, size_t bufsize) in core_set_global_path() 62 core_get_global_path(char *buf, size_t bufsize) in core_get_global_path() 80 core_set_default_path(const char *buf, size_t bufsize) in core_set_default_path() 86 core_get_default_path(char *buf, size_t bufsize) in core_get_default_path() 104 core_set_process_path(const char *buf, size_t bufsize, pid_t pid) in core_set_process_path() 110 core_get_process_path(char *buf, size_t bufsize, pid_t pid) in core_get_process_path()
|
/illumos-gate/usr/src/contrib/zlib/ |
H A D | adler32.c | 14 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} argument 15 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1); argument 16 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2); argument 17 #define DO8(buf,i) DO4(buf,i); DO4(buf,i+4); argument 18 #define DO16(buf) DO8(buf,0); DO8(buf,8); argument 61 uLong ZEXPORT adler32_z(uLong adler, const Bytef *buf, z_size_t len) in adler32_z() 129 uLong ZEXPORT adler32(uLong adler, const Bytef *buf, uInt len) in adler32()
|