Home
last modified time | relevance | path

Searched refs:id_bytes (Results 1 – 2 of 2) sorted by relevance

/external/flac/libFLAC/
Dmetadata_iterators.c602 const unsigned id_bytes = FLAC__STREAM_METADATA_APPLICATION_ID_LEN / 8; in FLAC__metadata_simple_iterator_get_application_id() local
613 if(fread(id, 1, id_bytes, iterator->file) != id_bytes) { in FLAC__metadata_simple_iterator_get_application_id()
619 if(0 != fseeko(iterator->file, -((int)id_bytes), SEEK_CUR)) { in FLAC__metadata_simple_iterator_get_application_id()
2215 const unsigned id_bytes = FLAC__STREAM_METADATA_APPLICATION_ID_LEN / 8; in read_metadata_block_data_application_cb_() local
2217 if(read_cb(block->id, 1, id_bytes, handle) != id_bytes) in read_metadata_block_data_application_cb_()
2220 if(block_length < id_bytes) in read_metadata_block_data_application_cb_()
2223 block_length -= id_bytes; in read_metadata_block_data_application_cb_()
2692 const unsigned id_bytes = FLAC__STREAM_METADATA_APPLICATION_ID_LEN / 8; in write_metadata_block_data_application_cb_() local
2694 if(write_cb(block->id, 1, id_bytes, handle) != id_bytes) in write_metadata_block_data_application_cb_()
2697 block_length -= id_bytes; in write_metadata_block_data_application_cb_()
/external/squashfs-tools/squashfs-tools/
Dmksquashfs.c711 unsigned int id_bytes = SQUASHFS_ID_BYTES(id_count); in write_id_table() local
715 TRACE("write_id_table: ids %d, id_bytes %d\n", id_count, id_bytes); in write_id_table()
721 return generic_write_table(id_bytes, p, 0, NULL, noI); in write_id_table()