/systemd-251/src/basic/ |
D | alloc-util.c | 20 return memcpy_safe(ret, p, l); in memdup() 38 return memcpy_safe(ret, p, l); in memdup_suffix0()
|
D | alloc-util.h | 71 memcpy_safe(_q_, p, _l_); \ 80 memcpy_safe(_q_, p, _l_); \
|
D | memory-util.h | 19 static inline void *memcpy_safe(void *dst, const void *src, size_t n) { in memcpy_safe() function
|
D | string-util.c | 832 memcpy_safe(*x + m, separator, l_separator); in strextendf_with_separator()
|
D | fileio.c | 657 memcpy_safe(t, buf, n); in read_full_stream_full()
|
/systemd-251/src/libsystemd-network/ |
D | test-dhcp-option.c | 117 memcpy_safe(&message->options, options, optlen); in create_message() 118 memcpy_safe(&message->file, file, filelen); in create_message() 119 memcpy_safe(&message->sname, sname, snamelen); in create_message()
|
D | dhcp-option.c | 31 memcpy_safe(&options[*offset + 2], optval, optlen); in dhcp_option_append_tlv() 99 memcpy_safe(&options[*offset + 3], optval, optlen); in option_append()
|
D | dhcp-packet.c | 49 memcpy_safe(message->chaddr, chaddr, message->hlen); in dhcp_message_init()
|
D | sd-lldp-tx.c | 312 memcpy_safe(packet + *offset, prefix, prefix_len); in packet_append_prefixed_string()
|
D | sd-dhcp6-client.c | 654 memcpy_safe(buf, client->req_opts, n * sizeof(be16_t)); in client_append_oro() 668 memcpy_safe(buf, client->req_opts, n * sizeof(be16_t)); in client_append_oro()
|
D | lldp-neighbor.c | 655 memcpy_safe(LLDP_NEIGHBOR_RAW(n), raw, raw_size); in sd_lldp_neighbor_from_raw()
|
/systemd-251/coccinelle/ |
D | mempcpy.cocci | 11 - memcpy_safe(x, y, z);
|
/systemd-251/src/libsystemd/sd-bus/ |
D | bus-socket.c | 354 memcpy_safe(p, b->auth_iovec[0].iov_base, b->auth_iovec[0].iov_len); in bus_socket_auth_write() 1044 memcpy_safe(iov, m->iovec, n); in bus_socket_write_message()
|
D | bus-message.c | 2601 memcpy_safe(p, ptr, size); in sd_bus_message_append_array()
|
/systemd-251/src/shared/ |
D | creds-util.c | 712 memcpy_safe(m->name, name, ml); in encrypt_credential_and_warn()
|
D | format-table.c | 410 memcpy_safe(d->data, data, data_size); in table_data_new()
|
D | json.c | 2218 memcpy_safe(&c->value, source, k); in json_variant_copy()
|
/systemd-251/src/resolve/ |
D | resolved-dns-packet.c | 423 memcpy_safe(q, d, l); in dns_packet_append_blob() 495 memcpy_safe(((uint8_t*) d) + 1, s, size); in dns_packet_append_raw_string()
|
/systemd-251/src/network/netdev/ |
D | macsec.c | 850 memcpy_safe(dest, p, l); in config_parse_macsec_key_id()
|
/systemd-251/src/libsystemd/sd-resolve/ |
D | sd-resolve.c | 217 memcpy_safe((char*) p + sizeof(AddrInfoSerialization) + ai->ai_addrlen, in serialize_addrinfo()
|
/systemd-251/src/libsystemd/sd-journal/ |
D | journal-file.c | 1609 memcpy_safe(o->data.payload, data, size); in journal_file_append_data() 1889 memcpy_safe(o->entry.items, items, n_items * sizeof(EntryItem)); in journal_file_append_entry_internal()
|
/systemd-251/src/nspawn/ |
D | nspawn.c | 3545 memcpy_safe(a + 1, arg_parameters, m * sizeof(char*)); in inner_child()
|
/systemd-251/src/core/ |
D | unit.c | 2830 memcpy_safe(new_array, array, sizeof(Unit*) * n); in unit_watch_pid()
|
D | execute.c | 4187 memcpy_safe(keep_fds, fds, n_fds * sizeof(int)); in exec_child()
|