Home
last modified time | relevance | path

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

/external/flac/libFLAC/
Dstream_encoder.c517 encoder->protected_ = calloc(1, sizeof(FLAC__StreamEncoderProtected)); in FLAC__stream_encoder_new()
518 if(encoder->protected_ == 0) { in FLAC__stream_encoder_new()
525 free(encoder->protected_); in FLAC__stream_encoder_new()
533 free(encoder->protected_); in FLAC__stream_encoder_new()
572 encoder->protected_->state = FLAC__STREAM_ENCODER_UNINITIALIZED; in FLAC__stream_encoder_new()
584 FLAC__ASSERT(0 != encoder->protected_); in FLAC__stream_encoder_delete()
608 free(encoder->protected_); in FLAC__stream_encoder_delete()
634 if(encoder->protected_->state != FLAC__STREAM_ENCODER_UNINITIALIZED) in init_stream_internal_()
645 if(encoder->protected_->channels == 0 || encoder->protected_->channels > FLAC__MAX_CHANNELS) in init_stream_internal_()
648 if(encoder->protected_->channels != 2) { in init_stream_internal_()
[all …]
Dstream_decoder.c263 decoder->protected_ = calloc(1, sizeof(FLAC__StreamDecoderProtected)); in FLAC__stream_decoder_new()
264 if(decoder->protected_ == 0) { in FLAC__stream_decoder_new()
271 free(decoder->protected_); in FLAC__stream_decoder_new()
279 free(decoder->protected_); in FLAC__stream_decoder_new()
288 free(decoder->protected_); in FLAC__stream_decoder_new()
309 decoder->protected_->state = FLAC__STREAM_DECODER_UNINITIALIZED; in FLAC__stream_decoder_new()
321 FLAC__ASSERT(0 != decoder->protected_); in FLAC__stream_decoder_delete()
336 free(decoder->protected_); in FLAC__stream_decoder_delete()
362 if(decoder->protected_->state != FLAC__STREAM_DECODER_UNINITIALIZED) in init_stream_internal_()
380 if(is_ogg && !FLAC__ogg_decoder_aspect_init(&decoder->protected_->ogg_decoder_aspect)) in init_stream_internal_()
[all …]
Dogg_helper.c55 encoder->protected_->state = FLAC__STREAM_ENCODER_OGG_ERROR; in full_read_()
62 encoder->protected_->state = FLAC__STREAM_ENCODER_CLIENT_ERROR; in full_read_()
69 encoder->protected_->state = FLAC__STREAM_ENCODER_CLIENT_ERROR; in full_read_()
111 encoder->protected_->state = FLAC__STREAM_ENCODER_CLIENT_ERROR; in simple_ogg_page__get_at()
117 encoder->protected_->state = FLAC__STREAM_ENCODER_MEMORY_ALLOCATION_ERROR; in simple_ogg_page__get_at()
135 encoder->protected_->state = FLAC__STREAM_ENCODER_OGG_ERROR; in simple_ogg_page__get_at()
149 encoder->protected_->state = FLAC__STREAM_ENCODER_OGG_ERROR; in simple_ogg_page__get_at()
159 encoder->protected_->state = FLAC__STREAM_ENCODER_MEMORY_ALLOCATION_ERROR; in simple_ogg_page__get_at()
171 encoder->protected_->state = FLAC__STREAM_ENCODER_OGG_ERROR; in simple_ogg_page__get_at()
192 encoder->protected_->state = FLAC__STREAM_ENCODER_CLIENT_ERROR; in simple_ogg_page__set_at()
[all …]
/external/flac/include/FLAC/
Dstream_decoder.h464 struct FLAC__StreamDecoderProtected *protected_; /* avoid the C++ keyword 'protected' */ member
Dstream_encoder.h466 struct FLAC__StreamEncoderProtected *protected_; /* avoid the C++ keyword 'protected' */ member