Home
last modified time | relevance | path

Searched refs:mb_alloc (Results 1 – 25 of 51) sorted by path

123

/dports/archivers/lzo2/lzo-2.10/lzotest/
H A Dlzotest.c369 static void mb_alloc(mblock_t *mb, lzo_uint len) in mb_alloc() function
415 mb_alloc(&dict, l); in dict_alloc()
811 mb_alloc(mb, l); in load_file()
1041 mb_alloc(&block_c, block_c.len); in process_file()
1042 mb_alloc(&block_d, block_d.len); in process_file()
1979 mb_alloc(&block_w, block_w.len); in main()
/dports/archivers/lzop/lzop-1.04/src/
H A Dconf.h633 lzo_bool mb_alloc(mblock_p m, lzo_uint32 size, lzo_uint32 align);
H A Dmblock.c45 lzo_bool mb_alloc(mblock_p m, lzo_uint32 size, lzo_uint32 align) in mb_alloc() function
H A Dp_lzo.c181 r &= mb_alloc(&blocks[0], s1, ALIGN_SIZE); in alloc_mem()
182 r &= mb_alloc(&blocks[1], s2, ALIGN_SIZE); in alloc_mem()
183 r &= mb_alloc(&wrkmem, w, ALIGN_SIZE); in alloc_mem()
/dports/games/ldmud/ldmud-3.3.720/src/
H A Dfiles.c1124 str = mb_alloc(mbFile, (size_t)len); in v_read_bytes()
1250 str = mb_alloc(mbFile, (size_t)size + 1); /* allow a leading ' ' */ in v_read_file()
H A Dmempools.c143 mb_alloc (membuffer_e buf, size_t size) in mb_alloc() function
H A Dmempools.h43 extern void * mb_alloc(membuffer_e buf, size_t size);
H A Dobject.c8732 buff = (nesting > 1) ? xalloc(len+1) : mb_alloc(mbFile, len+1); in f_restore_object()
8809 : mb_alloc(mbFile, (size_t)(st.st_size+1)); in f_restore_object()
H A Dswap.c1710 start = mb_alloc(mbSwap, VARBLOCK_STARTSIZE + sizeof(varblock_t)); in swap_variables()
2242 block = (unsigned char *) mb_alloc(mbSwap, size); in load_ob_from_swap()
/dports/multimedia/opentoonz/opentoonz-1.5.0/thirdparty/lzo/2.03/lzotest/
H A Dlzotest.c384 static void mb_alloc(mblock_t *mb, lzo_uint len) in mb_alloc() function
430 mb_alloc(&dict, l); in dict_alloc()
817 mb_alloc(mb, l); in load_file()
1047 mb_alloc(&block1, block1.len); in process_file()
1048 mb_alloc(&block2, block2.len); in process_file()
1996 mb_alloc(&wrkmem, wrkmem.len); in main()
/dports/net/bird/bird-1.6.8/
H A DChangeLog19276 Converted some mb_alloc/bzero pairs to mb_allocz.
19295 Also introduced mb_allocz() for cleared mb_alloc().
/dports/net/bird/bird-1.6.8/lib/
H A Dbuffer.h24 (v).data = mb_alloc(pool, BUFFER_SIZE(v)); \
H A Dresource.c338 mb_alloc(pool *p, unsigned size) in mb_alloc() function
364 void *x = mb_alloc(p, size); in mb_allocz()
H A Dresource.h53 void *mb_alloc(pool *, unsigned size);
/dports/net/bird/bird-1.6.8/nest/
H A Dcli.c84 o = mb_alloc(c->pool, sizeof(struct cli_out) + CLI_TX_BUF_SIZE); in cli_alloc_out()
310 cli *c = mb_alloc(p, sizeof(cli)); in cli_new()
320 c->rx_buf = mb_alloc(c->pool, CLI_RX_BUF_SIZE); in cli_new()
347 c->ring_buf = mb_alloc(c->pool, size); in cli_set_log_echo()
H A Diface.c326 i = mb_alloc(if_pool, sizeof(struct iface)); in if_update()
560 b = mb_alloc(if_pool, sizeof(struct ifa)); in ifa_update()
H A Dproto.c1136 p->message = mb_alloc(proto_pool, len + 1); in proto_set_message()
H A Drt-attr.c711 n = mb_alloc(rta_pool, len); in ea_list_copy()
720 struct adata *d = mb_alloc(rta_pool, size); in ea_list_copy()
H A Drt-fib.c84 f->hash_table = mb_alloc(f->fib_pool, f->hash_size * sizeof(struct fib_node *)); in fib_ht_alloc()
H A Drt-table.c2029 rtable *t = mb_alloc(rt_table_pool, sizeof(struct rtable)); in rt_commit()
2073 fit = p->feed_iterator = mb_alloc(p->pool, sizeof(struct fib_iterator)); in rt_feed_baby()
/dports/net/bird/bird-1.6.8/proto/bgp/
H A Dattrs.c763 b = mb_alloc(p->p.pool, size); in bgp_new_bucket()
999 buck = p->withdraw_bucket = mb_alloc(P->pool, sizeof(struct bgp_bucket)); in bgp_rt_notify()
H A Dbgp.c1323 data = mb_alloc(p->p.pool, msg_len + 1); in bgp_shutdown()
/dports/net/bird/bird-1.6.8/proto/mrt/
H A Dmrt.c76 b->start = mb_alloc(pool, n); in mrt_buffer_init()
/dports/net/bird/bird-1.6.8/proto/ospf/
H A Diface.c517 struct nbma_node *n = mb_alloc(ifa->pool, sizeof(struct nbma_node)); in add_nbma_node()
H A Dlsack.c61 struct lsa_node *no = mb_alloc(n->pool, sizeof(struct lsa_node)); in ospf_enqueue_lsack()

123