(out, olen, ol, state)
| 159 | } |
| 160 | |
| 161 | function append_switch_code(out, olen, ol, state) { |
| 162 | if (state == USX_DELTA) { |
| 163 | ol = append_bits(out, olen, ol, UNI_STATE_SPL_CODE, UNI_STATE_SPL_CODE_LEN); |
| 164 | ol = append_bits(out, olen, ol, UNI_STATE_SW_CODE, UNI_STATE_SW_CODE_LEN); |
| 165 | } else ol = append_bits(out, olen, ol, SW_CODE, SW_CODE_LEN); |
| 166 | return ol; |
| 167 | } |
| 168 | |
| 169 | function append_code(out, olen, ol, code, state, usx_hcodes, usx_hcode_lens) { |
| 170 | var hcode = code >> 5; |
no test coverage detected