Lines Matching defs:src
86 fsw_status_t fsw_memdup(void **dest_out, void *src, int len)
93 fsw_memcpy(*dest_out, src, len);
429 fsw_status_t fsw_strdup_coerce(struct fsw_string *dest, int type, struct fsw_string *src)
433 if (src->type == FSW_STRING_TYPE_EMPTY || src->len == 0) {
440 if (src->type == type) {
442 dest->len = src->len;
443 dest->size = src->size;
448 fsw_memcpy(dest->data, src->data, dest->size);
454 if (src->type == FSW_STRING_TYPE_##type1 && type == FSW_STRING_TYPE_##type2) \
455 return fsw_strcoerce_##type1##_##type2(src->data, src->len, dest);