/dports/net-p2p/py-libtorrent-rasterbar/libtorrent-1.2.13/include/libtorrent/ |
H A D | heterogeneous_queue.hpp | 93 & (alignof(header_t) - 1)) == 0); in emplace_back() 96 header_t* hdr = new (ptr) header_t; in emplace_back() 99 ptr += sizeof(header_t) + pad_bytes; in emplace_back() 126 header_t* hdr = reinterpret_cast<header_t*>(ptr); in get_pointers() 151 header_t* hdr = reinterpret_cast<header_t*>(ptr); in clear() 157 hdr->~header_t(); in clear() 169 header_t* hdr = reinterpret_cast<header_t*>(ptr); in front() 184 struct header_t struct 217 header_t* src_hdr = reinterpret_cast<header_t*>(src); in grow_capacity() 218 new (dst) header_t(*src_hdr); in grow_capacity() [all …]
|
/dports/net-p2p/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14/include/libtorrent/ |
H A D | heterogeneous_queue.hpp | 93 & (alignof(header_t) - 1)) == 0); in emplace_back() 96 header_t* hdr = new (ptr) header_t; in emplace_back() 99 ptr += sizeof(header_t) + pad_bytes; in emplace_back() 126 header_t* hdr = reinterpret_cast<header_t*>(ptr); in get_pointers() 151 header_t* hdr = reinterpret_cast<header_t*>(ptr); in clear() 157 hdr->~header_t(); in clear() 169 header_t* hdr = reinterpret_cast<header_t*>(ptr); in front() 184 struct header_t struct 217 header_t* src_hdr = reinterpret_cast<header_t*>(src); in grow_capacity() 218 new (dst) header_t(*src_hdr); in grow_capacity() [all …]
|
/dports/dns/dhisd/dhisd-5.5/ |
H A D | network.h | 43 } header_t; typedef 45 typedef struct { header_t hdr; 46 unsigned char buff[MAX_MSG-sizeof(header_t)]; 66 typedef struct { header_t hdr; } echo_req_t; 67 typedef struct { header_t hdr; int oserial; } echo_ack_t; 69 typedef struct { header_t hdr; } auth_deny_t; 70 typedef struct { header_t hdr; int sid; } auth_ack_t; 72 typedef struct { header_t hdr; char x[200]; } auth_sendx_t; 73 typedef struct { header_t hdr; char y[200]; } auth_sendy_t; 75 typedef struct { header_t hdr; int sid; } check_ack_t; [all …]
|
/dports/mail/eps/eps-1.7/ |
H A D | header.c | 6 static int atom_begin(header_t *); 7 static atom_t *atom_new(header_t *); 9 static header_t *header_alloc(void); 13 int atom_begin(header_t *h) in atom_begin() 25 atom_t *atom_new(header_t *h) in atom_new() 66 header_t *header_alloc(void) in header_alloc() 68 header_t *h = NULL; in header_alloc() 70 h = (header_t *)malloc(sizeof(header_t)); in header_alloc() 74 memset((header_t *)h, 0, sizeof(header_t)); in header_alloc() 80 header_t *hdr = NULL; in header_parse() [all …]
|
H A D | header.h | 12 } header_t; typedef 19 header_t *header_parse(unsigned char *); 20 void header_kill(header_t *); 21 unsigned char *header_fetch_atom(header_t *, unsigned char *); 24 void header_show(header_t *);
|
/dports/lang/sdcc/sdcc-4.0.0/device/lib/ |
H A D | malloc.c | 40 typedef struct header HEAPSPACE header_t; typedef 44 …header_t *next; // Next block. Linked list of all blocks, terminated by pointer to end of heap (or… 45 …header_t *next_free; // Next free block. Used in free blocks only. Overlaps with user data in non-… 48 header_t *HEAPSPACE __sdcc_heap_free; // First free block, 0 if no free blocks. 50 extern header_t __sdcc_heap; 60 extern header_t __sdcc_heap_end; // Just beyond the end of the heap. Must be higher in memory than … 78 header_t *h; in malloc() 79 header_t *HEAPSPACE *f; in malloc() 99 header_t *const newheader = (header_t *const)((char HEAPSPACE *)h + size); in malloc()
|
H A D | free.c | 40 typedef struct header HEAPSPACE header_t; typedef 44 header_t *next; 45 header_t *next_free; 48 extern header_t *HEAPSPACE __sdcc_heap_free; 52 header_t *h, *next_free, *prev_free; in free() 53 header_t *HEAPSPACE *f; in free()
|
H A D | realloc.c | 41 typedef struct header HEAPSPACE header_t; typedef 45 header_t *next; 46 header_t *next_free; 49 extern header_t *HEAPSPACE __sdcc_heap_free; 60 header_t *h, *next_free, *prev_free; in realloc() 61 header_t *HEAPSPACE *f, *HEAPSPACE *pf; in realloc() 115 header_t *const newheader = (header_t *const)((char HEAPSPACE *)h + blocksize); in realloc()
|
/dports/biology/minimap2/minimap2-2.24/ |
H A D | kalloc.c | 21 typedef struct header_t { struct 23 struct header_t *ptr; argument 24 } header_t; typedef 53 header_t *p, *q; in km_destroy() 66 header_t *q; in morecore() 69 bytes = nu * sizeof(header_t); in morecore() 70 q = (header_t*)kmalloc(km->par, bytes); in morecore() 81 header_t *p, *q; in kfree() 89 p = (header_t*)((size_t*)ap - 1); in kfree() 131 header_t *p, *q; in kmalloc() [all …]
|
/dports/audio/lsp-plugins-lv2/lsp-plugins-1.1.31/src/core/ |
H A D | alloc.cpp | 30 #define SAFE_HDR_SIZE ALIGN_SIZE(sizeof(header_t), DEFAULT_ALIGN) 59 typedef struct header_t struct 65 } header_t; typedef 82 header_t *head = reinterpret_cast<header_t *>(ptr - sizeof(header_t)); in safe_malloc() 103 header_t *head = reinterpret_cast<header_t *>(ptr - sizeof(header_t)); in safe_calloc() 142 header_t *head = reinterpret_cast<header_t *>(new_block - sizeof(header_t)); in safe_realloc() 177 const header_t *head = reinterpret_cast<const header_t *>(block - sizeof(header_t)); in safe_validate()
|
/dports/devel/ga/ga-5.8/comex/src-mpi/ |
H A D | comex.c | 343 header_t *header; in comex_make_progress() 535 header_t *response_header = NULL; in _fence_request_handler() 634 header_t header; in _put_nbi() 671 header_t header; in _acc_nbi() 737 header_t *header = NULL; in _get_nbi() 1011 header_t *header = NULL; in _send_fence_message() 1186 header_t *header = NULL; in comex_barrier() 1670 header_t *header = NULL; in comex_rmw() 1952 header_t *header = NULL; in _lq_progress() 2073 header_t *header = NULL; in comex_lock() [all …]
|
/dports/archivers/lzop/lzop-1.04/src/ |
H A D | conf.h | 521 header_t; typedef 556 lzo_bool x_enter(const header_t *h); 557 void x_leave(const header_t *h); 562 int x_get_method(header_t *h); 574 lzo_bool lzo_enter(const header_t *h); 575 void lzo_leave(const header_t *h); 580 int lzo_get_method(header_t *h); 582 void lzo_init_compress_header(header_t *h); 593 lzo_bool lzo_threaded_enter(const header_t *h); 594 void lzo_threaded_leave(const header_t *h); [all …]
|
/dports/science/octopus/octopus-10.5/src/basic/ |
H A D | io_binary.c | 131 } header_t; typedef 188 header_t * hp; in io_write_header() 192 hp = (header_t *) malloc(sizeof(header_t)); in io_write_header() 214 moved = write(fd, hp, sizeof(header_t)); in io_write_header() 216 if(moved < sizeof(header_t)){ in io_write_header() 289 moved = read(fd, hp, sizeof(header_t)); in io_read_header() 290 if ( moved != sizeof(header_t) ) { in io_read_header() 307 header_t * hp; in read_binary() 316 hp = (header_t *) malloc(sizeof(header_t)); in read_binary() 479 header_t * hp; in get_info_binary() [all …]
|
/dports/games/sdl_scavenger/sdlscav-145/ |
H A D | mergelev.c | 33 } header_t; typedef 52 header_t *inHeader1=NULL; 53 header_t *inHeader2=NULL; 54 header_t *outHeader=NULL; 124 void prepHeader(header_t * inHeader, int32_t start, int32_t stop) in prepHeader() 156 void copyData(FILE * inFile,header_t * inHeader,int32_t start, int32_t stop) in copyData() 227 inHeader1 = (header_t *)calloc(MAXLEVELS,sizeof(header_t)); in main() 228 inHeader2 = (header_t *)calloc(MAXLEVELS,sizeof(header_t)); in main() 229 outHeader = (header_t *)calloc(MAXLEVELS,sizeof(header_t)); in main() 387 outOffset= 8 + (outLevels * sizeof(header_t)); //Compute initial output offset in main() [all …]
|
/dports/math/ideep/ideep-2.0.0-119-gb57539e/include/ideep/ |
H A D | allocators.hpp | 116 std::list<header_t *>& l = free_hashline_[i]; in ~mpool() 129 header_t *head = nullptr; in malloc() 130 std::list<header_t *> &list = free_hashline_[idx]; in malloc() 131 typename std::list<header_t *>::iterator it; in malloc() 155 header_t *head = static_cast<header_t *>(ptr); in malloc() 164 header_t *head = GET_PTR(header_t, ptr, -alignment_); in free() 181 } header_t; typedef in ideep::utils::scratch_allocator::mpool 188 std::list<header_t *> free_hashline_[MAX_ENTRY];
|
/dports/security/openct/openct-0.6.20/src/include/openct/ |
H A D | socket.h | 26 } header_t; typedef 47 int (*process)(struct ct_socket *, header_t *, 68 header_t *, ct_buf_t *); 71 header_t *, ct_buf_t *); 73 extern int ct_socket_send(ct_socket_t *, header_t *, 75 extern int ct_socket_recv(ct_socket_t *, header_t *,
|
/dports/games/qwdtools/mvdsv-0.34/tools/qwdtools/source/ |
H A D | marge.c | 31 header_t *p, *t; in IntegrateMsgs() 36 p = (header_t *)dest->data; in IntegrateMsgs() 109 void Mrg(header_t *a, header_t *b, header_t *d, qbool update) in Mrg() 184 qbool TypeCmp(header_t *a, header_t *b) in TypeCmp() 211 header_t *start, *end; 220 header_t *s, *h; in CpyPrev() 226 s = (header_t *)buf->data; in CpyPrev() 239 header_t *c, *t; in CheckMsg() 297 header_t *d, *t; in Marge() 337 d = (header_t *)tmp.data; in Marge() [all …]
|
/dports/games/mvdsv/mvdsv-0.34/tools/qwdtools/source/ |
H A D | marge.c | 31 header_t *p, *t; in IntegrateMsgs() 36 p = (header_t *)dest->data; in IntegrateMsgs() 109 void Mrg(header_t *a, header_t *b, header_t *d, qbool update) in Mrg() 184 qbool TypeCmp(header_t *a, header_t *b) in TypeCmp() 211 header_t *start, *end; 220 header_t *s, *h; in CpyPrev() 226 s = (header_t *)buf->data; in CpyPrev() 239 header_t *c, *t; in CheckMsg() 297 header_t *d, *t; in Marge() 337 d = (header_t *)tmp.data; in Marge() [all …]
|
/dports/audio/lsp-plugins-lv2/lsp-plugins-1.1.31/include/ui/tk/widgets/ |
H A D | LSPGrid.h | 48 typedef struct header_t struct 55 } header_t; argument 65 cstorage<header_t> vRows; 66 cstorage<header_t> vCols; 73 static void split_size(header_t *h, size_t items, size_t size); 74 …static void distribute_size(cstorage<header_t> &vh, size_t idx, size_t items, size_t rq_si… 75 …static size_t estimate_size(cstorage<header_t> &vh, size_t idx, size_t items, size_t *spacin… 76 static void assign_coords(header_t *h, size_t items, size_t start);
|
/dports/graphics/tgif/tgif-QPL-4.2.5/ |
H A D | wb_buff.c | 57 } header_t; typedef 64 header_t **table=NULL; 81 header_t *header; in buff_init() 97 if ((table = (header_t**)malloc(MAXTABLE*sizeof(header_t*))) == NULL) in buff_init() 118 table=(header_t**)realloc(table,MAXTABLE*sizeof(header_t*)); in buff_init() 127 header = (header_t *) malloc (sizeof(header_t)); in buff_init() 165 header_t *header; in buff_ins() 304 header_t *header; in buff_rem() 384 header_t *header; in buff_empty() 408 header_t *header; in buff_emptyn() [all …]
|
/dports/lang/mosml/mosml-ver-2.10.1/src/runtime/ |
H A D | intern.c | 20 header_t hd; in adjust_pointers() 61 header_t hd; in rev_pointers() 67 hd = (header_t) *p++; in rev_pointers() 97 header_t hd; in rev_pointers_32() 103 hd = (header_t) *p++; in rev_pointers_32() 129 header_t hd; in size_after_expansion() 159 header_t hd; in expand_block() 266 header_t hd; in rev_pointers_64() 302 header_t hd; in size_after_shrinkage() 341 header_t hd; in shrink_block() [all …]
|
/dports/multimedia/mkvtoolnix/mkvtoolnix-65.0.0/src/common/ |
H A D | dts.cpp | 112 header = header_t{}; in find_header_internal() 155 header_t &header, in find_header() 170 header_t header, new_header; in find_consecutive_headers() 221 header_t::print() in print() 390 header_t::get_codec_specialization() in get_codec_specialization() 995 header_t dtsheader; in detect() 1104 header_t header; in remove_dialog_normalization_gain() 1121 operator ==(const header_t &h1, in operator ==() 1122 const header_t &h2) { in operator ==() 1131 operator!=(header_t const &h1, in operator !=() [all …]
|
/dports/mail/cyrus-imapd32/cyrus-imapd-3.2.8/imap/ |
H A D | spool.c | 62 struct header_t { struct 66 struct header_t *next; argument 67 struct header_t *prev; argument 72 struct header_t *head; /* head of double-linked list of ordered headers */ 73 struct header_t *tail; /* tail of double-linked list of ordered headers */ 287 static struct header_t *__spool_cache_header(char *name, char *body, char *raw, in __spool_cache_header() 291 struct header_t *hdr = xzmalloc(sizeof(struct header_t)); in __spool_cache_header() 371 struct header_t *hdr = ptrarray_remove(contents, idx); in __spool_remove_header() 450 struct header_t *hdr = ptrarray_nth(contents, i); in spool_getheader() 468 struct header_t *hdr = ptrarray_nth(pa, idx); in __spool_free_hdrcache() [all …]
|
/dports/mail/cyrus-imapd34/cyrus-imapd-3.4.2/imap/ |
H A D | spool.c | 62 struct header_t { struct 66 struct header_t *next; argument 67 struct header_t *prev; argument 72 struct header_t *head; /* head of double-linked list of ordered headers */ 73 struct header_t *tail; /* tail of double-linked list of ordered headers */ 287 static struct header_t *__spool_cache_header(char *name, char *body, char *raw, in __spool_cache_header() 291 struct header_t *hdr = xzmalloc(sizeof(struct header_t)); in __spool_cache_header() 371 struct header_t *hdr = ptrarray_remove(contents, idx); in __spool_remove_header() 450 struct header_t *hdr = ptrarray_nth(contents, i); in spool_getheader() 468 struct header_t *hdr = ptrarray_nth(pa, idx); in __spool_free_hdrcache() [all …]
|
/dports/x11/polybar/polybar-3.5.7/lib/i3ipcpp/src/ |
H A D | ipc-util.cpp | 33 buf_t::buf_t(uint32_t payload_size) : size(sizeof(header_t) + payload_size) { in buf_t() 35 header = (header_t*)data; in buf_t() 36 payload = (char*)(data + sizeof(header_t)); in buf_t() 46 uint8_t* new_data = new uint8_t[sizeof(header_t) + header->size]; in realloc_payload_to_header() 47 memcpy(new_data, header, sizeof(header_t)); in realloc_payload_to_header() 50 header = (header_t*)data; in realloc_payload_to_header() 51 payload = (char*)(data + sizeof(header_t)); in realloc_payload_to_header() 120 const uint32_t header_size = sizeof(header_t); in i3_recv()
|