Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_common/harness/
Dconversions.cpp210 boolPtr = (bool *)outRaw; \
211 *boolPtr = (*inType##Ptr) != 0 ? true : false; \
396 bool *boolPtr; in convert_explicit_value() local
412 boolPtr = (bool *)inRaw; in convert_explicit_value()
431 memset(outRaw, *boolPtr ? 0xff : 0, in convert_explicit_value()
437 *floatPtr = (*boolPtr) ? -1.f : 0.f; in convert_explicit_value()
441 *doublePtr = (*boolPtr) ? -1.0 : 0.0; in convert_explicit_value()
908 bool *boolPtr; in generate_random_data() local
927 boolPtr = (bool *)outData; in generate_random_data()
935 boolPtr[i] = (bits & 1) ? true : false; in generate_random_data()
/external/OpenCL-CTS/test_conformance/gl/
Dtest_buffers.cpp49 bool *boolPtr = (bool *)outData; in gen_input_data() local
52 boolPtr[i] = ( genrand_int32(d) & 1 ) ? true : false; in gen_input_data()
/external/OpenCL-CTS/test_conformance/gles/
Dtest_buffers.cpp52 bool *boolPtr = (bool *)outData; in gen_input_data() local
55 boolPtr[i] = ( genrand_int32(d) & 1 ) ? true : false; in gen_input_data()