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

1234567891011>>

/freebsd-9.3-release/contrib/xz/src/xz/
H A Dfile_io.c51 static bool io_write_buf(file_pair *pair, const uint8_t *buf, size_t size);
157 io_copy_attrs(const file_pair *pair) argument
169 if (fchown(pair->dest_fd, pair->src_st.st_uid, -1) && warn_fchown)
171 pair->dest_name, strerror(errno));
175 if (fchown(pair->dest_fd, -1, pair->src_st.st_gid)) {
177 pair->dest_name, strerror(errno));
186 mode = ((pair->src_st.st_mode & 0070) >> 3)
187 & (pair
290 io_open_src_real(file_pair *pair) argument
515 static file_pair pair; local
543 io_close_src(file_pair *pair, bool success) argument
570 io_open_dest_real(file_pair *pair) argument
684 io_open_dest(file_pair *pair) argument
701 io_close_dest(file_pair *pair, bool success) argument
745 io_close(file_pair *pair, bool success) argument
794 io_read(file_pair *pair, io_buf *buf_union, size_t size) argument
836 io_pread(file_pair *pair, io_buf *buf, size_t size, off_t pos) argument
874 io_write_buf(file_pair *pair, const uint8_t *buf, size_t size) argument
916 io_write(file_pair *pair, const io_buf *buf, size_t size) argument
[all...]
H A Dfile_io.h80 extern bool io_open_dest(file_pair *pair);
90 extern void io_close(file_pair *pair, bool success);
95 /// \param pair File pair having the source file open for reading
100 /// file zero is returned and pair->src_eof set to true.
102 extern size_t io_read(file_pair *pair, io_buf *buf, size_t size);
110 /// \param pair Seekable source file
118 extern bool io_pread(file_pair *pair, io_buf *buf, size_t size, off_t pos);
123 /// \param pair File pair havin
[all...]
H A Dcoder.c355 coder_init(file_pair *pair) argument
454 message_error("%s: %s", pair->src_name, message_strm(ret));
467 coder_normal(file_pair *pair) argument
474 lzma_action action = pair->src_eof ? LZMA_FINISH : LZMA_RUN;
487 if (strm.avail_in == 0 && !pair->src_eof) {
490 pair, &in_buf, IO_BUFFER_SIZE);
495 if (pair->src_eof)
504 if (opt_mode != MODE_TEST && io_write(pair, &out_buf,
524 if (opt_mode != MODE_TEST && io_write(pair,
534 if (strm.avail_in == 0 && !pair
597 coder_passthru(file_pair *pair) argument
626 file_pair *pair = io_open_src(filename); local
[all...]
/freebsd-9.3-release/sbin/dhclient/
H A Dtree.c50 pair
51 cons(caddr_t car, pair cdr)
53 pair foo = calloc(1, sizeof(*foo));
H A Dtree.h42 /* A pair of pointers, suitable for making a linked list. */
46 } *pair; typedef in typeref:struct:_pair
/freebsd-9.3-release/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-9.3-release/contrib/llvm/lib/DebugInfo/
H A DDWARFRelocMap.h17 typedef DenseMap<uint64_t, std::pair<uint8_t, int64_t> > RelocAddrMap;
/freebsd-9.3-release/contrib/ncurses/ncurses/base/
H A Dlib_slkattr.c50 int pair = GetPair(SP->_slk->attr); local
52 result |= COLOR_PAIR(pair);
H A Dlib_color.c200 * Reset the color pair, e.g., to whatever color pair 0 is.
331 init_pair(short pair, short f, short b) argument
335 T((T_CALLED("init_pair(%d,%d,%d)"), pair, f, b));
337 if ((pair < 0) || (pair >= COLOR_PAIRS) || SP == 0 || !SP->_coloron)
354 || (pair < 1))
359 * When a pair's content is changed, replace its colors (if pair was
361 * pair color
493 pair_content(short pair, short *f, short *b) argument
524 _nc_do_color(short old_pair, short pair, bool reverse, int (*outc) (int)) argument
[all...]
/freebsd-9.3-release/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-9.3-release/contrib/libstdc++/include/backward/
H A Dpair.h63 using std::pair;
/freebsd-9.3-release/share/doc/psd/20.ipctut/
H A Dpipe.c52 perror("opening stream socket pair");
/freebsd-9.3-release/contrib/ncurses/ncurses/widechar/
H A Dlib_vid_attr.c49 TR(TRACE_ATTRS, ("old pair = %d -- new pair = %d", old_pair, pair)); \
50 if ((pair != old_pair) \
51 || (fix_pair0 && (pair == 0)) \
53 _nc_do_color(old_pair, pair, reverse, outc); \
57 #define set_color(mode, pair) mode &= ALL_BUT_COLOR; mode |= COLOR_PAIR(pair)
60 vid_puts(attr_t newmode, short pair, void *opts GCC_UNUSED, int (*outc) (int)) argument
76 T((T_CALLED("vid_puts(%s,%d)"), _traceattr(newmode), pair));
226 SetPair(SCREEN_ATTRS(SP), pair); local
242 vid_attr(attr_t newmode, short pair, void *opts) argument
[all...]
/freebsd-9.3-release/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
550 nvpair_t *pair; local
[all...]
H A Ddsl_bookmark.c156 for (nvpair_t *pair = nvlist_next_nvpair(dbca->dbca_bmarks, NULL);
157 pair != NULL; pair = nvlist_next_nvpair(dbca->dbca_bmarks, pair)) {
162 error = dsl_dataset_hold(dp, fnvpair_value_string(pair),
166 nvpair_name(pair), tx);
171 nvpair_name(pair), error);
188 for (nvpair_t *pair = nvlist_next_nvpair(dbca->dbca_bmarks, NULL);
189 pair != NULL; pair
238 nvpair_t *pair; local
442 nvpair_t *pair = nvlist_next_nvpair(bmarks, NULL); local
[all...]
/freebsd-9.3-release/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);
H A Dregress_et.c86 evutil_socket_t pair[2] = {-1,-1}; local
96 if (evutil_ersatz_socketpair_(AF_INET, SOCK_STREAM, 0, pair) == -1) {
100 if (evutil_socketpair(LOCAL_SOCKETPAIR_AF, SOCK_STREAM, 0, pair) == -1) {
107 tt_int_op(send(pair[0], test, (int)strlen(test)+1, 0), >, 0);
108 shutdown(pair[0], SHUT_WR);
125 ev = event_new(base, pair[1], EV_READ|EV_ET|EV_PERSIST, read_cb, &ev);
130 * will read a single byte from pair[1] in either case. If we're edge
154 evutil_closesocket(pair[0]);
155 evutil_closesocket(pair[1]);
176 ev_et = event_new(base, data->pair[
[all...]
/freebsd-9.3-release/sys/dev/nvram2env/
H A Dnvram2env.c198 char *pair, *value, *assign; local
241 pair = (char*)nv+4;
243 pair = (char*)nv+4;
245 pair = (char*)nv+20;
247 pair = (char*)nv+4;
250 (u_int32_t)pair < ((u_int32_t)nv + size - 4);
251 pair = pair + strlen(pair) + 1 + strlen(value) + 1 ) {
253 if (pair
[all...]
/freebsd-9.3-release/contrib/llvm/include/llvm/ADT/
H A DMapVector.h32 typename VectorType = std::vector<std::pair<KeyT, ValueT> > >
67 std::pair<KeyT, ValueT> &front() { return Vector.front(); }
68 const std::pair<KeyT, ValueT> &front() const { return Vector.front(); }
69 std::pair<KeyT, ValueT> &back() { return Vector.back(); }
70 const std::pair<KeyT, ValueT> &back() const { return Vector.back(); }
78 std::pair<KeyT, unsigned> Pair = std::make_pair(Key, 0);
79 std::pair<typename MapType::iterator, bool> Result = Map.insert(Pair);
93 std::pair<iterator, bool> insert(const std::pair<KeyT, ValueT> &KV) {
94 std::pair<Key
[all...]
/freebsd-9.3-release/crypto/openssl/test/
H A Dtestfipsssl56 echo test tls1 via BIO pair
59 echo test tls1 with server authentication via BIO pair
62 echo test tls1 with client authentication via BIO pair
65 echo test tls1 with both client and server authentication via BIO pair
71 echo test sslv2/sslv3 w/o DHE via BIO pair
75 echo test sslv2/sslv3 with 1024bit DHE via BIO pair
81 echo test sslv2/sslv3 with client authentication via BIO pair
84 echo test sslv2/sslv3 with both client and server authentication via BIO pair
87 echo test sslv2/sslv3 with both client and server authentication via BIO pair and app verify
/freebsd-9.3-release/contrib/llvm/lib/Target/SystemZ/
H A DSystemZSelectionDAGInfo.h43 virtual std::pair<SDValue, SDValue>
49 virtual std::pair<SDValue, SDValue>
54 virtual std::pair<SDValue, SDValue>
61 virtual std::pair<SDValue, SDValue>
67 virtual std::pair<SDValue, SDValue>
72 virtual std::pair<SDValue, SDValue>
/freebsd-9.3-release/contrib/libstdc++/include/ext/pb_ds/detail/cc_hash_table_map_/
H A Diterators_fn_imps.hpp62 std::pair<entry_pointer, size_type> pos;
79 std::pair<entry_pointer, size_type> pos;
/freebsd-9.3-release/contrib/llvm/include/llvm/Support/
H A DLockFileManager.h16 #include <utility> // for std::pair
48 Optional<std::pair<std::string, int> > Owner;
54 static Optional<std::pair<std::string, int> >

Completed in 164 milliseconds

1234567891011>>