Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 247) sorted by relevance

12345678910

/illumos-gate/usr/src/contrib/ast/src/lib/libsum/
H A Dsum-lmd.c124 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 Dsumlib.c29 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 Dsum-prng.c54 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 Denv.c36 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 Dinetd.c2681 method, instance); in passes_basic_exec_checks()
2703 if (method == IM_START) { in exec_method()
2739 if (method == IM_START) { in exec_method()
2892 if (method == IM_START) { in exec_method()
2942 switch (method) { in get_method_error_success()
3011 if (method != IM_START) in run_method()
3037 if (method != IM_START) { in run_method()
3125 if (method != IM_START) in run_method()
3862 char *method; in main() local
3884 method = argv[1]; in main()
[all …]
H A Dwait.c53 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 Dhttp-support.c65 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 Dpkcs1.c64 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 Doo.fr27 \ access method
106 \ by parse-method) and attempts to look this method up in the method list of
123 : catch-method ( instance class c-addr u -- <method-signature> exc-flag )
124 lookup-method catch
127 : exec-method ( instance class c-addr u -- <method-signature> )
128 lookup-method execute
139 parse-method postpone exec-method
148 parse-method postpone catch-method
155 \ method next
156 \ method prev
[all …]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dppm_plat.h38 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/lib/libsip/common/
H A Dsip_xaction.c57 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
311 (method == ACK || method == CANCEL)) { in sip_xaction_find()
312 method = INVITE; 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()
389 if (method == INVITE) in sip_xaction_create()
394 trans->sip_xaction_method = method; in sip_xaction_create()
[all …]
H A Dsip_dialog.c617 sip_method_t method; in sip_seed_dialog() local
628 if (error != 0 || (method != INVITE && method != SUBSCRIBE)) in sip_seed_dialog()
647 if (method == SUBSCRIBE) in sip_seed_dialog()
867 sip_method_t method; in sip_complete_dialog() local
889 if (method == NOTIFY) { in sip_complete_dialog()
962 if (method == NOTIFY) { in sip_complete_dialog()
1442 sip_method_t method; in sip_dialog_process() local
1451 method) { in sip_dialog_process()
1494 sip_method_t method; in sip_dialog_process() local
1666 sip_method_t method; in sip_update_dialog() local
[all …]
/illumos-gate/usr/src/cmd/svc/milestone/
H A DREADME.share45 # /lib/svc/method/example-method start
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
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
93 configuration. If this method is failing, one can directly remount
127 # /lib/svc/method/net-loopback
[all …]
/illumos-gate/usr/src/cmd/svc/startd/
H A Dmethod.c453 cmd = uu_msprintf("exec %s", method); in exec_method()
460 method_names[type], method); in exec_method()
658 char *method; in method_run() local
771 if (restarter_is_null_method(method)) { in method_run()
783 sig = restarter_is_kill_method(method); in method_run()
811 inst->ri_i.i_fmri, method); in method_run()
851 if ((pend = strchr(method, ' ')) != NULL) in method_run()
854 if (*method == '/' && stat64(method, &sbuf) == -1 && in method_run()
1005 inst->ri_i.i_fmri, method, buf); in method_run()
1011 inst->ri_i.i_fmri, method, in method_run()
[all …]
H A Denv.c204 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/lib/libslp/clib/
H A Dslp_jni_support.c86 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/sun4u/io/
H A Dppm_plat.c57 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/psm/promif/ieee1275/common/
H A Dprom_test.c53 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/uts/common/io/scsi/adapters/iscsi/
H A Discsid.c88 iSCSIDiscoveryMethod_t method; member
444 if (idm & dt->method) { in iscsid_enable_discovery()
483 if (idm & dt->method) { in iscsid_disable_discovery()
500 dt->method, B_FALSE); in iscsid_disable_discovery()
550 if ((method == iSCSIDiscoveryMethodUnknown) || in iscsid_poke_discovery()
551 (method == dt->method)) { in iscsid_poke_discovery()
1234 (isp->sess_discovered_by == method)) { in iscsid_del()
1241 if ((method == iSCSIDiscoveryMethodISNS) || in iscsid_del()
1338 if (!(method & iSCSIDiscoveryMethodBoot)) { in iscsid_login_tgt()
1344 if ((method == in iscsid_login_tgt()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/aso/
H A Daso.c141 static Asometh_t* method[] =
197 return method[0];
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++)
220 method[i]->details = e + 1;
[all …]
/illumos-gate/usr/src/lib/libgss/
H A DREADME.spi52 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 Dldaptest.c438 method = atoi( line ) | 0x80; in main()
440 method = LDAP_AUTH_SIMPLE; 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()
473 if (method == 1){ in main()
474 method = LDAP_AUTH_SASL; in main()
485 method = LDAP_AUTH_SIMPLE; in main()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dfastfind.c275 fp->method = FF_old; 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()
554 if (fp->method != FF_dir && fp->method != FF_typ) in findopen()
706 switch (fp->method) in findread()
962 switch (fp->method) in findwrite()
[all …]
/illumos-gate/usr/src/uts/common/io/ppm/
H A Dppm_subr.c1166 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()
1201 dc->method == PPMDC_KIO); in ppm_parse_dc()
1210 switch (dc->method) { in ppm_parse_dc()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dcksum.c446 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()

12345678910