Home
last modified time | relevance | path

Searched refs:new_handle (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/libcbor/src/cbor/internal/
H A Dbuilder_callbacks.c218 unsigned char *new_handle = _cbor_malloc(length); in cbor_builder_byte_string_callback() local
219 if (new_handle == NULL) { in cbor_builder_byte_string_callback()
224 memcpy(new_handle, data, length); in cbor_builder_byte_string_callback()
228 _cbor_free(new_handle); in cbor_builder_byte_string_callback()
233 cbor_bytestring_set_handle(new_chunk, new_handle, length); in cbor_builder_byte_string_callback()
260 unsigned char *new_handle = _cbor_malloc(length); in cbor_builder_string_callback()
261 if (new_handle == NULL) { in cbor_builder_string_callback()
266 memcpy(new_handle, data, length); in cbor_builder_string_callback()
269 _cbor_free(new_handle); in cbor_builder_string_callback() local
273 cbor_string_set_handle(new_chunk, new_handle, lengt in cbor_builder_string_callback()
[all...]
/freebsd/sys/dev/vmware/vmci/
H A Dvmci_doorbell.c497 struct vmci_handle new_handle; in vmci_doorbell_create() local
526 new_handle = VMCI_MAKE_HANDLE(context_id, resource_id); in vmci_doorbell_create()
535 new_handle = *handle; in vmci_doorbell_create()
548 VMCI_RESOURCE_TYPE_DOORBELL, new_handle, vmci_doorbell_free_cb, in vmci_doorbell_create()
552 "(handle=0x%x:0x%x).\n", new_handle.context, in vmci_doorbell_create()
553 new_handle.resource); in vmci_doorbell_create()
561 result = vmci_doorbell_link(new_handle, entry->is_doorbell, entry->idx); in vmci_doorbell_create()
567 *handle = new_handle; in vmci_doorbell_create()
573 vmci_resource_remove(new_handle, VMCI_RESOURCE_TYPE_DOORBELL); in vmci_doorbell_create()
/freebsd/crypto/openssh/
H A Dsftp-client.c1107 u_char *old_handle, *new_handle; in sftp_copy() local
1179 new_handle = get_handle(conn, id, &new_handle_len, in sftp_copy()
1181 if (new_handle == NULL) { in sftp_copy()
1195 (r = sshbuf_put_string(msg, new_handle, new_handle_len)) != 0 || in sftp_copy()
1210 sftp_close(conn, new_handle, new_handle_len); in sftp_copy()
1212 free(new_handle); in sftp_copy()