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

1234

/haiku-fatelf/headers/cpp/
H A Dstl_pair.h37 struct pair { struct
43 pair() : first(_T1()), second(_T2()) {} function in struct:pair
44 pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) {} function in struct:pair
48 pair(const pair<_U1, _U2>& __p) : first(__p.first), second(__p.second) {} argument
53 inline bool operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument
59 inline bool operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument
66 inline pair<_T
[all...]
H A Dpair.h42 using __STD::pair;
H A Dtempbuf.h31 #include <pair.h>
H A Dstl_tempbuf.h38 pair<_Tp*, ptrdiff_t>
47 return pair<_Tp*, ptrdiff_t>(__tmp, __len);
51 return pair<_Tp*, ptrdiff_t>((_Tp*)0, 0);
57 inline pair<_Tp*, ptrdiff_t> get_temporary_buffer(ptrdiff_t __len) {
69 inline pair<_Tp*, ptrdiff_t> get_temporary_buffer(ptrdiff_t __len, _Tp*) {
H A Dalgobase.h30 #include <pair.h>
H A Dstl_uninitialized.h100 pair<_InputIter, _ForwardIter>
109 return pair<_InputIter, _ForwardIter>(__first, __cur);
115 inline pair<_RandomAccessIter, _ForwardIter>
120 return pair<_RandomAccessIter, _ForwardIter>(
126 inline pair<_InputIter, _ForwardIter>
134 inline pair<_InputIter, _ForwardIter>
/haiku-fatelf/src/tests/kits/net/
H A Dfirefox_crash.cpp43 tcp_pair(int pair[]) argument
45 pair[0] = pair[1] = -1;
67 pair[0] = open_tcp_socket();
68 if (pair[0] < 0)
73 if (connect(pair[0], (sockaddr*)&address, sizeof(sockaddr_in)) != 0
83 FD_SET(pair[0], &set);
84 if (select(pair[0] + 1, NULL, &set, NULL, &tv) < 0)
89 if (getsockname(pair[0], (sockaddr*)&address, &length) != 0)
93 pair[
130 int pair[2]; local
[all...]
/haiku-fatelf/src/libs/ncurses/ncurses/base/
H A Dlib_slkattr.c50 int pair = GetPair(SP->_slk->attr); local
52 result |= COLOR_PAIR(pair);
H A Dlib_color.c182 * Reset the color pair, e.g., to whatever color pair 0 is.
309 init_pair(short pair, short f, short b) argument
313 T((T_CALLED("init_pair(%d,%d,%d)"), pair, f, b));
315 if ((pair < 0) || (pair >= COLOR_PAIRS) || SP == 0 || !SP->_coloron)
332 || (pair < 1))
337 * When a pair's content is changed, replace its colors (if pair was
339 * pair color
471 pair_content(short pair, short *f, short *b) argument
502 _nc_do_color(int old_pair, int pair, bool reverse, int (*outc) (int)) argument
[all...]
H A Dlib_bkgd.c62 int pair; local
64 if ((pair = GetPair(win->_nc_bkgd)) != 0)
66 if ((pair = GetPair(CHDEREF(ch))) != 0)
67 SET_WINDOW_PAIR(win, pair);
H A Dlib_addch.c51 /* Return bit mask for clearing color pair number if given ch has color */
59 int pair = GetPair(ch); local
63 && pair == 0) {
64 /* color/pair in attrs has precedence over bkgrnd */
67 if ((pair = GET_WINDOW_PAIR(win)) == 0)
68 pair = GetPair(win->_nc_bkgd);
69 SetPair(ch, pair);
74 if (pair == 0) {
75 if ((pair = GET_WINDOW_PAIR(win)) == 0)
76 pair
[all...]
H A Dlib_instr.c67 short pair; local
78 if (getcchar(cell, wch, &attrs, &pair, 0) == OK) {
/haiku-fatelf/src/libs/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
75 T((T_CALLED("vid_puts(%s,%d)"), _traceattr(newmode), pair));
225 SetPair(SCREEN_ATTRS(SP), pair); local
241 vid_attr(attr_t newmode, short pair, void *opts) argument
[all...]
/haiku-fatelf/src/tests/system/benchmarks/libMicro/
H A Dselect.c103 int pair[2]; local
138 if (socketpair(PF_UNIX, SOCK_STREAM, 0, pair) == -1) {
143 fds[i] = MIN(pair[0], pair[1]);
144 fds[i+1] = MAX(pair[0], pair[1]);
H A Dpoll.c107 int pair[2]; local
138 if (socketpair(PF_UNIX, SOCK_STREAM, 0, pair) == -1) {
143 fds[i] = MIN(pair[0], pair[1]);
144 fds[i+1] = MAX(pair[0], pair[1]);
/haiku-fatelf/src/libs/ncurses/ncurses/trace/
H A Dlib_tracedmp.c112 int pair = GetPair(win->_line[n].text[j]); local
113 if (pair >= 52)
115 else if (pair >= 36)
116 ep[j] = pair + 'A';
117 else if (pair >= 10)
118 ep[j] = pair + 'a';
119 else if (pair >= 1)
120 ep[j] = pair + '0';
/haiku-fatelf/src/libs/ncurses/ncurses/tty/
H A Dlib_vidattr.c82 TR(TRACE_ATTRS, ("old pair = %d -- new pair = %d", old_pair, pair)); \
83 if ((pair != old_pair) \
84 || (fix_pair0 && (pair == 0)) \
86 _nc_do_color(old_pair, pair, reverse, outc); \
95 int pair; local
153 pair = PAIR_NUMBER(newmode);
162 SetColorsIf(((pair == 0) && !fix_pair0), previous_attr);
183 SetColorsIf((pair !
[all...]
/haiku-fatelf/src/libs/ncurses/test/
H A Dnewdemo.c83 set_colors(WINDOW *win, int pair, int foreground, int background) argument
86 if (pair > COLOR_PAIRS)
87 pair = COLOR_PAIRS;
88 init_pair(pair, foreground, background);
89 wattrset(win, COLOR_PAIR(pair));
94 use_colors(WINDOW *win, int pair, chtype attrs) argument
97 if (pair > COLOR_PAIRS)
98 pair = COLOR_PAIRS;
99 attrs |= COLOR_PAIR(pair);
/haiku-fatelf/src/bin/coreutils/lib/
H A Dposixtm.c109 int pair[6]; local
136 pair[i] = 10 * (s[2*i] - '0') + s[2*i + 1] - '0';
138 p = pair;
/haiku-fatelf/headers/build/private/storage/mime/
H A DMimeUpdateThread.h51 std::list< std::pair<dev_t, bool> > fAttributeSupportList;
/haiku-fatelf/src/add-ons/kernel/console/vga_text/
H A Dvga_text.c97 uint16 pair = ((uint16)attr << 8) | (uint16)glyph; local
99 *p = pair;
106 uint16 pair = ((uint16)attr << 8) | (uint16)glyph; local
112 while (p < p_limit) *p++ = pair;
/haiku-fatelf/src/apps/cortex/Persistence/
H A DImportContext.h101 typedef std::pair<const char*, IPersistent*> object_entry;
/haiku-fatelf/src/apps/cortex/RouteApp/
H A DNodeSetIOContext.h101 typedef std::pair<BString,media_node_id> node_entry;
/haiku-fatelf/src/servers/registrar/mime/
H A DMimeUpdateThread.h52 std::list< std::pair<dev_t, bool> > fAttributeSupportList;
/haiku-fatelf/src/apps/cortex/support/
H A Dset_tools.h71 public std::binary_function<std::pair<key,value>, value, bool> {
74 bool operator()(const std::pair<key,value>& p, const value& v) const {
83 // public unary_function<pair<key,value>, bool> {
89 // bool operator()(const std::pair<key,value>& p) const {

Completed in 222 milliseconds

1234