Searched refs:to_copy (Results 1 – 3 of 3) sorted by relevance
64 size_t to_copy = ARRAY_SIZE(consumerir_freqs); in consumerir_get_carrier_freqs() local66 to_copy = len < to_copy ? len : to_copy; in consumerir_get_carrier_freqs()67 memcpy(ranges, consumerir_freqs, to_copy * sizeof(consumerir_freq_range_t)); in consumerir_get_carrier_freqs()68 return to_copy; in consumerir_get_carrier_freqs()
62 size_t to_copy = bytes.size(); in decode_helper() local63 if (to_copy % member_size != 0) { in decode_helper()67 size_t members = to_copy / member_size; in decode_helper()69 std::memcpy(t.data(), bytes.data(), to_copy); in decode_helper()
752 unsigned to_copy = MIN2(TRACES_PER_CHUNK - to_chunk->num_traces, in u_trace_clone_append() local755 to_copy = MIN2(to_copy, end_it.event_idx - from_idx); in u_trace_clone_append()759 to_copy); in u_trace_clone_append()763 to_copy * sizeof(struct u_trace_event)); in u_trace_clone_append()776 to_chunk->num_traces += to_copy; in u_trace_clone_append()777 from_idx += to_copy; in u_trace_clone_append()