Home
last modified time | relevance | path

Searched refs:zero_buffer (Results 1 – 2 of 2) sorted by relevance

/frameworks/rs/tests/lldb/cpp/Allocations/
DAllocations.cpp345 char *zero_buffer = new char[image_size]; in main() local
346 memset(zero_buffer, 0, image_size); in main()
347 mInAllocation->copy1DRangeFrom(0, image_area, zero_buffer); in main()
348 delete [] zero_buffer; in main()
/frameworks/rs/tests/lldb/jni/Allocations/jniallocations/
Djniallocations.cpp355 char *zero_buffer = new char[image_size]; in Java_com_android_rs_jniallocations_MainActivity_nativeRS() local
356 memset(zero_buffer, 0, image_size); in Java_com_android_rs_jniallocations_MainActivity_nativeRS()
357 mInAllocation->copy1DRangeFrom(0, image_area, zero_buffer); in Java_com_android_rs_jniallocations_MainActivity_nativeRS()
358 delete [] zero_buffer; in Java_com_android_rs_jniallocations_MainActivity_nativeRS()