/dragonfly/sys/net/pf/ |
H A D | pf_ruleset.c | 226 anchor = (struct pf_anchor *)rs_malloc(sizeof(*anchor)); in pf_find_or_create_ruleset() 231 memset(anchor, 0, sizeof(*anchor)); in pf_find_or_create_ruleset() 233 strlcpy(anchor->name, q, sizeof(anchor->name)); in pf_find_or_create_ruleset() 237 strlcat(anchor->path, "/", sizeof(anchor->path)); in pf_find_or_create_ruleset() 239 strlcat(anchor->path, anchor->name, sizeof(anchor->path)); in pf_find_or_create_ruleset() 244 anchor->path, anchor->name, dup->path, dup->name); in pf_find_or_create_ruleset() 255 "'%s' '%s'\n", anchor->path, anchor->name, in pf_find_or_create_ruleset() 258 anchor); in pf_find_or_create_ruleset() 265 anchor->ruleset.anchor = anchor; in pf_find_or_create_ruleset() 323 if (s->anchor == NULL || !s->anchor->path[0]) in pf_anchor_setup() [all …]
|
H A D | pf_ioctl.c | 772 rs = pf_find_ruleset(anchor); in pf_rollback_rules() 1144 pr->anchor[sizeof(pr->anchor) - 1] = 0; in pfioctl() 1171 rule->anchor = NULL; in pfioctl() 1287 pr->anchor[sizeof(pr->anchor) - 1] = 0; in pfioctl() 1314 pr->anchor[sizeof(pr->anchor) - 1] = 0; in pfioctl() 1504 !newrule->anchor)) && in pfioctl() 2339 struct pf_anchor *anchor; in pfioctl() local 2363 struct pf_anchor *anchor; in pfioctl() local 2628 if (ioe->anchor[0]) { in pfioctl() 2695 if (ioe->anchor[0]) { in pfioctl() [all …]
|
H A D | if_pflog.c | 262 if (ruleset != NULL && ruleset->anchor != NULL) in pflog_packet() 263 strlcpy(hdr.ruleset, ruleset->anchor->name, in pflog_packet()
|
/dragonfly/sys/vfs/hammer2/ |
H A D | hammer2_lz4_encoder.h | 98 BYTE* anchor = ip; in LZ4_compress_heap_limitedOutput() local 178 anchor = ip; in LZ4_compress_heap_limitedOutput() 226 anchor = ip; in LZ4_compress_heap_limitedOutput() 243 anchor = ip++; in LZ4_compress_heap_limitedOutput() 263 memcpy(op, anchor, iend - anchor); in LZ4_compress_heap_limitedOutput() 264 op += iend-anchor; in LZ4_compress_heap_limitedOutput() 283 BYTE* anchor = ip; in LZ4_compress64k_heap_limitedOutput() local 363 anchor = ip; in LZ4_compress64k_heap_limitedOutput() 411 anchor = ip; in LZ4_compress64k_heap_limitedOutput() 428 anchor = ip++; in LZ4_compress64k_heap_limitedOutput() [all …]
|
/dragonfly/usr.sbin/makefs/hammer2/ |
H A D | hammer2_lz4_encoder.h | 98 BYTE* anchor = ip; in LZ4_compress_heap_limitedOutput() local 178 anchor = ip; in LZ4_compress_heap_limitedOutput() 226 anchor = ip; in LZ4_compress_heap_limitedOutput() 243 anchor = ip++; in LZ4_compress_heap_limitedOutput() 263 memcpy(op, anchor, iend - anchor); in LZ4_compress_heap_limitedOutput() 264 op += iend-anchor; in LZ4_compress_heap_limitedOutput() 283 BYTE* anchor = ip; in LZ4_compress64k_heap_limitedOutput() local 363 anchor = ip; in LZ4_compress64k_heap_limitedOutput() 411 anchor = ip; in LZ4_compress64k_heap_limitedOutput() 428 anchor = ip++; in LZ4_compress64k_heap_limitedOutput() [all …]
|
/dragonfly/sbin/hammer2/lz4/ |
H A D | hammer2_lz4_encoder.h | 98 BYTE* anchor = ip; in LZ4_compress_heap_limitedOutput() local 178 anchor = ip; in LZ4_compress_heap_limitedOutput() 226 anchor = ip; in LZ4_compress_heap_limitedOutput() 243 anchor = ip++; in LZ4_compress_heap_limitedOutput() 263 memcpy(op, anchor, iend - anchor); in LZ4_compress_heap_limitedOutput() 264 op += iend-anchor; in LZ4_compress_heap_limitedOutput() 283 BYTE* anchor = ip; in LZ4_compress64k_heap_limitedOutput() local 363 anchor = ip; in LZ4_compress64k_heap_limitedOutput() 411 anchor = ip; in LZ4_compress64k_heap_limitedOutput() 428 anchor = ip++; in LZ4_compress64k_heap_limitedOutput() [all …]
|
/dragonfly/contrib/less/ |
H A D | linenum.c | 96 anchor.next = anchor.prev = &anchor; in clr_linenum() 97 anchor.gap = 0; in clr_linenum() 98 anchor.pos = (POSITION)0; in clr_linenum() 99 anchor.line = 1; in clr_linenum() 113 if (p == &anchor || p->next == &anchor) in calcgap() 135 for (p = anchor.next; p != &anchor && p->pos < pos; p = p->next) in add_lnum() 190 mingap = anchor.next->gap; in add_lnum() 191 for (p = anchor.next; p->next != &anchor; p = p->next) in add_lnum() 285 for (p = anchor.next; p != &anchor && p->pos < pos; p = p->next) in find_linenum() 306 if (p == &anchor || pos - p->prev->pos < p->pos - pos) in find_linenum() [all …]
|
H A D | ifile.c | 50 static struct ifile anchor = { &anchor, &anchor, NULL, NULL, NULL, 0, 0, '\0', variable 56 for (; p != &anchor; p = p->h_next) in incr_index() 69 prev = &anchor; in link_ifile() 156 p = (h == NULL_IFILE) ? &anchor : int_ifile(h); in next_ifile() 157 if (p->h_next == &anchor) in next_ifile() 169 p = (h == NULL_IFILE) ? &anchor : int_ifile(h); in prev_ifile() 170 if (p->h_prev == &anchor) in prev_ifile() 205 for (p = anchor.h_next; p != &anchor; p = p->h_next) in find_ifile() 222 if (p == &anchor) in find_ifile() 350 for (p = anchor.h_next; p != &anchor; p = p->h_next)
|
H A D | search.c | 375 anchor->root = NULL; in clr_hlist() 443 n = anchor->root; in hlist_find() 617 if (anchor->current) in hlist_getstorage() 619 if (anchor->current->used < anchor->current->capacity) in hlist_getstorage() 629 if (anchor->current) in hlist_getstorage() 632 anchor->first = s; in hlist_getstorage() 633 anchor->current = s; in hlist_getstorage() 664 anchor->root = nr; in hlist_rotate_left() 692 anchor->root = nl; in hlist_rotate_right() 715 p = anchor->root; in add_hilite() [all …]
|
H A D | output.c | 99 char *anchor, *p, *p_next; in win_flush() local 129 for (anchor = p_next = obuf; in win_flush() 135 if (p > anchor) in win_flush() 142 WIN32textout(anchor, p-anchor); in win_flush() 143 anchor = p; in win_flush() 154 anchor = p_next = p; in win_flush() 182 int slop = (int) (q - anchor); in win_flush() 184 strcpy(obuf, anchor); in win_flush() 335 p_next = anchor = p + 1; in win_flush() 341 WIN32textout(anchor, ob - anchor); in win_flush()
|
/dragonfly/contrib/diffutils/lib/ |
H A D | fd-hook.c | 31 static struct fd_hook anchor = { &anchor, &anchor, NULL, NULL }; variable 37 if (remaining_list == &anchor) in execute_close_hooks() 48 return execute_close_hooks (anchor.private_next, primary, fd); in execute_all_close_hooks() 55 if (remaining_list == &anchor) in execute_ioctl_hooks() 67 return execute_ioctl_hooks (anchor.private_next, primary, fd, request, arg); in execute_all_ioctl_hooks() 81 link->private_next = anchor.private_next; in register_fd_hook() 82 link->private_prev = &anchor; in register_fd_hook() 85 anchor.private_next->private_prev = link; in register_fd_hook() 86 anchor.private_next = link; in register_fd_hook()
|
/dragonfly/contrib/grep/lib/ |
H A D | fd-hook.c | 31 static struct fd_hook anchor = { &anchor, &anchor, NULL, NULL }; variable 37 if (remaining_list == &anchor) in execute_close_hooks() 48 return execute_close_hooks (anchor.private_next, primary, fd); in execute_all_close_hooks() 55 if (remaining_list == &anchor) in execute_ioctl_hooks() 67 return execute_ioctl_hooks (anchor.private_next, primary, fd, request, arg); in execute_all_ioctl_hooks() 81 link->private_next = anchor.private_next; in register_fd_hook() 82 link->private_prev = &anchor; in register_fd_hook() 85 anchor.private_next->private_prev = link; in register_fd_hook() 86 anchor.private_next = link; in register_fd_hook()
|
/dragonfly/contrib/zstd/lib/compress/ |
H A D | zstd_fast.c | 62 const BYTE* anchor = istart; in ZSTD_compressBlock_fast_generic() local 152 ZSTD_storeSeq(seqStore, (size_t)(ip0-anchor), anchor, iend, offcode, mLength-MINMATCH); in ZSTD_compressBlock_fast_generic() 155 anchor = ip0; in ZSTD_compressBlock_fast_generic() 171 anchor = ip0; in ZSTD_compressBlock_fast_generic() 219 const BYTE* anchor = istart; in ZSTD_compressBlock_fast_dictMatchState_generic() local 275 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, 0, mLength-MINMATCH); in ZSTD_compressBlock_fast_dictMatchState_generic() 315 anchor = ip; in ZSTD_compressBlock_fast_dictMatchState_generic() 338 anchor = ip; in ZSTD_compressBlock_fast_dictMatchState_generic() 426 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, 0, rLength-MINMATCH); in ZSTD_compressBlock_fast_extDict_generic() 428 anchor = ip; in ZSTD_compressBlock_fast_extDict_generic() [all …]
|
H A D | zstd_double_fast.c | 64 const BYTE* anchor = istart; in ZSTD_compressBlock_doubleFast_generic() local 151 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, 0, mLength-MINMATCH); in ZSTD_compressBlock_doubleFast_generic() 160 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, 0, mLength-MINMATCH); in ZSTD_compressBlock_doubleFast_generic() 258 anchor = ip; in ZSTD_compressBlock_doubleFast_generic() 305 anchor = ip; in ZSTD_compressBlock_doubleFast_generic() 315 return (size_t)(iend - anchor); in ZSTD_compressBlock_doubleFast_generic() 371 const BYTE* anchor = istart; in ZSTD_compressBlock_doubleFast_extDict_generic() local 417 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, 0, mLength-MINMATCH); in ZSTD_compressBlock_doubleFast_extDict_generic() 462 anchor = ip; in ZSTD_compressBlock_doubleFast_extDict_generic() 489 anchor = ip; in ZSTD_compressBlock_doubleFast_extDict_generic() [all …]
|
H A D | zstd_lazy.c | 864 const BYTE* anchor = istart; in ZSTD_compressBlock_lazy_generic() local 1075 { size_t const litLength = start - anchor; in ZSTD_compressBlock_lazy_generic() 1077 anchor = ip = start + matchLength; in ZSTD_compressBlock_lazy_generic() 1095 anchor = ip; in ZSTD_compressBlock_lazy_generic() 1110 anchor = ip; in ZSTD_compressBlock_lazy_generic() 1119 return (size_t)(iend - anchor); in ZSTD_compressBlock_lazy_generic() 1211 const BYTE* anchor = istart; in ZSTD_compressBlock_lazy_extDict_generic() local 1348 { size_t const litLength = start - anchor; in ZSTD_compressBlock_lazy_extDict_generic() 1350 anchor = ip = start + matchLength; in ZSTD_compressBlock_lazy_extDict_generic() 1368 anchor = ip; in ZSTD_compressBlock_lazy_extDict_generic() [all …]
|
H A D | zstd_ldm.c | 261 static void ZSTD_ldm_limitTableUpdate(ZSTD_matchState_t* ms, const BYTE* anchor) in ZSTD_ldm_limitTableUpdate() argument 263 U32 const curr = (U32)(anchor - ms->window.base); in ZSTD_ldm_limitTableUpdate() 295 BYTE const* anchor = istart; in ZSTD_ldm_generateSequences_internal() local 353 ZSTD_ldm_countBackwardsMatch_2segments(ip, anchor, in ZSTD_ldm_generateSequences_internal() 365 ZSTD_ldm_countBackwardsMatch(ip, anchor, pMatch, in ZSTD_ldm_generateSequences_internal() 405 seq->litLength = (U32)(ip - anchor); in ZSTD_ldm_generateSequences_internal() 427 anchor = ip; in ZSTD_ldm_generateSequences_internal() 429 return iend - anchor; in ZSTD_ldm_generateSequences_internal()
|
H A D | zstd_opt.c | 940 const BYTE* anchor = istart; in ZSTD_compressBlock_opt_generic() local 972 { U32 const litlen = (U32)(ip - anchor); in ZSTD_compressBlock_opt_generic() 1191 anchor - istart, (unsigned)llen, (unsigned)mlen); in ZSTD_compressBlock_opt_generic() 1195 … ip = anchor + llen; /* last "sequence" is a bunch of literals => don't progress anchor */ in ZSTD_compressBlock_opt_generic() 1199 assert(anchor + llen <= iend); in ZSTD_compressBlock_opt_generic() 1200 ZSTD_updateStats(optStatePtr, llen, anchor, offCode, mlen); in ZSTD_compressBlock_opt_generic() 1201 ZSTD_storeSeq(seqStore, llen, anchor, iend, offCode, mlen-MINMATCH); in ZSTD_compressBlock_opt_generic() 1202 anchor += advance; in ZSTD_compressBlock_opt_generic() 1203 ip = anchor; in ZSTD_compressBlock_opt_generic() 1210 return (size_t)(iend - anchor); in ZSTD_compressBlock_opt_generic()
|
/dragonfly/usr.sbin/pfctl/ |
H A D | pfctl.c | 712 memcpy(pp.anchor, anchorname, sizeof(pp.anchor)); in pfctl_get_pool() 825 memcpy(pr.anchor, path, sizeof(pr.anchor)); in pfctl_show_rules() 963 memcpy(pr.anchor, anchorname, sizeof(pr.anchor)); in pfctl_show_nat() 1193 r->anchor->ruleset.anchor = r->anchor; in pfctl_add_rule() 1256 pf->anchor = rs->anchor; in pfctl_load_ruleset() 1320 if (strlcpy(pr.anchor, path, sizeof(pr.anchor)) >= sizeof(pr.anchor)) in pfctl_load_rule() 1351 print_rule(r, r->anchor ? r->anchor->name : "", in pfctl_load_rule() 1424 if ((pf.anchor = calloc(1, sizeof(*pf.anchor))) == NULL) in pfctl_rules() 1428 rs->anchor = pf.anchor; in pfctl_rules() 1430 sizeof(pf.anchor->path)) >= sizeof(pf.anchor->path)) in pfctl_rules() [all …]
|
H A D | pfctl_table.c | 105 pfctl_clear_tables(const char *anchor, int opts) in pfctl_clear_tables() argument 107 return pfctl_table(0, NULL, NULL, "-F", NULL, anchor, opts); in pfctl_clear_tables() 111 pfctl_show_tables(const char *anchor, int opts) in pfctl_show_tables() argument 113 return pfctl_table(0, NULL, NULL, "-s", NULL, anchor, opts); in pfctl_show_tables() 118 const char *command, char *file, const char *anchor, int opts) in pfctl_command_tables() argument 122 return pfctl_table(argc, argv, tname, command, file, anchor, opts); in pfctl_command_tables() 127 char *file, const char *anchor, int opts) in pfctl_table() argument 151 if (strlcpy(table.pfrt_anchor, anchor, in pfctl_table() 498 pfctl_define_table(char *name, int flags, int addrs, const char *anchor, in pfctl_define_table() argument 505 sizeof(tbl.pfrt_name) || strlcpy(tbl.pfrt_anchor, anchor, in pfctl_define_table()
|
H A D | pfctl_parser.c | 1706 pfctl_add_trans(struct pfr_buffer *buf, int rs_num, const char *anchor) in pfctl_add_trans() argument 1712 if (strlcpy(trans.anchor, anchor, in pfctl_add_trans() 1713 sizeof(trans.anchor)) >= sizeof(trans.anchor)) in pfctl_add_trans() 1720 pfctl_get_ticket(struct pfr_buffer *buf, int rs_num, const char *anchor) in pfctl_get_ticket() argument 1725 if (rs_num == p->rs_num && !strcmp(anchor, p->anchor)) in pfctl_get_ticket()
|
/dragonfly/sys/net/ipfw/ |
H A D | ip_fw2.c | 1798 struct ipfw_state *s, *anchor; in ipfw_state_reap() local 1823 anchor = &ctx->ipfw_stateexp_anch; in ipfw_state_reap() 1939 struct ipfw_state *anchor; in ipfw_state_expire_more_dispatch() local 1948 anchor = &ctx->ipfw_stateexp_anch; in ipfw_state_expire_more_dispatch() 1961 struct ipfw_state *anchor; in ipfw_state_expire_start() local 1982 anchor = &ctx->ipfw_stateexp_anch; in ipfw_state_expire_start() 2449 struct ipfw_track *anchor; in ipfw_track_expire_start() local 2479 struct ipfw_track *anchor; in ipfw_track_expire_more_dispatch() local 2535 struct ipfw_track *t, *anchor; in ipfw_track_reap() local 6773 struct ipfw_state *anchor; in ipfw_keepalive_more_dispatch() local [all …]
|
/dragonfly/contrib/awk/ |
H A D | b.c | 186 fa *makedfa(const char *s, bool anchor) /* returns dfa for reg expr s */ in makedfa() argument 197 return mkdfa(s, anchor); in makedfa() 199 if (fatab[i]->anchor == anchor in makedfa() 204 pfa = mkdfa(s, anchor); in makedfa() 224 fa *mkdfa(const char *s, bool anchor) /* does the real work of making a dfa */ in mkdfa() argument 249 f->initstat = makeinit(f, anchor); in mkdfa() 250 f->anchor = anchor; in mkdfa() 259 int makeinit(fa *f, bool anchor) in makeinit() argument 275 if (anchor) { in makeinit()
|
/dragonfly/usr.sbin/ftp-proxy/ |
H A D | filter.c | 198 strlcpy(pfte[i].anchor, an, PF_ANCHOR_NAME_SIZE); in prepare_commit() 237 strlcpy(pfp.anchor, an, PF_ANCHOR_NAME_SIZE); in prepare_rule() 238 strlcpy(pfr.anchor, an, PF_ANCHOR_NAME_SIZE); in prepare_rule()
|
/dragonfly/contrib/binutils-2.27/gas/doc/ |
H A D | c-mmix.texi | 145 @anchor{mmixsite}@url{http://www-cs-faculty.stanford.edu/~knuth/mmix-news.html}. 267 @anchor{MMIX-loc} 296 @anchor{MMIX-local} 317 @anchor{MMIX-is} 335 @anchor{MMIX-greg} 382 can have a value nearby @anchor{GREG-base}an initial value in place of its 421 @anchor{MMIX-byte} 445 @anchor{MMIX-constants} 462 @anchor{MMIX-prefix} 485 @anchor{MMIX-spec}
|
/dragonfly/contrib/ldns/ |
H A D | README.DRAGONFLY | 19 --with-trust-anchor=/usr/local/etc/unbound/root.key \
|