Home
last modified time | relevance | path

Searched refs:parg (Results 1 – 23 of 23) sorted by relevance

/third_party/openssl/crypto/asn1/
Dbio_ndef.c45 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg);
47 void *parg);
48 static int ndef_suffix(BIO *b, unsigned char **pbuf, int *plen, void *parg);
50 void *parg);
129 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg) in ndef_prefix() argument
135 if (!parg) in ndef_prefix()
138 ndef_aux = *(NDEF_SUPPORT **)parg; in ndef_prefix()
161 void *parg) in ndef_prefix_free() argument
165 if (!parg) in ndef_prefix_free()
168 ndef_aux = *(NDEF_SUPPORT **)parg; in ndef_prefix_free()
[all …]
Dtasn_prn.c144 ASN1_PRINT_ARG parg; in asn1_item_print_ctx() local
147 parg.out = out; in asn1_item_print_ctx()
148 parg.indent = indent; in asn1_item_print_ctx()
149 parg.pctx = pctx; in asn1_item_print_ctx()
226 i = asn1_cb(ASN1_OP_PRINT_PRE, fld, it, &parg); in asn1_item_print_ctx()
250 i = asn1_cb(ASN1_OP_PRINT_POST, fld, it, &parg); in asn1_item_print_ctx()
/third_party/python/Modules/_ctypes/
D_ctypes.c440 PyCArgObject *parg; in StructUnionType_paramfunc() local
469 parg = PyCArgObject_new(); in StructUnionType_paramfunc()
470 if (parg == NULL) { in StructUnionType_paramfunc()
475 parg->tag = 'V'; in StructUnionType_paramfunc()
478 parg->pffi_type = &stgdict->ffi_type_pointer; in StructUnionType_paramfunc()
479 parg->value.p = ptr; in StructUnionType_paramfunc()
480 parg->size = self->b_size; in StructUnionType_paramfunc()
481 parg->obj = obj; in StructUnionType_paramfunc()
482 return parg; in StructUnionType_paramfunc()
1040 PyCArgObject *parg; in PyCPointerType_paramfunc() local
[all …]
Dcallproc.c1708 PyCArgObject *parg; in byref() local
1728 parg = PyCArgObject_new(); in byref()
1729 if (parg == NULL) in byref()
1732 parg->tag = 'P'; in byref()
1733 parg->pffi_type = &ffi_type_pointer; in byref()
1735 parg->obj = obj; in byref()
1736 parg->value.p = (char *)((CDataObject *)obj)->b_ptr + offset; in byref()
1737 return (PyObject *)parg; in byref()
/third_party/openssl/ssl/
Ds3_lib.c3390 long ssl3_ctrl(SSL *s, int cmd, long larg, void *parg) in ssl3_ctrl() argument
3413 DH *dh = (DH *)parg; in ssl3_ctrl()
3450 if (parg == NULL) { in ssl3_ctrl()
3454 group = EC_KEY_get0_group((const EC_KEY *)parg); in ssl3_ctrl()
3485 if (parg == NULL) in ssl3_ctrl()
3487 len = strlen((char *)parg); in ssl3_ctrl()
3492 if ((s->ext.hostname = OPENSSL_strdup((char *)parg)) == NULL) { in ssl3_ctrl()
3502 s->ext.debug_arg = parg; in ssl3_ctrl()
3516 *(STACK_OF(X509_EXTENSION) **)parg = s->ext.ocsp.exts; in ssl3_ctrl()
3521 s->ext.ocsp.exts = parg; in ssl3_ctrl()
[all …]
Dd1_lib.c207 long dtls1_ctrl(SSL *s, int cmd, long larg, void *parg) in dtls1_ctrl() argument
213 if (dtls1_get_timeout(s, (struct timeval *)parg) != NULL) { in dtls1_ctrl()
237 ret = ssl3_ctrl(s, cmd, larg, parg); in dtls1_ctrl()
Dssl_local.h459 long (*ssl_ctrl) (SSL *s, int cmd, long larg, void *parg);
460 long (*ssl_ctx_ctrl) (SSL_CTX *ctx, int cmd, long larg, void *parg);
2374 __owur long ssl3_ctrl(SSL *s, int cmd, long larg, void *parg);
2375 __owur long ssl3_ctx_ctrl(SSL_CTX *s, int cmd, long larg, void *parg);
2443 long dtls1_ctrl(SSL *s, int cmd, long larg, void *parg);
Dssl_lib.c2184 long SSL_ctrl(SSL *s, int cmd, long larg, void *parg) in SSL_ctrl() argument
2197 s->msg_callback_arg = parg; in SSL_ctrl()
2242 if (parg) { in SSL_ctrl()
2245 *(unsigned char **)parg = s->s3->tmp.ciphers_raw; in SSL_ctrl()
2270 return s->method->ssl_ctrl(s, cmd, larg, parg); in SSL_ctrl()
2294 long SSL_CTX_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg) in SSL_CTX_ctrl() argument
2302 return tls1_set_groups_list(NULL, NULL, parg); in SSL_CTX_ctrl()
2306 return tls1_set_sigalgs_list(NULL, parg, 0); in SSL_CTX_ctrl()
2321 ctx->msg_callback_arg = parg; in SSL_CTX_ctrl()
2410 return ctx->method->ssl_ctx_ctrl(ctx, cmd, larg, parg); in SSL_CTX_ctrl()
/third_party/ltp/testcases/realtime/func/periodic_cpu_load/
Dperiodic_cpu_load.c124 struct periodic_arg *parg = (struct periodic_arg *)t->arg; in periodic_thread() local
125 nsec_t period = parg->period; in periodic_thread()
126 void *(*func) (void *) = parg->func; in periodic_thread()
133 while (i < parg->iterations) { in periodic_thread()
141 func(parg->arg); in periodic_thread()
/third_party/ltp/tools/sparse/sparse-src/validation/
Denum-typecheck.c7 void parg(enum good);
8 void parg(enum bad);
/third_party/openssl/doc/man3/
DSSL_CTX_ctrl.pod11 long SSL_CTX_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg);
14 long SSL_ctrl(SSL *ssl, int cmd, long larg, void *parg);
21 B<larg>, B<parg>, or B<fp> are evaluated. These functions should never
DBIO_set_callback.pod190 =item B<BIO_ctrl(BIO *b, int cmd, long larg, void *parg)>
192 callback_ex(b, BIO_CB_CTRL, parg, 0, cmd, larg, 1L, NULL)
196 callback(b, BIO_CB_CTRL, parg, cmd, larg, 1L)
200 callback_ex(b, BIO_CB_CTRL | BIO_CB_RETURN, parg, 0, cmd, larg, ret, NULL)
204 callback(b, BIO_CB_CTRL|BIO_CB_RETURN, parg, cmd, larg, ret)
208 Note: B<cmd> == B<BIO_CTRL_SET_CALLBACK> is special, because B<parg> is not the
209 argument of type B<BIO_info_cb> itself. In this case B<parg> is a pointer to
DBIO_ctrl.pod17 long BIO_ctrl(BIO *bp, int cmd, long larg, void *parg);
/third_party/openssl/crypto/dso/
Ddso_local.h89 long (*dso_ctrl) (DSO *dso, int cmd, long larg, void *parg);
Ddso_lib.c202 long DSO_ctrl(DSO *dso, int cmd, long larg, void *parg) in DSO_ctrl() argument
228 return dso->meth->dso_ctrl(dso, cmd, larg, parg); in DSO_ctrl()
/third_party/openssl/include/internal/
Ddso.h89 long DSO_ctrl(DSO *dso, int cmd, long larg, void *parg);
/third_party/openssl/crypto/bio/
Dbio_lib.c510 long BIO_ctrl(BIO *b, int cmd, long larg, void *parg) in BIO_ctrl() argument
523 ret = bio_call_callback(b, BIO_CB_CTRL, parg, 0, cmd, larg, 1L, NULL); in BIO_ctrl()
528 ret = b->method->ctrl(b, cmd, larg, parg); in BIO_ctrl()
531 ret = bio_call_callback(b, BIO_CB_CTRL | BIO_CB_RETURN, parg, 0, cmd, in BIO_ctrl()
/third_party/openssl/include/openssl/
Dpkcs7.h235 long PKCS7_ctrl(PKCS7 *p7, int cmd, long larg, char *parg);
Dbio.h262 void *parg);
566 long BIO_ctrl(BIO *bp, int cmd, long larg, void *parg);
Dssl.h1844 long SSL_ctrl(SSL *ssl, int cmd, long larg, void *parg);
1846 long SSL_CTX_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg);
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/include/openssl/
Dssl.h1141 long SSL_CTX_ctrl(SSL_CTX *ctx, int cmd, long larg, char *parg);
/third_party/openssl/crypto/pkcs7/
Dpk7_lib.c17 long PKCS7_ctrl(PKCS7 *p7, int cmd, long larg, char *parg) in PKCS7_ctrl() argument
/third_party/openssl/doc/man7/
Dssl.pod235 =item long B<SSL_CTX_ctrl>(SSL_CTX *ctx, int cmd, long larg, char *parg);
492 =item long B<SSL_ctrl>(SSL *ssl, int cmd, long larg, char *parg);