Lines Matching refs:result
27 SLresult result; in main() local
29 result = slQueryNumSupportedEngineInterfaces(&numSupportedInterfaces); in main()
30 assert(SL_RESULT_SUCCESS == result); in main()
31 result = slQueryNumSupportedEngineInterfaces(NULL); in main()
32 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
45 result = slQuerySupportedEngineInterfaces(index, &interfaceID); in main()
47 assert(SL_RESULT_SUCCESS == result); in main()
53 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
55 result = slQuerySupportedEngineInterfaces(index, NULL); in main()
56 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
63 result = slCreateEngine(&engineObject, 0, NULL, numSupportedInterfaces, engine_ids, NULL); in main()
64 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
66 result = slCreateEngine(&engineObject, 0, NULL, numSupportedInterfaces, NULL, engine_req); in main()
67 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
72 result = slCreateEngine(NULL, 0, NULL, numSupportedInterfaces, engine_ids, engine_req); in main()
73 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
78 result = slCreateEngine(&engineObject, 0, NULL, 1, null_id, null_req); in main()
79 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
83 result = slCreateEngine(&engineObject, 1, NULL, 0, NULL, NULL); in main()
84 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
91 result = slCreateEngine(&engineObject, 1, options, 0, NULL, NULL); in main()
92 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
98 result = slCreateEngine(&engineObject, 0, NULL, numSupportedInterfaces+1, engine_ids, in main()
100 assert(SL_RESULT_FEATURE_UNSUPPORTED == result); in main()
109 result = slCreateEngine(&engineObject, 2, options, numSupportedInterfaces+1, engine_ids, in main()
111 assert(SL_RESULT_SUCCESS == result); in main()
118 result = (*engineObject)->GetInterface(engineObject, engine_ids[index], &interface); in main()
119 assert(SL_RESULT_SUCCESS == result || SL_RESULT_PRECONDITIONS_VIOLATED == result); in main()
120 if (SL_RESULT_SUCCESS == result) { in main()
130 result = slCreateEngine(&engineObject, 0, NULL, numSupportedInterfaces, engine_ids, engine_req); in main()
131 assert(SL_RESULT_SUCCESS == result); in main()
135 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); in main()
136 assert(SL_RESULT_SUCCESS == result); in main()
141 result = (*engineObject)->GetInterface(engineObject, engine_ids[index], &interface); in main()
142 assert(SL_RESULT_SUCCESS == result); in main()
148 result = (*engineObject)->GetInterface(engineObject, ©, &interface_again); in main()
149 assert(SL_RESULT_SUCCESS == result); in main()
159 result = slCreateEngine(&engineObject2, 0, NULL, 0, NULL, NULL); in main()
160 assert(SL_RESULT_RESOURCE_ERROR == result); in main()
168 result = slCreateEngine(&engineObject2, 0, NULL, 0, NULL, NULL); in main()
169 assert(SL_RESULT_SUCCESS == result); in main()