Home
last modified time | relevance | path

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

/hardware/libhardware/modules/consumerir/
Dconsumerir.c64 size_t to_copy = ARRAY_SIZE(consumerir_freqs); in consumerir_get_carrier_freqs() local
66 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()
/hardware/google/graphics/common/gralloc-headers/pixel-gralloc/
Dutils.h62 size_t to_copy = bytes.size(); in decode_helper() local
63 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()
/hardware/google/gfxstream/guest/mesa/src/util/perf/
Du_trace.c752 unsigned to_copy = MIN2(TRACES_PER_CHUNK - to_chunk->num_traces, in u_trace_clone_append() local
755 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()