Searched defs:method (Results 1 - 25 of 89) sorted by relevance

1234

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dccp.h41 short method; /* code for chosen compression method */ member in struct:ccp_options
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_test.c53 prom_test_method(char *method, pnode_t node) argument
59 if (prom_test("test-method") == 0) {
60 ci[0] = p1275_ptr2cell("test-method"); /* service */
64 ci[4] = p1275_ptr2cell(method);
73 "\" %s\" h# %x find-method invert h# %p l!",
74 method, node, (void *)&rv);
/illumos-gate/usr/src/common/crypto/padding/
H A Dpkcs1.c64 pkcs1_encode(int method, uint8_t *databuf, size_t datalen, uint8_t *padbuf, argument
78 padbuf[1] = (method == PKCS1_ENCRYPT) ? 0x02 : 0x01;
80 if (method == PKCS1_ENCRYPT) {
87 } else if (method == PKCS1_SIGN) {
118 pkcs1_decode(int method, uint8_t *padbuf, size_t *plen) argument
120 int rv = ((method == PKCS1_DECRYPT) ? CKR_ENCRYPTED_DATA_INVALID :
125 if (padbuf[0] != 0x00 || padbuf[1] != (method == PKCS1_DECRYPT ?
140 } else if (method == PKCS1_VERIFY && padbuf[i] != 0xFF) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Denv.c38 valid_env_var(const char *var, const char *instance, const char *method) argument
43 if (method == NULL)
46 "method %s of instance %s.\n"), var, method, instance);
49 if (method == NULL)
52 "method %s of instance %s; \"SMF_\" prefix is reserved.\n"),
53 var, method, instance);
61 find_dup(const char *var, char **env, const char *instance, const char *method) argument
78 "for method %s of instance %s.\n"), *p, method, instanc
99 set_smf_env(struct method_context *mthd_ctxt, instance_t *instance, const char *method) argument
[all...]
H A Dcontracts.c109 * To be called directly before a service method is forked, this function
110 * results in the method process being in a new contract based on the active
114 contract_prefork(const char *fmri, int method) argument
124 methods[method].name)) != 0) {
139 * To be called in both processes directly after a service method is forked,
H A Dwait.c27 * This file contains a set of routines used to perform wait based method
46 /* structure used to represent an active method process */
53 instance_method_t method; /* the method type running */ member in struct:__anon192
63 /* list of currently executing method processes */
74 * Setup structures used for method termination monitoring.
98 error_msg("%s: %s", gettext("Failed to create method pool"),
105 gettext("Failed to create method list"),
150 * Callback function that handles the timeout of an instance's method.
151 * 'arg' points at the method_el_t representing the method
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_socks.c35 static void put_method(char *cp, int method);
281 (void) sprintf(cp, "SOCKS5 method accepted:");
344 put_method(char *cp, int method) argument
346 switch (method) {
360 (void) sprintf(cp, " 0x%02x (unknown)", method);
/illumos-gate/usr/src/lib/sun_fc/common/
H A DSun_fcAdapterCreateWWN.cc56 HBA_WWN *OUI, HBA_INT32 method) {
68 if (method == HBA_CREATE_WWN_FACTORY) {
54 Sun_fcAdapterCreateWWN(HBA_HANDLE handle, HBA_UINT32 portindex, HBA_WWN *nwwn, HBA_WWN *pwwn, HBA_WWN *OUI, HBA_INT32 method) argument
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_jni_support.c73 * method String.getBytes(). This will ensure that the appropriate
88 jmethodID method; local
117 method = (*env)->GetMethodID(
124 * If method is NULL GetMethodID() encountered a problem
125 * locating the desired method and has already called
128 if (method != NULL) {
133 bytes = (*env)->CallObjectMethod(env, jstr, method);
/illumos-gate/usr/src/lib/efcode/packages/
H A Dpopulate.c134 char *method, *path; local
138 static char func_name[] = "builtin-driver-method-hook";
148 method = pop_a_string(env, NULL);
154 if ((path = search_for_fcode_file(env, method)) != NULL) {
156 method, path);
167 fc_ptr2cell(method), &len);
171 func_name, method);
172 push_a_string(env, method);
177 func_name, method, (int)len);
181 dropin_name = STRDUP(method);
239 char *method, *path, *buf; local
[all...]
/illumos-gate/usr/src/lib/libsum/common/
H A Dsum-prng.c54 prng_open(const Method_t* method, const char* name) argument
64 sum->method = (Method_t*)method;
H A Dsum-ast4.c68 ast4_open(const Method_t* method, const char* name) argument
74 p->method = (Method_t*)method;
H A Dsum-crc.c117 crc_open(const Method_t* method, const char* name) argument
130 sum->method = (Method_t*)method;
H A Dsum-sha1.c269 sha1_open(const Method_t* method, const char* name) argument
275 sha->method = (Method_t*)method;
H A Dsumlib.c29 struct Method_s* method; \
78 long_open(const Method_t* method, const char* name) argument
84 p->method = (Method_t*)method;
128 if ((flags & SUM_SCALE) && ((n = scale) || (n = x->method->scale)))
207 " default \bcksum\b(1) method.",
268 * open sum method name
298 return (*p->method->init)(p);
309 return (*p->method->block)(p, buf, siz);
321 return (*p->method
[all...]
/illumos-gate/usr/src/lib/print/libhttp-core/common/
H A Dhttp-support.c67 char *method, /* O - Method [32] (http, https, etc.) */
73 httpSeparate2(uri, method, 32, username, HTTP_MAX_URI, host, HTTP_MAX_URI,
85 char *method, /* O - Method (http, https, etc.) */
86 int methodlen, /* I - Size of method buffer */
104 if (uri == NULL || method == NULL || username == NULL || host == NULL ||
109 * Grab the method portion of the URI...
118 strlcpy(method, "ipp", methodlen);
123 * Standard URI with method...
132 * If the method contains a period or slash, then it's probably
160 strlcpy(method, "htt
66 httpSeparate(const char *uri, char *method, char *username, char *host, int *port, char *resource) argument
84 httpSeparate2(const char *uri, char *method, int methodlen, char *username, int usernamelen, char *host, int hostlen, int *port, char *resource, int resourcelen) argument
[all...]
/illumos-gate/usr/src/cmd/svc/startd/
H A Denv.c258 const restarter_inst_t *inst, const char *method)
290 if (method) {
291 sz = sizeof ("SMF_METHOD=") + strlen(method);
294 (void) strlcat(*np, method, sz);
257 set_smf_env(char **env, size_t env_sz, const char *path, const restarter_inst_t *inst, const char *method) argument
/illumos-gate/usr/src/lib/efcode/fcdriver/
H A Dget_req.c191 char *method; local
195 method = (char *)DS[-1];
200 method, (char *)DS[-1]);
206 method);
215 char *method, *fc_name, *path; local
219 method = (char *)DS[-1];
225 method, fc_name);
237 debug_msg(DEBUG_FIND_FCODE, "%s: method '%s' not found\n",
238 fname, method);
245 * executes them to get "builtin drivers" file name or method nam
[all...]
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_dialog_ui.c44 sip_create_dialog_req(sip_method_t method, sip_dialog_t dialog, argument
68 if (sip_add_request_line(sip_msg, method, uri) != 0) {
95 if (sip_add_cseq(sip_msg, method, cseq) != 0) {
126 sip_create_dialog_req_nocontact(sip_method_t method, sip_dialog_t dialog, argument
132 sip_msg = sip_create_dialog_req(method, dialog, transport, sent_by,
145 * Get the Dialog method
H A Dsip_logging.c65 sip_measure_traffic(boolean_t is_request, sip_method_t method, int resp_code, argument
81 switch (method) {
H A Dsip_xaction.c59 sip_method_t method)
100 (char *)&method, sizeof (sip_method_t),
104 sip_md5_hash(bid, strlen(bid), (char *)&method,
299 sip_method_t method; local
304 method = sip_get_callseq_method((sip_msg_t)msg, &error);
313 (method == ACK || method == CANCEL)) {
314 method = INVITE;
316 if (sip_find_md5_digest(branchid, msg, hash_index, method) != 0)
335 sip_method_t method; local
58 sip_find_md5_digest(char *bid, _sip_msg_t *msg, uint16_t *hindex, sip_method_t method) argument
571 sip_xaction_add(sip_xaction_t *trans, char *branchid, _sip_msg_t *msg, sip_method_t method) argument
[all...]
H A Dsip_xaction_state_mc.c1286 sip_method_t method; local
1426 method = msg_info->sip_req_method;
1427 SIP_UPDATE_COUNTERS(B_TRUE, method, 0, B_TRUE, new_msg->
/illumos-gate/usr/src/lib/libcmd/common/
H A Dcksum.c36 " \bsum\b method: \batt\b for the \batt\b universe, \bbsd\b otherwise."
38 " \batt\b method is a true sum, all others are order dependent.]"
54 " include size in the output. The default is method specific.]#[scale]"
57 " \bsum\b then the checksum method is automatically determined,"
58 " otherwise \b--method\b must be specified. The listed checksum is"
65 " [+method=name?Checksum method to apply to subsequent lines.]"
69 "[h:header?Print the checksum method as the first output line. Used with"
90 "[x:method|algorithm?Specifies the checksum \amethod\a to"
91 " apply. Parenthesized method option
446 char* method; local
[all...]
/illumos-gate/usr/src/uts/common/inet/nca/
H A Dncalogd.h91 uint32_t method; /* must be cast to nca_http_method_t */ member in struct:__anon5038
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlbaselib.c180 static int pairsmeta (lua_State *L, const char *method, int iszero, argument
182 if (!luaL_getmetafield(L, 1, method)) { /* no metamethod? */

Completed in 199 milliseconds

1234