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

1234567891011>>

/freebsd-11-stable/contrib/xz/src/xz/
H A Dfile_io.c91 static bool io_write_buf(file_pair *pair, const uint8_t *buf, size_t size);
241 io_wait(file_pair *pair, int timeout, bool is_reading) argument
246 pfd[0].fd = pair->src_fd;
249 pfd[0].fd = pair->dest_fd;
267 is_reading ? pair->src_name
268 : pair->dest_name,
352 io_copy_attrs(const file_pair *pair) argument
364 if (fchown(pair->dest_fd, pair->src_st.st_uid, (gid_t)(-1))
367 pair
502 io_open_src_real(file_pair *pair) argument
748 static file_pair pair; local
783 io_close_src(file_pair *pair, bool success) argument
822 io_open_dest_real(file_pair *pair) argument
991 io_open_dest(file_pair *pair) argument
1008 io_close_dest(file_pair *pair, bool success) argument
1052 io_close(file_pair *pair, bool success) argument
1101 io_fix_src_pos(file_pair *pair, size_t rewind_size) argument
1116 io_read(file_pair *pair, io_buf *buf, size_t size) argument
1186 io_pread(file_pair *pair, io_buf *buf, size_t size, off_t pos) argument
1224 io_write_buf(file_pair *pair, const uint8_t *buf, size_t size) argument
1275 io_write(file_pair *pair, const io_buf *buf, size_t size) argument
[all...]
H A Dfile_io.h104 extern bool io_open_dest(file_pair *pair);
114 extern void io_close(file_pair *pair, bool success);
119 /// \param pair File pair having the source file open for reading
124 /// file zero is returned and pair->src_eof set to true.
126 extern size_t io_read(file_pair *pair, io_buf *buf, size_t size);
136 /// \param pair File pair having the source file open for reading
139 extern void io_fix_src_pos(file_pair *pair, size_t rewind_size);
147 /// \param pair Seekabl
[all...]
H A Dcoder.c435 coder_init(file_pair *pair) argument
554 message_error("%s: %s", pair->src_name, message_strm(ret));
616 coder_write_output(file_pair *pair) argument
619 if (io_write(pair, &out_buf, IO_BUFFER_SIZE - strm.avail_out))
631 coder_normal(file_pair *pair) argument
638 lzma_action action = pair->src_eof ? LZMA_FINISH : LZMA_RUN;
696 strm.avail_in = io_read(pair, &in_buf,
703 if (pair->src_eof) {
714 if (action == LZMA_RUN && pair->flush_needed)
723 if (coder_write_output(pair))
846 coder_passthru(file_pair *pair) argument
875 file_pair *pair = io_open_src(filename); local
[all...]
/freebsd-11-stable/sbin/dhclient/
H A Dtree.c48 pair
49 cons(caddr_t car, pair cdr)
51 pair foo = calloc(1, sizeof(*foo));
H A Dtree.h46 /* A pair of pointers, suitable for making a linked list. */
50 } *pair; typedef in typeref:struct:_pair
/freebsd-11-stable/contrib/libstdc++/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...]
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs_core/common/
H A Dlibzfs_core_compat.c36 nvpair_t *pair, *hpair; local
65 pair = nvlist_next_nvpair(nvl, NULL);
66 if (pair != NULL) {
67 buf = nvpair_name(pair);
74 if (!error && nvlist_next_nvpair(nvl, pair) != NULL)
87 pair = nvlist_next_nvpair(nvl, NULL);
88 if (pair != NULL) {
89 buf = nvpair_name(pair);
95 if (!error && nvlist_next_nvpair(nvl, pair) != NULL)
101 pair
[all...]
/freebsd-11-stable/contrib/ncurses/ncurses/widechar/
H A Dlib_vid_attr.c54 TR(TRACE_ATTRS, ("old pair = %d -- new pair = %d", old_pair, pair)); \
55 if ((pair != old_pair) \
56 || (fix_pair0 && (pair == 0)) \
59 old_pair, pair, \
64 #define set_color(mode, pair) \
66 mode |= (attr_t) ColorPair(pair)
71 NCURSES_PAIRS_T pair,
89 T((T_CALLED("vid_puts(%s,%d)"), _traceattr(newmode), pair));
69 vid_puts(NCURSES_SP_DCLx attr_t newmode, NCURSES_PAIRS_T pair, void *opts GCC_UNUSED, NCURSES_SP_OUTC outc) argument
262 SetPair(SCREEN_ATTRS(SP_PARM), pair); local
278 vid_puts(attr_t newmode, NCURSES_PAIRS_T pair, void *opts GCC_UNUSED, NCURSES_OUTC outc) argument
294 vid_attr(NCURSES_SP_DCLx attr_t newmode, NCURSES_PAIRS_T pair, void *opts) argument
309 vid_attr(attr_t newmode, NCURSES_PAIRS_T pair, void *opts) argument
[all...]
/freebsd-11-stable/contrib/libstdc++/include/backward/
H A Dpair.h63 using std::pair;
/freebsd-11-stable/contrib/ncurses/ncurses/base/
H A Dlib_slkattr.c50 int pair = GetPair(SP_PARM->_slk->attr); local
52 result |= (attr_t) ColorPair(pair);
/freebsd-11-stable/share/doc/psd/20.ipctut/
H A Dpipe.c48 perror("opening stream socket pair");
/freebsd-11-stable/contrib/llvm-project/lld/lib/Core/
H A DReader.cpp82 for (const KindStrings *pair = entry.array; !pair->name.empty(); ++pair) {
83 if (!inputStr.equals(pair->name))
87 value = pair->value;
103 for (const KindStrings *pair = entry.array; !pair->name.empty(); ++pair) {
104 if (pair->value != value)
106 str = pair
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Ddsl_userhold.c93 for (nvpair_t *pair = nvlist_next_nvpair(dduha->dduha_holds, NULL);
94 pair != NULL; pair = nvlist_next_nvpair(dduha->dduha_holds, pair)) {
100 name = nvpair_name(pair);
105 error = nvpair_value_string(pair, &htag);
263 for (nvpair_t *pair = nvlist_next_nvpair(dduha->dduha_chkholds, NULL);
264 pair != NULL;
265 pair = nvlist_next_nvpair(dduha->dduha_chkholds, pair)) {
307 nvpair_t *pair; local
552 nvpair_t *pair; local
[all...]
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/
H A Dtest-closed.c85 evutil_socket_t pair[2]; local
99 /* Create a pair of sockets */
100 if (evutil_socketpair(AF_UNIX, SOCK_STREAM, 0, pair) == -1)
104 if (send(pair[0], test, (int)strlen(test)+1, 0) < 0)
106 shutdown(pair[0], SHUT_WR);
109 ev = event_new(base, pair[1], EV_CLOSED | EV_TIMEOUT, closed_cb, event_self_cbarg());
H A Dtest-eof.c93 evutil_socket_t pair[2]; local
104 if (evutil_socketpair(AF_UNIX, SOCK_STREAM, 0, pair) == -1)
108 if (send(pair[0], test, (int)strlen(test)+1, 0) < 0)
110 shutdown(pair[0], SHUT_WR);
116 event_set(&ev, pair[1], EV_READ | EV_TIMEOUT, read_cb, &ev);
H A Dtest-weof.c58 evutil_socket_t pair[2]; variable
76 evutil_closesocket(pair[0]);
102 if (evutil_socketpair(AF_UNIX, SOCK_STREAM, 0, pair) == -1)
109 event_set(&ev, pair[1], EV_WRITE, write_cb, &ev);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/
H A DSelectHelper.cpp107 for (auto &pair : m_fd_map) {
108 pair.second.PrepareForSelect();
109 const lldb::socket_t fd = pair.first;
117 if (pair.second.read_set)
119 if (pair.second.write_set)
121 if (pair.second.error_set)
178 for (auto &pair : m_fd_map) {
179 const lldb::socket_t fd = pair.first;
181 if (pair.second.read_set)
184 if (pair
[all...]
/freebsd-11-stable/sys/dev/nvram2env/
H A Dnvram2env.c198 char *pair, *value, *assign; local
249 pair = (char*)nv+4;
251 pair = (char*)nv+4;
253 pair = (char*)nv+20;
255 pair = (char*)nv+4;
258 for ( ; pair < (char*)tmp;
259 pair += strlen(pair) + strlen(value) + 2 ) {
261 if (!pair || (strlen(pair)
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
H A DCGProfile.h26 MapVector<std::pair<Function *, Function *>, uint64_t> &Counts) const;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DRelocationResolver.h36 std::pair<bool (*)(uint64_t), RelocationResolver>
H A DSymbolSize.h27 std::vector<std::pair<SymbolRef, uint64_t>>
/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/
H A DFormatInternal.h63 /// Returns a pair P, where:
72 std::pair<tooling::Replacements, unsigned>
H A DUsingDeclarationsSorter.h27 std::pair<tooling::Replacements, unsigned>
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DASTStructuralEquivalence.h46 // result of equivalence of a starting Decl pair.
47 std::queue<std::pair<Decl *, Decl *>> DeclsToCheck;
50 // (are in or were once in \c DeclsToCheck) of a starting Decl pair.
51 llvm::DenseSet<std::pair<Decl *, Decl *>> VisitedDecls;
55 llvm::DenseSet<std::pair<Decl *, Decl *>> &NonEquivalentDecls;
74 llvm::DenseSet<std::pair<Decl *, Decl *>> &NonEquivalentDecls,
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DDFAEmitter.h76 using DfaTransitionInfo = SmallVector<std::pair<state_type, state_type>, 4>;
81 /// The set of nondeterministic transitions. A state-action pair can
83 std::map<std::pair<state_type, action_type>, std::vector<state_type>>
92 /// The set of deterministic transitions. A state-action pair has only a
94 std::map<std::pair<dfa_state_type, action_type>,
95 std::pair<dfa_state_type, DfaTransitionInfo>>

Completed in 192 milliseconds

1234567891011>>