/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | pair_cont.c | 48 pair_content(short pair, short *f, short *b) argument 52 if (pair < 1 || pair >= COLOR_PAIRS || 56 ptp += pair;
|
H A D | init_pair.c | 48 init_pair(short pair, short f, short b) argument 54 if (pair < 1 || pair >= COLOR_PAIRS || 58 ptp = cur_term->_pairs_tbl + pair; 69 /* and "pair" was previously defined, go through the curscr */ 71 /* that use that color pair (this way when refresh will be */ 83 chtype new_pair = COLOR_PAIR(pair); 114 /* send an escape to initialize the new pair */ 117 _init_HP_pair(pair, f, b); 119 /* if that pair ha 133 _init_HP_pair(short pair, short f, short b) argument [all...] |
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | vid_attr.c | 47 vid_attr(attr_t attr, short pair, void *opts) argument 52 __m_trace("vid_attr(%x, %d, %p)", attr, pair, opts); 55 code = vid_puts(attr, pair, opts, __m_putchar);
|
H A D | attron.c | 107 short pair; local 113 pair = (short) ((at & A_COLOR) >> __COLOR_SHIFT); 115 return __m_return_int("PAIR_NUMBER", pair);
|
H A D | color.c | 122 init_pair(short pair, short f, short b) argument 127 __m_trace("init_pair(%d, %d, %d)", pair, f, b); 130 if (pair < 0 || max_pairs <= pair 135 /* Remember color-pair settings for future queries. */ 136 cur_term->_pair[pair][0] = f; 137 cur_term->_pair[pair][1] = b; 141 /* Set color-pair (foreground-background). */ 182 pair_content(short pair, short *f, short *b) argument 185 __m_trace("pair_content(%d, %p, %p)", pair, [all...] |
H A D | vid_puts.c | 68 vid_puts(attr_t attr, short pair, void *opts, int (*putout)(int)) argument 71 __m_trace("vid_puts(%x, %d, %p, %p)", attr, pair, opts, putout); 134 * COLOR_PAIR(0). This implies that colour pair 0 is 141 pair = 0; 142 } else if (pair != cur_term->_co && 0 < max_colors) { 148 set_color_pair, (long) pair, 153 } else if (pair_content(pair, &fg, &bg) == OK) { 192 cur_term->_co = pair;
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | vid_attr.c | 50 vid_attr(attr_t attr, short pair, void *opts) argument 54 code = vid_puts(attr, pair, opts, __m_putchar);
|
H A D | attron.c | 84 int pair; local 86 pair = (int)(((unsigned int)at & A_COLOR) >> __COLOR_SHIFT); 88 return (pair);
|
H A D | color.c | 123 init_pair(short pair, short f, short b) argument 127 if (pair < 0 || max_pairs <= pair || 132 /* Remember color-pair settings for future queries. */ 133 cur_term->_pair[pair][0] = f; 134 cur_term->_pair[pair][1] = b; 138 /* Set color-pair (foreground-background). */ 172 pair_content(short pair, short *f, short *b) argument 174 if (pair < 0 || max_pairs <= pair) [all...] |
H A D | vid_puts.c | 73 vid_puts(attr_t attr, short pair, void *opts, int (*putout)(int)) argument 137 * COLOR_PAIR(0). This implies that colour pair 0 is 140 if (pair == 0) { 145 pair = 0; 146 } else if (pair != cur_term->_co && 0 < max_colors) { 150 (void) TPUTS(tparm(set_color_pair, (long) pair, 153 } else if (pair_content(pair, &fg, &bg) == OK) { 178 cur_term->_co = pair;
|
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_xattr.c | 76 nvpair_t *pair = NULL; local 79 while (pair = nvlist_next_nvpair(nvl, pair)) { 91 type = nvpair_type(pair); 92 attr = name_to_attr(nvpair_name(pair)); 115 if (nvpair_value_boolean_value(pair, &value)) { 122 if (nvpair_value_uint64_array(pair, ×, &nelems)) {
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | limits.c | 134 struct name_value pair; local 141 p = next_token (p, &pair); 144 if (EQUALS(pair.name, _Lwords[i])) { 145 flds[i] = pair.value; 148 if (i == NUMFLDS-1) /* pair.name is not key */
|
H A D | permission.c | 566 struct name_value pair; local 580 p = next_token (p, &pair); 583 if (EQUALS(pair.name, _Kwords[i].kword)) { 584 flds[i] = pair.value; 590 pair.name, NUMFLDS); 593 DEBUG(3, "bad option (%s) in PERMISSIONS\n",pair.name); 596 pair.name); 608 * return a name value pair 610 * pair -> name value pair [all...] |
/illumos-gate/usr/src/cmd/tnf/prex/ |
H A D | spec.c | 210 char *pair; local 246 for (pair = strtok_r(escptr, ";", &lasts); pair; 247 pair = strtok_r(NULL, ";", &lasts)) { 254 escattr = strtok_r(pair, " \t", &escvals);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | vuid_store.c | 68 register ushort_t pair = event->pair; local 102 /* See if value node for pair */ 103 if (!vuid_get_int_bit(seg, pair)) 104 (void) vuid_add_value(seg, pair); 106 pair_val_node = vuid_find_value(seg, pair); 107 /* Set pair value to difference */ 112 /* See if value node for pair */ 113 if (!vuid_get_int_bit(seg, pair)) 114 (void) vuid_add_value(seg, pair); [all...] |
H A D | devpool.c | 225 nvpair_t *pair; local 593 for (pair = nvlist_next_nvpair(list, NULL); pair != NULL; 594 pair = nvlist_next_nvpair(list, pair)) { 597 propput.pp_o_id, pair)) != 0)
|
/illumos-gate/usr/src/lib/libcmdutils/common/ |
H A D | process_xattrs.c | 276 nvpair_t *pair; local 286 pair = NULL; 287 while ((pair = nvlist_next_nvpair(response, pair)) != NULL) { 289 name = nvpair_name(pair); 296 type = nvpair_type(pair); 299 if (nvpair_value_boolean_value(pair,
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | errmap.h | 180 struct mecherrmap__pair *pair; 181 pair = mecherrmap__pairarray_getaddr (&m->a, i); 182 if ((*fn)(pair->l, pair->r, p) != 0) 197 struct mecherrmap__pair *pair; 198 pair = mecherrmap__pairarray_getaddr (&m->a, i); 199 assert ((*cmp_OM_uint32)(l, pair->l) != 0); 200 if ((*cmp_OM_uint32)(l, pair->l) == 0) 202 assert ((*mecherror_cmp)(r, pair->r) != 0); 203 if ((*mecherror_cmp)(r, pair 177 struct mecherrmap__pair *pair; local 194 struct mecherrmap__pair *pair; local 221 struct mecherrmap__pair *pair; local 235 struct mecherrmap__pair *pair; local [all...] |
/illumos-gate/usr/src/lib/libsecdb/common/ |
H A D | secdb.c | 148 char *pair; local 183 pair = _strtok_escape(buf, del, &last_pair); 185 key = _strtok_escape(pair, ass, &last_key); 191 } while ((pair = _strtok_escape(NULL, del, &last_pair)) != NULL);
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dsl_bookmark.c | 156 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 239 nvpair_t *pair; local 444 nvpair_t *pair = nvlist_next_nvpair(bmarks, NULL); local [all...] |
H A D | dsl_userhold.c | 93 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...] |
/illumos-gate/usr/src/common/nvpair/ |
H A D | fnvpair.c | 122 nvpair_t *pair; local 124 for (pair = nvlist_next_nvpair(nvl, 0); pair != NULL; 125 pair = nvlist_next_nvpair(nvl, pair)) 209 fnvlist_add_nvpair(nvlist_t *nvl, nvpair_t *pair) argument 211 VERIFY0(nvlist_add_nvpair(nvl, pair)); 299 fnvlist_remove_nvpair(nvlist_t *nvl, nvpair_t *pair) argument 301 VERIFY0(nvlist_remove_nvpair(nvl, pair));
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_iter.c | 43 nvpair_t *pair; local 48 for (pair = nvlist_next_nvpair(nvl, NULL); pair != NULL; 49 pair = nvlist_next_nvpair(nvl, pair)) { 50 zfs_handle_t *clone = zfs_open(zhp->zfs_hdl, nvpair_name(pair), 198 for (nvpair_t *pair = nvlist_next_nvpair(bmarks, NULL); 199 pair != NULL; pair = nvlist_next_nvpair(bmarks, pair)) { [all...] |
/illumos-gate/usr/src/common/lzma/ |
H A D | LzFind.c | 364 CLzRef *pair = son + ((_cyclicBufferPos - delta + ((delta > _cyclicBufferPos) ? _cyclicBufferSize : 0)) << 1); local 379 *ptr1 = pair[0]; 380 *ptr0 = pair[1]; 388 ptr1 = pair + 1; 395 ptr0 = pair; 418 CLzRef *pair = son + ((_cyclicBufferPos - delta + ((delta > _cyclicBufferPos) ? _cyclicBufferSize : 0)) << 1); local 429 *ptr1 = pair[0]; 430 *ptr0 = pair[1]; 438 ptr1 = pair + 1; 445 ptr0 = pair; [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | pool_pset.c | 719 pool_pset_propput(psetid_t psetid, nvpair_t *pair) argument 728 ret = pool_propput_common(pset->pset_props, pair, pool_pset_props); 758 pool_cpu_propput(processorid_t cpuid, nvpair_t *pair) argument 766 if (nvpair_type(pair) == DATA_TYPE_STRING && 767 strcmp(nvpair_name(pair), "cpu.status") == 0) { 771 (void) nvpair_value_string(pair, &val); 795 ret = pool_propput_common(cpu->cpu_props, pair, pool_cpu_props);
|