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 = (uint64_t) (int64_t) (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()
251 uint8_t *pos, *begin; in pt_enc_next() local
257 pos = begin = encoder->pos; in pt_enc_next()
267 return (int) (pos - begin); in pt_enc_next()
285 return (int) (pos - begin); in pt_enc_next()
297 return (int) (pos - begin); in pt_enc_next()
308 return (int) (pos - begin); in pt_enc_next()
341 return (int) (pos - begin); in pt_enc_next()
365 return (int) (pos - begin); in pt_enc_next()
404 return (int) (pos - begin); in pt_enc_next()
426 return (int) (pos - begin); in pt_enc_next()
439 return (int) (pos - begin); in pt_enc_next()
452 return (int) (pos - begin); in pt_enc_next()
474 return (int) (pos - begin); in pt_enc_next()
486 return (int) (pos - begin); in pt_enc_next()
525 return (int) (pos - begin); in pt_enc_next()
537 return (int) (pos - begin); in pt_enc_next()
551 return (int) (pos - begin); in pt_enc_next()
565 return (int) (pos - begin); in pt_enc_next()
581 return (int) (pos - begin); in pt_enc_next()
597 return (int) (pos - begin); in pt_enc_next()
622 return (int) (pos - begin); in pt_enc_next()
652 return (int) (pos - begin); in pt_enc_next()
681 return (int) (pos - begin); in pt_enc_next()