Home
last modified time | relevance | path

Searched refs:attributes (Results 1 – 25 of 254) sorted by relevance

1234567891011

/titanic_50/usr/src/cmd/lp/lib/papi/
H A Dlpsched-printers.c97 lpsched_printer_defaults(papi_attribute_t ***attributes) in lpsched_printer_defaults() argument
99 if (attributes == NULL) in lpsched_printer_defaults()
102 papiAttributeListAddBoolean(attributes, PAPI_ATTR_REPLACE, in lpsched_printer_defaults()
104 papiAttributeListAddString(attributes, PAPI_ATTR_REPLACE, in lpsched_printer_defaults()
107 papiAttributeListAddString(attributes, PAPI_ATTR_REPLACE, in lpsched_printer_defaults()
109 papiAttributeListAddInteger(attributes, PAPI_ATTR_REPLACE, in lpsched_printer_defaults()
111 papiAttributeListAddInteger(attributes, PAPI_ATTR_REPLACE, in lpsched_printer_defaults()
113 papiAttributeListAddRange(attributes, PAPI_ATTR_REPLACE, in lpsched_printer_defaults()
115 papiAttributeListAddInteger(attributes, PAPI_ATTR_REPLACE, in lpsched_printer_defaults()
117 papiAttributeListAddBoolean(attributes, PAPI_ATTR_REPLACE, in lpsched_printer_defaults()
[all …]
H A Dlpsched-jobs.c43 papi_attribute_t **attributes) in job_attributes_to_lpsched_request() argument
74 if (attributes == NULL) in job_attributes_to_lpsched_request()
78 papiAttributeListGetLPString(attributes, in job_attributes_to_lpsched_request()
83 papiAttributeListGetInteger(attributes, NULL, "copies", &i); in job_attributes_to_lpsched_request()
92 if (papiAttributeListGetInteger(attributes, NULL, "job-priority", &i) in job_attributes_to_lpsched_request()
103 papiAttributeListGetLPString(attributes, "form", &r->form); in job_attributes_to_lpsched_request()
107 tmp[0] = papiAttributeListFind(attributes, "page-ranges"); in job_attributes_to_lpsched_request()
121 papiAttributeListGetString(attributes, NULL, "document-format", &s); in job_attributes_to_lpsched_request()
139 papiAttributeListGetString(attributes, NULL, in job_attributes_to_lpsched_request()
141 papiAttributeListGetString(attributes, NULL, in job_attributes_to_lpsched_request()
[all …]
H A Dservice.c68 papiAttributeListAddString(&svc->attributes, PAPI_ATTR_EXCL, in papiServiceCreate()
90 papiAttributeListFree(svc->attributes); in papiServiceDestroy()
135 return (papiAttributeListAddString(&svc->attributes, PAPI_ATTR_REPLACE, in papiServiceSetUserName()
147 return (papiAttributeListAddString(&svc->attributes, PAPI_ATTR_REPLACE, in papiServiceSetPassword()
160 return (papiAttributeListAddInteger(&svc->attributes, PAPI_ATTR_REPLACE, in papiServiceSetEncryption()
198 papiAttributeListGetString(svc->attributes, NULL, in papiServiceGetServiceName()
211 papiAttributeListGetString(svc->attributes, NULL, in papiServiceGetUserName()
224 papiAttributeListGetString(svc->attributes, NULL, in papiServiceGetPassword()
237 papiAttributeListGetInteger(svc->attributes, NULL, in papiServiceGetEncryption()
262 lpsched_service_information(&svc->attributes); in papiServiceGetAttributeList()
[all …]
H A Dpapi_impl.h56 papi_attribute_t **attributes; member
65 papi_attribute_t **attributes; /* job attributes */ member
69 papi_attribute_t **attributes; /* queue attributes */ member
91 extern void papiAttributeListGetLPString(papi_attribute_t **attributes,
93 extern void papiAttributeListGetLPStrings(papi_attribute_t **attributes,
112 REQUEST *r, papi_attribute_t **attributes);
128 papi_attribute_t **attributes, int type);
130 papi_attribute_t **attributes);
/titanic_50/usr/src/lib/sun_fc/common/
H A DTgtFCHBAPort.cc248 HBA_PORTATTRIBUTES attributes; in getPortAttributes() local
253 memset(&attributes, 0, sizeof (attributes)); in getPortAttributes()
279 attributes.PortFcId = attrs.PortFcId; in getPortAttributes()
280 attributes.PortType = attrs.PortType; in getPortAttributes()
281 attributes.PortState = attrs.PortState; in getPortAttributes()
282 attributes.PortSupportedClassofService = attrs.PortSupportedClassofService; in getPortAttributes()
283 attributes.PortSupportedSpeed = attrs.PortSupportedSpeed; in getPortAttributes()
284 attributes.PortSpeed = attrs.PortSpeed; in getPortAttributes()
285 attributes.PortMaxFrameSize = attrs.PortMaxFrameSize; in getPortAttributes()
286 attributes.NumberofDiscoveredPorts = attrs.NumberofDiscoveredPorts; in getPortAttributes()
[all …]
H A DFCHBA.cc170 HBA_ADAPTERATTRIBUTES attributes; in getHBAAttributes() local
198 attributes.NumberOfPorts = attrs.NumberOfPorts; in getHBAAttributes()
199 attributes.VendorSpecificID = attrs.VendorSpecificID; in getHBAAttributes()
200 memcpy(attributes.Manufacturer, attrs.Manufacturer, 64); in getHBAAttributes()
201 memcpy(attributes.SerialNumber, attrs.SerialNumber, 64); in getHBAAttributes()
202 memcpy(attributes.Model, attrs.Model, 256); in getHBAAttributes()
203 memcpy(attributes.ModelDescription, attrs.ModelDescription, 256); in getHBAAttributes()
204 memcpy(attributes.NodeSymbolicName, attrs.NodeSymbolicName, 256); in getHBAAttributes()
205 memcpy(attributes.HardwareVersion, attrs.HardwareVersion, 256); in getHBAAttributes()
206 memcpy(attributes.DriverVersion, attrs.DriverVersion, 256); in getHBAAttributes()
[all …]
H A DFCHBAPort.cc557 HBA_PORTNPIVATTRIBUTES attributes; in getPortNPIVAttributes() local
562 memset(&attributes, 0, sizeof(attributes)); in getPortNPIVAttributes()
572 attributes.npivflag = attrs.npivflag; in getPortNPIVAttributes()
573 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8); in getPortNPIVAttributes()
574 memcpy(&attributes.PortWWN, &attrs.PortWWN, 8); in getPortNPIVAttributes()
575 attributes.MaxNumberOfNPIVPorts = attrs.MaxNumberOfNPIVPorts; in getPortNPIVAttributes()
576 attributes.NumberOfNPIVPorts = attrs.NumberOfNPIVPorts; in getPortNPIVAttributes()
578 return (attributes); in getPortNPIVAttributes()
584 HBA_PORTATTRIBUTES attributes; in getPortAttributes() local
589 memset(&attributes, 0, sizeof (attributes)); in getPortAttributes()
[all …]
H A DTgtFCHBA.cc92 HBA_ADAPTERATTRIBUTES attributes; in getHBAAttributes() local
147 attributes.NumberOfPorts = attrs.NumberOfPorts; in getHBAAttributes()
148 attributes.VendorSpecificID = attrs.VendorSpecificID; in getHBAAttributes()
149 memcpy(attributes.Manufacturer, attrs.Manufacturer, 64); in getHBAAttributes()
150 memcpy(attributes.SerialNumber, attrs.SerialNumber, 64); in getHBAAttributes()
151 memcpy(attributes.Model, attrs.Model, 256); in getHBAAttributes()
152 memcpy(attributes.ModelDescription, attrs.ModelDescription, 256); in getHBAAttributes()
153 memcpy(attributes.NodeSymbolicName, attrs.NodeSymbolicName, 256); in getHBAAttributes()
154 memcpy(attributes.HardwareVersion, attrs.HardwareVersion, 256); in getHBAAttributes()
155 memcpy(attributes.DriverVersion, attrs.DriverVersion, 256); in getHBAAttributes()
[all …]
H A DHandlePort.cc127 HBA_PORTATTRIBUTES attributes = port->getDiscoveredAttributes( in getDiscoveredAttributes() local
130 return (attributes); in getDiscoveredAttributes()
144 HBA_PORTATTRIBUTES attributes = port->getPortAttributes(newState); in getPortAttributes() local
146 return (attributes); in getPortAttributes()
162 HBA_PORTATTRIBUTES attributes = port->getDiscoveredAttributes( in getDiscoveredAttributes() local
165 return (attributes); in getDiscoveredAttributes()
171 HBA_PORTNPIVATTRIBUTES attributes = port->getPortNPIVAttributes(newState); in getPortNPIVAttributes() local
173 return (attributes); in getPortNPIVAttributes()
/titanic_50/usr/src/lib/libnisdb/
H A Dnis_parse_ldap_conf.c1290 char **attributes) in get_attribute_list() argument
1300 attributes[n_attrs++] = YP_CONFIG_DN; in get_attribute_list()
1302 attributes[n_attrs++] = YP_CONFIG_SERVER_LIST; in get_attribute_list()
1305 attributes[n_attrs++] = YP_CONFIG_AUTH_METHOD; in get_attribute_list()
1308 attributes[n_attrs++] = YP_CONFIG_TLS_OPTION; in get_attribute_list()
1310 attributes[n_attrs++] = YP_CONFIG_PROXY_USER; in get_attribute_list()
1312 attributes[n_attrs++] = YP_CONFIG_PROXY_PASSWD; in get_attribute_list()
1314 attributes[n_attrs++] = YP_CONFIG_TLS_CERT_DB; in get_attribute_list()
1317 attributes[n_attrs++] = CONFIG_DN; in get_attribute_list()
1319 attributes[n_attrs++] = CONFIG_SERVER_LIST; in get_attribute_list()
[all …]
/titanic_50/usr/src/lib/print/libpapi-lpd/common/
H A Djob.c46 papiJobSubmit(papi_service_t handle, char *name, papi_attribute_t **attributes, in papiJobSubmit() argument
75 papiAttributeListAddString(&attributes, PAPI_ATTR_EXCL, in papiJobSubmit()
79 (void) lpd_job_add_attributes(svc, attributes, &metadata, in papiJobSubmit()
80 &j->attributes); in papiJobSubmit()
82 if ((status = lpd_job_add_files(svc, attributes, files, &metadata, in papiJobSubmit()
83 &j->attributes)) != PAPI_OK) { in papiJobSubmit()
88 status = lpd_submit_job(svc, metadata, &j->attributes, NULL); in papiJobSubmit()
107 papi_attribute_t **attributes, in papiJobStreamOpen() argument
132 papiAttributeListAddString(&attributes, PAPI_ATTR_EXCL, in papiJobStreamOpen()
136 lpd_job_add_attributes(svc, attributes, &metadata, &s->job->attributes); in papiJobStreamOpen()
[all …]
H A Dlpd-job.c153 lpd_add_rfc1179_attributes(service_t *svc, papi_attribute_t **attributes, in lpd_add_rfc1179_attributes() argument
170 if (attributes == NULL) in lpd_add_rfc1179_attributes()
174 if (papiAttributeListGetString(attributes, NULL, in lpd_add_rfc1179_attributes()
176 papiAttributeListAddString(&attributes, PAPI_ATTR_APPEND, in lpd_add_rfc1179_attributes()
186 papiAttributeListGetString(svc->attributes, NULL, "username", in lpd_add_rfc1179_attributes()
194 papiAttributeListGetString(attributes, NULL, "rfc-1179-class", &s); in lpd_add_rfc1179_attributes()
203 papiAttributeListGetString(attributes, NULL, "job-sheets", &s); in lpd_add_rfc1179_attributes()
212 papiAttributeListGetString(attributes, NULL, "job-name", &s); in lpd_add_rfc1179_attributes()
221 papiAttributeListGetBoolean(attributes, NULL, "rfc-1179-mail", &bool); in lpd_add_rfc1179_attributes()
230 papiAttributeListGetString(attributes, NULL, "pr-title", &s); in lpd_add_rfc1179_attributes()
[all …]
H A Dlpd-query.c153 papi_attribute_t **attributes = NULL; in parse_lpd_job() local
179 papiAttributeListAddString(&attributes, PAPI_ATTR_REPLACE, in parse_lpd_job()
184 papiAttributeListAddString(&attributes, PAPI_ATTR_APPEND, in parse_lpd_job()
186 papiAttributeListAddString(&attributes, PAPI_ATTR_APPEND, in parse_lpd_job()
191 papiAttributeListAddInteger(&attributes, PAPI_ATTR_REPLACE, in parse_lpd_job()
197 papiAttributeListAddInteger(&attributes, in parse_lpd_job()
210 papiAttributeListAddString(&attributes, PAPI_ATTR_REPLACE, in parse_lpd_job()
215 papiAttributeListAddInteger(&attributes, PAPI_ATTR_REPLACE, in parse_lpd_job()
220 papiAttributeListAddInteger(&attributes, PAPI_ATTR_REPLACE, in parse_lpd_job()
225 papiAttributeListAddString(&attributes, PAPI_ATTR_REPLACE, in parse_lpd_job()
[all …]
H A Dservice.c89 papiAttributeListAddString(&svc->attributes, PAPI_ATTR_EXCL, in papiServiceCreate()
115 if (svc->attributes != NULL) in papiServiceDestroy()
116 papiAttributeListFree(svc->attributes); in papiServiceDestroy()
129 return (papiAttributeListAddString(&svc->attributes, PAPI_ATTR_REPLACE, in papiServiceSetUserName()
141 return (papiAttributeListAddString(&svc->attributes, in papiServiceSetPassword()
154 return (papiAttributeListAddInteger(&svc->attributes, PAPI_ATTR_REPLACE, in papiServiceSetEncryption()
192 papiAttributeListGetString(svc->attributes, NULL, in papiServiceGetServiceName()
205 papiAttributeListGetString(svc->attributes, NULL, in papiServiceGetUserName()
219 papiAttributeListGetString(svc->attributes, NULL, in papiServiceGetPassword()
232 papiAttributeListGetInteger(svc->attributes, NULL, in papiServiceGetEncryption()
[all …]
H A Dlpd-cancel.c96 papi_attribute_t **attributes = NULL; in lpd_purge_jobs() local
101 papiAttributeListAddString(&attributes, PAPI_ATTR_EXCL, in lpd_purge_jobs()
104 papiAttributeListAddInteger(&attributes, PAPI_ATTR_EXCL, in lpd_purge_jobs()
106 papiAttributeListAddString(&attributes, PAPI_ATTR_EXCL, in lpd_purge_jobs()
111 job->attributes = attributes; in lpd_purge_jobs()
114 papiAttributeListFree(attributes); in lpd_purge_jobs()
H A Dpapi_impl.h47 papi_attribute_t **attributes; member
51 papi_attribute_t **attributes; member
69 papi_attribute_t **attributes; /* extra info */ member
92 papi_attribute_t ***attributes, int *fd);
94 papi_attribute_t **attributes,
98 papi_attribute_t **attributes, char **files,
/titanic_50/usr/src/lib/print/libipp-listener/common/
H A Dcommon.c76 get_printer_id(papi_attribute_t **attributes, char **printer, int *id) in get_printer_id() argument
91 result = papiAttributeListGetString(attributes, NULL, "job-uri", &job); in get_printer_id()
93 result = papiAttributeListGetString(attributes, NULL, in get_printer_id()
96 papiAttributeListGetInteger(attributes, NULL, in get_printer_id()
108 get_string_list(papi_attribute_t **attributes, char *name, char ***values) in get_string_list() argument
115 for (result = papiAttributeListGetString(attributes, &iterator, in get_string_list()
118 result = papiAttributeListGetString(attributes, &iterator, in get_string_list()
124 add_default_attributes(papi_attribute_t ***attributes) in add_default_attributes() argument
127 (void) papiAttributeListAddString(attributes, PAPI_ATTR_APPEND, in add_default_attributes()
129 (void) papiAttributeListAddString(attributes, PAPI_ATTR_APPEND, in add_default_attributes()
[all …]
/titanic_50/usr/src/lib/sun_sas/common/
H A DSun_sasGetPortAttributesByWWN.c34 HBA_WWN domainPortWWN, PSMHBA_PORTATTRIBUTES attributes) in Sun_sasGetPortAttributesByWWN() argument
43 if (attributes == NULL) { in Sun_sasGetPortAttributesByWWN()
117 attributes->PortType = in Sun_sasGetPortAttributesByWWN()
119 attributes->PortState = in Sun_sasGetPortAttributesByWWN()
121 (void) strlcpy(attributes->OSDeviceName, in Sun_sasGetPortAttributesByWWN()
123 sizeof (attributes->OSDeviceName)); in Sun_sasGetPortAttributesByWWN()
124 (void) memcpy(attributes->PortSpecificAttribute.SASPort, in Sun_sasGetPortAttributesByWWN()
144 attributes->PortType = in Sun_sasGetPortAttributesByWWN()
147 attributes->PortState = in Sun_sasGetPortAttributesByWWN()
150 (void) strlcpy(attributes->OSDeviceName, in Sun_sasGetPortAttributesByWWN()
[all …]
H A DSun_sasGetAdapterPortAttributes.c34 HBA_UINT32 port, PSMHBA_PORTATTRIBUTES attributes) { in Sun_sasGetAdapterPortAttributes() argument
42 if ((attributes == NULL) || in Sun_sasGetAdapterPortAttributes()
43 (attributes->PortSpecificAttribute.SASPort == NULL)) { in Sun_sasGetAdapterPortAttributes()
98 attributes->PortType = hba_port_ptr->port_attributes.PortType; in Sun_sasGetAdapterPortAttributes()
99 attributes->PortState = hba_port_ptr->port_attributes.PortState; in Sun_sasGetAdapterPortAttributes()
100 (void) strlcpy(attributes->OSDeviceName, in Sun_sasGetAdapterPortAttributes()
102 sizeof (attributes->OSDeviceName)); in Sun_sasGetAdapterPortAttributes()
103 (void) memcpy(attributes->PortSpecificAttribute.SASPort, in Sun_sasGetAdapterPortAttributes()
H A DSun_sasGetDiscoveredPortAttributes.c35 SMHBA_PORTATTRIBUTES *attributes) { in Sun_sasGetDiscoveredPortAttributes() argument
44 if (attributes == NULL) { in Sun_sasGetDiscoveredPortAttributes()
121 attributes->PortType = in Sun_sasGetDiscoveredPortAttributes()
123 attributes->PortState = in Sun_sasGetDiscoveredPortAttributes()
125 (void) strlcpy(attributes->OSDeviceName, in Sun_sasGetDiscoveredPortAttributes()
127 sizeof (attributes->OSDeviceName)); in Sun_sasGetDiscoveredPortAttributes()
128 (void) memcpy(attributes->PortSpecificAttribute.SASPort, in Sun_sasGetDiscoveredPortAttributes()
/titanic_50/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaAttrManager.c34 find_attribute(CK_ATTRIBUTE_TYPE attrtype, generic_attr_t *attributes,
46 slot_object_t *slot_object, generic_attr_t **attributes, in get_master_attributes_by_object() argument
93 attributes, num_attributes); in get_master_attributes_by_object()
109 generic_attr_t **attributes, size_t *num_attributes) in get_master_attributes_by_template() argument
149 attributes, num_attributes)); in get_master_attributes_by_template()
161 generic_attr_t **attributes, size_t *num_attributes) in get_master_template_by_type() argument
366 *attributes = master_template; in get_master_template_by_type()
382 generic_attr_t **attributes, size_t *num_attributes) in get_master_attributes_by_type() argument
429 *attributes = new_attributes; in get_master_attributes_by_type()
514 dealloc_attributes(generic_attr_t *attributes, size_t num_attributes) in dealloc_attributes() argument
[all …]
/titanic_50/usr/src/cmd/passwd/
H A Dpasswd.c202 static int ckarg(int argc, char **argv, attrlist **attributes);
233 attrlist *attributes = NULL; in main() local
268 flag = ckarg(argc, argv, &attributes); in main()
325 &attributes); in main()
326 (void) display_attr(namelist[i], attributes); in main()
328 (void) free_attr(attributes); in main()
334 if (get_attr(usrname, &repository, &attributes) == in main()
336 (void) display_attr(usrname, attributes); in main()
337 (void) free_attr(attributes); in main()
452 attrlist_add(&attributes, ATTR_SHELL, input); in main()
[all …]
/titanic_50/usr/src/lib/print/libpapi-dynamic/common/
H A Dprinter.c48 if (tmp->attributes != NULL) in papiPrinterFree()
49 papiAttributeListFree(tmp->attributes); in papiPrinterFree()
127 papiAttributeListGetString(p->attributes, NULL, in printer_from_service()
129 papiAttributeListGetString(p->attributes, NULL, "printer-name", &uri); in printer_from_service()
130 papiAttributeListGetString(p->attributes, NULL, "printer-uri-supported", in printer_from_service()
143 papi_attribute_t **attributes; in printer_from_service() local
145 attributes = papiPrinterGetAttributeList(printer); in printer_from_service()
146 copy_attributes(&p->attributes, attributes); in printer_from_service()
189 p->attributes = attrs; in printers_from_name_service()
202 if (contained(requested_attrs, p->attributes) == 0) in printers_from_name_service()
[all …]
/titanic_50/usr/src/common/net/wanboot/
H A Dp12misc.c233 if (pkey->attributes != NULL) { in sunw_evp_pkey_free()
234 sk_X509_ATTRIBUTE_pop_free(pkey->attributes, in sunw_evp_pkey_free()
236 pkey->attributes = NULL; in sunw_evp_pkey_free()
299 if (pkey->attributes == NULL) { in sunw_set_localkeyid()
300 pkey->attributes = sk_X509_ATTRIBUTE_new_null(); in sunw_set_localkeyid()
301 if (pkey->attributes == NULL) { in sunw_set_localkeyid()
307 i = find_attr_by_nid(pkey->attributes, NID_localKeyID); in sunw_set_localkeyid()
309 sk_X509_ATTRIBUTE_delete(pkey->attributes, i); in sunw_set_localkeyid()
311 if (sk_X509_ATTRIBUTE_push(pkey->attributes, attr) == 0) { in sunw_set_localkeyid()
363 if (pkey == NULL || pkey->attributes == NULL) { in sunw_get_pkey_localkeyid()
[all …]
/titanic_50/usr/src/cmd/fs.d/nfs/nfsmapid/
H A Dnfsmapid_dt.d32 #pragma D attributes Private/Private/Common provider nfsmapid provider
33 #pragma D attributes Private/Private/Common provider nfsmapid module
34 #pragma D attributes Private/Private/Common provider nfsmapid function
35 #pragma D attributes Private/Private/Common provider nfsmapid name
36 #pragma D attributes Private/Private/Common provider nfsmapid args

1234567891011