/dports/archivers/libarchive/libarchive-3.5.2/libarchive/ |
H A D | archive_write_set_format_mtree.c | 935 str = (mtree->indent || mtree->classic)? &mtree->ebuf : &mtree->buf; in write_mtree_entry() 1044 if (mtree->indent || mtree->classic) in write_mtree_entry() 1049 a, mtree->buf.s, mtree->buf.length); in write_mtree_entry() 1074 archive_strncat(&mtree->ebuf, "..\n\n", (mtree->dironly)?3:4); in write_dot_dot_entry() 1077 archive_strncat(&mtree->buf, "..\n\n", (mtree->dironly)?3:4); in write_dot_dot_entry() 1081 a, mtree->buf.s, mtree->buf.length); in write_dot_dot_entry() 1131 mtree->depth++; in write_mtree_entry_tree() 1258 free(mtree); in archive_write_mtree_free() 1386 if ((mtree = calloc(1, sizeof(*mtree))) == NULL) { in archive_write_set_format_mtree_default() 1394 memset(&(mtree->set), 0, sizeof(mtree->set)); in archive_write_set_format_mtree_default() [all …]
|
H A D | archive_read_support_format_mtree.c | 215 struct mtree *mtree; in archive_read_format_mtree_options() local 217 mtree = (struct mtree *)(a->format->data); in archive_read_format_mtree_options() 271 struct mtree *mtree; in archive_read_support_format_mtree() local 277 mtree = (struct mtree *)calloc(1, sizeof(*mtree)); in archive_read_support_format_mtree() 299 struct mtree *mtree; in cleanup() local 302 mtree = (struct mtree *)(a->format->data); in cleanup() 1057 mtree->this_entry = mtree->entries; in read_mtree() 1117 struct mtree *mtree; in read_header() local 1867 struct mtree *mtree; in read_data() local 1888 if ((int64_t)mtree->buffsize > mtree->cur_size - mtree->offset) in read_data() [all …]
|
/dports/graphics/aseprite/aseprite-1.2.9/third_party/libarchive/libarchive/ |
H A D | archive_write_set_format_mtree.c | 951 str = (mtree->indent || mtree->classic)? &mtree->ebuf : &mtree->buf; in write_mtree_entry() 1060 if (mtree->indent || mtree->classic) in write_mtree_entry() 1065 a, mtree->buf.s, mtree->buf.length); in write_mtree_entry() 1090 archive_strncat(&mtree->ebuf, "..\n\n", (mtree->dironly)?3:4); in write_dot_dot_entry() 1093 archive_strncat(&mtree->buf, "..\n\n", (mtree->dironly)?3:4); in write_dot_dot_entry() 1097 a, mtree->buf.s, mtree->buf.length); in write_dot_dot_entry() 1147 mtree->depth++; in write_mtree_entry_tree() 1274 free(mtree); in archive_write_mtree_free() 1402 if ((mtree = calloc(1, sizeof(*mtree))) == NULL) { in archive_write_set_format_mtree_default() 1410 memset(&(mtree->set), 0, sizeof(mtree->set)); in archive_write_set_format_mtree_default() [all …]
|
H A D | archive_read_support_format_mtree.c | 191 struct mtree *mtree; in archive_read_format_mtree_options() local 193 mtree = (struct mtree *)(a->format->data); in archive_read_format_mtree_options() 226 struct mtree *mtree; in archive_read_support_format_mtree() local 232 mtree = (struct mtree *)calloc(1, sizeof(*mtree)); in archive_read_support_format_mtree() 251 struct mtree *mtree; in cleanup() local 254 mtree = (struct mtree *)(a->format->data); in cleanup() 1009 mtree->this_entry = mtree->entries; in read_mtree() 1060 struct mtree *mtree; in read_header() local 1720 struct mtree *mtree; in read_data() local 1741 if ((int64_t)mtree->buffsize > mtree->cur_size - mtree->offset) in read_data() [all …]
|
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/storage/innobase/xtrabackup/src/libarchive/libarchive/ |
H A D | archive_write_set_format_mtree.c | 951 str = (mtree->indent || mtree->classic)? &mtree->ebuf : &mtree->buf; in write_mtree_entry() 1060 if (mtree->indent || mtree->classic) in write_mtree_entry() 1065 a, mtree->buf.s, mtree->buf.length); in write_mtree_entry() 1090 archive_strncat(&mtree->ebuf, "..\n\n", (mtree->dironly)?3:4); in write_dot_dot_entry() 1093 archive_strncat(&mtree->buf, "..\n\n", (mtree->dironly)?3:4); in write_dot_dot_entry() 1097 a, mtree->buf.s, mtree->buf.length); in write_dot_dot_entry() 1147 mtree->depth++; in write_mtree_entry_tree() 1274 free(mtree); in archive_write_mtree_free() 1402 if ((mtree = calloc(1, sizeof(*mtree))) == NULL) { in archive_write_set_format_mtree_default() 1410 memset(&(mtree->set), 0, sizeof(mtree->set)); in archive_write_set_format_mtree_default() [all …]
|
H A D | archive_read_support_format_mtree.c | 191 struct mtree *mtree; in archive_read_format_mtree_options() local 193 mtree = (struct mtree *)(a->format->data); in archive_read_format_mtree_options() 226 struct mtree *mtree; in archive_read_support_format_mtree() local 232 mtree = (struct mtree *)calloc(1, sizeof(*mtree)); in archive_read_support_format_mtree() 251 struct mtree *mtree; in cleanup() local 254 mtree = (struct mtree *)(a->format->data); in cleanup() 1001 mtree->this_entry = mtree->entries; in read_mtree() 1052 struct mtree *mtree; in read_header() local 1712 struct mtree *mtree; in read_data() local 1733 if ((int64_t)mtree->buffsize > mtree->cur_size - mtree->offset) in read_data() [all …]
|
/dports/devel/cmake-doc/cmake-3.22.1/Utilities/cmlibarchive/libarchive/ |
H A D | archive_write_set_format_mtree.c | 935 str = (mtree->indent || mtree->classic)? &mtree->ebuf : &mtree->buf; in write_mtree_entry() 1044 if (mtree->indent || mtree->classic) in write_mtree_entry() 1049 a, mtree->buf.s, mtree->buf.length); in write_mtree_entry() 1074 archive_strncat(&mtree->ebuf, "..\n\n", (mtree->dironly)?3:4); in write_dot_dot_entry() 1077 archive_strncat(&mtree->buf, "..\n\n", (mtree->dironly)?3:4); in write_dot_dot_entry() 1081 a, mtree->buf.s, mtree->buf.length); in write_dot_dot_entry() 1131 mtree->depth++; in write_mtree_entry_tree() 1258 free(mtree); in archive_write_mtree_free() 1386 if ((mtree = calloc(1, sizeof(*mtree))) == NULL) { in archive_write_set_format_mtree_default() 1394 memset(&(mtree->set), 0, sizeof(mtree->set)); in archive_write_set_format_mtree_default() [all …]
|
H A D | archive_read_support_format_mtree.c | 215 struct mtree *mtree; in archive_read_format_mtree_options() local 217 mtree = (struct mtree *)(a->format->data); in archive_read_format_mtree_options() 271 struct mtree *mtree; in archive_read_support_format_mtree() local 277 mtree = (struct mtree *)calloc(1, sizeof(*mtree)); in archive_read_support_format_mtree() 299 struct mtree *mtree; in cleanup() local 302 mtree = (struct mtree *)(a->format->data); in cleanup() 1057 mtree->this_entry = mtree->entries; in read_mtree() 1117 struct mtree *mtree; in read_header() local 1867 struct mtree *mtree; in read_data() local 1888 if ((int64_t)mtree->buffsize > mtree->cur_size - mtree->offset) in read_data() [all …]
|
/dports/devel/cmake-gui/cmake-3.22.1/Utilities/cmlibarchive/libarchive/ |
H A D | archive_write_set_format_mtree.c | 935 str = (mtree->indent || mtree->classic)? &mtree->ebuf : &mtree->buf; in write_mtree_entry() 1044 if (mtree->indent || mtree->classic) in write_mtree_entry() 1049 a, mtree->buf.s, mtree->buf.length); in write_mtree_entry() 1074 archive_strncat(&mtree->ebuf, "..\n\n", (mtree->dironly)?3:4); in write_dot_dot_entry() 1077 archive_strncat(&mtree->buf, "..\n\n", (mtree->dironly)?3:4); in write_dot_dot_entry() 1081 a, mtree->buf.s, mtree->buf.length); in write_dot_dot_entry() 1131 mtree->depth++; in write_mtree_entry_tree() 1258 free(mtree); in archive_write_mtree_free() 1386 if ((mtree = calloc(1, sizeof(*mtree))) == NULL) { in archive_write_set_format_mtree_default() 1394 memset(&(mtree->set), 0, sizeof(mtree->set)); in archive_write_set_format_mtree_default() [all …]
|
H A D | archive_read_support_format_mtree.c | 215 struct mtree *mtree; in archive_read_format_mtree_options() local 217 mtree = (struct mtree *)(a->format->data); in archive_read_format_mtree_options() 271 struct mtree *mtree; in archive_read_support_format_mtree() local 277 mtree = (struct mtree *)calloc(1, sizeof(*mtree)); in archive_read_support_format_mtree() 299 struct mtree *mtree; in cleanup() local 302 mtree = (struct mtree *)(a->format->data); in cleanup() 1057 mtree->this_entry = mtree->entries; in read_mtree() 1117 struct mtree *mtree; in read_header() local 1867 struct mtree *mtree; in read_data() local 1888 if ((int64_t)mtree->buffsize > mtree->cur_size - mtree->offset) in read_data() [all …]
|
/dports/devel/cmake/cmake-3.22.1/Utilities/cmlibarchive/libarchive/ |
H A D | archive_write_set_format_mtree.c | 935 str = (mtree->indent || mtree->classic)? &mtree->ebuf : &mtree->buf; in write_mtree_entry() 1044 if (mtree->indent || mtree->classic) in write_mtree_entry() 1049 a, mtree->buf.s, mtree->buf.length); in write_mtree_entry() 1074 archive_strncat(&mtree->ebuf, "..\n\n", (mtree->dironly)?3:4); in write_dot_dot_entry() 1077 archive_strncat(&mtree->buf, "..\n\n", (mtree->dironly)?3:4); in write_dot_dot_entry() 1081 a, mtree->buf.s, mtree->buf.length); in write_dot_dot_entry() 1131 mtree->depth++; in write_mtree_entry_tree() 1258 free(mtree); in archive_write_mtree_free() 1386 if ((mtree = calloc(1, sizeof(*mtree))) == NULL) { in archive_write_set_format_mtree_default() 1394 memset(&(mtree->set), 0, sizeof(mtree->set)); in archive_write_set_format_mtree_default() [all …]
|
H A D | archive_read_support_format_mtree.c | 215 struct mtree *mtree; in archive_read_format_mtree_options() local 217 mtree = (struct mtree *)(a->format->data); in archive_read_format_mtree_options() 271 struct mtree *mtree; in archive_read_support_format_mtree() local 277 mtree = (struct mtree *)calloc(1, sizeof(*mtree)); in archive_read_support_format_mtree() 299 struct mtree *mtree; in cleanup() local 302 mtree = (struct mtree *)(a->format->data); in cleanup() 1057 mtree->this_entry = mtree->entries; in read_mtree() 1117 struct mtree *mtree; in read_header() local 1867 struct mtree *mtree; in read_data() local 1888 if ((int64_t)mtree->buffsize > mtree->cur_size - mtree->offset) in read_data() [all …]
|
/dports/sysutils/tarsnap/tarsnap-autoconf-1.0.39/libarchive/ |
H A D | archive_read_support_format_mtree.c | 139 struct mtree *mtree; in archive_read_support_format_mtree() local 142 mtree = (struct mtree *)malloc(sizeof(*mtree)); in archive_read_support_format_mtree() 148 memset(mtree, 0, sizeof(*mtree)); in archive_read_support_format_mtree() 162 struct mtree *mtree; in cleanup() local 165 mtree = (struct mtree *)(a->format->data); in cleanup() 405 mtree->this_entry = mtree->entries; in read_mtree() 456 struct mtree *mtree; in read_header() local 977 struct mtree *mtree; in read_data() local 988 mtree->buff = malloc(mtree->buffsize); in read_data() 998 if ((off_t)mtree->buffsize > mtree->cur_size - mtree->offset) in read_data() [all …]
|
/dports/japanese/cmigemo/cmigemo-6a1c438/src/ |
H A D | mnode.c | 95 if (mtree && mtree->used > 0) in mnode_print() 102 if (mtree) in mnode_close() 109 while (mtree) in mnode_close() 112 free(mtree); in mnode_close() 113 mtree = next; in mnode_close() 129 root = mtree->used > 0 ? &mtree->nodes[0] : NULL; in search_or_new_mnode() 289 return mtree; in mnode_load() 295 mtree_p mtree; in mnode_open() local 297 mtree = (mtree_p)calloc(1, sizeof(*mtree)); in mnode_open() 298 mtree->active = mtree; in mnode_open() [all …]
|
H A D | migemo.c | 42 mtree_p mtree; member 71 mtree = mnode_load(mtree, fp); in load_mtree_dictionary() 73 return mtree; in load_mtree_dictionary() 144 mtree_p mtree; in migemo_load() local 148 obj->mtree = mtree; in migemo_load() 215 obj->mtree = mnode_open(NULL); in migemo_open() 241 mtree_p mtree; in migemo_open() local 251 if (mtree) in migemo_open() 253 obj->mtree = mtree; in migemo_open() 283 if (obj->mtree) in migemo_close() [all …]
|
/dports/japanese/cmigemo-dict/cmigemo-6a1c438/src/ |
H A D | mnode.c | 95 if (mtree && mtree->used > 0) in mnode_print() 102 if (mtree) in mnode_close() 109 while (mtree) in mnode_close() 112 free(mtree); in mnode_close() 113 mtree = next; in mnode_close() 129 root = mtree->used > 0 ? &mtree->nodes[0] : NULL; in search_or_new_mnode() 289 return mtree; in mnode_load() 295 mtree_p mtree; in mnode_open() local 297 mtree = (mtree_p)calloc(1, sizeof(*mtree)); in mnode_open() 298 mtree->active = mtree; in mnode_open() [all …]
|
H A D | migemo.c | 42 mtree_p mtree; member 71 mtree = mnode_load(mtree, fp); in load_mtree_dictionary() 73 return mtree; in load_mtree_dictionary() 144 mtree_p mtree; in migemo_load() local 148 obj->mtree = mtree; in migemo_load() 215 obj->mtree = mnode_open(NULL); in migemo_open() 241 mtree_p mtree; in migemo_open() local 251 if (mtree) in migemo_open() 253 obj->mtree = mtree; in migemo_open() 283 if (obj->mtree) in migemo_close() [all …]
|
/dports/textproc/modlogan/modlogan-0.8.13/src/output/template/ |
H A D | mtree.h | 6 typedef struct mtree{ 7 struct mtree *parent; 8 struct mtree **childs; in mtree_init() 12 } mtree; 14 mtree * mtree_init(); 15 int mtree_add_child(mtree *t, mtree *child) ; 16 mtree * mtree_search(mtree *t, const char *name); 17 void mtree_free(mtree *t); 18 int mtree_is_empty(const mtree *t); 19 int mtree_print(const mtree *t); [all …]
|
H A D | mtree.c | 8 mtree * mtree_init() { 9 mtree *t = malloc(sizeof(mtree)); 20 int mtree_is_empty(const mtree *t) { 24 int mtree_add_child(mtree *t, mtree *child) { 26 malloc(sizeof(mtree *) * (t->num_childs + 1)) : 35 mtree * mtree_search(mtree *t, const char *name) { 47 mtree * ret; 55 void mtree_free(mtree *t) { 69 int mtree_pretty_print(const mtree *t, int level) { 88 int mtree_print(const mtree *t) { [all …]
|
/dports/net/kamailio/kamailio-5.4.5/src/modules/mtree/ |
H A D | README | 1 mtree Module 194 3.3. mtree (string) 226 modparam("mtree", "mtree", "name=mytree1;dbtable=routes1;type=0") 228 modparam("mtree", "mtree", 368 5.1. mtree.list 371 5.4. mtree.match 373 5.1. mtree.list 384 kamcmd mtree.list 396 5.3. mtree.reload 404 5.4. mtree.match [all …]
|
/dports/irc/ircd-hybrid/ircd-hybrid-8.2.39/src/ |
H A D | parse.c | 544 struct MessageTree *mtree = &msg_tree; in msg_tree_parse() local 548 while (IsAlpha(*cmd) && (mtree = mtree->pointers[*cmd & (MAXPTRLEN - 1)])) in msg_tree_parse() 550 return mtree->msg; in msg_tree_parse() 603 if (mtree->msg) in recurse_report_messages() 605 mtree->msg->cmd, in recurse_report_messages() 606 mtree->msg->count, in recurse_report_messages() 607 mtree->msg->bytes, in recurse_report_messages() 608 mtree->msg->rcount, in recurse_report_messages() 609 mtree->msg->ecount); in recurse_report_messages() 612 if (mtree->pointers[i]) in recurse_report_messages() [all …]
|
/dports/net/wireshark-lite/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-bittorrent.c | 324 proto_tree *mtree; in dissect_bittorrent_message() local 390 mtree = proto_item_add_subtree(ti, ett_bittorrent_msg); in dissect_bittorrent_message() 412 proto_tree_add_item(mtree, hf_bittorrent_msg_type, tvb, offset, 1, ENC_BIG_ENDIAN); in dissect_bittorrent_message() 446 proto_tree_add_item(mtree, hf_bittorrent_port, tvb, offset, 2, ENC_BIG_ENDIAN); in dissect_bittorrent_message() 451 proto_tree_add_item(mtree, hf_bittorrent_extended, tvb, offset, length, ENC_NA); in dissect_bittorrent_message() 474 proto_tree_add_uint(mtree, hf_bittorrent_piece_index, tvb, offset, 4, piece_index); in dissect_bittorrent_message() 478 proto_tree_add_uint(mtree, hf_bittorrent_piece_begin, tvb, offset, 4, piece_begin); in dissect_bittorrent_message() 481 proto_tree_add_item(mtree, hf_bittorrent_piece_data, tvb, offset, length, ENC_NA); in dissect_bittorrent_message() 490 call_dissector(bencode_handle, subtvb, pinfo, mtree); in dissect_bittorrent_message() 495 proto_tree_add_item(mtree, hf_azureus_jpc_addrlen, tvb, offset, 4, ENC_BIG_ENDIAN); in dissect_bittorrent_message() [all …]
|
/dports/net/wireshark/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-bittorrent.c | 324 proto_tree *mtree; 390 mtree = proto_item_add_subtree(ti, ett_bittorrent_msg); 412 proto_tree_add_item(mtree, hf_bittorrent_msg_type, tvb, offset, 1, ENC_BIG_ENDIAN); 446 proto_tree_add_item(mtree, hf_bittorrent_port, tvb, offset, 2, ENC_BIG_ENDIAN); 451 proto_tree_add_item(mtree, hf_bittorrent_extended, tvb, offset, length, ENC_NA); 474 proto_tree_add_uint(mtree, hf_bittorrent_piece_index, tvb, offset, 4, piece_index); 478 proto_tree_add_uint(mtree, hf_bittorrent_piece_begin, tvb, offset, 4, piece_begin); 481 proto_tree_add_item(mtree, hf_bittorrent_piece_data, tvb, offset, length, ENC_NA); 490 call_dissector(bencode_handle, subtvb, pinfo, mtree); 495 proto_tree_add_item(mtree, hf_azureus_jpc_addrlen, tvb, offset, 4, ENC_BIG_ENDIAN); [all …]
|
/dports/net/tshark-lite/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-bittorrent.c | 324 proto_tree *mtree; in dissect_bittorrent_message() local 390 mtree = proto_item_add_subtree(ti, ett_bittorrent_msg); in dissect_bittorrent_message() 412 proto_tree_add_item(mtree, hf_bittorrent_msg_type, tvb, offset, 1, ENC_BIG_ENDIAN); in dissect_bittorrent_message() 446 proto_tree_add_item(mtree, hf_bittorrent_port, tvb, offset, 2, ENC_BIG_ENDIAN); in dissect_bittorrent_message() 451 proto_tree_add_item(mtree, hf_bittorrent_extended, tvb, offset, length, ENC_NA); in dissect_bittorrent_message() 474 proto_tree_add_uint(mtree, hf_bittorrent_piece_index, tvb, offset, 4, piece_index); in dissect_bittorrent_message() 478 proto_tree_add_uint(mtree, hf_bittorrent_piece_begin, tvb, offset, 4, piece_begin); in dissect_bittorrent_message() 481 proto_tree_add_item(mtree, hf_bittorrent_piece_data, tvb, offset, length, ENC_NA); in dissect_bittorrent_message() 490 call_dissector(bencode_handle, subtvb, pinfo, mtree); in dissect_bittorrent_message() 495 proto_tree_add_item(mtree, hf_azureus_jpc_addrlen, tvb, offset, 4, ENC_BIG_ENDIAN); in dissect_bittorrent_message() [all …]
|
/dports/net/tshark/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-bittorrent.c | 324 proto_tree *mtree; in dissect_bittorrent_message() local 390 mtree = proto_item_add_subtree(ti, ett_bittorrent_msg); in dissect_bittorrent_message() 412 proto_tree_add_item(mtree, hf_bittorrent_msg_type, tvb, offset, 1, ENC_BIG_ENDIAN); in dissect_bittorrent_message() 446 proto_tree_add_item(mtree, hf_bittorrent_port, tvb, offset, 2, ENC_BIG_ENDIAN); in dissect_bittorrent_message() 451 proto_tree_add_item(mtree, hf_bittorrent_extended, tvb, offset, length, ENC_NA); in dissect_bittorrent_message() 474 proto_tree_add_uint(mtree, hf_bittorrent_piece_index, tvb, offset, 4, piece_index); in dissect_bittorrent_message() 478 proto_tree_add_uint(mtree, hf_bittorrent_piece_begin, tvb, offset, 4, piece_begin); in dissect_bittorrent_message() 481 proto_tree_add_item(mtree, hf_bittorrent_piece_data, tvb, offset, length, ENC_NA); in dissect_bittorrent_message() 490 call_dissector(bencode_handle, subtvb, pinfo, mtree); in dissect_bittorrent_message() 495 proto_tree_add_item(mtree, hf_azureus_jpc_addrlen, tvb, offset, 4, ENC_BIG_ENDIAN); in dissect_bittorrent_message() [all …]
|