Searched refs:TRWCache (Results 1 – 3 of 3) sorted by relevance
| /f-stack/app/micro_thread/ |
| H A D | mt_cache.h | 83 } TRWCache; typedef 85 void rw_cache_init(TRWCache* cache, TSkBuffMng* pool); 87 void rw_cache_destroy(TRWCache* cache); 89 void cache_skip_data(TRWCache* cache, uint32_t len); 91 TSkBuffer* cache_skip_first_buffer(TRWCache* cache); 93 int32_t cache_append_data(TRWCache* cache, const void* data, uint32_t len); 95 void cache_append_buffer(TRWCache* cache, TSkBuffer* buff); 97 uint32_t cache_copy_out(TRWCache* cache, void* buff, uint32_t len); 99 int32_t cache_udp_recv(TRWCache* cache, uint32_t fd, struct sockaddr_in* remote_addr); 101 int32_t cache_tcp_recv(TRWCache* cache, uint32_t fd); [all …]
|
| H A D | mt_cache.cpp | 165 void rw_cache_init(TRWCache* cache, TSkBuffMng* pool) in rw_cache_init() 173 void rw_cache_destroy(TRWCache* cache) in rw_cache_destroy() 243 void cache_skip_data(TRWCache* cache, uint32_t len) in cache_skip_data() 260 TSkBuffer* cache_skip_first_buffer(TRWCache* cache) in cache_skip_first_buffer() 314 TRWCache keep_list; in cache_append_data() 541 TRWCache* cache = (TRWCache*)multi; in get_data_len() 551 TRWCache* cache = (TRWCache*)multi; in get_block_count() 561 TRWCache* cache = (TRWCache*)multi; in get_first_block() 571 TRWCache* cache = (TRWCache*)multi; in get_next_block() 603 TRWCache* cache = (TRWCache*)multi; in read_cache_data() [all …]
|
| H A D | mt_net.h | 359 TRWCache _recv_cache;
|