/illumos-gate/usr/src/contrib/ast/src/lib/libsum/ |
H A D | sum-lmd.c | 124 md4_open(const Method_t* method, const char* name) in md4_open() argument 130 lmd->method = (Method_t*)method; in md4_open() 164 md5_open(const Method_t* method, const char* name) in md5_open() argument 170 lmd->method = (Method_t*)method; in md5_open() 205 sha1_open(const Method_t* method, const char* name) in sha1_open() argument 211 lmd->method = (Method_t*)method; in sha1_open() 245 sha256_open(const Method_t* method, const char* name) in sha256_open() argument 251 lmd->method = (Method_t*)method; in sha256_open() 279 sha384_open(const Method_t* method, const char* name) in sha384_open() argument 285 lmd->method = (Method_t*)method; in sha384_open() [all …]
|
H A D | sumlib.c | 29 struct Method_s* method; \ 78 long_open(const Method_t* method, const char* name) in long_open() argument 84 p->method = (Method_t*)method; in long_open() 128 if ((flags & SUM_SCALE) && ((n = scale) || (n = x->method->scale))) in long_print() 298 return (*p->method->init)(p); in suminit() 309 return (*p->method->block)(p, buf, siz); in sumblock() 321 return (*p->method->done)(p); in sumdone() 331 return (*p->method->print)(p, sp, flags, scale); in sumprint() 341 return (*p->method->data)(p, d); in sumdata()
|
H A D | sum-prng.c | 54 prng_open(const Method_t* method, const char* name) in prng_open() argument 64 sum->method = (Method_t*)method; in prng_open()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | env.c | 36 valid_env_var(const char *var, const char *instance, const char *method) in valid_env_var() argument 41 if (method == NULL) in valid_env_var() 44 "method %s of instance %s.\n"), var, method, instance); in valid_env_var() 47 if (method == NULL) in valid_env_var() 51 var, method, instance); in valid_env_var() 59 find_dup(const char *var, char **env, const char *instance, const char *method) in find_dup() argument 76 "for method %s of instance %s.\n"), *p, method, instance); in find_dup() 98 const char *method) in set_smf_env() argument 131 *np = uu_msprintf("SMF_METHOD=%s", method); in set_smf_env() 154 if (!valid_env_var(*p, instance->fmri, method)) in set_smf_env() [all …]
|
H A D | inetd.c | 244 exec_method(instance_t *instance, instance_method_t method, method_info_t *mi, 1267 get_method_state(instance_method_t method) in get_method_state() argument 1272 if (sip->method_running == method) in get_method_state() 2659 passes_basic_exec_checks(const char *instance, const char *method, in passes_basic_exec_checks() argument 2669 method, instance, strerror(errno)); in passes_basic_exec_checks() 2681 method, instance); in passes_basic_exec_checks() 2685 "any execute permissions set"), method, instance); in passes_basic_exec_checks() 2693 exec_method(instance_t *instance, instance_method_t method, method_info_t *mi, in exec_method() argument 2703 if (method == IM_START) { in exec_method() 2731 if ((method == IM_START) && in exec_method() [all …]
|
H A D | wait.c | 53 instance_method_t method; /* the method type running */ member 160 methods[mp->method].name, mp->inst->fmri); in method_timeout() 164 if (mp->method == IM_START) { in method_timeout() 217 me->method = mthd; in register_method() 394 methods[me->method].name, me->inst->fmri, in process_terminated_methods() 400 remove_method_ids(me->inst, me->pid, me->cid, me->method); in process_terminated_methods() 403 if (me->method != IM_START) { in process_terminated_methods()
|
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http-support.c | 65 char *method, /* O - Method [32] (http, https, etc.) */ in httpSeparate() argument 71 httpSeparate2(uri, method, 32, username, HTTP_MAX_URI, host, HTTP_MAX_URI, in httpSeparate() 83 char *method, /* O - Method (http, https, etc.) */ in httpSeparate2() argument 102 if (uri == NULL || method == NULL || username == NULL || host == NULL || in httpSeparate2() 116 strlcpy(method, "ipp", methodlen); in httpSeparate2() 158 strlcpy(method, "http", methodlen); in httpSeparate2() 163 strlcpy(method, host, methodlen); in httpSeparate2() 208 if (strcasecmp(method, "http") == 0) in httpSeparate2() 210 else if (strcasecmp(method, "https") == 0) in httpSeparate2() 212 else if (strcasecmp(method, "ipp") == 0) in httpSeparate2() [all …]
|
/illumos-gate/usr/src/common/crypto/padding/ |
H A D | pkcs1.c | 64 pkcs1_encode(int method, uint8_t *databuf, size_t datalen, uint8_t *padbuf, in pkcs1_encode() argument 78 padbuf[1] = (method == PKCS1_ENCRYPT) ? 0x02 : 0x01; in pkcs1_encode() 80 if (method == PKCS1_ENCRYPT) { in pkcs1_encode() 87 } else if (method == PKCS1_SIGN) { in pkcs1_encode() 118 pkcs1_decode(int method, uint8_t *padbuf, size_t *plen) in pkcs1_decode() argument 120 int rv = ((method == PKCS1_DECRYPT) ? CKR_ENCRYPTED_DATA_INVALID : in pkcs1_decode() 125 if (padbuf[0] != 0x00 || padbuf[1] != (method == PKCS1_DECRYPT ? in pkcs1_decode() 140 } else if (method == PKCS1_VERIFY && padbuf[i] != 0xFF) { in pkcs1_decode()
|
/illumos-gate/usr/src/common/ficl/softcore/ |
H A D | oo.fr | 27 \ access method 37 \ The NEW method creates and initializes an instance of a class. 52 \ has an extra field for the vtable method count. Hasvtable declares 55 \ Revised Nov 2001 - metaclass debug method now finds only metaclass methods 59 \ END-CLASS allocates and clears the vtable - then it walks class's method 60 \ list and inserts all new methods into table. For each method, if the table 61 \ slot is already nonzero, do nothing (overridden method). Otherwise fill 70 \ : is redefined to check for override, fill in vtable index, increment method 84 \ Compile the method name, and code to find and 89 \ compiles a method name so that it pushes [all …]
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_xaction.c | 57 sip_method_t method) in sip_find_md5_digest() argument 98 (char *)&method, sizeof (sip_method_t), in sip_find_md5_digest() 102 sip_md5_hash(bid, strlen(bid), (char *)&method, in sip_find_md5_digest() 297 sip_method_t method; in sip_xaction_find() local 302 method = sip_get_callseq_method((sip_msg_t)msg, &error); in sip_xaction_find() 311 (method == ACK || method == CANCEL)) { in sip_xaction_find() 312 method = INVITE; in sip_xaction_find() 314 if (sip_find_md5_digest(branchid, msg, hash_index, method) != 0) in sip_xaction_find() 333 sip_method_t method; in sip_xaction_create() local 379 method = sip_msg_info->sip_req_method; in sip_xaction_create() [all …]
|
H A D | sip_dialog.c | 617 sip_method_t method; in sip_seed_dialog() local 624 method = sip_get_request_method((sip_msg_t)sip_msg, &error); in sip_seed_dialog() 628 if (error != 0 || (method != INVITE && method != SUBSCRIBE)) in sip_seed_dialog() 647 if (method == SUBSCRIBE) in sip_seed_dialog() 651 (method == SUBSCRIBE && evhdr == NULL)) { in sip_seed_dialog() 716 if (method == SUBSCRIBE) { in sip_seed_dialog() 739 dialog->sip_dlg_method = method; in sip_seed_dialog() 867 sip_method_t method; in sip_complete_dialog() local 873 method = sip_get_request_method((sip_msg_t)sip_msg, &error); in sip_complete_dialog() 875 method = sip_get_callseq_method((sip_msg_t)sip_msg, &error); in sip_complete_dialog() [all …]
|
/illumos-gate/usr/src/cmd/svc/milestone/ |
H A D | README.share | 45 # /lib/svc/method/example-method start 48 the commands from the service method as they are executed. For sh(1) 49 based scripts, this would mean running the method as 51 # /sbin/sh -x /lib/svc/method/example-method start 55 # /usr/bin/ksh -x /lib/svc/method/example-method start 57 The first line of the service method script will generally specify its 83 # /lib/svc/method/fs-root 84 # /lib/svc/method/fs-usr 85 # /lib/svc/method/fs-minimal 91 /lib/svc/method/fs-usr attempts to remount the root file system [all …]
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | ppm_plat.h | 38 if (dc->method == PPMDC_I2CKIO) \ 40 else if (dc->method == PPMDC_KIO) \ 45 if (dc->method == PPMDC_I2CKIO) \ 47 else if (dc->method == PPMDC_KIO) \
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | method.c | 446 exec_method(const restarter_inst_t *inst, int type, const char *method, in exec_method() argument 454 cmd = uu_msprintf("exec %s", method); in exec_method() 461 method_names[type], method); in exec_method() 662 char *method; in method_run() local 724 if ((method = libscf_get_method(h, type, inst, snap, &restart_on, in method_run() 775 if (restarter_is_null_method(method)) { in method_run() 787 sig = restarter_is_kill_method(method); in method_run() 815 inst->ri_i.i_fmri, method); in method_run() 818 inst->ri_m_inst, snap, mname, method, &mcp); in method_run() 855 if ((pend = strchr(method, ' ')) != NULL) in method_run() [all …]
|
H A D | env.c | 204 const restarter_inst_t *inst, const char *method) in set_smf_env() argument 236 if (method) { in set_smf_env() 237 sz = sizeof ("SMF_METHOD=") + strlen(method); in set_smf_env() 240 (void) strlcat(*np, method, sz); in set_smf_env()
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | ppm_plat.c | 57 switch (dc->method) { in ppm_cpu_next() 67 str, dc->method)) in ppm_cpu_next() 90 switch (dc->method) { in ppm_cpu_pre_chng() 111 str, dc->method)) in ppm_cpu_pre_chng() 133 switch (dc->method) { in ppm_cpu_go() 162 switch (dc->method) { in ppm_cpu_post_chng() 183 str, dc->method)) in ppm_cpu_post_chng()
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_jni_support.c | 86 jmethodID method; in JNU_GetStringNativeChars() local 115 method = (*env)->GetMethodID( in JNU_GetStringNativeChars() 126 if (method != NULL) { in JNU_GetStringNativeChars() 131 bytes = (*env)->CallObjectMethod(env, jstr, method); in JNU_GetStringNativeChars()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsid.c | 63 static boolean_t iscsid_add(iscsi_hba_t *ihp, iSCSIDiscoveryMethod_t method, 88 iSCSIDiscoveryMethod_t method; member 442 for (dt = &iscsid_thr[0]; dt->method != iSCSIDiscoveryMethodUnknown; in iscsid_enable_discovery() 444 if (idm & dt->method) { in iscsid_enable_discovery() 481 for (dt = &iscsid_thr[0]; dt->method != iSCSIDiscoveryMethodUnknown; in iscsid_disable_discovery() 483 if (idm & dt->method) { in iscsid_disable_discovery() 486 iscsi_discovery_event(ihp, dt->method, B_TRUE); in iscsid_disable_discovery() 489 rval = iscsid_del(ihp, NULL, dt->method, NULL); in iscsid_disable_discovery() 500 dt->method, B_FALSE); in iscsid_disable_discovery() 515 iscsi_discovery_event(ihp, dt->method, B_FALSE); in iscsid_disable_discovery() [all …]
|
/illumos-gate/usr/src/psm/promif/ieee1275/common/ |
H A D | prom_test.c | 53 prom_test_method(char *method, pnode_t node) in prom_test_method() argument 64 ci[4] = p1275_ptr2cell(method); in prom_test_method() 74 method, node, (void *)&rv); in prom_test_method()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/aso/ |
H A D | aso.c | 141 static Asometh_t* method[] = 197 return method[0]; 198 for (i = 0; i < elementsof(method) - 1; i++) 199 if (meth == method[i]) 200 return method[i+1]; 205 for (i = 0; i < elementsof(method); i++) 206 if (method[i]->type & type) 208 method[i]->details = (char*)data; 209 return method[i]; 216 for (i = 0; i < elementsof(method); i++) [all …]
|
/illumos-gate/usr/src/lib/libgss/ |
H A D | README.spi | 52 method; 59 and every mechanism method that isn't part of the old gss_config 60 struct -- this happens only once per-method, of course; the 88 functions won't have a corresponding SPI method, such as 101 Solaris native mechanisms may still provide the mechanism method 105 Mechanisms that do not provide the old method registration function 109 GSS_Indicate_mechs() method and will call it to discover the 112 - libgss will dlsym() each mechanism provider SPI method.
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | ldaptest.c | 259 int i, c, port, cldapflg, errflg, method, id, in main() local 438 method = atoi( line ) | 0x80; in main() 440 method = LDAP_AUTH_SIMPLE; in main() 445 if ( method == LDAP_AUTH_SIMPLE && dn[0] != '\0' ) in main() 451 if ( ldap_bind( ld, dn, passwd, method ) == -1 ) { in main() 464 method = atoi( line ); in main() 465 if ( method == 3 ) in main() 466 method = LDAP_AUTH_KRBV4; in main() 468 method = method | 0x80; in main() 472 method = atoi (line); in main() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | fastfind.c | 275 fp->method = FF_old; in findopen() 314 fp->method = FF_typ; in findopen() 341 fp->method = FF_gnu; in findopen() 347 fp->method = FF_dir; in findopen() 435 fp->method = FF_typ; in findopen() 453 fp->method = FF_dir; in findopen() 455 fp->method = FF_gnu; in findopen() 458 fp->method = FF_gnu; in findopen() 468 fp->method = FF_old; in findopen() 508 j = fp->method == FF_old || fp->method == FF_gnu; in findopen() [all …]
|
/illumos-gate/usr/src/uts/common/io/ppm/ |
H A D | ppm_subr.c | 1135 err = ppm_convert(dclist[i], &dc->method); in ppm_parse_dc() 1153 ASSERT(dc->method == PPMDC_CPUSPEEDKIO); in ppm_parse_dc() 1166 ASSERT(dc->method == PPMDC_KIO || in ppm_parse_dc() 1167 dc->method == PPMDC_I2CKIO); in ppm_parse_dc() 1169 ASSERT(dc->method == PPMDC_KIO); in ppm_parse_dc() 1176 switch (dc->method) { in ppm_parse_dc() 1196 ASSERT(dc->method == PPMDC_VCORE || in ppm_parse_dc() 1197 dc->method == PPMDC_KIO || in ppm_parse_dc() 1198 dc->method == PPMDC_I2CKIO); in ppm_parse_dc() 1200 ASSERT(dc->method == PPMDC_VCORE || in ppm_parse_dc() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | cksum.c | 446 char* method; in b_cksum() local 460 method = 0; in b_cksum() 489 method = "bsd"; in b_cksum() 500 method = "sys5"; in b_cksum() 512 method = opt_info.arg; in b_cksum() 547 if (method && !(state.sum = sumopen(method))) in b_cksum() 548 error(3, "%s: unknown checksum method", method); in b_cksum()
|