Searched refs:zero_buffer (Results 1 – 2 of 2) sorted by relevance
345 char *zero_buffer = new char[image_size]; in main() local346 memset(zero_buffer, 0, image_size); in main()347 mInAllocation->copy1DRangeFrom(0, image_area, zero_buffer); in main()348 delete [] zero_buffer; in main()
355 char *zero_buffer = new char[image_size]; in Java_com_android_rs_jniallocations_MainActivity_nativeRS() local356 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()