Home
last modified time | relevance | path

Searched refs:start_at (Results 1 – 5 of 5) sorted by relevance

/external/libese/libese/
Dese_sg.c39 uint32_t start_at, uint32_t length, in ese_sg_to_buf() argument
47 if (start_at > buf->len) { in ese_sg_to_buf()
48 start_at -= buf->len; in ese_sg_to_buf()
52 uint32_t copy_len = min_u32(remaining, buf->len - start_at); in ese_sg_to_buf()
53 ese_memcpy(dst, buf->c_base + start_at, copy_len); in ese_sg_to_buf()
56 start_at = 0; in ese_sg_to_buf()
63 uint32_t start_at, uint32_t length, in ese_sg_from_buf() argument
72 if (start_at >= buf->len) { in ese_sg_from_buf()
73 start_at -= buf->len; in ese_sg_from_buf()
77 uint32_t copy_len = min_u32(remaining, buf->len - start_at); in ese_sg_from_buf()
[all …]
/external/libese/libese/include/ese/
Dese_sg.h41 uint32_t ese_sg_to_buf(const struct EseSgBuffer *src, uint32_t src_cnt, uint32_t start_at, uint32_t…
42 uint32_t ese_sg_from_buf(struct EseSgBuffer *dst, uint32_t dst_cnt, uint32_t start_at, uint32_t len…
/external/libevent/
Dbuffer.c2735 const unsigned char *start_at = in evbuffer_search_range() local
2738 p = memchr(start_at, first, in evbuffer_search_range()
2741 pos.pos += p - start_at; in evbuffer_search_range()
2742 pos.internal_.pos_in_chain += p - start_at; in evbuffer_search_range()
2773 struct evbuffer_ptr *start_at, in evbuffer_peek() argument
2781 if (start_at && start_at->internal_.chain == NULL) in evbuffer_peek()
2786 if (start_at) { in evbuffer_peek()
2787 chain = start_at->internal_.chain; in evbuffer_peek()
2789 - start_at->internal_.pos_in_chain; in evbuffer_peek()
2793 + start_at->internal_.pos_in_chain); in evbuffer_peek()
[all …]
DChangeLog461 o Fix evbuffer_peek() with len==-1 and start_at non-NULL. (ba59923)
463 o Fix evbuffer_peek() with len==-1 and start_at non-NULL. (fb7e76a)
/external/libevent/include/event2/
Dbuffer.h854 struct evbuffer_ptr *start_at,