Lines Matching refs:result

26     SLresult result;  in main()  local
31 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in main()
32 assert(SL_RESULT_SUCCESS == result); in main()
33 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); in main()
34 assert(SL_RESULT_SUCCESS == result); in main()
36 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); in main()
37 assert(SL_RESULT_SUCCESS == result); in main()
53 result = (*engineEngine)->QueryNumSupportedInterfaces(engineEngine, objectID, NULL); in main()
54 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
56 result = (*engineEngine)->QueryNumSupportedInterfaces(engineEngine, objectID, in main()
59 if (SL_RESULT_FEATURE_UNSUPPORTED == result) { in main()
61 result = (*engineEngine)->QuerySupportedInterfaces(engineEngine, objectID, 0, in main()
63 assert(SL_RESULT_FEATURE_UNSUPPORTED == result); in main()
67 assert(SL_RESULT_SUCCESS == result); in main()
70 result = (*engineEngine)->QuerySupportedInterfaces(engineEngine, objectID, i, NULL); in main()
71 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
72 result = (*engineEngine)->QuerySupportedInterfaces(engineEngine, objectID, i, in main()
75 assert(SL_RESULT_SUCCESS == result); in main()
79 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
84 result = (*engineEngine)->QueryNumSupportedExtensions(engineEngine, NULL); in main()
85 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
87 result = (*engineEngine)->QueryNumSupportedExtensions(engineEngine, &numExtensions); in main()
88 assert(SL_RESULT_SUCCESS == result); in main()
93 result = (*engineEngine)->QuerySupportedExtension(engineEngine, i, extensionName, NULL); in main()
94 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
96 result = (*engineEngine)->QuerySupportedExtension(engineEngine, i, NULL, &nameLength); in main()
98 assert(SL_RESULT_SUCCESS == result); in main()
101 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
106 result = (*engineEngine)->QuerySupportedExtension(engineEngine, i, extensionName, in main()
109 assert(SL_RESULT_BUFFER_INSUFFICIENT == result); in main()
111 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
115 result = (*engineEngine)->QuerySupportedExtension(engineEngine, i, extensionName, in main()
118 assert(SL_RESULT_BUFFER_INSUFFICIENT == result); in main()
120 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
124 result = (*engineEngine)->QuerySupportedExtension(engineEngine, i, extensionName, in main()
127 assert(SL_RESULT_BUFFER_INSUFFICIENT == result); in main()
130 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
134 result = (*engineEngine)->QuerySupportedExtension(engineEngine, i, extensionName, in main()
137 assert(SL_RESULT_SUCCESS == result); in main()
141 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
147 result = (*engineEngine)->IsExtensionSupported(engineEngine, NULL, &isSupported); in main()
148 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
151 result = (*engineEngine)->IsExtensionSupported(engineEngine, unsupportedExt, NULL); in main()
152 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
154 result = (*engineEngine)->IsExtensionSupported(engineEngine, unsupportedExt, &isSupported); in main()
155 assert(SL_RESULT_SUCCESS == result); in main()
166 result = (*engineEngine)->IsExtensionSupported(engineEngine, supportedExt, &isSupported); in main()
167 assert(SL_RESULT_SUCCESS == result); in main()
170 result = (*engineEngine)->CreateExtensionObject(engineEngine, NULL, NULL, 0x123, 0, NULL, NULL); in main()
171 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
174 result = (*engineEngine)->CreateExtensionObject(engineEngine, &extensionObject, NULL, 0x123, 0, in main()
176 assert(SL_RESULT_FEATURE_UNSUPPORTED == result); in main()