/solaris-userland/components/bzip2/ |
H A D | oldapi.c | 89 bzRead(int *bzerror, BZFILE *b, void *buf, int len) argument 91 return (BZ2_bzRead(bzerror, b, buf, len)); 103 bzWrite(int *bzerror, BZFILE *b, void *buf, int len) argument 105 BZ2_bzWrite(bzerror, b, buf, len); 151 bzread(BZFILE *b, void *buf, int len) argument 153 return (BZ2_bzread(b, buf, len)); 157 bzwrite(BZFILE *b, void *buf, int len) argument 159 return (BZ2_bzwrite(b, buf, len));
|
H A D | llib-lbz2 | 52 extern int BZ2_bzRead(int *bzerror, BZFILE *b, void *buf, int len); 55 extern void BZ2_bzWrite(int *bzerror, BZFILE *b, void *buf, int len); 69 extern int BZ2_bzread(BZFILE *b, void *buf, int len); 70 extern int BZ2_bzwrite(BZFILE *b, void *buf, int len);
|
/solaris-userland/components/open-fabrics/libibverbs/ |
H A D | solaris_compatibility.c | 273 char *buf; local 294 buf = malloc(bufsize); 295 if (!buf) { 300 memset(buf, 0, bufsize); 302 uverbs_infop = UVERBS_INFO(buf); 389 free(buf); 394 free(buf); 420 char umad_devpath[MAX_OFS_DEVPATH_LEN], *buf; local 447 buf = malloc(bufsize); 448 memset(buf, 844 infiniband_verbs(char *path, char *buf, size_t size) argument 916 infiniband_ports(char *path, char *buf, size_t size, char *dev_name) argument 1113 infiniband(char *path, char *buf, size_t size) argument 1154 infiniband_mad(char *path, char *buf, size_t size) argument 1209 sol_read_sysfs_file(char *path, char *buf, size_t size) argument [all...] |
/solaris-userland/components/krb5/Solaris/ |
H A D | libgss_stubs.c | 48 get_der_length(unsigned char **buf, unsigned int buf_len, unsigned int *bytes) { argument 49 return (gssint_get_der_length(buf, buf_len, bytes)); 53 put_der_length(unsigned int length, unsigned char **buf, unsigned int max_len) { argument 54 return (gssint_put_der_length(length, buf, max_len));
|
H A D | util_ordering.c | 286 g_queue_externalize(void *vqueue, unsigned char **buf, size_t *lenremain) argument 290 (void) memcpy(*buf, vqueue, sizeof(queue)); 291 *buf += sizeof(queue); 298 g_queue_internalize(void **vqueue, unsigned char **buf, size_t *lenremain) argument 306 (void) memcpy(q, *buf, sizeof(queue)); 307 *buf += sizeof(queue);
|
H A D | kt_solaris.c | 29 char buf[MAX_KEYTAB_NAME_LEN], ktstr[MAX_KEYTAB_NAME_LEN]; local 31 memset(buf, 0, sizeof (buf)); 34 if ((code = krb5_kt_default_name(ctx, buf, sizeof (buf))) != 0) 41 if (strncmp(buf, "FILE:", strlen("FILE:")) == 0) 42 (void) snprintf(ktstr, sizeof (ktstr), "WR%s", buf); 43 else if (strncmp(buf, "WRFILE:", strlen("WRFILE:")) == 0) 44 (void) snprintf(ktstr, sizeof (ktstr), "%s", buf);
|
H A D | g_utils.c | 42 char buf[BUFLEN]; /* one line from the file */ local 73 line = fgets(buf, BUFLEN, fp); 86 name = &(buf[0]);
|
/solaris-userland/components/openvswitch/files/lib/ |
H A D | util-solaris.c | 285 strioctl(int s, int cmd, char *buf, uint_t buflen) argument 293 ioc.ic_dp = buf; 782 char buf[DLADM_STRSIZE]; local 824 (void) snprintf(buf, sizeof (buf), "%s%s", 827 memcpy(prop_value, buf, prop_len); 834 (void) snprintf(buf, sizeof (buf), "%llu", *dlval->ddlv_ulval); 835 memcpy(prop_value, buf, prop_len); 842 (void) snprintf(buf, sizeo 988 dlmgr_DLValue_putstring(dlmgr__rad_dict_string_DLValue_t *ddvp, const char *key, char *buf, char *dstr, size_t dstrlen) argument 1328 flow_mac2str(uint8_t *f, uint8_t *m, char *buf, char *rbuf, size_t buf_len, size_t rbuf_len) argument 1352 flow_addr2str(struct in6_addr *f6, struct in6_addr *m6, uint32_t f4, uint32_t m4, char *buf, char *rbuf, size_t buf_len, size_t rbuf_len) argument 1428 char buf[DLADM_STRSIZE]; local 1483 dlmgr_DLValue_fm_putstring(dlmgr__rad_dict_string_DLValue_t *ddvp, dlmgr__rad_dict_string_DLValue_t *ddmp, const char *key, char *buf, char *rbuf, char *dstr, size_t dstrlen) argument 1590 char buf[DLADM_STRSIZE], rbuf[DLADM_STRSIZE]; local 1887 char buf[DLADM_STRSIZE]; local 1915 char buf[DLADM_STRSIZE]; local 1947 char buf[DLADM_STRSIZE]; local 1979 char buf[DLADM_STRSIZE]; local 2000 char buf[DLADM_STRSIZE]; local 2034 char buf[MAX_OF_ACTIONS_SIZE]; local 2628 slowpath_to_actions(enum slow_path_reason reason, struct ofpbuf *buf) argument 3227 char **pvals, *buf = NULL; local [all...] |
H A D | dpif-solaris.c | 1893 struct ofpbuf buf; local 1896 ofpbuf_use_stack(&buf, &state->keybuf, sizeof (state->keybuf)); 1897 odp_flow_key_from_flow(&buf, &flow->f, &flow->m, 1900 *key = ofpbuf_data(&buf); 1901 *key_len = ofpbuf_size(&buf); 1912 struct ofpbuf buf; local 1915 ofpbuf_use_stack(&buf, &state->maskbuf, 1917 odp_flow_key_from_mask(&buf, &flow->m, &flow->m, 1920 *mask = ofpbuf_data(&buf); 1921 *mask_len = ofpbuf_size(&buf); 1978 const char *buf = ofpbuf_data(packet); local 2727 dpif_solaris_parse_pkt(struct dpif_solaris *dpif OVS_UNUSED, struct ofpbuf *packet, struct pkt_metadata *md, uint16_t action_type, struct dpif_upcall *upcall, struct ofpbuf *buf) argument 2916 dpif_solaris_recv(struct dpif *dpif_, uint32_t handler_id, struct dpif_upcall *upcall, struct ofpbuf *buf) argument [all...] |
/solaris-userland/components/openssl/common/engines/pkcs11/ |
H A D | e_pk11_uri.c | 151 char *buf; local 154 buf = strndup(dialog, strlen(dialog) - 1); 155 if (buf == NULL) { 159 *pin = run_askpass(buf); 160 free(buf); 623 char *buf = NULL; local 653 buf = (char *)OPENSSL_malloc(PK11_MAX_PIN_LEN + 1); 654 if (buf == NULL) { 661 n = read(p[0], buf, PK11_MAX_PIN_LEN); 665 OPENSSL_free(buf); [all...] |
H A D | e_pk11_pub.c | 468 unsigned char *buf = NULL; local 471 if ((buf = (unsigned char *)OPENSSL_malloc(num)) == NULL) { 478 i = RSA_padding_add_PKCS1_type_2(buf, num, from, flen); 482 i = RSA_padding_add_PKCS1_OAEP(buf, num, from, flen, NULL, 0); 486 i = RSA_padding_add_SSLv23(buf, num, from, flen); 489 i = RSA_padding_add_none(buf, num, from, flen); 500 r = pk11_RSA_public_encrypt_low(num, buf, to, rsa); 502 if (buf != NULL) { 503 OPENSSL_cleanse(buf, num); 504 OPENSSL_free(buf); 519 unsigned char *buf = NULL; local 561 unsigned char *buf = NULL; local 649 unsigned char *buf = NULL; local [all...] |
H A D | e_pk11.c | 233 static void pk11_rand_seed(const void *buf, int num); 234 static void pk11_rand_add(const void *buf, int num, double add_entropy); 236 static int pk11_rand_bytes(unsigned char *buf, int num); 1387 pk11_rand_add(const void *buf, int num, double add) argument 1399 pFuncList->C_SeedRandom(sp->session, (unsigned char *) buf, num); 1404 pk11_rand_seed(const void *buf, int num) argument 1406 pk11_rand_add(buf, num, 0); 1410 pk11_rand_bytes(unsigned char *buf, int num) argument 1419 rv = pFuncList->C_GenerateRandom(sp->session, buf, num); 2453 CK_BYTE buf[EVP_MAX_BLOCK_LENGT local 2841 unsigned char buf[EVP_MAX_MD_SIZE]; local [all...] |
/solaris-userland/components/openstack/neutron/files/agent/solaris/ |
H A D | ra.py | 74 buf = six.StringIO() 80 buf.write('%s\n' % CONFIG_TEMPLATE.render( 86 utils.replace_file(ndpd_conf, buf.getvalue())
|
/solaris-userland/components/libusb/ugen/src/ |
H A D | libusbugen_impl.h | 136 #define INCREMENT_BUF(buf) \ 137 if ((buf)[0] == 0) { \ 140 (buf) += (buf)[0]; \
|
H A D | libusbugen.c | 101 static void usb_find_extra(uchar_t *buf, size_t buflen, 112 static size_t usb_parse_dev_descr(uchar_t *buf, size_t buflen, 114 static size_t usb_parse_cfg_descr(uchar_t *buf, size_t buflen, 117 static size_t usb_parse_if_descr(uchar_t *buf, size_t buflen, 121 static size_t usb_parse_ep_descr(uchar_t *buf, size_t buflen, 678 usb_get_string(usb_dev_handle *dev, int index, int langid, char *buf, argument 689 if ((dev == NULL) || (buf == NULL) || (buflen == 0)) { 699 langid, buf, (int)buflen, 1000)); 709 usb_get_string_simple(usb_dev_handle *dev, int index, char *buf, argument 718 if ((dev == NULL) || (buf 786 usb_get_descriptor_by_endpoint(usb_dev_handle *udev, int ep, uchar_t type, uchar_t index, void *buf, int size) argument 805 usb_get_descriptor(usb_dev_handle *udev, uchar_t type, uchar_t index, void *buf, int size) argument 2696 usb_nth_descr(uchar_t *buf, size_t buflen, int descr_type, uint_t n, int stop_descr_type1, int stop_descr_type2) argument 2739 usb_parse_dev_descr(uchar_t *buf, size_t buflen, struct usb_device_descriptor *ret_descr, size_t ret_buf_len) argument 2759 usb_parse_cfg_descr(uchar_t *buf, size_t buflen, usb_cfg_descr_t *ret_descr, size_t ret_buf_len, unsigned char **extra, int *extralen) argument 2785 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, unsigned char **extra, int *extralen) argument 2833 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, unsigned char **extra, int *extralen) argument 2885 usb_find_extra(uchar_t *buf, size_t buflen, unsigned char **extra, int *extralen) argument 2986 char buf[512]; local [all...] |
/solaris-userland/components/net-snmp-57/sun/sdk/demo/demo_module_7/ |
H A D | demo_module_7.c | 352 struct stat buf; local 365 if (fstat(fd, &buf) == -1) 370 buf.st_size)); 373 ASN_INTEGER, (u_char *) &buf.st_size 375 sizeof (buf.st_size)
|
/solaris-userland/components/net-snmp-57/sun/agent/modules/healthMonitor/ |
H A D | kr_nfsstat.c | 144 char buf[1024]; local 149 buf[0]= '\0'; 178 strcat(buf, fixlen); 183 *calls = atof(strtok(buf, " "));
|
/solaris-userland/components/openssl/openssl-default/wanboot-openssl/ |
H A D | wanboot-stubs.c | 40 EVP_read_pw_string_min(char *buf, int min, int len, const char *prompt, int argument
|
/solaris-userland/components/zlib/ |
H A D | llib-lz | 82 int gzread(gzFile file, voidp buf, unsigned len); 83 int gzwrite(gzFile file, voidpc buf, unsigned len); 86 char *gzgets(gzFile file, char *buf, int len); 104 uLong adler32(uLong adler, const Bytef *buf, uInt len); 107 uLong crc32(uLong crc, const Bytef *buf, uInt len);
|
/solaris-userland/components/samba/Solaris/include/samfs/ |
H A D | stat.h | 478 int sam_stat(const char *path, struct sam_stat *buf, size_t bufsize); 479 int sam_lstat(const char *path, struct sam_stat *buf, size_t bufsize); 480 int sam_vsn_stat(const char *path, int copy, struct sam_section *buf, 483 struct sam_section *buf, size_t bufsize); 484 int sam_segment_stat(const char *path, struct sam_stat *buf, 486 int sam_segment_lstat(const char *path, struct sam_stat *buf, 488 int sam_restore_file(const char *path, struct sam_stat *buf, 490 int sam_restore_copy(const char *path, int copy, struct sam_stat *buf,
|
/solaris-userland/components/libusb/wrapper/src/ |
H A D | usb.h | 308 char *buf, size_t buflen); 310 char *buf, size_t buflen); 312 uchar_t type, uchar_t index, void *buf, int size); 314 uchar_t index, void *buf, int size);
|
H A D | wr_libusb.c | 1085 usb_get_string(usb_dev_handle *dev, int index, int langid, char *buf, argument 1098 return ((*hdl)(dev, index, langid, buf, buflen)); 1102 usb_get_string_simple(usb_dev_handle *dev, int index, char *buf, argument 1115 return ((*hdl)(dev, index, buf, buflen)); 1120 unsigned char type, unsigned char index, void *buf, int size) 1134 return ((*hdl)(dev, ep, type, index, buf, size)); 1139 unsigned char index, void *buf, int size) 1152 return ((*hdl)(dev, type, index, buf, size)); 1448 char buf[512]; local 1451 (void) vsnprintf(buf, sizeo 1119 usb_get_descriptor_by_endpoint(usb_dev_handle *dev, int ep, unsigned char type, unsigned char index, void *buf, int size) argument 1138 usb_get_descriptor(usb_dev_handle *dev, unsigned char type, unsigned char index, void *buf, int size) argument [all...] |
/solaris-userland/components/apache24/mod_auth_gss/ |
H A D | mod_auth_gss.c | 217 char buf[1024]; local 219 snprintf(buf, sizeof(buf), "%s@%s", 224 "acquire_server_creds for %s", buf); 226 input_token.value = buf; 227 input_token.length = strlen(buf) + 1;
|
/solaris-userland/components/openssl/openssl-fips/inline-t4/ |
H A D | e_aes.c | 1109 ctx->iv, ctx->buf, &num, dat->stream.ctr); 1112 ctx->iv, ctx->buf, &num, dat->block); 1177 memcpy(c->buf, ptr, arg); 1184 memcpy(ptr, c->buf, arg); 1234 memcpy(c->buf, ptr, arg); 1237 unsigned int len = c->buf[arg - 2] << 8 | c->buf[arg - 1]; 1243 c->buf[arg - 2] = len >> 8; 1244 c->buf[arg - 1] = len & 0xff; 1373 if (CRYPTO_gcm128_aad(&gctx->gcm, ctx->buf, gct [all...] |
/solaris-userland/components/openstack/cinder/files/solaris/ |
H A D | zfs.py | 432 buf = send_sock.recv(buf_size) 433 if not buf: 436 recv_sock.send(buf)
|