Lines Matching refs:initial_length
903 FLAC__off_t initial_length; member
956 chain->initial_length = 0; in chain_init_()
1115 …if(current_length < chain->initial_length && chain->tail->data->type == FLAC__METADATA_TYPE_PADDIN… in chain_prepare_for_write_()
1116 const FLAC__off_t delta = chain->initial_length - current_length; in chain_prepare_for_write_()
1119 FLAC__ASSERT(current_length == chain->initial_length); in chain_prepare_for_write_()
1122 …se if(current_length + (FLAC__off_t)FLAC__STREAM_METADATA_HEADER_LENGTH <= chain->initial_length) { in chain_prepare_for_write_()
1129 padding->length = chain->initial_length - (FLAC__STREAM_METADATA_HEADER_LENGTH + current_length); in chain_prepare_for_write_()
1138 FLAC__ASSERT(current_length == chain->initial_length); in chain_prepare_for_write_()
1141 else if(current_length > chain->initial_length) { in chain_prepare_for_write_()
1142 const FLAC__off_t delta = current_length - chain->initial_length; in chain_prepare_for_write_()
1148 FLAC__ASSERT(current_length == chain->initial_length); in chain_prepare_for_write_()
1154 FLAC__ASSERT(current_length == chain->initial_length); in chain_prepare_for_write_()
1259 chain->initial_length = chain_calculate_length_(chain); in chain_read_cb_()
1349 chain->initial_length = chain_calculate_length_(chain); in chain_read_ogg_cb_()
1645 if(current_length < chain->initial_length && node->data->type == FLAC__METADATA_TYPE_PADDING) { in FLAC__metadata_chain_check_if_tempfile_needed()
1647 lbs_size = node->data->length + (chain->initial_length - current_length); in FLAC__metadata_chain_check_if_tempfile_needed()
1650 …se if(current_length + (FLAC__off_t)FLAC__STREAM_METADATA_HEADER_LENGTH <= chain->initial_length) { in FLAC__metadata_chain_check_if_tempfile_needed()
1652 …lbs_size = chain->initial_length - (current_length + (FLAC__off_t)FLAC__STREAM_METADATA_HEADER_LEN… in FLAC__metadata_chain_check_if_tempfile_needed()
1655 else if(current_length > chain->initial_length) { in FLAC__metadata_chain_check_if_tempfile_needed()
1656 const FLAC__off_t delta = current_length - chain->initial_length; in FLAC__metadata_chain_check_if_tempfile_needed()
1702 return (current_length != chain->initial_length); in FLAC__metadata_chain_check_if_tempfile_needed()
1732 if(current_length == chain->initial_length) { in FLAC__metadata_chain_write()
1743 chain->initial_length = current_length; in FLAC__metadata_chain_write()
1788 FLAC__ASSERT(current_length == chain->initial_length); in FLAC__metadata_chain_write_with_callbacks()
1829 FLAC__ASSERT(current_length != chain->initial_length); in FLAC__metadata_chain_write_with_callbacks_and_tempfile()
1843 chain->initial_length = current_length; in FLAC__metadata_chain_write_with_callbacks_and_tempfile()