Lines Matching refs:castTo

33 const DiagnosticCompilationInfo* castTo(const ANeuralNetworksDiagnosticCompilationInfo* info) {  in castTo()  function
38 const DiagnosticExecutionInfo* castTo(const ANeuralNetworksDiagnosticExecutionInfo* info) { in castTo() function
101 return castTo(diagnosticCompilationInfo)->modelArchHash; in SL_ANeuralNetworksDiagnosticCompilationInfo_getModelArchHash()
106 return castTo(diagnosticCompilationInfo)->deviceId.c_str(); in SL_ANeuralNetworksDiagnosticCompilationInfo_getDeviceIds()
111 return castTo(diagnosticCompilationInfo)->errorCode; in SL_ANeuralNetworksDiagnosticCompilationInfo_getErrorCode()
116 return convert(castTo(diagnosticCompilationInfo)->inputDataClass); in SL_ANeuralNetworksDiagnosticCompilationInfo_getInputDataClass()
121 return convert(castTo(diagnosticCompilationInfo)->outputDataClass); in SL_ANeuralNetworksDiagnosticCompilationInfo_getOutputDataClass()
126 return castTo(diagnosticCompilationInfo)->compilationTimeNanos; in SL_ANeuralNetworksDiagnosticCompilationInfo_getCompilationTimeNanos()
131 return castTo(diagnosticCompilationInfo)->cacheEnabled; in SL_ANeuralNetworksDiagnosticCompilationInfo_isCachingEnabled()
136 return castTo(diagnosticCompilationInfo)->hasControlFlow; in SL_ANeuralNetworksDiagnosticCompilationInfo_isControlFlowUsed()
141 return castTo(diagnosticCompilationInfo)->hasDynamicTemporaries; in SL_ANeuralNetworksDiagnosticCompilationInfo_areDynamicTensorsUsed()
156 return castTo(diagnosticExecutionInfo)->modelArchHash; in SL_ANeuralNetworksDiagnosticExecutionInfo_getModelArchHash()
161 return castTo(diagnosticExecutionInfo)->deviceId.c_str(); in SL_ANeuralNetworksDiagnosticExecutionInfo_getDeviceIds()
166 return convert(castTo(diagnosticExecutionInfo)->executionMode); in SL_ANeuralNetworksDiagnosticExecutionInfo_getExecutionMode()
171 return convert(castTo(diagnosticExecutionInfo)->inputDataClass); in SL_ANeuralNetworksDiagnosticExecutionInfo_getInputDataClass()
176 return convert(castTo(diagnosticExecutionInfo)->outputDataClass); in SL_ANeuralNetworksDiagnosticExecutionInfo_getOutputDataClass()
181 return castTo(diagnosticExecutionInfo)->errorCode; in SL_ANeuralNetworksDiagnosticExecutionInfo_getErrorCode()
186 return castTo(diagnosticExecutionInfo)->durationRuntimeNanos; in SL_ANeuralNetworksDiagnosticExecutionInfo_getRuntimeExecutionTimeNanos()
191 return castTo(diagnosticExecutionInfo)->durationDriverNanos; in SL_ANeuralNetworksDiagnosticExecutionInfo_getDriverExecutionTimeNanos()
196 return castTo(diagnosticExecutionInfo)->durationHardwareNanos; in SL_ANeuralNetworksDiagnosticExecutionInfo_getHardwareExecutionTimeNanos()
201 return castTo(diagnosticExecutionInfo)->cacheEnabled; in SL_ANeuralNetworksDiagnosticExecutionInfo_isCachingEnabled()
206 return castTo(diagnosticExecutionInfo)->hasControlFlow; in SL_ANeuralNetworksDiagnosticExecutionInfo_isControlFlowUsed()
211 return castTo(diagnosticExecutionInfo)->hasDynamicTemporaries; in SL_ANeuralNetworksDiagnosticExecutionInfo_areDynamicTensorsUsed()