HomeSort by relevance Sort by last modified time
    Searched refs:attrs (Results 1 - 25 of 277) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /netvirt/usr/src/cmd/fmli/vt/
winputs.c 35 #include "attrs.h"
59 chtype attrs = Attr_normal; local
68 p = attr_off(p, &attrs, win );
74 p = attr_on(p, &attrs, win);
86 wputchar(*p, attrs, win);
97 SIDE EFFECTS: set bits in `attrs' corresponding to the attribute to
105 attr_on(p, attrs, win)
107 chtype *attrs;
116 *attrs |= A_ALTCHARSET;
123 *attrs |= A_BOLD
    [all...]
  /netvirt/usr/src/cmd/lvm/metassist/common/
volume_nvpair.h 41 * @param attrs
62 extern int get_uint16(nvlist_t *attrs, char *which, uint16_t *val);
67 * @param attrs
85 extern int set_uint16(nvlist_t *attrs, char *which, uint16_t val);
90 * @param attrs
111 extern int get_uint32(nvlist_t *attrs, char *which, uint32_t *val);
116 * @param attrs
134 extern int set_uint32(nvlist_t *attrs, char *which, uint32_t val);
139 * @param attrs
160 extern int get_uint64(nvlist_t *attrs, char *which, uint64_t *val)
    [all...]
volume_nvpair.c 56 * @param attrs
73 nvlist_t *attrs,
79 nvlist_walk_nvpair(attrs, which, DATA_TYPE_UINT16, NULL);
93 * @param attrs
113 nvlist_t *attrs,
119 if ((error = nvlist_add_uint16(attrs, which, val)) != 0) {
130 * @param attrs
147 nvlist_t *attrs,
153 nvlist_walk_nvpair(attrs, which, DATA_TYPE_UINT32, NULL);
167 * @param attrs
    [all...]
  /netvirt/usr/src/lib/libcurses/screen/
V3.wattroff.c 50 wattroff(WINDOW *win, _ochtype attrs)
52 win->_attrs &= (~_FROM_OCHTYPE(attrs) | win->_bkgd) & A_ATTRIBUTES;
V3.wattron.c 50 wattron(WINDOW *win, _ochtype attrs)
52 win->_attrs |= _FROM_OCHTYPE(attrs) & A_ATTRIBUTES;
V3.wattrset.c 50 wattrset(WINDOW *win, _ochtype attrs)
52 win->_attrs = (_FROM_OCHTYPE(attrs) | win->_bkgd) & A_ATTRIBUTES;
  /netvirt/usr/src/cmd/lp/lib/papi/
lpsched-service.c 38 lpsched_service_information(papi_attribute_t ***attrs)
43 papiAttributeListAddString(attrs, PAPI_ATTR_APPEND,
  /netvirt/usr/src/lib/gss_mechs/mech_krb5/crypto/
pbkdf2.c 64 int attrs = 0; local
71 tmpl[attrs].type = CKA_CLASS;
72 tmpl[attrs].pValue = &class;
73 tmpl[attrs].ulValueLen = sizeof (class);
74 attrs++;
80 tmpl[attrs].type = CKA_KEY_TYPE;
81 tmpl[attrs].pValue = &keytype;
82 tmpl[attrs].ulValueLen = sizeof (keytype);
83 attrs++;
95 tmpl[attrs].type = CKA_VALUE_LEN
    [all...]
  /netvirt/usr/src/lib/libdiskmgt/common/
alias.c 41 static int get_status(disk_t *diskp, int fd, nvlist_t *attrs);
60 nvlist_t *attrs = NULL; local
69 if (nvlist_alloc(&attrs, NVATTRS, 0) != 0) {
75 if (nvlist_add_uint32(attrs, DM_LUN, ap->lun) != 0) {
76 nvlist_free(attrs);
81 if (nvlist_add_uint32(attrs, DM_TARGET, ap->target) != 0) {
82 nvlist_free(attrs);
89 if (nvlist_add_string(attrs, DM_WWN, ap->wwn) != 0) {
90 nvlist_free(attrs);
102 if ((*errp = get_status(dp->p.disk, fd, attrs)) != 0)
    [all...]
media.c 51 static int get_attrs(disk_t *dp, int fd, nvlist_t *attrs);
124 nvlist_t *attrs = NULL; local
132 if (nvlist_alloc(&attrs, NVATTRS, 0) != 0) {
139 if ((*errp = get_attrs(dp->p.disk, fd, attrs)) != 0) {
140 nvlist_free(attrs);
141 attrs = NULL;
148 return (attrs);
372 get_attrs(disk_t *dp, int fd, nvlist_t *attrs)
389 if (nvlist_add_boolean(attrs, DM_FDISK) != 0) {
395 if (nvlist_add_boolean(attrs, DM_REMOVABLE) != 0)
    [all...]
controller.c 64 nvlist_t *attrs; local
66 if (nvlist_alloc(&attrs, NVATTRS, 0) != 0) {
73 if (nvlist_add_string(attrs, DM_CTYPE, cp->ctype) != 0) {
74 nvlist_free(attrs);
80 if (nvlist_add_boolean(attrs, DM_MULTIPLEX) != 0) {
81 nvlist_free(attrs);
89 if (nvlist_add_boolean(attrs, DM_FAST) != 0) {
90 nvlist_free(attrs);
96 if (nvlist_add_boolean(attrs, DM_WIDE) != 0) {
97 nvlist_free(attrs);
    [all...]
inuse_dump.c 56 inuse_dump(char *slice, nvlist_t *attrs, int *errp)
86 libdiskmgt_add_str(attrs, DM_USED_BY,
88 libdiskmgt_add_str(attrs, DM_USED_NAME,
  /netvirt/usr/src/cmd/svc/profile/
listsvcs.pl 60 my ($p, $el, %attrs) = @_;
63 return unless ($attrs{"name"});
64 $name = $attrs{"name"};
70 if ($list_all || $attrs{"enabled"} eq "true");
  /netvirt/usr/src/lib/libldap4/common/
add.c 40 BerElement * ldap_build_add_req(LDAP *ld, char *dn, LDAPMod **attrs,
50 * attrs SEQUENCE OF SEQUENCE {
71 for ( i = 0; attrs[i] != NULL; i++ ) {
72 if ( ( attrs[i]->mod_op & LDAP_MOD_BVALUES) != 0 ) {
73 rc = ber_printf( ber, "{s[V]}", attrs[i]->mod_type,
74 attrs[i]->mod_values );
76 rc = ber_printf( ber, "{s[v]}", attrs[i]->mod_type,
77 attrs[i]->mod_values );
130 * LDAPMod *attrs[] = {
136 * msgid = ldap_add( ld, dn, attrs );
    [all...]
  /netvirt/usr/src/lib/libldap5/sources/ldap/common/
add.c 51 * LDAPMod *attrs[] = {
57 * msgid = ldap_add( ld, dn, attrs );
61 ldap_add( LDAP *ld, const char *dn, LDAPMod **attrs )
67 if ( ldap_add_ext( ld, dn, attrs, NULL, NULL, &msgid )
82 ldap_add_ext( LDAP *ld, const char *dn, LDAPMod **attrs,
92 * attrs SEQUENCE OF SEQUENCE {
110 if ( !NSLDAPI_VALID_NONEMPTY_LDAPMOD_ARRAY( attrs )
129 attrs )) != 0 ) {
152 for ( i = 0; attrs[i] != NULL; i++ ) {
153 if ( ( attrs[i]->mod_op & LDAP_MOD_BVALUES) != 0 )
    [all...]
  /netvirt/usr/src/cmd/tnf/prex/
prbk.c 82 tnfctl_trace_attrs_t attrs; local
84 if (check_kernelmode(&attrs))
86 if (attrs.trace_buf_state == TNFCTL_BUF_NONE) {
90 attrs.trace_buf_size);
91 if (attrs.trace_buf_state == TNFCTL_BUF_BROKEN) {
107 tnfctl_trace_attrs_t attrs; local
109 if (check_kernelmode(&attrs))
112 if (attrs.trace_buf_state != TNFCTL_BUF_NONE) {
117 if (size < attrs.trace_min_size) {
121 size, attrs.trace_min_size, attrs.trace_min_size)
298 tnfctl_trace_attrs_t attrs; local
336 tnfctl_trace_attrs_t attrs; local
381 tnfctl_trace_attrs_t attrs; local
    [all...]
  /netvirt/usr/src/lib/print/libprint/common/
ns_cmn_kvp.c 122 ns_kvp_t *kvp, **attrs; local
147 for (attrs = printer->attributes; attrs != NULL && *attrs != NULL;
148 attrs++) {
151 if ((strcmp((*attrs)->key, NS_KEY_ALL) == 0) ||
152 (strcmp((*attrs)->key, NS_KEY_GROUP) == 0)) {
155 for (printers = string_to_value((*attrs)->key,
156 (*attrs)->value);
166 } else if (strcmp((*attrs)->key, NS_KEY_LIST) == 0)
    [all...]
nss_ldap.c 160 static NSL_RESULT _addLDAPmodValue(LDAPMod ***attrs, char *type, char *value);
161 static NSL_RESULT _modLDAPmodValue(LDAPMod ***attrs, char *type, char *value);
163 char **attrList, LDAPMod ***attrs);
165 char **attrList, char ***oldKVPList, LDAPMod ***attrs);
175 static NSL_RESULT _attrAddKVP(LDAPMod ***attrs, char **kvpList, int kvpExists);
867 LDAPMod **attrs = NULL; local
891 attrList, &attrs);
895 (char *)printerDN, attrs);
908 (void) ldap_mods_free(attrs, 1);
964 LDAPMod **attrs = NULL local
    [all...]
  /netvirt/usr/src/cmd/fmli/qued/
fput.c 38 #include "attrs.h"
57 chtype attrs; local
61 attrs = Lastattr;
72 sptr = attr_off(sptr, &attrs, NULL) + 1;
79 sptr = attr_on(sptr, &attrs, NULL) + 1;
107 wputchar(' ', attrs, NULL);
115 wputchar(*sptr++, attrs, NULL);
151 Lastattr = attrs;
  /netvirt/usr/src/lib/nsswitch/ldap/common/
tsol_gettpent.c 64 char **attrs, **template; local
76 attrs = __ns_ldap_getAttr(result->entry, _TNRHTP_ATTRS);
77 if (attrs == NULL || attrs[0] == NULL || (strlen(attrs[0]) < 1)) {
82 /* "template:attrs" */
83 len = strlen(template[0]) + strlen(attrs[0]) + 2;
95 (void) snprintf(buffer, len, "%s:%s", template[0], attrs[0]);
  /netvirt/usr/src/cmd/print/bsd-sysv-commands/
lpstat.c 148 papi_attribute_t **attrs = papiPrinterGetAttributeList(p); local
150 (void) papiAttributeListGetString(attrs, NULL,
169 papi_attribute_t **attrs = papiPrinterGetAttributeList(printer); local
175 status = papiAttributeListGetString(attrs, NULL,
178 status = papiAttributeListGetString(attrs, NULL,
185 (void) papiAttributeListGetString(attrs, NULL,
221 papi_attribute_t **attrs = papiPrinterGetAttributeList(printer); local
226 status = papiAttributeListGetString(attrs, NULL,
229 status = papiAttributeListGetString(attrs, NULL,
235 (void) papiAttributeListGetBoolean(attrs, NULL
269 papi_attribute_t **attrs = papiPrinterGetAttributeList(printer); local
307 papi_attribute_t **attrs = papiPrinterGetAttributeList(printer); local
616 papi_attribute_t **attrs = papiJobGetAttributeList(job); local
827 papi_attribute_t **attrs = NULL; local
    [all...]
  /netvirt/usr/src/lib/libslp/clib/
SAAdvert.c 41 char **scopes, char **attrs) {
50 *surl = *scopes = *attrs = NULL;
74 if ((err = slp_get_string(reply, len, &off, attrs)) != SLP_OK) {
98 if (*attrs) free(*attrs);
  /netvirt/usr/src/cmd/perl/5.6.1/distrib/t/lib/
attrs.t 3 # Regression tests for attrs.pm and the C<sub x : attrs> syntax.
8 eval 'require attrs; 1' or do {
23 eval 'sub t1 ($) { use attrs "locked"; $_[0]++ }';
28 eval 'sub t2 { use attrs "locked"; $_[0]++ }';
44 eval '$anon1 = sub ($) { use attrs qw(locked method); $_[0]++ }';
50 eval '$anon2 = sub { use attrs qw(locked method); $_[0]++ }';
56 eval '$anon3 = sub { use attrs "method"; $_[0]->[1] }';
61 my @attrs = attrs::get($anon3 ? $anon3 : \&ns)
    [all...]
  /netvirt/usr/src/lib/libxcurses2/src/libc/xcurses/
bkgrndst.c 64 attr_t attrs; local
66 attrs = w->_fg._at;
67 w->_fg._at = (attrs & ~w->_bg._at) | bg->_at;
  /netvirt/usr/src/cmd/perl/5.8.4/distrib/ext/attrs/t/
attrs.t 3 # Regression tests for attrs.pm and the C<sub x : attrs> syntax.
8 eval 'require attrs; 1' or do {
15 no warnings qw(deprecated); # else attrs cries.
26 eval 'sub t1 ($) { use attrs "locked"; $_[0]++ }';
31 eval 'sub t2 { use attrs "locked"; $_[0]++ }';
47 eval '$anon1 = sub ($) { use attrs qw(locked method); $_[0]++ }';
53 eval '$anon2 = sub { use attrs qw(locked method); $_[0]++ }';
59 eval '$anon3 = sub { use attrs "method"; $_[0]->[1] }';
64 my @attrs = attrs::get($anon3 ? $anon3 : \&ns)
    [all...]

Completed in 6719 milliseconds

1 2 3 4 5 6 7 8 91011>>