Home
last modified time | relevance | path

Searched full:pair (Results 1 – 25 of 3784) sorted by relevance

12345678910>>...152

/freebsd/contrib/ncurses/ncurses/base/
H A Dnew_pair.c36 * New color-pair functions, alloc_pair and free_pair
71 prev_len(SCREEN *sp, int pair) in prev_len() argument
74 int base = pair; in prev_len()
76 while (list[pair].prev != base) { in prev_len()
78 pair = list[pair].prev; in prev_len()
84 next_len(SCREEN *sp, int pair) in next_len() argument
87 int base = pair; in next_len()
89 while (list[pair].next != base) { in next_len()
91 pair = list[pair].next; in next_len()
100 dumpit(SCREEN *sp, int pair, const char *tag) in dumpit() argument
[all …]
H A Dlib_color.c304 * Reset the color pair, e.g., to whatever color pair 0 is.
394 * allow for default-color as a component of a color-pair. in NCURSES_SP_NAME()
488 * Change all cells which use(d) a given color pair to force a repaint.
491 _nc_change_pair(SCREEN *sp, int pair) in _nc_change_pair() argument
506 if (GetPair(ptr->text[x]) == pair) { in _nc_change_pair()
561 _nc_init_pair(SCREEN *sp, int pair, int f, int b) in _nc_init_pair() argument
568 T((T_CALLED("init_pair(%p,%d,%d,%d)"), (void *) sp, pair, f, b)); in _nc_init_pair()
570 if (!ValidPair(sp, pair)) in _nc_init_pair()
575 ReservePairs(sp, pair); in _nc_init_pair()
576 previous = sp->_color_pairs[pair]; in _nc_init_pair()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dutility74 struct pair
82 pair(const pair&) = default;
83 pair(pair&&) = default;
84 explicit(see-below) constexpr pair();
85 … explicit(see-below) pair(const T1& x, const T2& y); // constexpr in C++14
86 … template <class U = T1, class V = T2> explicit(see-below) pair(U&&, V&&); // constexpr in C++14
87 template <class U, class V> constexpr explicit(see-below) pair(pair<U, V>&); // since C++23
88 … template <class U, class V> explicit(see-below) pair(const pair<U, V>& p); // constexpr in C++14
89 … template <class U, class V> explicit(see-below) pair(pair<U, V>&& p); // constexpr in C++14
91 constexpr explicit(see-below) pair(const pair<U, V>&&); // since C++23
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dutility74 struct pair
82 pair(const pair&) = default;
83 pair(pair&&) = default;
84 explicit(see-below) constexpr pair();
85 … explicit(see-below) pair(const T1& x, const T2& y); // constexpr in C++14
86 … template <class U = T1, class V = T2> explicit(see-below) pair(U&&, V&&); // constexpr in C++14
87 template <class U, class V> constexpr explicit(see-below) pair(pair<U, V>&); // since C++23
88 … template <class U, class V> explicit(see-below) pair(const pair<U, V>& p); // constexpr in C++14
89 … template <class U, class V> explicit(see-below) pair(pair<U, V>&& p); // constexpr in C++14
91 constexpr explicit(see-below) pair(const pair<U, V>&&); // since C++23
[all …]
/freebsd/contrib/xz/src/xz/
H A Dfile_io.c127 static bool io_write_buf(file_pair *pair, const uint8_t *buf, size_t size);
206 io_wait(file_pair *pair, int timeout, bool is_reading) in io_wait() argument
211 pfd[0].fd = pair->src_fd; in io_wait()
214 pfd[0].fd = pair->dest_fd; in io_wait()
233 ? pair->src_name in io_wait()
234 : pair->dest_name), in io_wait()
319 io_copy_attrs(const file_pair *pair) in io_copy_attrs() argument
331 if (fchown(pair->dest_fd, pair->src_st.st_uid, (gid_t)(-1)) in io_copy_attrs()
334 tuklib_mask_nonprint(pair->dest_name), in io_copy_attrs()
344 if (pair->dest_st.st_gid != pair->src_st.st_gid in io_copy_attrs()
[all …]
H A Dfile_io.h113 extern bool io_open_dest(file_pair *pair);
123 extern void io_close(file_pair *pair, bool success);
128 /// \param pair File pair having the source file open for reading
133 /// file zero is returned and pair->src_eof set to true.
135 extern size_t io_read(file_pair *pair, io_buf *buf, size_t size);
145 /// \param pair File pair having the source file open for reading
148 extern void io_fix_src_pos(file_pair *pair, size_t rewind_size);
153 /// This calls lseek() and also clears pair->src_eof.
155 /// \param pair Seekable source file
161 extern bool io_seek_src(file_pair *pair, uint64_t pos);
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__utility/
H A Dpair.h14 #include <__cxx03/__fwd/pair.h>
60 struct _LIBCPP_TEMPLATE_VIS pair struct
73 pair, argument
76 _LIBCPP_HIDE_FROM_ABI pair(pair const&) = default;
77 _LIBCPP_HIDE_FROM_ABI pair(pair&&) = default;
79 …// When we are requested for pair to be trivially copyable by the ABI macro, we use defaulted memb…
84 // when printing a pair
89 _LIBCPP_HIDE_FROM_ABI pair& operator=(const pair&) argument
92 _LIBCPP_HIDE_FROM_ABI pair& operator=(pair&&) argument
103 _LIBCPP_HIDE_FROM_ABI pair() : first(), second() {} in pair() argument
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__utility/
H A Dpair.h19 #include <__fwd/pair.h>
90 struct pair struct
103 pair, argument
105 … _LIBCPP_NODEBUG = __conditional_t<__is_replaceable_v<_T1> && __is_replaceable_v<_T2>, pair, void>; argument
107 _LIBCPP_HIDE_FROM_ABI pair(pair const&) = default;
108 _LIBCPP_HIDE_FROM_ABI pair(pair&&) = default;
111 _LIBCPP_HIDE_FROM_ABI pair() : first(), second() {} in pair() function
113 _LIBCPP_HIDE_FROM_ABI pair(_T1 const& __t1, _T2 const& __t2) : first(__t1), second(__t2) {} in pair() argument
116 _LIBCPP_HIDE_FROM_ABI pair(const pair<_U1, _U2>& __p) : first(__p.first), second(__p.second) {} in pair() function
118 _LIBCPP_HIDE_FROM_ABI pair& operator=(pair const& __p) {
[all …]
/freebsd/crypto/openssl/doc/man3/
H A DBIO_s_dgram_pair.pod8 BIO_dgram_set0_local_addr - datagram pair BIO
29 BIO_s_dgram_pair() returns the method for a BIO datagram pair. A BIO datagram
30 pair is similar to a BIO pair (see L<BIO_s_bio(3)>) but has datagram semantics.
36 The BIO datagram pair attaches certain metadata to each write, such as source
39 A typical application of a BIO datagram pair is to allow an application to keep
42 The BIO datagram pair is designed to support multithreaded use where certain
45 The BIO datagram pair allows each half of a pair to signal to the other half
50 pair of BIOs B<bio1>, B<bio2> with write buffer sizes B<writebuf1> and
53 L<BIO_make_bio_pair(3)> may be used to join two datagram pair BIOs into a pair.
55 of the BIOs may currently be associated in a pair.
[all …]
/freebsd/secure/lib/libcrypto/man/man3/
H A DBIO_s_dgram_pair.370 BIO_dgram_set0_local_addr \- datagram pair BIO
91 \&\fBBIO_s_dgram_pair()\fR returns the method for a BIO datagram pair. A BIO datagram
92 pair is similar to a BIO pair (see \fBBIO_s_bio\fR\|(3)) but has datagram semantics.
98 The BIO datagram pair attaches certain metadata to each write, such as source
101 A typical application of a BIO datagram pair is to allow an application to keep
104 The BIO datagram pair is designed to support multithreaded use where certain
107 The BIO datagram pair allows each half of a pair to signal to the other half
112 pair of BIOs \fBbio1\fR, \fBbio2\fR with write buffer sizes \fBwritebuf1\fR and
115 \&\fBBIO_make_bio_pair\fR\|(3) may be used to join two datagram pair BIOs into a pair.
117 of the BIOs may currently be associated in a pair.
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddsl_userhold.c90 for (nvpair_t *pair = nvlist_next_nvpair(dduha->dduha_holds, NULL); in dsl_dataset_user_hold_check() local
91 pair != NULL; pair = nvlist_next_nvpair(dduha->dduha_holds, pair)) { in dsl_dataset_user_hold_check()
92 size_t len = strlen(nvpair_name(pair)) + in dsl_dataset_user_hold_check()
93 strlen(fnvpair_value_string(pair)); in dsl_dataset_user_hold_check()
95 (void) strlcpy(nameval, nvpair_name(pair), len + 2); in dsl_dataset_user_hold_check()
97 (void) strlcat(nameval, fnvpair_value_string(pair), len + 2); in dsl_dataset_user_hold_check()
105 for (nvpair_t *pair = nvlist_next_nvpair(dduha->dduha_holds, NULL); in dsl_dataset_user_hold_check() local
106 pair != NULL; pair = nvlist_next_nvpair(dduha->dduha_holds, pair)) { in dsl_dataset_user_hold_check()
112 name = nvpair_name(pair); in dsl_dataset_user_hold_check()
117 error = nvpair_value_string(pair, &htag); in dsl_dataset_user_hold_check()
[all …]
/freebsd/contrib/ncurses/man/
H A Dcurs_color.3x88 \fBint init_pair(short \fIpair\fP, short \fIf\fP, short \fIb\fP);
91 \fBint init_extended_pair(int \fIpair\fP, int \fIf\fP, int \fIb\fP);
95 \fBint pair_content(short \fIpair\fP, short *\fIf\fP, short *\fIb\fP);
98 \fBint extended_pair_content(int \fIpair\fP, int *\fIf\fP, int *\fIb\fP);
125 .I "color pair"
128 \fB\%init_pair\fP initializes a color pair.
129 The macro \fB\%COLOR_PAIR\fP(\fIn\fP) can then convert the pair to a
142 \fB\%pair_content\fP permits discovery of a color pair's current
160 parameter containing attributes including a color pair value.
163 use a separate color pair number parameter.
[all …]
H A Dnew_pair.3x60 \fBint free_pair(int \fIpair\fP);
64 They permit an application to dynamically allocate a color pair using
65 the foreground/background colors rather than assign a fixed color pair number,
66 and return an unused pair to the pool.
75 That is, the foreground and background colors are applied as a pair.
119 is already associated with a color pair.
122 \fBalloc_pair\fP returns the existing pair.
125 \fBalloc_pair\fP allocates a new color pair and returns that.
128 allocated entry using \fBfree_pair\fP and allocates a new color pair.
140 is already associated with a color pair,
[all …]
H A Dcurs_getcchar.3x53 attr_t * \fIattrs\fP, short * \fIpair\fP, void * \fIopts\fP);
55 const attr_t \fIattrs\fP, short \fIpair\fP, const void * \fIopts\fP);
66 a color pair identifier.
94 stores the color pair identifier in
95 .IR pair .
109 .I pair
121 .IR pair .
171 .I pair
198 .I pair
220 ABI uses it with functions that have a color pair parameter
[all …]
H A Dcurs_attr.3x80 \fBint attr_get(attr_t *\fIattrs\fP, short *\fIpair\fP, void *\fIopts\fP);
81 \fBint wattr_get(WINDOW *\fIwin\fP, attr_t *\fIattrs\fP, short *\fIpair\fP,\fR \fPvoid *\fIopts\fP);
82 \fBint attr_set(attr_t \fIattrs\fP, short \fIpair\fP, void *\fIopts\fP);
83 \fBint wattr_set(WINDOW *\fIwin\fP, attr_t \fIattrs\fP, short \fIpair\fP, void *\fIopts\fP);
97 \fBint chgat(int \fIn\fP, attr_t \fIattr\fP, short \fIpair\fP,\fR \fPconst void *\fIopts\fP);
99 \fBint \fIn\fB, attr_t \fIattr\fB,\fR \fBshort \fIpair\fB, const void *\fIopts\fB);\fR
101 \fBint \fIn\fB, attr_t \fIattr\fB, short \fIpair\fB, const void *\fIopts\fB);\fR
103 \fBint \fIn\fB, attr_t \fIattr\fB, short \fIpair\fB, const void *\fIopts\fB);\fR
105 \fBint color_set(short \fIpair\fB, void* \fIopts\fB);\fR
106 \fBint wcolor_set(WINDOW *\fIwin\fB, short \fIpair\fB,\fR \fBvoid* \fIopts\fP);\fR
[all …]
/freebsd/contrib/lib9p/pytest/
H A Dnumalloc.py176 pair = self.avail[mid]
177 if val < pair[0]:
180 elif val > pair[1]:
185 return mid, pair
209 i, pair = self._find_block(val)
210 if pair is None:
224 pair = self.avail[i]
225 val = pair[0]
230 # 1. pair[0] < val < pair[1]: split the pair.
231 # 2. pair[0] == val < pair[1]: increase pair[0].
[all …]
/freebsd/sys/contrib/openzfs/tests/unit/
H A Dtest_nvpair.c46 /* u64 pair, top level */
50 /* string pair, top level */
54 /* u64 pair, top level */
58 /* string pair, top level */
69 /* string pair inside the embedded nvlist */
82 * each nvlist in the array has one u64 pair with this key, value of its
841 /* lookup and return pair, check it */
849 nvpair_t *pair = NULL; in test_nv_lookup_nvpair() local
850 unit_ok(nvlist_lookup_nvpair(nvl, nvl_simple_u64_key, &pair)); in test_nv_lookup_nvpair()
851 unit_notnull(pair); in test_nv_lookup_nvpair()
[all …]
/freebsd/crypto/krb5/src/util/
H A Dt_bimap.pm96 struct <NAME>__pair *pair;
97 pair = <NAME>__pairarray_getaddr (&m->a, i);
98 if ((*fn)(pair->l, pair->r, p) != 0)
113 struct <NAME>__pair *pair;
114 pair = <NAME>__pairarray_getaddr (&m->a, i);
115 assert ((*<LEFTCMP>)(l, pair->l) != 0);
116 if ((*<LEFTCMP>)(l, pair->l) == 0)
118 assert ((*<RIGHTCMP>)(r, pair->r) != 0);
119 if ((*<RIGHTCMP>)(r, pair->r) == 0)
140 struct <NAME>__pair *pair;
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc176 …aderS2_ESaIS3_EED2Ev", "std::_Vector_base<std::pair<ImageLoader*, ImageLoader*>, std::allocator<st…
177 …mageLoaderS2_ESaIS3_EED2Ev", "std::vector<std::pair<ImageLoader*, ImageLoader*>, std::allocator<st…
180 …t4pairIP11ImageLoaderS3_EE8allocateEmPKv", "__gnu_cxx::new_allocator<std::pair<ImageLoader*, Image…
181 …pair<ImageLoader*, ImageLoader*>, std::allocator<std::pair<ImageLoader*, ImageLoader*>>>::_M_inser…
182 …_", "std::vector<std::pair<ImageLoader*, ImageLoader*>, std::allocator<std::pair<ImageLoader*, Ima…
622 … llvm::DenseMapInfo<unsigned int>, llvm::DenseMapInfo<char>>::insert(std::pair<unsigned int, char>…
623 …seMapInfo<char>>::InsertIntoBucket(unsigned int const&, char const&, std::pair<unsigned int, char>…
662 …rISt4pairISsSsESaIS1_EED2Ev", "std::vector<std::pair<std::string, std::string>, std::allocator<std…
740 …pair<clang::QualType const, unsigned int>, std::_Select1st<std::pair<clang::QualType const, unsign…
774 …RefCntPtr<clang::Diagnostic>, clang::FileSystemOptions const&, bool, std::pair<std::string, llvm::…
[all …]
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DSelectHelper.cpp108 for (auto &pair : m_fd_map) { in Select() local
109 pair.second.PrepareForSelect(); in Select()
110 const lldb::socket_t fd = pair.first; in Select()
119 if (pair.second.read_set) in Select()
121 if (pair.second.write_set) in Select()
123 if (pair.second.error_set) in Select()
179 for (auto &pair : m_fd_map) { in Select() local
180 lldb::socket_t fd = pair.first; in Select()
182 if (pair.second.read_set) in Select()
185 if (pair.second.write_set) in Select()
[all …]
/freebsd/krb5/lib/gssapi/
H A Derrmap.h175 struct mecherrmap__pair *pair; in mecherrmap_foreach() local
176 pair = mecherrmap__pairarray_getaddr (&m->a, i); in mecherrmap_foreach()
177 if ((*fn)(pair->l, pair->r, p) != 0) in mecherrmap_foreach()
192 struct mecherrmap__pair *pair; in mecherrmap_add() local
193 pair = mecherrmap__pairarray_getaddr (&m->a, i); in mecherrmap_add()
194 assert ((*cmp_OM_uint32)(l, pair->l) != 0); in mecherrmap_add()
195 if ((*cmp_OM_uint32)(l, pair->l) == 0) in mecherrmap_add()
197 assert ((*mecherror_cmp)(r, pair->r) != 0); in mecherrmap_add()
198 if ((*mecherror_cmp)(r, pair->r) == 0) in mecherrmap_add()
219 struct mecherrmap__pair *pair; in mecherrmap_findleft() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A Damxmovrstransposeintrin.h70 /// Converts a pair of tiles from memory into VNNI format, and places the
71 /// results in a pair of destinations specified by dst. The pair of tiles
88 /// First tile of destination tile pair. Max size is 1024i*2 Bytes.
90 /// Second tile of destination tile pair. Max size is 1024i*2 Bytes.
102 /// Converts a pair of tiles from memory into VNNI format, and places the
103 /// results in a pair of destinations specified by dst. The pair of tiles
118 /// First tile of destination tile pair. Max size is 1024i*2 Bytes.
120 /// Second tile of destination tile pair. Max size is 1024i*2 Bytes.
132 /// Converts a pair of tiles from memory into VNNI format, and places the
133 /// results in a pair of destinations specified by dst. The pair of tiles
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__fwd/
H A Dpair.h23 struct pair;
29 inline const bool __is_pair_v<pair<_Type1, _Type2> > = true;
32 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 typename tuple_element<_Ip, pair<_T1, _T2> >::t…
33 get(pair<_T1, _T2>&) _NOEXCEPT;
36 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 const typename tuple_element<_Ip, pair<_T1, _T2…
37 get(const pair<_T1, _T2>&) _NOEXCEPT;
41 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 typename tuple_element<_Ip, pair<_T1, _T2> >::t…
42 get(pair<_T1, _T2>&&) _NOEXCEPT;
45 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 const typename tuple_element<_Ip, pair<_T1, _T2…
46 get(const pair<_T1, _T2>&&) _NOEXCEPT;
/freebsd/lib/libc/aarch64/string/
H A Dtimingsafe_memcmp.S71 cmp x3, x4 // mismatch in first pair?
72 csel x3, x3, x5, ne // use second pair if first pair equal
84 cmp x3, x5 // mismatch in first pair?
85 csel x3, x3, x4, ne // use second pair if first pair equal
92 cmp x4, x6 // mismatch in first pair?
93 csel x4, x4, x7, ne // if not, try second pair
96 csel x3, x3, x4, ne // apply new pair if there was not
105 cmp x4, x6 // mismatch in first pair?
106 csel x4, x4, x7, ne // if not, try second pair
109 csel x3, x3, x4, ne // apply new pair if there was not
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/
H A Drsend_008_pos.ksh88 # Define all the POOL/POOL2 datasets pair
90 set -A pair "$POOL" "$dstds" \
98 typeset -i n=${#pair[@]}
99 pair[((n))]="$POOL/vol"; pair[((n+1))]="$dstds/vol"
100 pair[((n+2))]="$POOL/$FS/vol" pair[((n+3))]="$dstds/$FS/vol"
108 while ((i < ${#pair[@]})); do
109 log_must cmp_ds_cont ${pair[$i]} ${pair[((i+1))]}
110 log_must cmp_ds_prop ${pair[$i]} ${pair[((i+1))]}

12345678910>>...152