Home
last modified time | relevance | path

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

/frameworks/rs/script_api/
DGenerateTestFiles.cpp110 const NumericalType& compatibleType,
114 const NumericalType& compatibleType,
350 const NumericalType& compatibleType, const NumericalType& generatedType) const { in writeJavaRandomCompatibleFloatAllocation() argument
355 switch (compatibleType.kind) { in writeJavaRandomCompatibleFloatAllocation()
359 int bits = min(compatibleType.exponentBits, generatedType.exponentBits) - 1; in writeJavaRandomCompatibleFloatAllocation()
365 maxValue = maxDoubleForInteger(compatibleType.significantBits, in writeJavaRandomCompatibleFloatAllocation()
370 maxValue = maxDoubleForInteger(compatibleType.significantBits, in writeJavaRandomCompatibleFloatAllocation()
382 const NumericalType& compatibleType, const NumericalType& generatedType) const { in writeJavaRandomCompatibleIntegerAllocation() argument
386 if (compatibleType.kind == FLOATING_POINT) { in writeJavaRandomCompatibleIntegerAllocation()
392 compatibleType.kind == SIGNED_INTEGER && generatedType.kind == SIGNED_INTEGER; in writeJavaRandomCompatibleIntegerAllocation()
[all …]