Home
last modified time | relevance | path

Searched refs:memcpy (Results 1 – 25 of 1613) sorted by relevance

12345678910>>...65

/illumos-gate/usr/src/cmd/sendmail/db/hash/
H A Dhash_auto.c68 memcpy(bp, lsnp, sizeof(DB_LSN));
70 memcpy(bp, &opcode, sizeof(opcode));
72 memcpy(bp, &fileid, sizeof(fileid));
74 memcpy(bp, &pgno, sizeof(pgno));
76 memcpy(bp, &ndx, sizeof(ndx));
90 memcpy(bp, key->data, key->size);
273 memcpy(bp, lsnp, sizeof(DB_LSN));
607 memcpy(bp, &pgno, sizeof(pgno));
783 memcpy(bp, &pgno, sizeof(pgno));
785 memcpy(bp, &ndx, sizeof(ndx));
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_auto.c69 memcpy(bp, lsnp, sizeof(DB_LSN));
71 memcpy(bp, &opcode, sizeof(opcode));
75 memcpy(bp, &pgno, sizeof(pgno));
77 memcpy(bp, &indx, sizeof(indx));
88 memcpy(bp, hdr->data, hdr->size);
98 memcpy(bp, dbt->data, dbt->size);
273 memcpy(bp, lsnp, sizeof(DB_LSN));
279 memcpy(bp, &pgno, sizeof(pgno));
460 memcpy(bp, &pgno, sizeof(pgno));
658 memcpy(bp, lsn, sizeof(*lsn));
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbtree_auto.c64 memcpy(bp, lsnp, sizeof(DB_LSN));
66 memcpy(bp, &fileid, sizeof(fileid));
78 memcpy(bp, &pgno, sizeof(pgno));
80 memcpy(bp, &ptype, sizeof(ptype));
82 memcpy(bp, &next, sizeof(next));
226 memcpy(bp, lsnp, sizeof(DB_LSN));
230 memcpy(bp, &pgno, sizeof(pgno));
247 memcpy(bp, &next, sizeof(next));
411 memcpy(bp, &left, sizeof(left));
425 memcpy(bp, &indx, sizeof(indx));
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/txn/
H A Dtxn_auto.c49 memcpy(bp, &rectype, sizeof(rectype));
51 memcpy(bp, &txn_num, sizeof(txn_num));
53 memcpy(bp, lsnp, sizeof(DB_LSN));
55 memcpy(bp, &opcode, sizeof(opcode));
174 memcpy(bp, lsnp, sizeof(DB_LSN));
318 memcpy(bp, lsnp, sizeof(DB_LSN));
320 memcpy(bp, &opcode, sizeof(opcode));
329 memcpy(bp, xid->data, xid->size);
334 memcpy(bp, &gtrid, sizeof(gtrid));
336 memcpy(bp, &bqual, sizeof(bqual));
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/log/
H A Dlog_auto.c59 memcpy(bp, &rectype, sizeof(rectype));
61 memcpy(bp, &txn_num, sizeof(txn_num));
63 memcpy(bp, lsnp, sizeof(DB_LSN));
65 memcpy(bp, &opcode, sizeof(opcode));
69 memcpy(bp, &zero, sizeof(u_int32_t));
74 memcpy(bp, name->data, name->size);
79 memcpy(bp, &zero, sizeof(u_int32_t));
84 memcpy(bp, uid->data, uid->size);
87 memcpy(bp, &id, sizeof(id));
89 memcpy(bp, &ftype, sizeof(ftype));
[all …]
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_fru.c169 (void) memcpy(&typelen, tmp, sizeof (uint8_t)); in ipmi_fru_parse_product()
174 (void) memcpy(&typelen, tmp, sizeof (uint8_t)); in ipmi_fru_parse_product()
180 (void) memcpy(&typelen, tmp, sizeof (uint8_t)); in ipmi_fru_parse_product()
185 (void) memcpy(&typelen, tmp, sizeof (uint8_t)); in ipmi_fru_parse_product()
191 (void) memcpy(&typelen, tmp, sizeof (uint8_t)); in ipmi_fru_parse_product()
197 (void) memcpy(&typelen, tmp, sizeof (uint8_t)); in ipmi_fru_parse_product()
232 (void) memcpy(buf->ifbi_manuf_date, tmp, 3); in ipmi_fru_parse_board()
235 (void) memcpy(&typelen, tmp, sizeof (uint8_t)); in ipmi_fru_parse_board()
240 (void) memcpy(&typelen, tmp, sizeof (uint8_t)); in ipmi_fru_parse_board()
245 (void) memcpy(&typelen, tmp, sizeof (uint8_t)); in ipmi_fru_parse_board()
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystore.c155 (void) memcpy(tmp_pin, pPin, ulPinLen); in soft_verify_pin()
402 (void) memcpy(buf1, extra_attr->attr.pValue, in soft_keystore_pack_obj()
492 (void) memcpy(template.pValue, buf, in soft_keystore_unpack_obj()
825 (void) memcpy(buf, (char *)((biginteger_t *) in soft_pack_object()
838 (void) memcpy(buf, (char *)((biginteger_t *) in soft_pack_object()
851 (void) memcpy(buf, (char *)((biginteger_t *) in soft_pack_object()
1279 (void) memcpy(buf, (char *)((cert_attr_t *) in soft_pack_object()
1292 (void) memcpy(buf, (char *)((cert_attr_t *) in soft_pack_object()
1305 (void) memcpy(buf, (char *)((cert_attr_t *) in soft_pack_object()
1318 (void) memcpy(buf, (char *)((cert_attr_t *) in soft_pack_object()
[all …]
H A DsoftMAC.c205 (void) memcpy(md5_ipad, OBJ_SEC(key)->sk_value, in mac_init_ctx()
209 (void) memcpy(md5_opad, OBJ_SEC(key)->sk_value, in mac_init_ctx()
246 (void) memcpy(md5_opad, md5_ipad, hash_len); in mac_init_ctx()
248 (void) memcpy(md5_ipad, OBJ_SEC(key)->sk_value, in mac_init_ctx()
250 (void) memcpy(md5_opad, OBJ_SEC(key)->sk_value, in mac_init_ctx()
271 (void) memcpy(sha1_ipad, OBJ_SEC(key)->sk_value, in mac_init_ctx()
275 (void) memcpy(sha1_opad, OBJ_SEC(key)->sk_value, in mac_init_ctx()
312 (void) memcpy(sha1_opad, sha1_ipad, hash_len); in mac_init_ctx()
352 (void) memcpy(sha_opad, sha_ipad, hash_len); in mac_init_ctx()
393 (void) memcpy(sha_opad, sha_ipad, hash_len); in mac_init_ctx()
[all …]
/illumos-gate/usr/src/lib/sun_fc/common/
H A DFCHBA.cc200 memcpy(attributes.Manufacturer, attrs.Manufacturer, 64); in getHBAAttributes()
201 memcpy(attributes.SerialNumber, attrs.SerialNumber, 64); in getHBAAttributes()
202 memcpy(attributes.Model, attrs.Model, 256); in getHBAAttributes()
209 memcpy(attributes.DriverName, attrs.DriverName, 256); in getHBAAttributes()
210 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8); in getHBAAttributes()
307 memcpy(attributes.Manufacturer, attrs.Manufacturer, 64); in npivGetHBAAttributes()
308 memcpy(attributes.SerialNumber, attrs.SerialNumber, 64); in npivGetHBAAttributes()
309 memcpy(attributes.Model, attrs.Model, 256); in npivGetHBAAttributes()
313 memcpy(attributes.DriverVersion, attrs.DriverVersion, 256); in npivGetHBAAttributes()
316 memcpy(attributes.DriverName, attrs.DriverName, 256); in npivGetHBAAttributes()
[all …]
H A DTgtFCHBAPort.cc233 memcpy(&tmp, &attrs.PortWWN, 8); in TgtFCHBAPort()
235 memcpy(&tmp, &attrs.NodeWWN, 8); in TgtFCHBAPort()
287 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8); in getPortAttributes()
288 memcpy(&attributes.PortWWN, &attrs.PortWWN, 8); in getPortAttributes()
289 memcpy(&attributes.FabricName, &attrs.FabricName, 8); in getPortAttributes()
343 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8); in getDiscoveredAttributes()
344 memcpy(&attributes.PortWWN, &attrs.PortWWN, 8); in getDiscoveredAttributes()
345 memcpy(&attributes.FabricName, &attrs.FabricName, 8); in getDiscoveredAttributes()
386 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8); in getDiscoveredAttributes()
387 memcpy(&attributes.PortWWN, &attrs.PortWWN, 8); in getDiscoveredAttributes()
[all …]
H A DFCHBAPort.cc465 memcpy(&tmp, &attrs.PortWWN, 8); in FCHBAPort()
467 memcpy(&tmp, &attrs.NodeWWN, 8); in FCHBAPort()
516 memcpy(&lawwn[0], &en_wwn, sizeof (en_wwn)); in deleteNPIVPort()
573 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8); in getPortNPIVAttributes()
574 memcpy(&attributes.PortWWN, &attrs.PortWWN, 8); in getPortNPIVAttributes()
608 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8); in getPortAttributes()
609 memcpy(&attributes.PortWWN, &attrs.PortWWN, 8); in getPortAttributes()
649 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8); in getDiscoveredAttributes()
673 memcpy(&lawwn, &en_wwn, sizeof (en_wwn)); in getDiscoveredAttributes()
821 memcpy(userMappings->entry[i].LUID.buffer, in getTargetMappings()
[all …]
H A DTgtFCHBA.cc149 memcpy(attributes.Manufacturer, attrs.Manufacturer, 64); in getHBAAttributes()
150 memcpy(attributes.SerialNumber, attrs.SerialNumber, 64); in getHBAAttributes()
151 memcpy(attributes.Model, attrs.Model, 256); in getHBAAttributes()
152 memcpy(attributes.ModelDescription, attrs.ModelDescription, 256); in getHBAAttributes()
153 memcpy(attributes.NodeSymbolicName, attrs.NodeSymbolicName, 256); in getHBAAttributes()
154 memcpy(attributes.HardwareVersion, attrs.HardwareVersion, 256); in getHBAAttributes()
155 memcpy(attributes.DriverVersion, attrs.DriverVersion, 256); in getHBAAttributes()
156 memcpy(attributes.OptionROMVersion, attrs.OptionROMVersion, 256); in getHBAAttributes()
157 memcpy(attributes.FirmwareVersion, attrs.FirmwareVersion, 256); in getHBAAttributes()
158 memcpy(attributes.DriverName, attrs.DriverName, 256); in getHBAAttributes()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Dwpa_enc.c42 (void) memcpy(r, plain, 8 * n); in aes_wrap()
57 (void) memcpy(b, a, 8); in aes_wrap()
58 (void) memcpy(b + 8, r, 8); in aes_wrap()
60 (void) memcpy(a, b, 8); in aes_wrap()
62 (void) memcpy(r, b + 8, 8); in aes_wrap()
89 (void) memcpy(a, cipher, 8); in aes_unwrap()
91 (void) memcpy(r, cipher + 8, 8 * n); in aes_unwrap()
106 (void) memcpy(b, a, 8); in aes_unwrap()
109 (void) memcpy(b + 8, r, 8); in aes_unwrap()
111 (void) memcpy(a, b, 8); in aes_unwrap()
[all …]
H A Dwpa.c795 (void) memcpy(mic, hash, MD5_MAC_LEN); in wpa_eapol_key_mic()
1077 (void) memcpy(tmpbuf, gtk + 16, 8); in wpa_supplicant_process_3_of_4_gtk()
1078 (void) memcpy(gtk + 16, gtk + 24, 8); in wpa_supplicant_process_3_of_4_gtk()
1079 (void) memcpy(gtk + 24, tmpbuf, 8); in wpa_supplicant_process_3_of_4_gtk()
1424 (void) memcpy(ek, key->key_iv, 16); in wpa_supplicant_process_1_of_2()
1427 (void) memcpy(gtk, key + 1, keylen); in wpa_supplicant_process_1_of_2()
1464 (void) memcpy(tmpbuf, gtk + 16, 8); in wpa_supplicant_process_1_of_2()
1465 (void) memcpy(gtk + 16, gtk + 24, 8); in wpa_supplicant_process_1_of_2()
1466 (void) memcpy(gtk + 24, tmpbuf, 8); in wpa_supplicant_process_1_of_2()
1535 (void) memcpy(mic, key->key_mic, 16); in wpa_supplicant_verify_eapol_key_mic()
[all …]
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_door_legacy.c106 (void) memcpy(&num, ctx->ptr, sizeof (DWORD)); in smb_dr_get_dword()
121 (void) memcpy(&num, ctx->ptr, sizeof (int32_t)); in smb_dr_get_int32()
152 (void) memcpy(buf, ctx->ptr, len); in smb_dr_get_string()
175 (void) memcpy(ctx->ptr, &num, sizeof (DWORD)); in smb_dr_put_dword()
218 (void) memcpy(ctx->ptr, buf, len); in smb_dr_put_string()
279 (void) memcpy(ctx->ptr, &num, sizeof (short)); in smb_dr_put_short()
293 (void) memcpy(&num, ctx->ptr, sizeof (short)); in smb_dr_get_short()
331 (void) memcpy(ctx->ptr, &byte, sizeof (BYTE)); in smb_dr_put_BYTE()
345 (void) memcpy(&byte, ctx->ptr, sizeof (BYTE)); in smb_dr_get_BYTE()
360 (void) memcpy(ctx->ptr, start, len); in smb_dr_put_buf()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dport2ip.c54 (void) memcpy((char *)&temptype, (char *)marshal, sizeof(temptype)); in krb5_unpack_full_ipaddr()
59 (void) memcpy((char *)&templength, (char *)marshal, sizeof(templength)); in krb5_unpack_full_ipaddr()
64 (void) memcpy((char *)&smushaddr, (char *)marshal, sizeof(smushaddr)); in krb5_unpack_full_ipaddr()
68 (void) memcpy((char *)&temptype, (char *)marshal, sizeof(temptype)); in krb5_unpack_full_ipaddr()
73 (void) memcpy((char *)&templength, (char *)marshal, sizeof(templength)); in krb5_unpack_full_ipaddr()
78 (void) memcpy((char *)&smushport, (char *)marshal, sizeof(smushport)); in krb5_unpack_full_ipaddr()
H A Dfull_ipadr.c62 (void) memcpy((char *)marshal, (char *)&temptype, sizeof(temptype)); in krb5_make_full_ipaddr()
66 (void) memcpy((char *)marshal, (char *)&templength, sizeof(templength)); in krb5_make_full_ipaddr()
69 (void) memcpy((char *)marshal, (char *)&smushaddr, sizeof(smushaddr)); in krb5_make_full_ipaddr()
73 (void) memcpy((char *)marshal, (char *)&temptype, sizeof(temptype)); in krb5_make_full_ipaddr()
77 (void) memcpy((char *)marshal, (char *)&templength, sizeof(templength)); in krb5_make_full_ipaddr()
80 (void) memcpy((char *)marshal, (char *)&smushport, sizeof(smushport)); in krb5_make_full_ipaddr()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_dhcpv6.c96 (void) memcpy(&d6r, data, sizeof (d6r)); in interpret_dhcpv6()
113 (void) memcpy(&d6m, data, sizeof (d6m)); in interpret_dhcpv6()
131 (void) memcpy(&statuscode, d6o + 1, in interpret_dhcpv6()
163 (void) memcpy(&d6r, data, sizeof (d6r)); in interpret_dhcpv6()
176 (void) memcpy(&d6m, data, sizeof (d6m)); in interpret_dhcpv6()
601 (void) memcpy(&d6o, data, sizeof (d6o)); in show_options()
687 (void) memcpy(&d6in, data - sizeof (d6o), in show_options()
706 (void) memcpy(&d6it, data - sizeof (d6o), in show_options()
721 (void) memcpy(&d6ia, data - sizeof (d6o), in show_options()
780 (void) memcpy(&d6a, data - sizeof (d6o), in show_options()
[all …]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dnic.c292 memcpy(arptable[ival].node, arpreply->shwaddr, ETH_ALEN); in await_arp()
344 memcpy(arpreq.tipaddr, &destip, sizeof(in_addr)); in ip_transmit()
591 memcpy(&xid, &arptable[ARP_CLIENT].node[2], sizeof(xid)); in bootp()
692 memcpy(&xid, &arptable[ARP_CLIENT].node[2], sizeof(xid)); in dhcp()
983 memcpy(&tmp, arpreply->tipaddr, sizeof(in_addr)); in await_reply()
995 memcpy(&tmp, arpreply->tipaddr, sizeof(in_addr)); in await_reply()
1051 memcpy(extend, p, len); in decode_rfc1533()
1073 memcpy(&netmask, p+2, sizeof(in_addr)); in decode_rfc1533()
1086 memcpy(&dhcp_server, p+2, sizeof(in_addr)); in decode_rfc1533()
1101 memcpy (config_file, p + 2, l); in decode_rfc1533()
[all …]
/illumos-gate/usr/src/lib/libndmp/common/
H A Dlibndmp_door_data.c106 (void) memcpy(&num, ctx->ptr, sizeof (int32_t)); in ndmp_door_get_int32()
137 (void) memcpy(buf, ctx->ptr, len); in ndmp_door_get_string()
156 (void) memcpy(ctx->ptr, &num, sizeof (int32_t)); in ndmp_door_put_int32()
186 (void) memcpy(ctx->ptr, buf, len); in ndmp_door_put_string()
206 (void) memcpy(&num, ctx->ptr, sizeof (int64_t)); in ndmp_door_get_int64()
227 (void) memcpy(ctx->ptr, &num, sizeof (int64_t)); in ndmp_door_put_int64()
246 (void) memcpy(ctx->ptr, &num, sizeof (short)); in ndmp_door_put_short()
260 (void) memcpy(&num, ctx->ptr, sizeof (short)); in ndmp_door_get_short()
287 (void) memcpy(ctx->ptr, start, len); in ndmp_door_put_buf()
311 (void) memcpy(buf, ctx->ptr, len); in ndmp_door_get_buf()
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Drdr_messages.c1990 (void) memcpy(bufptr, params->options, in pack_change_state_request()
2061 (void) memcpy((void*)params->confp, in unpack_change_state_request()
2072 (void) memcpy((void*)params->msgp, in unpack_change_state_request()
2315 (void) memcpy(bufptr, params->options, in pack_private_func_request()
2401 (void) memcpy((void*)params->confp, in unpack_private_func_request()
2412 (void) memcpy((void*)params->msgp, in unpack_private_func_request()
2634 (void) memcpy(bufptr, params->options, in pack_test_request()
2703 (void) memcpy((void*)params->msgp, in unpack_test_request()
3680 (void) memcpy((void*)params->confp, in unpack_confirm_request()
3773 (void) memcpy((void*)params->confp, in unpack_confirm_reply()
[all …]
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/rdma/
H A Dib_addr.h81 (void) memcpy(gid, dev_addr->broadcast + 4, sizeof (*gid)); in ib_addr_get_mgid()
87 (void) memcpy(gid, dev_addr->src_dev_addr + 4, sizeof (*gid)); in ib_addr_get_sgid()
93 (void) memcpy(dev_addr->src_dev_addr + 4, gid, sizeof (*gid)); in ib_addr_set_sgid()
99 (void) memcpy(gid, dev_addr->dst_dev_addr + 4, sizeof (*gid)); in ib_addr_get_dgid()
105 (void) memcpy(dev_addr->dst_dev_addr + 4, gid, sizeof (*gid)); in ib_addr_set_dgid()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dasn1.c337 (void) memcpy(&buf[2], data, data_len); in ber_encode_INTEGER()
348 (void) memcpy(&buf[3], data, data_len); in ber_encode_INTEGER()
805 (void) memcpy(buf + len, tmp, total); in ber_encode_PrivateKeyInfo()
817 (void) memcpy(buf + len, tmp, total); in ber_encode_PrivateKeyInfo()
959 (void) memcpy(buf + offset, buf2, len); in ber_encode_RSAPrivateKey()
968 (void) memcpy(buf + offset, buf2, len); in ber_encode_RSAPrivateKey()
977 (void) memcpy(buf + offset, buf2, len); in ber_encode_RSAPrivateKey()
987 (void) memcpy(buf + offset, buf2, len); in ber_encode_RSAPrivateKey()
996 (void) memcpy(buf + offset, buf2, len); in ber_encode_RSAPrivateKey()
1005 (void) memcpy(buf + offset, buf2, len); in ber_encode_RSAPrivateKey()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dmemcpy.c28 NoN(memcpy)
32 #undef memcpy
39 memcpy(void* s1, void* s2, size_t n)
48 memcpy(void* as1, const void* as2, register size_t n)
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dsourcefilter.c64 (void) memcpy((void *)&gf->gf_group, (void *)group, in getsourcefilter()
72 (void) memcpy((void *)&gf->gf_group, (void *)group, in getsourcefilter()
89 (void) memcpy((void *)slist, (void *)gf->gf_slist, cpsize); in getsourcefilter()
122 (void) memcpy((void *)&gf->gf_group, (void *)group, in setsourcefilter()
130 (void) memcpy((void *)&gf->gf_group, (void *)group, in setsourcefilter()
140 (void) memcpy((void *)gf->gf_slist, (void *)slist, in setsourcefilter()
185 (void) memcpy((void *)slist, (void *)imsf->imsf_slist, cpsize); in getipv4sourcefilter()
215 (void) memcpy((void *)imsf->imsf_slist, (void *)slist, in setipv4sourcefilter()

12345678910>>...65