Home
last modified time | relevance | path

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

/external/webrtc/sdk/android/src/jni/audio_device/
Dopensles_player.cc32 #define RETURN_ON_ERROR(op, ...) \ macro
141 RETURN_ON_ERROR((*player_)->SetPlayState(player_, SL_PLAYSTATE_PLAYING), -1); in StartPlayout()
154 RETURN_ON_ERROR((*player_)->SetPlayState(player_, SL_PLAYSTATE_STOPPED), -1); in StopPlayout()
156 RETURN_ON_ERROR((*simple_buffer_queue_)->Clear(simple_buffer_queue_), -1); in StopPlayout()
249 RETURN_ON_ERROR( in ObtainEngineInterface()
263 RETURN_ON_ERROR((*engine_)->CreateOutputMix(engine_, output_mix_.Receive(), 0, in CreateMix()
266 RETURN_ON_ERROR(output_mix_->Realize(output_mix_.Get(), SL_BOOLEAN_FALSE), in CreateMix()
307 RETURN_ON_ERROR( in CreateAudioPlayer()
316 RETURN_ON_ERROR( in CreateAudioPlayer()
323 RETURN_ON_ERROR( in CreateAudioPlayer()
[all …]
Daaudio_wrapper.cc25 #define RETURN_ON_ERROR(op, ...) \ macro
187 RETURN_ON_ERROR(AAudioStream_requestStart(stream_), false); in Start()
196 RETURN_ON_ERROR(AAudioStream_requestStop(stream_), false); in Stop()
396 RETURN_ON_ERROR(AAudioStreamBuilder_openStream(builder, &stream), false); in OpenStream()
/external/webrtc/modules/audio_device/android/
Dopensles_player.cc33 #define RETURN_ON_ERROR(op, ...) \ macro
134 RETURN_ON_ERROR((*player_)->SetPlayState(player_, SL_PLAYSTATE_PLAYING), -1); in StartPlayout()
147 RETURN_ON_ERROR((*player_)->SetPlayState(player_, SL_PLAYSTATE_STOPPED), -1); in StopPlayout()
149 RETURN_ON_ERROR((*simple_buffer_queue_)->Clear(simple_buffer_queue_), -1); in StopPlayout()
239 RETURN_ON_ERROR( in ObtainEngineInterface()
253 RETURN_ON_ERROR((*engine_)->CreateOutputMix(engine_, output_mix_.Receive(), 0, in CreateMix()
256 RETURN_ON_ERROR(output_mix_->Realize(output_mix_.Get(), SL_BOOLEAN_FALSE), in CreateMix()
297 RETURN_ON_ERROR( in CreateAudioPlayer()
306 RETURN_ON_ERROR( in CreateAudioPlayer()
313 RETURN_ON_ERROR( in CreateAudioPlayer()
[all …]
Daaudio_wrapper.cc26 #define RETURN_ON_ERROR(op, ...) \ macro
187 RETURN_ON_ERROR(AAudioStream_requestStart(stream_), false); in Start()
196 RETURN_ON_ERROR(AAudioStream_requestStop(stream_), false); in Stop()
396 RETURN_ON_ERROR(AAudioStreamBuilder_openStream(builder, &stream), false); in OpenStream()
/external/python/cpython3/Modules/
Dsre_lib.h407 #define RETURN_ON_ERROR(i) \ macro
410 do { RETURN_ON_ERROR(i); if (i > 0) RETURN_SUCCESS; } while (0)
412 do { RETURN_ON_ERROR(i); if (i == 0) RETURN_FAILURE; } while (0)
816 RETURN_ON_ERROR(ret); in SRE()
846 RETURN_ON_ERROR(ret); in SRE()
886 RETURN_ON_ERROR(ret); in SRE()
903 RETURN_ON_ERROR(ret); in SRE()
936 RETURN_ON_ERROR(ret); in SRE()
964 RETURN_ON_ERROR(ret); in SRE()
969 RETURN_ON_ERROR(ret); in SRE()
[all …]
/external/python/cpython2/Modules/
D_sre.c676 #define RETURN_ON_ERROR(i) \ macro
679 do { RETURN_ON_ERROR(i); if (i > 0) RETURN_SUCCESS; } while (0)
681 do { RETURN_ON_ERROR(i); if (i == 0) RETURN_FAILURE; } while (0)
1013 RETURN_ON_ERROR(ret); in SRE_MATCH()
1043 RETURN_ON_ERROR(ret); in SRE_MATCH()
1080 RETURN_ON_ERROR(ret); in SRE_MATCH()
1097 RETURN_ON_ERROR(ret); in SRE_MATCH()
1130 RETURN_ON_ERROR(ret); in SRE_MATCH()
1154 RETURN_ON_ERROR(ret); in SRE_MATCH()
1159 RETURN_ON_ERROR(ret); in SRE_MATCH()
[all …]