/titanic_52/usr/src/uts/common/io/usb/usba/ |
H A D | parser.c | 36 #define INCREMENT_BUF(buf) \ argument 37 if ((buf)[0] == 0) { \ 40 (buf) += (buf)[0]; \ 190 usb_nth_descr(uchar_t *buf, in usb_nth_descr() argument 197 uchar_t *bufstart = buf; in usb_nth_descr() 198 uchar_t *bufend = buf + buflen; in usb_nth_descr() 200 if (buf == NULL) { in usb_nth_descr() 205 while (buf + 2 <= bufend) { in usb_nth_descr() 206 if ((buf ! in usb_nth_descr() 232 usb_parse_dev_descr(uchar_t * buf,size_t buflen,usb_dev_descr_t * ret_descr,size_t ret_buf_len) usb_parse_dev_descr() argument 249 usb_parse_cfg_descr(uchar_t * buf,size_t buflen,usb_cfg_descr_t * ret_descr,size_t ret_buf_len) usb_parse_cfg_descr() argument 267 usba_parse_cfg_pwr_descr(uchar_t * buf,size_t buflen,usba_cfg_pwr_descr_t * ret_descr,size_t ret_buf_len) usba_parse_cfg_pwr_descr() argument 301 usb_parse_ia_descr(uchar_t * buf,size_t buflen,size_t first_if,usb_ia_descr_t * ret_descr,size_t ret_buf_len) usb_parse_ia_descr() argument 335 usb_parse_if_descr(uchar_t * buf,size_t buflen,uint_t if_number,uint_t alt_if_setting,usb_if_descr_t * ret_descr,size_t ret_buf_len) usb_parse_if_descr() argument 370 usba_parse_if_pwr_descr(uchar_t * buf,size_t buflen,uint_t if_number,uint_t alt_if_setting,usba_if_pwr_descr_t * ret_descr,size_t ret_buf_len) usba_parse_if_pwr_descr() argument 425 usb_parse_ep_descr(uchar_t * buf,size_t buflen,uint_t if_number,uint_t alt_if_setting,uint_t ep_index,usb_ep_descr_t * ret_descr,size_t ret_buf_len) usb_parse_ep_descr() argument 476 usba_ascii_string_descr(uchar_t * buf,size_t buflen,char * ret_descr,size_t ret_buf_len) usba_ascii_string_descr() argument 504 usb_parse_CV_cfg_descr(uchar_t * buf,size_t buflen,char * fmt,uint_t descr_type,uint_t descr_index,void * ret_descr,size_t ret_buf_len) usb_parse_CV_cfg_descr() argument 528 usb_parse_CV_if_descr(uchar_t * buf,size_t buflen,char * fmt,uint_t if_number,uint_t alt_if_setting,uint_t descr_type,uint_t descr_index,void * ret_descr,size_t ret_buf_len) usb_parse_CV_if_descr() argument 573 usb_parse_CV_ep_descr(uchar_t * buf,size_t buflen,char * fmt,uint_t if_number,uint_t alt_if_setting,uint_t ep_index,uint_t descr_type,uint_t descr_index,void * ret_descr,size_t ret_buf_len) usb_parse_CV_ep_descr() argument [all...] |
/titanic_52/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | asn1buf.c | 66 asn1_error_code asn1buf_create(asn1buf **buf) in asn1buf_create() argument 68 *buf = (asn1buf*)malloc(sizeof(asn1buf)); in asn1buf_create() 69 if (*buf == NULL) return ENOMEM; in asn1buf_create() 70 (*buf)->base = NULL; in asn1buf_create() 71 (*buf)->bound = NULL; in asn1buf_create() 72 (*buf)->next = NULL; in asn1buf_create() 76 asn1_error_code asn1buf_wrap_data(asn1buf *buf, const krb5_data *code) in asn1buf_wrap_data() argument 79 buf->next = buf->base = code->data; in asn1buf_wrap_data() 80 buf in asn1buf_wrap_data() 84 asn1buf_imbed(asn1buf * subbuf,const asn1buf * buf,const unsigned int length,const int indef) asn1buf_imbed() argument 96 asn1buf_sync(asn1buf * buf,asn1buf * subbuf,asn1_class asn1class,asn1_tagnum lasttag,unsigned int length,int indef,int seqindef) asn1buf_sync() argument 116 asn1buf_skiptail(asn1buf * buf,const unsigned int length,const int indef) asn1buf_skiptail() argument 148 asn1buf_destroy(asn1buf ** buf) asn1buf_destroy() argument 161 asn1buf_insert_octet(asn1buf * buf,const int o) asn1buf_insert_octet() argument 172 asn1buf_insert_octetstring(asn1buf * buf,const unsigned int len,const krb5_octet * s) asn1buf_insert_octetstring() argument 184 asn1buf_insert_charstring(asn1buf * buf,const unsigned int len,const char * s) asn1buf_insert_charstring() argument 197 asn1buf_remove_octet(asn1buf * buf,asn1_octet * o) asn1buf_remove_octet() argument 204 asn1buf_remove_octetstring(asn1buf * buf,const unsigned int len,asn1_octet ** s) asn1buf_remove_octetstring() argument 223 asn1buf_remove_charstring(asn1buf * buf,const unsigned int len,char ** s) asn1buf_remove_charstring() argument 241 asn1buf_remains(asn1buf * buf,int indef) asn1buf_remains() argument 255 asn12krb5_buf(const asn1buf * buf,krb5_data ** code) asn12krb5_buf() argument 281 asn1buf_unparse(const asn1buf * buf,char ** s) asn1buf_unparse() argument 305 asn1buf_hex_unparse(const asn1buf * buf,char ** s) asn1buf_hex_unparse() argument 341 asn1buf_size(const asn1buf * buf) asn1buf_size() argument 348 asn1buf_free(const asn1buf * buf) asn1buf_free() argument 355 asn1buf_ensure_space(asn1buf * buf,const unsigned int amount) asn1buf_ensure_space() argument 365 asn1buf_expand(asn1buf * buf,unsigned int inc) asn1buf_expand() argument 388 asn1buf_len(const asn1buf * buf) asn1buf_len() argument [all...] |
H A D | asn1buf.h | 18 (const asn1buf *buf); 19 /* requires *buf has been created and not destroyed 21 (in octets) of buf's octet buffer. */ 22 #define asn1buf_size(buf) \ argument 23 (((buf) == NULL || (buf)->base == NULL) \ 25 : ((buf)->bound - (buf)->base + 1)) 28 (const asn1buf *buf); 29 /* requires *buf i 31 asn1buf_free(buf) global() argument 44 asn1buf_ensure_space(buf,amount) global() argument 61 asn1buf_len(buf) global() argument 152 asn1buf_insert_octet(asn1buf * buf,const int o) asn1buf_insert_octet() argument 186 asn1buf_remove_octet(buf,o) global() argument [all...] |
H A D | asn1_k_decode.h | 34 /* asn1_error_code asn1_decode_scalar_type(asn1buf *buf, krb5_scalar *val); */ 35 /* requires *buf is allocated, *buf's current position points to the 38 effects Decodes the encoding in *buf, returning the result in *val. 42 the bounds of *buf */ 45 /* asn1_error_code asn1_decode_structure_type(asn1buf *buf, 47 /* requires *buf is allocated, *buf's current position points to the 52 effects Decodes the encoding in *buf, returning the result in *val. 56 the bounds of *buf */ [all...] |
/titanic_52/usr/src/lib/libc/port/locale/ |
H A D | strptime.c | 54 __strptime(const char *_RESTRICT_KYWD buf, const char *_RESTRICT_KYWD fmt, in __strptime() argument 70 if (*buf == 0) in __strptime() 77 while (isspace(*buf)) in __strptime() 78 buf++; in __strptime() 79 else if (c != *buf++) in __strptime() 91 if (*buf++ != '%') in __strptime() 96 buf = __strptime(buf, tptr->date_fmt, tm, flagsp, loc); in __strptime() 97 if (buf == NULL) in __strptime() 102 if (!isdigit(*buf)) in __strptime() 522 strptime(const char * _RESTRICT_KYWD buf,const char * _RESTRICT_KYWD fmt,struct tm * _RESTRICT_KYWD tm) strptime() argument 537 __strptime_dontzero(const char * _RESTRICT_KYWD buf,const char * _RESTRICT_KYWD fmt,struct tm * _RESTRICT_KYWD tm) __strptime_dontzero() argument 556 strptime_l(const char * _RESTRICT_KYWD buf,const char * _RESTRICT_KYWD fmt,struct tm * _RESTRICT_KYWD tm,locale_t loc) strptime_l() argument [all...] |
/titanic_52/usr/src/lib/libc/port/threads/ |
H A D | assfail.c | 176 char buf[800]; in lock_error() local 206 (void) strcpy(buf, in lock_error() 208 (void) strcat(buf, who); in lock_error() 209 (void) strcat(buf, "("); in lock_error() 211 ultos((uint64_t)(uintptr_t)cv, 16, buf + strlen(buf)); in lock_error() 212 (void) strcat(buf, ", "); in lock_error() 214 ultos((uint64_t)(uintptr_t)mp, 16, buf + strlen(buf)); in lock_error() 215 (void) strcat(buf, ")"); in lock_error() 267 char buf[800]; rwlock_error() local 354 char buf[800]; thread_error() local 404 char buf[800]; /* no assert() message in the library is this long */ __assfail() local 479 char buf[1000]; assfail3() local [all...] |
/titanic_52/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | socks.c | 107 proxy_read_line(int fd, char *buf, size_t bufsz) in proxy_read_line() argument 114 if (atomicio(read, fd, buf + off, 1) != 1) in proxy_read_line() 117 if (buf[off] == '\r') in proxy_read_line() 119 if (buf[off] == '\n') { in proxy_read_line() 120 buf[off] = '\0'; in proxy_read_line() 125 * on *buf being zero in that case. in proxy_read_line() 157 char buf[1024]; in socks_connect() local 189 buf[0] = SOCKS_V5; in socks_connect() 190 buf[1] = 1; in socks_connect() 191 buf[ in socks_connect() [all...] |
/titanic_52/usr/src/lib/iconv_modules/zh/common/ |
H A D | uni_common.c | 27 static int unichr_to_ucs_2le (st, unichr, buf, buflen, uconv_num) in unichr_to_ucs_2le() argument 30 char *buf; 45 *(buf + size++) = (uchar_t)0xff; 46 *(buf + size++) = (uchar_t)0xfe; 53 *(buf + size++) = (uchar_t)(unichr & 0xff); 54 *(buf + size++) = (uchar_t)((unichr >> 8) & 0xff); 60 static int unichr_to_ucs_2be (st, unichr, buf, buflen, uconv_num) in unichr_to_ucs_2be() argument 63 char *buf; 78 *(buf + size++) = (uchar_t)0xfe; 79 *(buf 93 unichr_to_ucs_4le(st,unichr,buf,buflen,uconv_num) unichr_to_ucs_4le() argument 130 unichr_to_ucs_4be(st,unichr,buf,buflen,uconv_num) unichr_to_ucs_4be() argument 167 unichr_to_utf8(_iconv_st * st,unsigned long unichr,char * buf,size_t buflen,int * uconv_num) unichr_to_utf8() argument [all...] |
/titanic_52/usr/src/lib/libsff/common/ |
H A D | libsff.c | 684 sff_parse_compliance(const uint8_t *buf, nvlist_t *nvl) in sff_parse_compliance() argument 689 if ((ret = sff_gather_bitfield(buf[SFF_8472_COMPLIANCE_10GE] & in sff_parse_compliance() 694 if ((ret = sff_gather_bitfield(buf[SFF_8472_COMPLIANCE_IB] & in sff_parse_compliance() 699 if ((ret = sff_gather_bitfield(buf[SFF_8472_COMPLIANCE_ESCON] & in sff_parse_compliance() 704 v = buf[SFF_8472_COMPLIANCE_SONET_LOW] | in sff_parse_compliance() 705 (buf[SFF_8472_COMPLIANCE_SONET_HIGH] << 8); in sff_parse_compliance() 710 if ((ret = sff_gather_bitfield(buf[SFF_8472_COMPLIANCE_ETHERNET] & in sff_parse_compliance() 715 if ((ret = sff_gather_bitfield(buf[SFF_8472_COMPLIANCE_FCLEN] & in sff_parse_compliance() 720 v = buf[SFF_8472_COMPLIANCE_FC_LOW] | in sff_parse_compliance() 721 (buf[SFF_8472_COMPLIANCE_FC_HIG in sff_parse_compliance() 760 sff_parse_br(const uint8_t * buf,nvlist_t * nvl) sff_parse_br() argument 778 sff_parse_lengths(const uint8_t * buf,nvlist_t * nvl) sff_parse_lengths() argument 835 sff_parse_string(const uint8_t * buf,uint_t start,uint_t len,const char * field,nvlist_t * nvl) sff_parse_string() argument 868 sff_parse_optical(const uint8_t * buf,nvlist_t * nvl) sff_parse_optical() argument 894 sff_parse_options(const uint8_t * buf,nvlist_t * nvl) sff_parse_options() argument 928 sff_parse_sfp(const uint8_t * buf,nvlist_t * nvl) sff_parse_sfp() argument 1002 sff_qsfp_parse_compliance(const uint8_t * buf,nvlist_t * nvl) sff_qsfp_parse_compliance() argument 1052 sff_qsfp_parse_br(const uint8_t * buf,nvlist_t * nvl) sff_qsfp_parse_br() argument 1066 sff_qsfp_parse_lengths(const uint8_t * buf,nvlist_t * nvl) sff_qsfp_parse_lengths() argument 1148 sff_qsfp_parse_copperwave(const uint8_t * buf,nvlist_t * nvl) sff_qsfp_parse_copperwave() argument 1233 sff_qsfp_parse_options(const uint8_t * buf,nvlist_t * nvl) sff_qsfp_parse_options() argument 1247 const char *buf[2]; sff_qsfp_parse_diag() local 1281 sff_parse_qsfp(const uint8_t * buf,nvlist_t * nvl) sff_parse_qsfp() argument 1362 libsff_parse(const uint8_t * buf,size_t len,uint_t page,nvlist_t ** nvpp) libsff_parse() argument [all...] |
/titanic_52/usr/src/cmd/msgfmt/ |
H A D | gnu_lex.c | 138 (void) memcpy(backbuf, pch->buf, backlen); in po_ungetc() 150 (void) memcpy(och.buf, backbuf, backlen); in po_getc() 177 och.buf[0] = '\\'; in po_getc() 186 och.buf[0] = '\n'; in po_getc() 193 och.buf[0] = (unsigned char)c; in po_getc() 197 och.len = get_mb(&och.buf[0], (unsigned char)c); in po_getc() 205 extend_buf(char **buf, size_t *size, size_t add) in extend_buf() argument 210 tmp = (char *)Xrealloc(*buf, *size); in extend_buf() 211 *buf = tmp; in extend_buf() 234 switch (pch->buf[ in expand_es() 356 char *buf; yylex() local [all...] |
/titanic_52/usr/src/test/util-tests/tests/libsff/ |
H A D | libsff_wave.c | 39 uint8_t buf[256]; in main() local 47 bzero(buf, sizeof (buf)); in main() 48 buf[SFF_8472_WAVELENGTH_HI] = 0x12; in main() 49 buf[SFF_8472_WAVELENGTH_LOW] = 0x34; in main() 51 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) { in main() 68 bzero(buf, sizeof (buf)); in main() 69 buf[SFF_8472_COMPLIANCE_SF in main() [all...] |
H A D | libsff_compliance.c | 53 uint8_t buf[256]; in main() local 61 bzero(buf, sizeof (buf)); in main() 62 buf[SFF_8472_COMPLIANCE_10GE] = 0xff; in main() 63 buf[SFF_8472_COMPLIANCE_SONET_LOW] = 0xff; in main() 64 buf[SFF_8472_COMPLIANCE_SONET_HIGH] = 0xff; in main() 65 buf[SFF_8472_COMPLIANCE_ETHERNET] = 0xff; in main() 66 buf[SFF_8472_COMPLIANCE_FC_LOW] = 0xff; in main() 67 buf[SFF_8472_COMPLIANCE_FC_HIGH] = 0xff; in main() 68 buf[SFF_8472_COMPLIANCE_FC_MEDI in main() [all...] |
/titanic_52/usr/src/uts/common/sys/ |
H A D | buf.h | 74 * buf.b_sem: protects all remaining members in the buf struct 75 * buf.b_io: I/O synchronization variable 80 typedef struct buf { struct 82 struct buf *b_forw; /* headed by d_tab of conf.c */ argument 83 struct buf *b_back; /* " */ argument 84 struct buf *av_forw; /* position on free list, */ argument 85 struct buf *av_back; /* if not BUSY */ argument 116 int (*b_iodone)(struct buf *); /* function called by iodone */ argument 118 struct buf *b_chai argument 86 b_devbuf global() argument 87 b_bcountbuf global() argument 88 __anone089471c010abuf global() argument 115 b_bufsizebuf global() argument 123 b_sembuf global() argument 125 b_listbuf global() argument 128 b_filebuf global() argument 129 b_offsetbuf global() argument 139 b_dipbuf global() argument [all...] |
/titanic_52/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeystore.c | 313 * pointer to the buf of the packed token object 314 * soft_keystore_pack_obj() will allocate memory for the buf, 338 uchar_t *buf, *buf1; in soft_keystore_pack_obj() local 370 buf = calloc(1, ks_len); in soft_keystore_pack_obj() 371 if (buf == NULL) { in soft_keystore_pack_obj() 374 (void) memcpy(buf, &hdr, sizeof (ks_obj_hdr_t)); in soft_keystore_pack_obj() 375 buf1 = buf + sizeof (ks_obj_hdr_t); in soft_keystore_pack_obj() 395 *ks_buf = buf; in soft_keystore_pack_obj() 430 uchar_t *buf; in soft_keystore_unpack_obj() local 439 hdr = (ks_obj_hdr_t *)ks_obj->buf; in soft_keystore_unpack_obj() 524 soft_unpack_obj_attribute(uchar_t * buf,biginteger_t * key_dest,cert_attr_t ** cert_dest,ulong_t * offset,boolean_t cert) soft_unpack_obj_attribute() argument 759 soft_pack_object(soft_object_t * objp,uchar_t * buf) soft_pack_object() argument 1321 soft_unpack_object(soft_object_t * objp,uchar_t * buf) soft_unpack_object() argument 1851 uchar_t *buf; soft_put_object_to_keystore() local 1889 uchar_t *buf; soft_modify_object_to_keystore() local [all...] |
/titanic_52/usr/src/lib/print/libprint/common/ |
H A D | nss_convert.c | 75 _cvt_printer_to_entry(ns_printer_t *printer, char *buf, int buflen) in _cvt_printer_to_entry() argument 80 (void) memset(buf, NULL, buflen); in _cvt_printer_to_entry() 85 if (snprintf(buf, buflen, "%s", printer->name) >= buflen) { in _cvt_printer_to_entry() 86 (void) memset(buf, NULL, buflen); in _cvt_printer_to_entry() 95 (void) strlcat(buf, "|", buflen); in _cvt_printer_to_entry() 96 (void) strncat_escaped(buf, *alias++, buflen, in _cvt_printer_to_entry() 101 if (strlcat(buf, ":", buflen) >= buflen) { in _cvt_printer_to_entry() 102 (void) memset(buf, NULL, buflen); in _cvt_printer_to_entry() 107 len = strlen(buf); in _cvt_printer_to_entry() 114 (void) strlcat(buf, "\\\ in _cvt_printer_to_entry() 145 buf[BUFSIZ]; _cvt_nss_entry_to_printer() local [all...] |
/titanic_52/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_print.c | 52 char **buf, size_t *buflen); 55 char **buf, size_t *buflen); 56 static void addlen(size_t len, char **buf, size_t *buflen); 58 char **buf, size_t *buflen); 60 char **buf, size_t *buflen); 79 *\li Number of characters written to buf, or -1 (check errno). 84 char *buf, size_t buflen) in ns_sprintrr() argument 91 name_ctx, origin, buf, buflen); in ns_sprintrr() 99 *\li Number of characters written to buf, or -1 (check errno). 106 char *buf, size_ in ns_sprintrrf() argument 1125 charstr(const u_char * rdata,const u_char * edata,char ** buf,size_t * buflen) charstr() argument 1161 addname(const u_char * msg,size_t msglen,const u_char ** pp,const char * origin,char ** buf,size_t * buflen) addname() argument 1203 addlen(size_t len,char ** buf,size_t * buflen) addlen() argument 1210 addstr(const char * src,size_t len,char ** buf,size_t * buflen) addstr() argument 1222 addtab(size_t len,size_t target,int spaced,char ** buf,size_t * buflen) addtab() argument [all...] |
/titanic_52/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | util_token.c | 96 static void der_write_length(buf, length) in der_write_length() argument 97 unsigned char **buf; in der_write_length() 101 *(*buf)++ = (unsigned char) length; 103 *(*buf)++ = (unsigned char) (der_length_size(length)+127); 106 *(*buf)++ = (unsigned char) (length>>24); 108 *(*buf)++ = (unsigned char) ((length>>16)&0xff); 111 *(*buf)++ = (unsigned char) ((length>>8)&0xff); 112 *(*buf)++ = (unsigned char) (length&0xff); 116 /* returns decoded length, or < 0 on failure. Advances buf and 119 static int der_read_length(buf, bufsiz argument 161 g_make_token_header(mech,body_size,buf,tok_type) g_make_token_header() argument 197 unsigned char *buf = *buf_in; global() local [all...] |
/titanic_52/usr/src/ucblib/libucb/port/gen/ |
H A D | statfs.c | 27 cnvtvfs64(struct statfs64 *buf, struct statvfs64 *vbuf) in cnvtvfs64() argument 29 buf->f_type = 0; in cnvtvfs64() 30 buf->f_bsize = vbuf->f_frsize; in cnvtvfs64() 31 buf->f_blocks = vbuf->f_blocks; in cnvtvfs64() 32 buf->f_bfree = vbuf->f_bfree; in cnvtvfs64() 33 buf->f_bavail = vbuf->f_bavail; in cnvtvfs64() 34 buf->f_files = vbuf->f_files; in cnvtvfs64() 35 buf->f_ffree = vbuf->f_ffree; in cnvtvfs64() 36 buf->f_fsid.val[0] = vbuf->f_fsid; in cnvtvfs64() 37 buf in cnvtvfs64() 41 statfs64(char * path,struct statfs64 * buf) statfs64() argument 57 fstatfs64(int fd,struct statfs64 * buf) fstatfs64() argument 69 cnvtvfs(struct statfs * buf,struct statvfs * vbuf) cnvtvfs() argument 83 statfs(char * path,struct statfs * buf) statfs() argument 100 fstatfs(int fd,struct statfs * buf) fstatfs() argument [all...] |
/titanic_52/usr/src/uts/common/c2/ |
H A D | audit_mem.c | 77 * au_buff_t *buf; start of the record chain 80 au_free_rec(au_buff_t *buf) in au_free_rec() argument 93 softcall(audit_async_discard_backend, buf); in au_free_rec() 96 while (buf != NULL) { in au_free_rec() 97 next = buf->next_buf; in au_free_rec() 98 kmem_cache_free(au_buf_cache, buf); in au_free_rec() 99 buf = next; in au_free_rec() 119 * au_buff_t *buf; buffer to append 123 au_append_rec(au_buff_t *rec, au_buff_t *buf, int pack) in au_append_rec() argument 130 if (((int)(rec->len + buf in au_append_rec() 150 au_append_buf(const char * data,int len,au_buff_t * buf) au_append_buf() argument [all...] |
/titanic_52/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_debug.c | 74 char buf[BNXE_LOG_LEN]; in elink_cb_dbg() local 82 snprintf(buf, sizeof(buf), fmt); in elink_cb_dbg() 83 cmn_err(CE_NOTE, "!%s: ELINK %s", BnxeDevName(pUM), buf); in elink_cb_dbg() 91 char buf[BNXE_LOG_LEN]; in elink_cb_dbg1() local 99 snprintf(buf, sizeof(buf), fmt, arg1); in elink_cb_dbg1() 100 cmn_err(CE_NOTE, "!%s: ELINK %s", BnxeDevName(pUM), buf); in elink_cb_dbg1() 108 char buf[BNXE_LOG_LEN]; in elink_cb_dbg2() local 116 snprintf(buf, sizeo in elink_cb_dbg2() 125 char buf[BNXE_LOG_LEN]; elink_cb_dbg3() local 144 char buf[BNXE_LOG_LEN]; BnxeLogInfo() local 173 char buf[BNXE_LOG_LEN]; BnxeLogWarn() local 196 char buf[BNXE_LOG_LEN]; BnxeLogDbg() local 220 char buf[256]; BnxeDumpMem() local 258 char buf[256]; BnxeDumpPkt() local [all...] |
/titanic_52/usr/src/contrib/ast/src/lib/libast/port/ |
H A D | astlicense.c | 104 #define BUF(b) ((b)->buf) 105 #define USE(b) ((b)->siz=(b)->nxt-(b)->buf,(b)->nxt=(b)->buf,(b)->siz) 106 #define SIZ(b) ((b)->nxt-(b)->buf) 107 #define END(b) (*((b)->nxt>=(b)->end?((b)->nxt=(b)->end-1):(b)->nxt)=0,(b)->nxt-(b)->buf) 115 char* buf; member 431 push(Stack_t* sp, char* file, char* parent, char* info, int size, Buffer_t* buf) in push() argument 441 copy(buf, file, -1); in push() 442 copy(buf, ": no space", -1); in push() 443 PUT(buf, in push() 521 Buffer_t buf; astlicense() local [all...] |
/titanic_52/usr/src/cmd/lp/lib/msgs/ |
H A D | _getmessage.c | 40 int _getmessage ( char * buf, short rtype, va_list arg ) in _getmessage() argument 42 int _getmessage (buf, rtype, arg) in _getmessage() 43 char *buf; in _getmessage() 56 if (buf == (char *)0) 67 endbuf = buf + (long)stoh(buf); 68 if ((buf + MESG_DATA) > endbuf) 74 etype = stoh(buf + MESG_TYPE); 94 buf += MESG_LEN; 100 if ((buf [all...] |
/titanic_52/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_fwlog.c | 59 caddr_t buf = NULL; in pmcs_register_dump_int() local 75 buf = pwp->regdumpp; in pmcs_register_dump_int() 78 n = pmcs_dump_spc_ver(pwp, buf, size_left); in pmcs_register_dump_int() 80 buf += n; size_left -= n; in pmcs_register_dump_int() 81 n = pmcs_dump_gsm_conf(pwp, buf, size_left); in pmcs_register_dump_int() 83 buf += n; size_left -= n; in pmcs_register_dump_int() 84 n = pmcs_dump_pcie_conf(pwp, buf, size_left); in pmcs_register_dump_int() 86 buf += n; size_left -= n; in pmcs_register_dump_int() 87 n = pmcs_dump_mpi_table(pwp, buf, size_left); in pmcs_register_dump_int() 89 buf in pmcs_register_dump_int() 246 pmcs_dump_fwlog(pmcs_hw_t * pwp,caddr_t buf,uint32_t size_left) pmcs_dump_fwlog() argument 292 pmcs_dump_ioqs(pmcs_hw_t * pwp,caddr_t buf,uint32_t size_left) pmcs_dump_ioqs() argument 363 pmcs_dump_spc_ver(pmcs_hw_t * pwp,caddr_t buf,uint32_t size_left) pmcs_dump_spc_ver() argument 394 pmcs_dump_mpi_table(pmcs_hw_t * pwp,caddr_t buf,uint32_t size_left) pmcs_dump_mpi_table() argument 664 pmcs_dump_binary(pmcs_hw_t * pwp,uint32_t * addr,uint32_t off,uint32_t words_to_read,caddr_t buf,uint32_t size_left) pmcs_dump_binary() argument 689 pmcs_dump_gsm_conf(pmcs_hw_t * pwp,caddr_t buf,uint32_t size_left) pmcs_dump_gsm_conf() argument 730 pmcs_dump_pcie_conf(pmcs_hw_t * pwp,caddr_t buf,uint32_t size_left) pmcs_dump_pcie_conf() argument 879 pmcs_dump_gsm_addiregs(pmcs_hw_t * pwp,caddr_t buf,uint32_t size_left) pmcs_dump_gsm_addiregs() argument 931 pmcs_dump_gsm(pmcs_hw_t * pwp,caddr_t buf,uint32_t size_left) pmcs_dump_gsm() argument 1081 pmcs_dump_hsst_sregs(pmcs_hw_t * pwp,caddr_t buf,uint32_t size_left) pmcs_dump_hsst_sregs() argument 1120 pmcs_dump_sspa_sregs(pmcs_hw_t * pwp,caddr_t buf,uint32_t size_left) pmcs_dump_sspa_sregs() argument 1148 pmcs_dump_feregs(pmcs_hw_t * pwp,uint32_t * addr,uint8_t nvmd,caddr_t buf,uint32_t size_left) pmcs_dump_feregs() argument [all...] |
/titanic_52/usr/src/boot/sys/boot/efi/loader/ |
H A D | acpi.c | 37 char buf[24]; in acpi_detect() local 48 snprintf(buf, sizeof (buf), "0x%016llx", (unsigned long long)rsdp); in acpi_detect() 50 snprintf(buf, sizeof (buf), "0x%08x", (unsigned int)rsdp); in acpi_detect() 52 setenv("acpi.rsdp", buf, 1); in acpi_detect() 56 snprintf(buf, sizeof (buf), "%d", revision); in acpi_detect() 57 setenv("acpi.revision", buf, 1); in acpi_detect() 58 strncpy(buf, rsd in acpi_detect() [all...] |
/titanic_52/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | asn1.c | 302 CK_BYTE *buf = NULL; in ber_encode_INTEGER() local 330 buf = (CK_BYTE *)malloc(len); in ber_encode_INTEGER() 331 if (! buf) { in ber_encode_INTEGER() 335 buf[0] = 0x02; in ber_encode_INTEGER() 336 buf[1] = data_len; in ber_encode_INTEGER() 337 (void) memcpy(&buf[2], data, data_len); in ber_encode_INTEGER() 340 *ber_int = buf; in ber_encode_INTEGER() 345 buf[0] = 0x02; in ber_encode_INTEGER() 346 buf[1] = 0x81; in ber_encode_INTEGER() 347 buf[ in ber_encode_INTEGER() 452 CK_BYTE *buf = NULL; ber_encode_OCTET_STRING() local 604 CK_BYTE *buf = NULL; ber_encode_SEQUENCE() local 759 CK_BYTE * buf = NULL; ber_encode_PrivateKeyInfo() local 838 CK_BYTE *buf = NULL; ber_decode_PrivateKeyInfo() local 895 CK_BYTE *buf = NULL; ber_encode_RSAPrivateKey() local 1075 CK_BYTE *buf = NULL; ber_decode_RSAPrivateKey() local [all...] |