Lines Matching refs:begin
50 encoder->pos = encoder->config.begin; in pt_encoder_init()
88 uint8_t *begin, *end, *pos; in pt_enc_sync_set() local
93 begin = encoder->config.begin; in pt_enc_sync_set()
95 pos = begin + offset; in pt_enc_sync_set()
97 if (end < pos || pos < begin) in pt_enc_sync_set()
106 const uint8_t *raw, *begin; in pt_enc_get_offset() local
116 begin = encoder->config.begin; in pt_enc_get_offset()
117 if (!begin) in pt_enc_get_offset()
120 *offset = raw - begin; in pt_enc_get_offset()
143 const uint8_t *begin, *end, *pos; in pt_reserve() local
153 begin = encoder->config.begin; in pt_reserve()
157 if (pos < begin || end < pos) in pt_reserve()
250 uint8_t *pos, *begin; in pt_enc_next() local
256 pos = begin = encoder->pos; in pt_enc_next()
266 return (int) (pos - begin); in pt_enc_next()
284 return (int) (pos - begin); in pt_enc_next()
296 return (int) (pos - begin); in pt_enc_next()
307 return (int) (pos - begin); in pt_enc_next()
340 return (int) (pos - begin); in pt_enc_next()
364 return (int) (pos - begin); in pt_enc_next()
403 return (int) (pos - begin); in pt_enc_next()
425 return (int) (pos - begin); in pt_enc_next()
438 return (int) (pos - begin); in pt_enc_next()
451 return (int) (pos - begin); in pt_enc_next()
473 return (int) (pos - begin); in pt_enc_next()
485 return (int) (pos - begin); in pt_enc_next()
524 return (int) (pos - begin); in pt_enc_next()
536 return (int) (pos - begin); in pt_enc_next()
550 return (int) (pos - begin); in pt_enc_next()
564 return (int) (pos - begin); in pt_enc_next()
580 return (int) (pos - begin); in pt_enc_next()
596 return (int) (pos - begin); in pt_enc_next()
621 return (int) (pos - begin); in pt_enc_next()
651 return (int) (pos - begin); in pt_enc_next()
679 return (int) (pos - begin); in pt_enc_next()