Home
last modified time | relevance | path

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

1234567891011

/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dlpsched-printers.c99 if (attributes == NULL) in lpsched_printer_defaults()
348 lpsched_printer_defaults(&p->attributes); in printer_status_to_attributes()
426 lpsched_printer_defaults(&p->attributes); in class_status_to_attributes()
468 papiAttributeListGetLPString(attributes, in attributes_to_printer()
470 papiAttributeListGetLPString(attributes, in attributes_to_printer()
472 papiAttributeListGetLPString(attributes, in attributes_to_printer()
474 papiAttributeListGetLPString(attributes, in attributes_to_printer()
476 papiAttributeListGetLPString(attributes, in attributes_to_printer()
478 papiAttributeListGetLPString(attributes, in attributes_to_printer()
480 papiAttributeListGetLPString(attributes, in attributes_to_printer()
[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()
107 tmp[0] = papiAttributeListFind(attributes, "page-ranges"); 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()
143 papiAttributeListGetString(attributes, NULL, in job_attributes_to_lpsched_request()
145 papiAttributeListGetString(attributes, NULL, in job_attributes_to_lpsched_request()
237 papiAttributeListGetInteger(attributes, NULL, in job_attributes_to_lpsched_request()
254 attr = papiAttributeListFind(attributes, "lp-modes"); in job_attributes_to_lpsched_request()
[all …]
H A Dservice.c63 papiAttributeListAddString(&svc->attributes, PAPI_ATTR_EXCL, in papiServiceCreate()
85 papiAttributeListFree(svc->attributes); in papiServiceDestroy()
130 return (papiAttributeListAddString(&svc->attributes, PAPI_ATTR_REPLACE, in papiServiceSetUserName()
193 papiAttributeListGetString(svc->attributes, NULL, in papiServiceGetServiceName()
206 papiAttributeListGetString(svc->attributes, NULL, in papiServiceGetUserName()
219 papiAttributeListGetString(svc->attributes, NULL, in papiServiceGetPassword()
232 papiAttributeListGetInteger(svc->attributes, NULL, in papiServiceGetEncryption()
257 lpsched_service_information(&svc->attributes); in papiServiceGetAttributeList()
258 result = svc->attributes; in papiServiceGetAttributeList()
271 papiAttributeListGetString(svc->attributes, NULL, in papiServiceGetStatusMessage()
[all …]
H A Dpapi_impl.h54 papi_attribute_t **attributes; member
63 papi_attribute_t **attributes; /* job attributes */ member
67 papi_attribute_t **attributes; /* queue attributes */ member
89 extern void papiAttributeListGetLPString(papi_attribute_t **attributes,
91 extern void papiAttributeListGetLPStrings(papi_attribute_t **attributes,
110 REQUEST *r, papi_attribute_t **attributes);
126 papi_attribute_t **attributes, int type);
128 papi_attribute_t **attributes);
/illumos-gate/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()
295 return (attributes); in getPortAttributes()
302 HBA_PORTATTRIBUTES attributes; in getDiscoveredAttributes() local
307 memset(&attributes, 0, sizeof (attributes)); in getDiscoveredAttributes()
351 return (attributes); in getDiscoveredAttributes()
358 HBA_PORTATTRIBUTES attributes; in getDiscoveredAttributes() local
363 memset(&attributes, 0, sizeof (attributes)); in getDiscoveredAttributes()
[all …]
H A DFCHBA.cc170 HBA_ADAPTERATTRIBUTES attributes; in getHBAAttributes() local
198 attributes.NumberOfPorts = attrs.NumberOfPorts; in getHBAAttributes()
202 memcpy(attributes.Model, attrs.Model, 256); in getHBAAttributes()
210 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8); in getHBAAttributes()
212 return (attributes); in getHBAAttributes()
279 HBA_ADAPTERATTRIBUTES attributes; in npivGetHBAAttributes() local
305 attributes.NumberOfPorts = attrs.NumberOfPorts; in npivGetHBAAttributes()
306 attributes.VendorSpecificID = attrs.VendorSpecificID; in npivGetHBAAttributes()
309 memcpy(attributes.Model, attrs.Model, 256); in npivGetHBAAttributes()
317 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8); in npivGetHBAAttributes()
[all …]
H A DFCHBAPort.cc562 memset(&attributes, 0, sizeof(attributes)); in getPortNPIVAttributes()
578 return (attributes); in getPortNPIVAttributes()
584 HBA_PORTATTRIBUTES attributes; in getPortAttributes() local
589 memset(&attributes, 0, sizeof (attributes)); in getPortAttributes()
616 return (attributes); in getPortAttributes()
623 HBA_PORTATTRIBUTES attributes; in getDiscoveredAttributes() local
628 memset(&attributes, 0, sizeof (attributes)); in getDiscoveredAttributes()
657 return (attributes); in getDiscoveredAttributes()
664 HBA_PORTATTRIBUTES attributes; in getDiscoveredAttributes() local
670 memset(&attributes, 0, sizeof (attributes)); in getDiscoveredAttributes()
[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()
154 memcpy(attributes.HardwareVersion, attrs.HardwareVersion, 256); in getHBAAttributes()
155 memcpy(attributes.DriverVersion, attrs.DriverVersion, 256); in getHBAAttributes()
158 memcpy(attributes.DriverName, attrs.DriverName, 256); in getHBAAttributes()
159 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8); 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()
/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_parse_ldap_conf.c1283 char **attributes) in get_attribute_list() argument
1310 attributes[n_attrs++] = CONFIG_DN; in get_attribute_list()
1341 attributes[n_attrs++] = DB_ID_MAP; in get_attribute_list()
1342 attributes[n_attrs++] = ENTRY_TTL; in get_attribute_list()
1353 attributes[n_attrs++] = AUTH_METHOD; in get_attribute_list()
1359 attributes[n_attrs++] = SEARCH_BASE; in get_attribute_list()
1419 attributes[n_attrs++] = AUTH_METHOD; in get_attribute_list()
1421 attributes[n_attrs++] = TLS_OPTION; in get_attribute_list()
1427 attributes[n_attrs++] = PROXY_USER; in get_attribute_list()
1513 attributes[n_attrs++] = RESYNC; in get_attribute_list()
[all …]
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Djob.c80 &j->attributes); in papiJobSubmit()
83 &j->attributes)) != PAPI_OK) { in papiJobSubmit()
107 papi_attribute_t **attributes, in papiJobStreamOpen() argument
136 lpd_job_add_attributes(svc, attributes, &metadata, &s->job->attributes); in papiJobStreamOpen()
144 &(s->job->attributes)); in papiJobStreamOpen()
155 if (s->job->attributes) in papiJobStreamOpen()
156 papiAttributeListFree(s->job->attributes); in papiJobStreamOpen()
157 s->job->attributes = NULL; in papiJobStreamOpen()
206 &(s->job->attributes)); in papiJobStreamClose()
208 &(s->job->attributes), NULL); in papiJobStreamClose()
[all …]
H A Dlpd-job.c171 if (attributes == NULL) in lpd_add_rfc1179_attributes()
175 if (papiAttributeListGetString(attributes, NULL, in lpd_add_rfc1179_attributes()
177 papiAttributeListAddString(&attributes, PAPI_ATTR_APPEND, in lpd_add_rfc1179_attributes()
213 papiAttributeListGetString(attributes, NULL, "job-name", &s); in lpd_add_rfc1179_attributes()
231 papiAttributeListGetString(attributes, NULL, "pr-title", &s); in lpd_add_rfc1179_attributes()
362 papiAttributeListGetString(attributes, NULL, "media", &s); in lpd_add_svr4_attributes()
389 tmp[0] = papiAttributeListFind(attributes, "page-ranges"); in lpd_add_svr4_attributes()
432 if ((s = unused_attributes(attributes, *used)) != NULL) { in lpd_add_svr4_attributes()
447 if ((s = unused_attributes(attributes, *used)) != NULL) { in lpd_add_hpux_attributes()
468 lpd_add_svr4_attributes(svc, attributes, metadata, in lpd_job_add_attributes()
[all …]
H A Dlpd-query.c153 papi_attribute_t **attributes = NULL; in parse_lpd_job() local
197 papiAttributeListAddInteger(&attributes, in parse_lpd_job()
247 papiAttributeListAddString(&attributes, in parse_lpd_job()
249 papiAttributeListAddString(&attributes, in parse_lpd_job()
256 papiAttributeListAddInteger(&attributes, in parse_lpd_job()
266 papiAttributeListAddString(&attributes, PAPI_ATTR_APPEND, in parse_lpd_job()
270 (*job)->attributes = attributes; in parse_lpd_job()
276 papi_attribute_t **attributes = NULL; in parse_lpd_query() local
284 papiAttributeListAddString(&attributes, PAPI_ATTR_APPEND, in parse_lpd_query()
371 cache->printer->attributes = attributes; in parse_lpd_query()
[all …]
H A Dservice.c86 papiAttributeListAddString(&svc->attributes, PAPI_ATTR_EXCL, in papiServiceCreate()
112 if (svc->attributes != NULL) in papiServiceDestroy()
113 papiAttributeListFree(svc->attributes); in papiServiceDestroy()
138 return (papiAttributeListAddString(&svc->attributes, in papiServiceSetPassword()
189 papiAttributeListGetString(svc->attributes, NULL, in papiServiceGetServiceName()
202 papiAttributeListGetString(svc->attributes, NULL, in papiServiceGetUserName()
216 papiAttributeListGetString(svc->attributes, NULL, in papiServiceGetPassword()
229 papiAttributeListGetInteger(svc->attributes, NULL, in papiServiceGetEncryption()
256 result = svc->attributes; in papiServiceGetAttributeList()
268 papiAttributeListGetString(svc->attributes, NULL, in papiServiceGetStatusMessage()
[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.h45 papi_attribute_t **attributes; member
49 papi_attribute_t **attributes; member
67 papi_attribute_t **attributes; /* extra info */ member
90 papi_attribute_t ***attributes, int *fd);
92 papi_attribute_t **attributes,
96 papi_attribute_t **attributes, char **files,
/illumos-gate/usr/src/lib/print/libipp-listener/common/
H A Dcommon.c83 result = papiAttributeListGetString(attributes, NULL, in get_printer_id()
86 papiAttributeListGetInteger(attributes, NULL, in get_printer_id()
108 result = papiAttributeListGetString(attributes, &iterator, in get_string_list()
114 add_default_attributes(papi_attribute_t ***attributes) in add_default_attributes() argument
127 (void) papiAttributeListAddString(attributes, PAPI_ATTR_EXCL, in add_default_attributes()
137 (void) papiAttributeListAddString(attributes, PAPI_ATTR_EXCL, in add_default_attributes()
139 (void) papiAttributeListAddString(attributes, PAPI_ATTR_EXCL, in add_default_attributes()
147 (void) papiAttributeListAddString(attributes, PAPI_ATTR_EXCL, in add_default_attributes()
224 add_supported_locales(papi_attribute_t ***attributes) in add_supported_locales() argument
228 papiAttributeListAddString(attributes, PAPI_ATTR_REPLACE, in add_supported_locales()
[all …]
/illumos-gate/usr/src/lib/sun_sas/common/
H A DSun_sasGetPortAttributesByWWN.c37 HBA_WWN domainPortWWN, PSMHBA_PORTATTRIBUTES attributes) in Sun_sasGetPortAttributesByWWN() argument
46 if (attributes == NULL) { in Sun_sasGetPortAttributesByWWN()
120 attributes->PortType = in Sun_sasGetPortAttributesByWWN()
122 attributes->PortState = in Sun_sasGetPortAttributesByWWN()
124 (void) strlcpy(attributes->OSDeviceName, in Sun_sasGetPortAttributesByWWN()
126 sizeof (attributes->OSDeviceName)); in Sun_sasGetPortAttributesByWWN()
147 attributes->PortType = in Sun_sasGetPortAttributesByWWN()
150 attributes->PortState = in Sun_sasGetPortAttributesByWWN()
153 (void) strlcpy(attributes->OSDeviceName, in Sun_sasGetPortAttributesByWWN()
156 sizeof (attributes->OSDeviceName)); in Sun_sasGetPortAttributesByWWN()
[all …]
H A DSun_sasGetAdapterPortAttributes.c36 PSMHBA_PORTATTRIBUTES attributes) in Sun_sasGetAdapterPortAttributes() argument
45 if ((attributes == NULL) || in Sun_sasGetAdapterPortAttributes()
46 (attributes->PortSpecificAttribute.SASPort == NULL)) { in Sun_sasGetAdapterPortAttributes()
99 attributes->PortType = hba_port_ptr->port_attributes.PortType; in Sun_sasGetAdapterPortAttributes()
100 attributes->PortState = hba_port_ptr->port_attributes.PortState; in Sun_sasGetAdapterPortAttributes()
101 (void) strlcpy(attributes->OSDeviceName, in Sun_sasGetAdapterPortAttributes()
103 sizeof (attributes->OSDeviceName)); in Sun_sasGetAdapterPortAttributes()
104 (void) memcpy(attributes->PortSpecificAttribute.SASPort, in Sun_sasGetAdapterPortAttributes()
H A DSun_sasGetDiscoveredPortAttributes.c38 SMHBA_PORTATTRIBUTES *attributes) in Sun_sasGetDiscoveredPortAttributes() argument
48 if (attributes == NULL) { in Sun_sasGetDiscoveredPortAttributes()
122 attributes->PortType = in Sun_sasGetDiscoveredPortAttributes()
124 attributes->PortState = in Sun_sasGetDiscoveredPortAttributes()
126 (void) strlcpy(attributes->OSDeviceName, in Sun_sasGetDiscoveredPortAttributes()
128 sizeof (attributes->OSDeviceName)); in Sun_sasGetDiscoveredPortAttributes()
129 (void) memcpy(attributes->PortSpecificAttribute.SASPort, in Sun_sasGetDiscoveredPortAttributes()
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaAttrManager.c94 attributes, num_attributes); in get_master_attributes_by_object()
151 attributes, num_attributes)); in get_master_attributes_by_template()
368 *attributes = master_template; in get_master_template_by_type()
431 *attributes = new_attributes; in get_master_attributes_by_type()
522 attr = attributes + i; in dealloc_attributes()
537 free(attributes); in dealloc_attributes()
655 if (attributes[i].type == type) { in get_template_ulong()
656 CK_ULONG *value = attributes[i].pValue; in get_template_ulong()
682 if (attributes[i].type == type) { in get_template_boolean()
718 if (attributes[i].type == type) { in set_template_boolean()
[all …]
/illumos-gate/usr/src/cmd/passwd/
H A Dpasswd.c233 attrlist *attributes = NULL; in main() local
325 &attributes); in main()
328 (void) free_attr(attributes); in main()
337 (void) free_attr(attributes); in main()
472 if (attributes != NULL) { in main()
1139 attrlist_reorder(attributes); in ckarg()
1248 while (attributes) { in display_attr()
1249 switch (attributes->type) { in display_attr()
1281 attributes = attributes->next; in display_attr()
1309 while (attributes) { in free_attr()
[all …]
/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/
H A Dprinter.c46 if (tmp->attributes != NULL) in papiPrinterFree()
47 papiAttributeListFree(tmp->attributes); in papiPrinterFree()
125 papiAttributeListGetString(p->attributes, NULL, in printer_from_service()
141 papi_attribute_t **attributes; in printer_from_service() local
143 attributes = papiPrinterGetAttributeList(printer); in printer_from_service()
144 copy_attributes(&p->attributes, attributes); in printer_from_service()
187 p->attributes = attrs; in printers_from_name_service()
257 p->attributes = getprinterbyname(name, NULL); in papiPrinterQuery()
258 if (p->attributes == NULL) in papiPrinterQuery()
359 result = f(svc->svc_handle, svc->name, attributes, in _papi_printer_add_or_modify()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsmapid/
H A Dnfsmapid_dt.d30 #pragma D attributes Private/Private/Common provider nfsmapid provider
31 #pragma D attributes Private/Private/Common provider nfsmapid module
32 #pragma D attributes Private/Private/Common provider nfsmapid function
33 #pragma D attributes Private/Private/Common provider nfsmapid name
34 #pragma D attributes Private/Private/Common provider nfsmapid args
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Disns_provider.d38 #pragma D attributes Private/Private/ISA provider isns provider
39 #pragma D attributes Private/Private/Unknown provider isns module
40 #pragma D attributes Private/Private/Unknown provider isns function
41 #pragma D attributes Private/Private/ISA provider isns name
42 #pragma D attributes Private/Private/ISA provider isns args

1234567891011