/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/pools/ |
H A D | Resource.java | 40 private final String type; field in Resource 61 type = val.getString(); in Resource() 63 val = getProperty(type + ".name", resource); in Resource() 66 key = type + "." + name; in Resource() 79 return (_conf.checkResource(type, name)); in getResource() 168 buf.append(type); in toString() 188 if (type.compareTo(other.getType()) != 0 || in equals() 205 return (type.hashCode() + name.hashCode()); in hashCode() 230 return (type); in getType()
|
/illumos-gate/usr/src/lib/libnsl/nsl/ |
H A D | t_look.c | 85 t_scalar_t type; in _t_look_locked() local 153 type = *((t_scalar_t *)tiptr->ti_lookbufs.tl_lookcbuf); in _t_look_locked() 161 if ((type == T_ORDREL_IND) && retval && in _t_look_locked() 162 (pptr->type == T_DISCON_IND)) { in _t_look_locked() 163 type = pptr->type; in _t_look_locked() 170 type = pptr->type; in _t_look_locked() 172 switch (type) { in _t_look_locked()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/ |
H A D | sfdcsubstr.c | 44 static ssize_t streamio(f, buf, n, disc, type) in streamio() 49 int type; 72 { if(type == SF_WRITE) 112 static Sfoff_t streamseek(Sfio_t* f, Sfoff_t pos, int type, Sfdisc_t* disc) in streamseek() argument 114 static Sfoff_t streamseek(f, pos, type, disc) in streamseek() 117 int type; 126 switch(type) 157 static int streamexcept(Sfio_t* f, int type, Void_t* data, Sfdisc_t* disc) in streamexcept() argument 159 static int streamexcept(f, type, data, disc) in streamexcept() 161 int type; [all …]
|
/illumos-gate/usr/src/cmd/ctwatch/ |
H A D | ctwatch.c | 127 get_event(int fd, int type, int verbose) in get_event() argument 150 types[type].name); in get_event() 190 int type, fd; in contract_type() local 202 type = get_type(ct_status_get_type(hdl)); in contract_type() 205 return (type); in contract_type() 286 int type; in main() local 292 if (types[type].found) { in main() 296 types[type].found = 1; in main() 315 int type, fd; in main() local 332 if (types[type].found) { in main() [all …]
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | isns_server.h | 152 isns_type_t type; member 164 (LCP)->type = TYPE;\ 201 isns_type_t type; member 215 isns_type_t type; member 220 isns_type_t type; member 236 isns_type_t type; member 241 isns_type_t type; member 261 isns_type_t type; member 295 isns_type_t type; member 318 isns_type_t type; member [all …]
|
H A D | qry.c | 189 isns_type_t type in e2c() argument 265 isns_type_t type = lcp->type; in qry_ds2m() local 388 lc.type = OBJ_PG; in qry_i2g() 602 isns_type_t type, in validate_qry_key() argument 720 isns_type_t type, in attrs_match() argument 793 isns_type_t type, in qry_and_match() argument 841 lc.type = t; in qry_and_match() 927 if (*type == 0) { in get_qry_keys() 1031 isns_type_t type, in get_next_obj() argument 1047 lc.type = type; in get_next_obj() [all …]
|
H A D | obj.c | 642 isns_type_t type = ((isns_obj_t *)p)->type; in obj_hval() local 772 if (src->type == OBJ_DD || src->type == OBJ_DDS) { in replace_object() 1271 isns_type_t type = obj->type; in set_lookup_ctrl() local 1275 lcp->type = type; in set_lookup_ctrl() 1703 int type in obj_calloc() argument 1710 obj->type = type; in obj_calloc() 2453 type = TYPE_OF_PARENT[type]; in reg_auth_src() 2585 type = obj->type; in assoc_clone() 2846 t = obj->type; in update_ref_obj() 3041 lcp->type = TYPE_OF_REF[iscsi->type][0]; in setup_ref_lcp() [all …]
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | util_pm.c | 57 util_get_battery_technology (const char *type) in util_get_battery_technology() argument 59 if (type == NULL) { in util_get_battery_technology() 63 if (strcasecmp (type, "li-ion") == 0 || in util_get_battery_technology() 64 strcasecmp (type, "lion") == 0) { in util_get_battery_technology() 67 if (strcasecmp (type, "pb") == 0 || in util_get_battery_technology() 68 strcasecmp (type, "pbac") == 0) { in util_get_battery_technology() 71 if (strcasecmp (type, "lip") == 0) { in util_get_battery_technology() 74 if (strcasecmp (type, "nimh") == 0) { in util_get_battery_technology()
|
/illumos-gate/usr/src/compat/bhyve/sys/ |
H A D | cdefs.h | 89 #define __offsetof(type, field) __builtin_offsetof(type, field) argument 92 #define __offsetof(type, field) \ argument 93 ((__size_t)(__uintptr_t)((const volatile void *)&((type *)0)->field)) 95 #define __offsetof(type, field) \ argument 98 (static_cast<type *> (0)->field)))) 103 #define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) argument
|
/illumos-gate/usr/src/lib/print/libpapi-common/common/ |
H A D | attribute.c | 54 switch (type) { in papiAttributeValueFree() 158 switch (type) { in papiAttributeValueDup() 207 result->type = type; in papiAttributeAlloc() 261 (attribute->type != type)) in papiAttributeListAddValue() 283 attribute->type = type; in papiAttributeListAddValue() 451 if (attr->type != type) in papiAttributeListGetValue() 671 return (types[i].type); in _process_value() 685 switch (type) { in _add_attribute_value() 767 attr->type = PAPI_RANGE; in _papiAttributeFromStrings() 780 attr->type = dtype; in _papiAttributeFromStrings() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/libsmutil/ |
H A D | lockfile.c | 37 lockfile(fd, filename, ext, type) 41 int type; variable 48 if (bitset(LOCK_UN, type)) 50 else if (bitset(LOCK_EX, type)) 54 if (bitset(LOCK_NB, type)) 76 if (flock(fd, type) >= 0)
|
/illumos-gate/usr/src/test/libc-tests/cfg/symbols/ |
H A D | README | 43 <type> This is a C type. Function types can be declared without their 49 type | <name> | <header> | <envs> 52 this type can be declared when the <header> is included. 54 value | <name> | <type> | <header> | <envs> 56 Tests for a value named <name>, of type <type>. The test attempts to 58 type. The value can be a macro or other C symbol. 68 func | <name> | <type> | <type> [; <type> ]... | <header> | <envs> 70 Tests whether a function <name>, returning the first <type>, and 71 taking arguments of following <type> values, is declared. Note that 75 the type list can be omitted. [all …]
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | UARequester.java | 161 Assert.nonNullParameter(type, "type"); in findServices() 168 type, in findServices() 170 type, in findServices() 343 Assert.nonNullParameter(type, "URL"); in findAttributes() 350 type, in findAttributes() 352 type, in findAttributes() 414 ServiceType type, in createMessages() argument 444 (type.equals(Defaults.DA_SERVICE_TYPE) || in createMessages() 445 type.equals(Defaults.SA_SERVICE_TYPE))) { in createMessages() 494 type, in createMessages() [all …]
|
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal_set_property.c | 121 int type = PROP_INVALID; in main() local 168 type = PROP_STRING; in main() 171 type = PROP_INT; in main() 174 type = PROP_UINT64; in main() 177 type = PROP_DOUBLE; in main() 187 type = PROP_BOOL; in main() 190 type = PROP_STRLIST_PRE; in main() 193 type = PROP_STRLIST_POST; in main() 196 type = PROP_STRLIST_REM; in main() 221 if ((remove && type != PROP_INVALID) || ((!remove) && type == PROP_INVALID)) { in main() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | ast-inspect.c | 22 static const char *statement_type_name(enum statement_type type) in statement_type_name() argument 40 return statement_type_name[type] ?: "UNKNOWN_STATEMENT_TYPE"; in statement_type_name() 46 node->text = g_strdup_printf("%s %s:", node->text, statement_type_name(stmt->type)); in inspect_statement() 47 switch (stmt->type) { in inspect_statement() 99 static const char *symbol_type_name(enum type type) in symbol_type_name() argument 122 return type_name[type] ?: "UNKNOWN_TYPE"; in symbol_type_name() 129 node->text = g_strdup_printf("%s %s: %s", node->text, symbol_type_name(sym->type), in inspect_symbol() 151 static const char *expression_type_name(enum expression_type type) in expression_type_name() argument 185 return expression_type_name[type] ?: "UNKNOWN_EXPRESSION_TYPE"; in expression_type_name() 191 node->text = g_strdup_printf("%s %s", node->text, expression_type_name(expr->type)); in inspect_expression() [all …]
|
H A D | check_implicit_dependencies_tester.c | 7 static const char *expression_type_name(enum expression_type type) in expression_type_name() argument 41 return expression_type_name[type] ?: "UNKNOWN_EXPRESSION_TYPE"; in expression_type_name() 137 if (expr->type == EXPR_COMPARE || expr->type == EXPR_BINOP in match_condition() 138 || expr->type == EXPR_LOGICAL in match_condition() 139 || expr->type == EXPR_ASSIGNMENT in match_condition() 140 || expr->type == EXPR_COMMA) { in match_condition() 153 printf("function call %s\n", expression_type_name(expr->type)); in match_function_call()
|
H A D | check_type.c | 37 struct symbol *type; in match_free() local 40 type = get_pointer_type(arg_expr); in match_free() 41 if (!type || !type->ident) in match_free() 46 if (!strcmp("sk_buff", type->ident->name)) { in match_free() 48 } else if (!strcmp("net_device", type->ident->name)) { in match_free()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/ |
H A D | TYPES | 7 A type can be defined either by a shared library or by using the new 13 To define a type, use 42 of a type definition. 56 invoked when creating each instance for that type. A function named 59 When a type is defined, a declaration built-in command by this name 103 The type of any variable can be obtained from the new prefix 128 .sh.type.Pt_t=(x=5 y=12) 137 the type definition 165 element in a type definition is named _, then the new type 167 type of _ extended by elements and discipline functions defined [all …]
|
/illumos-gate/usr/src/cmd/bart/ |
H A D | compare.c | 253 if (type[0] == 'F') in parse_line() 255 else if ((type[0] == 'B') || (type[0] == 'C')) in parse_line() 257 else if (type[0] == 'L') in parse_line() 300 report_add(char *fname, char *type) in report_add() argument 304 rule_ptr = check_rules(fname, type[0]); in report_add() 318 report_delete(char *fname, char *type) in report_delete() argument 322 rule_ptr = check_rules(fname, type[0]); in report_delete() 502 if (strcmp(type, ADD_KEYWORD) == 0 || in report_error() 504 (void) printf(" %s\n", type); in report_error() 518 (void) printf("%s ", type); in report_error() [all …]
|
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_hio.c | 212 switch (type) { in nxge_dci_map() 314 switch (type) { in nxge_grp_add() 324 group->type = type; in nxge_grp_add() 354 vpc_type_t type; in nxge_grp_remove() local 392 type = VP_BOUND_TX; in nxge_grp_remove() 396 type = VP_BOUND_RX; in nxge_grp_remove() 438 switch (type) { in nxge_grp_dc_add() 494 dc->type = type; in nxge_grp_dc_add() 1339 switch (type) { in nxge_hio_group_get() 1622 switch (type) { in nxge_hio_share_query() [all …]
|
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | parse.y | 94 %type temp {int} 117 %type id {Token} 149 %type ids {Token} 155 %type nm {Token} 160 type ::= . 168 %type signed {int} 206 %type refargs {int} 214 %type refact {int} 253 %type onconf {int} 254 %type orconf {int} [all …]
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | cert.c | 330 CK_CERTIFICATE_TYPE type; in cert_validate_attribute() local 332 switch (attr->type) { in cert_validate_attribute() 337 type = *(CK_CERTIFICATE_TYPE *)attr->pValue; in cert_validate_attribute() 338 if (type == CKC_X_509 || type >= CKC_VENDOR_DEFINED) in cert_validate_attribute() 396 id_attr->type = CKA_ID; in cert_x509_set_default_attributes() 400 issuer_attr->type = CKA_ISSUER; in cert_x509_set_default_attributes() 404 serial_attr->type = CKA_SERIAL_NUMBER; in cert_x509_set_default_attributes() 419 switch (attr->type) { in cert_x509_validate_attribute()
|
/illumos-gate/usr/src/cmd/isns/isnsd/xml/ |
H A D | data.c | 288 const unsigned char type, in convert_xml2attr() argument 297 switch (type) { in convert_xml2attr() 359 const char type, in convert_attr2xml() argument 367 switch (type) { in convert_attr2xml() 718 unsigned char type; in make_xml_node() local 753 type = xmlType[j][0]; in make_xml_node() 1113 unsigned char type; in xml_modify_obj() local 1131 obj->type, in xml_modify_obj() 1173 type = xmlType[j][0]; in xml_modify_obj() 1177 name, type, 1)) { in xml_modify_obj() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | streval.c | 206 type=0; in arith_exec() 262 type = 1; in arith_exec() 328 type=0; in arith_exec() 361 type = 1; in arith_exec() 406 type=0; in arith_exec() 410 type=0; in arith_exec() 414 type=0; in arith_exec() 418 type=0; in arith_exec() 422 type=0; in arith_exec() 426 type=0; in arith_exec() [all …]
|
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getexecattr.c | 136 exec->type = (char *)NULL; in _exec_ldap_exec2ent() 178 exec->type = nullstring; in _exec_ldap_exec2ent() 180 exec->type = buffer; in _exec_ldap_exec2ent() 185 (void) strcpy(exec->type, in _exec_ldap_exec2ent() 297 if (type == NULL || type[0] == NULL) in _nss_ldap_exec2str() 300 type_str = type[0]; in _nss_ldap_exec2str() 422 const char *type = _priv_exec->type; in get_wild() local 425 type != NULL && strpbrk(type, "*()\\") != NULL) in get_wild() 455 ISWILD(type)); in get_wild() 547 const char *type = _priv_exec->type; in getbynam() local [all …]
|