Home
last modified time | relevance | path

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

/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/contrib/libcbor/src/
H A Dcbor.c257 cbor_item_t *value_copy = cbor_copy(it[i].value); in cbor_copy()
258 if (value_copy == NULL) { in cbor_copy()
264 .value = value_copy})) { in cbor_copy()
267 cbor_decref(&value_copy); in cbor_copy()
271 cbor_decref(&value_copy); in cbor_copy()
256 cbor_item_t *value_copy = cbor_copy(it[i].value); cbor_copy() local
/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()