Searched refs:pair (Results 1 - 25 of 1938) sorted by relevance

1234567891011>>

/openbsd-current/lib/libcurses/base/
H A Dnew_pair.c36 * New color-pair functions, alloc_pair and free_pair
71 prev_len(SCREEN *sp, int pair) argument
74 int base = pair;
76 while (list[pair].prev != base) {
78 pair = list[pair].prev;
84 next_len(SCREEN *sp, int pair) argument
87 int base = pair;
89 while (list[pair].next != base) {
91 pair
100 dumpit(SCREEN *sp, int pair, const char *tag) argument
162 delink_color_pair(SCREEN *sp, int pair) argument
196 _nc_reset_color_pair(SCREEN *sp, int pair, colorpair_t * next) argument
227 _nc_set_color_pair(SCREEN *sp, int pair, int mode) argument
266 int pair; local
329 int pair; local
337 free_pair(NCURSES_SP_DCLx int pair) argument
369 free_pair(int pair) argument
[all...]
H A Dlib_slkattr.c53 int pair = GetPair(SP_PARM->_slk->attr); local
55 result |= (attr_t) ColorPair(pair);
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.mike/
H A Dnet45.C4 struct pair { struct
7 pair(const T1& a, const T2& b) : first(a), second(b) {} function in struct:pair
18 extern pair<const myint, myint> a;
19 pair<const myint, myint> b(a);
/openbsd-current/gnu/lib/libstdc++/libstdc++/include/bits/
H A Dstl_pair.h67 /// pair holds two objects of arbitrary type.
69 struct pair { struct in namespace:std
76 //265. std::pair::pair() effects overly restrictive
79 pair() : first(), second() {} function in struct:std::pair
81 pair() : first(_T1()), second(_T2()) {} function in struct:std::pair
83 /** Two objects may be passed to a @c pair constructor to be copied. */
84 pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) {} function in struct:std::pair
86 /** There is also a templated copy ctor for the @c pair class itself. */
88 pair(cons argument
93 operator ==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument
100 operator <(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument
108 operator !=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument
114 operator >(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument
120 operator <=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument
126 operator >=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument
[all...]
/openbsd-current/gnu/lib/libstdc++/libstdc++/testsuite/23_containers/
H A Dmultiset.cc31 operator<<(std::ostream& os, std::pair<int, int> const& p)
36 operator<(std::pair<int, int> const& lhs, std::pair<int, int> const& rhs)
41 typedef std::multiset<std::pair<int, int> >::iterator iterator;
42 std::pair<int, int> p(69, 0);
43 std::multiset<std::pair<int, int> > s;
58 std::ostream_iterator<std::pair<int, int> >(std::cout, "\n"));
H A Dmap_operators_neg.cc35 mapByIndex.insert(std::pair<unsigned, int>(0, 1));
36 mapByIndex.insert(std::pair<unsigned, int>(6, 5));
/openbsd-current/gnu/gcc/libstdc++-v3/include/bits/
H A Dstl_pair.h66 /// pair holds two objects of arbitrary type.
68 struct pair struct
77 // 265. std::pair::pair() effects overly restrictive
80 pair() function in struct:pair
83 /** Two objects may be passed to a @c pair constructor to be copied. */
84 pair(const _T1& __a, const _T2& __b) function in struct:pair
87 /** There is also a templated copy ctor for the @c pair class itself. */
89 pair(const pair<_U argument
96 operator ==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument
102 operator <(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument
109 operator !=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument
115 operator >(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument
121 operator <=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument
127 operator >=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument
[all...]
/openbsd-current/regress/usr.sbin/syslogd/
H A Dlogflush.c41 int pair[2], klog, val; local
46 if (socketpair(AF_UNIX, SOCK_DGRAM, PF_UNSPEC, pair) == -1)
50 if (setsockopt(pair[0], SOL_SOCKET, SO_RCVBUF, &val, sizeof(val)) == -1)
52 if (setsockopt(pair[1], SOL_SOCKET, SO_SNDBUF, &val, sizeof(val)) == -1)
58 if (ioctl(klog, LIOCSFD, &pair[1]) == -1)
60 close(pair[1]);
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D950710-1.c8 struct pair struct
14 struct pair
17 struct pair p;
35 struct pair e = g ();
/openbsd-current/gnu/llvm/libcxx/include/__fwd/
H A Dpair.h21 struct _LIBCPP_TEMPLATE_VIS pair; variable in typeref:struct:_LIBCPP_TEMPLATE_VIS
/openbsd-current/gnu/lib/libstdc++/libstdc++/testsuite/20_util/
H A Dpairs.cc51 std::pair<bool, long> p_bl_1(true, 433);
52 std::pair<bool, long> p_bl_2 = std::make_pair(true, 433);
56 std::pair<const char*, float> p_sf_1("total enlightenment", 433.00);
57 std::pair<const char*, float> p_sf_2 = std::make_pair("total enlightenment",
62 std::pair<const char*, gnu_obj> p_sg_1("enlightenment", gnu_obj(5));
63 std::pair<const char*, gnu_obj> p_sg_2 = std::make_pair("enlightenment",
68 std::pair<gnu_t<long>, gnu_obj> p_st_1(gnu_t<long>(false), gnu_obj(5));
69 std::pair<gnu_t<long>, gnu_obj> p_st_2 = std::make_pair(gnu_t<long>(false),
80 std::pair<bool, bool> p_bb_1(true, false);
81 std::pair<boo
[all...]
/openbsd-current/regress/usr.sbin/ospf6d/
H A DMakefile13 ${N1} ${N2} pair${N1} pair${N2}
/openbsd-current/gnu/gcc/libgomp/testsuite/libgomp.c/appendix-a/
H A Da.40.1.c8 } pair; typedef in typeref:struct:__anon410
13 incr_a (pair * p, int a)
20 incr_b (pair * p, int b)
30 incr_pair (pair * p, int a, int b)
39 a40 (pair * p)
/openbsd-current/gnu/usr.bin/perl/cpan/IO-Compress/lib/IO/Compress/Zlib/
H A DExtra.pm23 my $pair = shift ;
28 unless ref $pair && ref $pair eq 'ARRAY';
31 unless @$pair == 2 ;
34 if ref $pair->[0] ;
37 if ref $pair->[1] ;
41 unless length $pair->[0] == GZIP_FEXTRA_SUBFIELD_ID_SIZE ;
45 if $strict && $gzipMode && substr($pair->[0], 1, 1) eq "\x00" ;
48 if length $pair->[1] > GZIP_FEXTRA_SUBFIELD_MAX_SIZE ;
183 foreach my $pair (
[all...]
/openbsd-current/gnu/llvm/libcxx/include/__utility/
H A Dpair.h63 struct _LIBCPP_TEMPLATE_VIS pair struct in inherits:__non_trivially_copyable_base
74 pair(pair const&) = default;
75 pair(pair&&) = default;
79 pair() : first(), second() {} function in struct:pair
82 pair(_T1 const& __t1, _T2 const& __t2) : first(__t1), second(__t2) {} function in struct:pair
86 pair(const pair<_U1, _U2>& __p) : first(__p.first), second(__p.second) {} argument
89 pair
287 explicit pair(_Tuple&& __p) function in struct:pair
295 pair(_Tuple&& __p) function in struct:pair
432 operator ==(const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y) argument
444 operator <=>(const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y) argument
457 operator !=(const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y) argument
465 operator <(const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y) argument
473 operator >(const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y) argument
481 operator >=(const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y) argument
489 operator <=(const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y) argument
[all...]
/openbsd-current/gnu/llvm/libcxx/include/__algorithm/
H A Dpartition_copy.h14 #include <__utility/pair.h>
24 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 pair<_OutputIterator1, _OutputIterator2>
42 return pair<_OutputIterator1, _OutputIterator2>(__out_true, __out_false);
H A Dminmax.h17 #include <__utility/pair.h>
29 pair<const _Tp&, const _Tp&>
32 return __comp(__b, __a) ? pair<const _Tp&, const _Tp&>(__b, __a) :
33 pair<const _Tp&, const _Tp&>(__a, __b);
39 pair<const _Tp&, const _Tp&>
49 pair<_Tp, _Tp> minmax(initializer_list<_Tp> __t, _Compare __comp) {
53 return pair<_Tp, _Tp>(*__ret.first, *__ret.second);
59 pair<_Tp, _Tp>
H A Dmismatch.h16 #include <__utility/pair.h>
26 _LIBCPP_CONSTEXPR_SINCE_CXX20 pair<_InputIterator1, _InputIterator2>
31 return pair<_InputIterator1, _InputIterator2>(__first1, __first2);
36 _LIBCPP_CONSTEXPR_SINCE_CXX20 pair<_InputIterator1, _InputIterator2>
44 _LIBCPP_CONSTEXPR_SINCE_CXX20 pair<_InputIterator1, _InputIterator2>
50 return pair<_InputIterator1, _InputIterator2>(__first1, __first2);
55 _LIBCPP_CONSTEXPR_SINCE_CXX20 pair<_InputIterator1, _InputIterator2>
/openbsd-current/gnu/gcc/libstdc++-v3/include/backward/
H A Dpair.h63 using std::pair;
/openbsd-current/gnu/lib/libstdc++/libstdc++/include/backward/
H A Dpair.h63 using std::pair;
/openbsd-current/gnu/usr.bin/perl/ext/SDBM_File/
H A DMakefile.PL15 H => [qw(tune.h sdbm.h pair.h $(PERL_INC)/config.h)],
16 C => [qw(SDBM_File.c sdbm.c pair.c hash.c)],
/openbsd-current/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUGlobalISelUtils.cpp19 std::pair<Register, unsigned>
31 return std::pair(Register(), Offset);
38 return std::pair(Def->getOperand(1).getReg(), Offset);
42 return std::pair(Def->getOperand(1).getReg(), Offset);
48 return std::pair(Base, Offset);
57 return std::pair(Base->getOperand(1).getReg(), Offset);
60 return std::pair(Base->getOperand(0).getReg(), Offset);
64 return std::pair(Reg, 0);
/openbsd-current/regress/sys/netinet/carp/
H A Dcarp_4.sh38 ALL_IFS="carp$IFNO1 carp$IFNO2 pair$IFNO1 pair$IFNO2"
63 ifconfig pair$IFNO1 rdomain $RD1 192.168.0.2/24
64 ifconfig pair$IFNO2 rdomain $RD2 192.168.0.3/24 patch pair$IFNO1
66 lladdr1=$(ifconfig pair$IFNO1 | sed -n '/^.*lladdr \(.*\)/s//\1/p')
67 lladdr2=$(ifconfig pair$IFNO2 | sed -n '/^.*lladdr \(.*\)/s//\1/p')
73 vhid 251 carpdev pair$IFNO1 -group carp group ${IFGPREFIX}a \
76 vhid 251 carpdev pair$IFNO2 -group carp group ${IFGPREFIX}b \
H A Dcarp_2.sh38 ALL_IFS="carp$IFNO1 carp$IFNO2 pair$IFNO1 pair$IFNO2"
63 ifconfig pair$IFNO1 rdomain $RD1 192.168.0.2/24
64 ifconfig pair$IFNO2 rdomain $RD2 192.168.0.3/24 patch pair$IFNO1
66 lladdr1=$(ifconfig pair$IFNO1 | sed -n '/^.*lladdr \(.*\)/s//\1/p')
67 lladdr2=$(ifconfig pair$IFNO2 | sed -n '/^.*lladdr \(.*\)/s//\1/p')
73 vhid 251 carpdev pair$IFNO1 -group carp group ${IFGPREFIX}a \
76 vhid 251 carpdev pair$IFNO2 -group carp group ${IFGPREFIX}b \
/openbsd-current/regress/lib/libevent/
H A Dtest-eof.c65 int pair[2]; local
67 if (evutil_socketpair(AF_UNIX, SOCK_STREAM, 0, pair) == -1)
71 send(pair[0], test, strlen(test)+1, 0);
72 shutdown(pair[0], SHUT_WR);
78 event_set(&ev, pair[1], EV_READ, read_cb, &ev);

Completed in 267 milliseconds

1234567891011>>