Lines Matching refs:cb_value
123 cn_cbor *cb_key, cn_cbor *cb_value, in cn_cbor_map_put() argument
127 if(!cb_map || !cb_key || !cb_value || cb_map->type != CN_CBOR_MAP) in cn_cbor_map_put()
133 return _append_kv(cb_map, cb_key, cb_value); in cn_cbor_map_put()
137 int64_t key, cn_cbor* cb_value in cn_cbor_mapput_int()
144 if(!cb_map || !cb_value || cb_map->type != CN_CBOR_MAP) in cn_cbor_mapput_int()
152 return _append_kv(cb_map, cb_key, cb_value); in cn_cbor_mapput_int()
156 const char* key, cn_cbor* cb_value in cn_cbor_mapput_string()
163 if(!cb_map || !cb_value || cb_map->type != CN_CBOR_MAP) in cn_cbor_mapput_string()
171 return _append_kv(cb_map, cb_key, cb_value); in cn_cbor_mapput_string()
186 cn_cbor* cb_value, in cn_cbor_array_append() argument
190 if(!cb_array || !cb_value || cb_array->type != CN_CBOR_ARRAY) in cn_cbor_array_append()
196 cb_value->parent = cb_array; in cn_cbor_array_append()
197 cb_value->next = NULL; in cn_cbor_array_append()
199 cb_array->last_child->next = cb_value; in cn_cbor_array_append()
201 cb_array->first_child = cb_value; in cn_cbor_array_append()
203 cb_array->last_child = cb_value; in cn_cbor_array_append()