Home
last modified time | relevance | path

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

/freebsd/contrib/libcbor/src/
H A Dcbor.c267 cbor_item_t* value_copy = cbor_copy(it[i].value); in cbor_copy() local
268 if (value_copy == NULL) { in cbor_copy()
274 .value = value_copy})) { in cbor_copy()
277 cbor_decref(&value_copy); in cbor_copy()
281 cbor_decref(&value_copy); in cbor_copy()
397 cbor_item_t* value_copy = cbor_copy_definite(it[i].value); in cbor_copy_definite() local
398 if (value_copy == NULL) { in cbor_copy_definite()
406 res, (struct cbor_pair){.key = key_copy, .value = value_copy}); in cbor_copy_definite()
409 cbor_decref(&value_copy); in cbor_copy_definite()
/freebsd/contrib/libyaml/src/
H A Dapi.c830 yaml_char_t *value_copy = NULL; in yaml_scalar_event_initialize() local
852 value_copy = YAML_MALLOC(length+1); in yaml_scalar_event_initialize()
853 if (!value_copy) goto error; in yaml_scalar_event_initialize()
854 memcpy(value_copy, value, length); in yaml_scalar_event_initialize()
855 value_copy[length] = '\0'; in yaml_scalar_event_initialize()
857 SCALAR_EVENT_INIT(*event, anchor_copy, tag_copy, value_copy, length, in yaml_scalar_event_initialize()
865 yaml_free(value_copy); in yaml_scalar_event_initialize()
1204 yaml_char_t *value_copy = NULL; in yaml_document_add_scalar() local
1223 value_copy = YAML_MALLOC(length+1); in yaml_document_add_scalar()
1224 if (!value_copy) goto error; in yaml_document_add_scalar()
[all …]
/freebsd/crypto/krb5/src/util/profile/
H A Dprof_get.c546 char *name_copy = NULL, *value_copy = NULL; in set_results() local
554 value_copy = strdup(value); in set_results()
555 if (value_copy == NULL) in set_results()
561 *ret_value = value_copy; in set_results()
565 free(value_copy); in set_results()