/openbsd/usr.sbin/dhcpd/ |
H A D | memory.c | 504 if (comp->uid != &comp->uid_buf[0]) { in supersede_lease() 530 comp->uid = &comp->uid_buf[0]; in supersede_lease() 531 comp->uid_max = sizeof comp->uid_buf; in supersede_lease() 561 comp->prev->next = comp->next; in supersede_lease() 565 comp->next->prev = comp->prev; in supersede_lease() 579 comp->shared_network->leases = comp; in supersede_lease() 580 comp->shared_network->last_lease = comp; in supersede_lease() 593 comp->shared_network->last_lease = comp; in supersede_lease() 598 comp->prev->next = comp; in supersede_lease() 614 comp->shared_network->leases = comp; in supersede_lease() [all …]
|
/openbsd/sys/net/ |
H A D | slcompress.c | 68 bzero((char *)comp, sizeof(*comp)); in sl_compress_init() 76 comp->last_recv = 255; in sl_compress_init() 77 comp->last_xmit = 255; in sl_compress_init() 94 bzero((char *)comp, sizeof(*comp)); in sl_compress_setup() 97 bzero((char *)comp->tstate, sizeof(comp->tstate)); in sl_compress_setup() 98 bzero((char *)comp->rstate, sizeof(comp->rstate)); in sl_compress_setup() 107 comp->last_recv = 255; in sl_compress_setup() 108 comp->last_xmit = 255; in sl_compress_setup() 235 comp->last_cs = lcs; in sl_compress_tcp() 480 cs = &comp->rstate[comp->last_recv = ip->ip_p]; in sl_uncompress_tcp_core() [all …]
|
/openbsd/usr.sbin/bgpd/ |
H A D | flowspec.c | 334 const uint8_t *comp; in flowspec_get_addr() local 350 if (extract_prefix(comp + 1, complen - 1, &addr->v4, comp[0], in flowspec_get_addr() 353 *plen = comp[0]; in flowspec_get_addr() 359 xlen = comp[0]; in flowspec_get_addr() 360 if (comp[1] != 0) { in flowspec_get_addr() 363 xoff = comp[1]; in flowspec_get_addr() 370 *plen = comp[0]; in flowspec_get_addr() 372 *olen = comp[1]; in flowspec_get_addr() 418 val |= *comp++; in extract_val() 436 op = comp[*off]; in flowspec_fmt_num_op() [all …]
|
/openbsd/gnu/usr.bin/perl/dist/Search-Dict/lib/Search/ |
H A D | Dict.pm | 61 my ($comp, $xfrm); 67 $comp = $params->{comp} if exists $params->{comp}; 70 $comp = sub { $_[0] cmp $_[1] } unless defined $comp; 100 if (defined($_) && $comp->($_, $key) < 0) { 122 last if $comp->($_, $key) >= 0;
|
/openbsd/bin/mt/ |
H A D | mt.c | 144 struct commands *comp; in main() local 205 comp = &com[COM_RETEN]; in main() 207 comp = &com[COM_EJECT]; in main() 210 for (comp = com;; comp++) { in main() 211 if (comp->c_name == NULL) in main() 213 if (strncmp(p, comp->c_name, len) == 0) in main() 218 flags = comp->c_ronly ? O_RDONLY : O_WRONLY | O_CREAT; in main() 225 if (comp->c_code != MTNOP) { in main() 226 mt_com.mt_op = comp->c_code; in main() 229 if (mt_com.mt_count < comp->c_mincount || *p) in main() [all …]
|
/openbsd/distrib/sets/ |
H A D | checkflist | 39 for i in base comp etc game man; do 41 if [ $i = comp ]; then 42 [ -f ./lists/comp/gcc.${arch} ] && \ 43 cat ./lists/comp/gcc.${arch} 44 [ -f ./lists/comp/clang.${arch} ] && \ 45 cat ./lists/comp/clang.${arch}
|
/openbsd/usr.sbin/acme-client/ |
H A D | util.c | 230 checkexit(pid_t pid, enum comp comp) in checkexit() argument 240 warnx("signal: %s(%u): %s", comps[comp], pid, cp); in checkexit() 243 warnx("did not exit: %s(%u)", comps[comp], pid); in checkexit() 247 dodbg("bad exit: %s(%u): %d", comps[comp], pid, cc); in checkexit() 261 checkexit_ext(int *rc, pid_t pid, enum comp comp) in checkexit_ext() argument 275 warnx("signal: %s(%u): %s", comps[comp], pid, cp); in checkexit_ext() 278 warnx("did not exit: %s(%u)", comps[comp], pid); in checkexit_ext() 285 dodbg("bad exit: %s(%u): %d", comps[comp], pid, *rc); in checkexit_ext()
|
H A D | extern.h | 100 enum comp { enum 237 int checkexit(pid_t, enum comp); 238 int checkexit_ext(int *, pid_t, enum comp); 286 extern enum comp proccomp;
|
/openbsd/gnu/llvm/libcxx/include/ |
H A D | queue | 124 Compare comp; 522 {c = __q.c; comp = __q.comp; return *this;} 529 : c(_VSTD::move(__q.c)), comp(_VSTD::move(__q.comp)) {} 704 comp(__comp) 716 comp(__comp) 729 comp(__comp) 741 comp(__comp) 804 comp(__q.comp) 830 comp(_VSTD::move(__q.comp)) 843 comp() [all …]
|
H A D | algorithm | 465 partial_sort_copy(R1&& r, R2&& result_r, Comp comp = {}, 862 Comp comp = {}, Proj1 proj1 = {}, 899 set_union(R1&& r1, R2&& r2, O result, Comp comp = {}, 913 constexpr bool includes(R1&& r1, R2&& r2, Comp comp = {}, 1614 min(const T& a, const T& b, Compare comp); 1622 min(initializer_list<T> t, Compare comp); 1644 max(const T& a, const T& b, Compare comp); 1652 max(initializer_list<T> t, Compare comp); 1668 minmax(const T& a, const T& b, Compare comp); 1676 minmax(initializer_list<T> t, Compare comp); [all …]
|
/openbsd/lib/libcrypto/stack/ |
H A D | stack.c | 75 int (*old)(const void *, const void *) = sk->comp; in sk_set_cmp_func() 77 if (sk->comp != c) in sk_set_cmp_func() 79 sk->comp = c; in sk_set_cmp_func() 91 if ((ret = sk_new(sk->comp)) == NULL) in sk_dup() 102 ret->comp = sk->comp; in sk_dup() 131 ret->comp = c; in sk_new() 235 if (st->comp == NULL) { in sk_find() 244 r = obj_bsearch_ex(&data, st->data, st->num, sizeof(void *), st->comp); in sk_find() 362 comp_func = (int (*)(const void *, const void *))(st->comp); in sk_sort() 379 if (st->comp == NULL) in sk_is_sorted()
|
/openbsd/regress/sbin/ipsecctl/ |
H A D | sa8.ok | 1 ipcomp tunnel from 1.1.1.1 to 2.2.2.2 spi 0x00001000 comp deflate 2 ipcomp tunnel from 2.2.2.2 to 1.1.1.1 spi 0x00001001 comp deflate 3 ipcomp tunnel from 3.3.3.3 to 4.4.4.4 spi 0x00002000 comp deflate 4 ipcomp tunnel from 4.4.4.4 to 3.3.3.3 spi 0x00002001 comp deflate
|
H A D | sa20.ok | 1 ipcomp tunnel from 3ffe::1 to 3ffe::2 spi 0x00001000 comp deflate 2 ipcomp tunnel from 3ffe::2 to 3ffe::1 spi 0x00001001 comp deflate 3 ipcomp tunnel from 3ffe::3 to 3ffe::4 spi 0x00002000 comp deflate 4 ipcomp tunnel from 3ffe::4 to 3ffe::3 spi 0x00002001 comp deflate
|
/openbsd/libexec/fingerd/ |
H A D | fingerd.c | 67 char **comp, *prog; in main() local 155 comp = &av[1]; in main() 177 comp = &av[0]; in main() 187 *comp = ++lp; in main() 189 *comp = prog; in main() 192 for (ap = comp + 1; strcmp("--", *(ap++)); ) in main() 210 execv(prog, comp); in main()
|
/openbsd/gnu/usr.bin/perl/cpan/IO-Compress/t/compress/ |
H A D | oneshot.pl | 1064 my $keep_comp = $comp; 1153 writeFile($in_file, $comp); 1179 writeFile($in_file, $comp); 1194 writeFile($in_file, $comp); 1214 writeFile($in_file, $comp); 1241 writeFile($in_file, $comp); 1257 writeFile($in_file, $comp); 1278 writeFile($in_file, $comp); 1307 writeFile($in_file, $comp . $appended . $comp . $appended) ; 1345 writeFile($in_file, $comp . $appended ) ; [all …]
|
/openbsd/usr.bin/less/ |
H A D | pattern.c | 28 regex_t *comp; in compile_pattern2() local 32 comp = ecalloc(1, sizeof (regex_t)); in compile_pattern2() 33 if (regcomp(comp, pattern, less_is_more ? 0 : REGCOMP_FLAG)) { in compile_pattern2() 34 free(comp); in compile_pattern2() 40 *comp_pattern = comp; in compile_pattern2()
|
/openbsd/gnu/llvm/llvm/include/llvm/ADT/ |
H A D | simple_ilist.h | 256 template <class Compare> void merge(simple_ilist &RHS, Compare comp); 262 template <class Compare> void sort(Compare comp); 268 void simple_ilist<T, Options...>::merge(simple_ilist &RHS, Compare comp) { in merge() argument 274 if (comp(*RI, *LI)) { in merge() 277 RI = std::find_if(RI, RE, [&](reference RV) { return !comp(RV, *LI); }); in merge() 290 void simple_ilist<T, Options...>::sort(Compare comp) { in sort() argument 305 sort(comp); in sort() 306 RHS.sort(comp); in sort() 307 merge(RHS, comp); in sort()
|
/openbsd/gnu/gcc/libstdc++-v3/include/bits/ |
H A D | stl_queue.h | 343 _Compare comp; variable 352 : c(__s), comp(__x) in c() 353 { std::make_heap(c.begin(), c.end(), comp); } in c() 374 : c(__s), comp(__x) in c() 378 std::make_heap(c.begin(), c.end(), comp); in c() 416 std::push_heap(c.begin(), c.end(), comp); in push() 434 std::pop_heap(c.begin(), c.end(), comp); in pop()
|
/openbsd/gnu/lib/libstdc++/libstdc++/include/bits/ |
H A D | stl_queue.h | 325 _Compare comp; variable 334 : c(__s), comp(__x) in c() 335 { make_heap(c.begin(), c.end(), comp); } in c() 355 : c(__s), comp(__x) in c() 358 make_heap(c.begin(), c.end(), comp); in c() 392 push_heap(c.begin(), c.end(), comp); in push() 416 pop_heap(c.begin(), c.end(), comp); in pop()
|
/openbsd/regress/usr.bin/ssh/ |
H A D | proxy-connect.sh | 7 comp="no" 9 comp="no yes" 12 for c in $comp; do
|
H A D | putty-transfer.sh | 9 comp="0" 11 comp="0 1" 14 for c in $comp; do
|
/openbsd/gnu/usr.bin/perl/cpan/IO-Compress/t/ |
H A D | 050interop-gzip.t | 51 my $comp = "$GZIP -d -c" ; 53 if ( system("$comp $file >$outfile") == 0 ) 59 diag "'$comp' failed: \$?=$? \$!=$!"; 78 my $comp = "$GZIP -c $options $infile >$file" ; 81 if system($comp) == 0 ; 83 diag "'$comp' failed: \$?=$? \$!=$!";
|
/openbsd/sys/kern/ |
H A D | subr_tree.c | 407 int comp = 0; in _rb_insert() local 414 comp = (*t->t_compare)(elm, node); in _rb_insert() 415 if (comp < 0) in _rb_insert() 417 else if (comp > 0) in _rb_insert() 426 if (comp < 0) in _rb_insert() 446 int comp; in _rb_find() local 451 if (comp < 0) in _rb_find() 453 else if (comp > 0) in _rb_find() 469 int comp; in _rb_nfind() local 474 if (comp < 0) { in _rb_nfind() [all …]
|
/openbsd/lib/libc/gen/ |
H A D | tree.c | 408 int comp = 0; in _rb_insert() local 415 comp = (*t->t_compare)(elm, node); in _rb_insert() 416 if (comp < 0) in _rb_insert() 418 else if (comp > 0) in _rb_insert() 427 if (comp < 0) in _rb_insert() 448 int comp; in _rb_find() local 453 if (comp < 0) in _rb_find() 455 else if (comp > 0) in _rb_find() 472 int comp; in _rb_nfind() local 477 if (comp < 0) { in _rb_nfind() [all …]
|
/openbsd/games/monop/ |
H A D | getinp.c | 44 static int comp(char *); 86 if (comp(list[i])) { in getinp() 99 comp(char *s1) in comp() function
|