/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.mike/ |
H A D | err3.C | 1 class cb { class 7 : cb() { // ERROR -
|
H A D | eh45.C | 16 class cb { class 18 cb(const ca &rca) { function in class:cb 22 virtual ~cb() { 28 void foo(const cb &rcb) { 32 foo(cb(ca()));
|
H A D | pmf7.C | 7 B& dummy(f_ptr cb) { return *this; }; argument 10 template<class SP, class CB> SP& call_dummy(SP* sp, CB cb) { argument 11 sp->dummy(cb);
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 930126-1.c | 17 T * cb = (T *) (((T) (object & 0x3FF)) | 0x400); local 35 cb[19] = ((((cc) & 0xFF) << 16) | (9 & 0xFF)); 36 cb[21] = ((((cc) & 0xFF) << 16) | ((10) & 0xFF)); 37 cb[23] = ((((cc) & 0xFF) << 16) | (11 & 0xFF)); 38 cb[25] = ((((cc) & 0xFF) << 16) | (12 & 0xFF)); 39 cb[27] = ((((cc) & 0xFF) << 16) | (13 & 0xFF)); 40 cb[29] = ((((cc) & 0xFF) << 16) | (14 & 0xFF)); 41 cb[31] = ((((cc) & 0xFF) << 16) | (15 & 0xFF)); 42 cb[35] = ((((cc) & 0xFF) << 16) | (17 & 0xFF)); 43 cb[3 [all...] |
/openbsd-current/libexec/login_token/ |
H A D | token.c | 65 DES_cblock cb; member in union:__anon8074 93 tokenseed(TOKEN_CBlock *cb) argument 95 cb->ul[0] = arc4random(); 96 cb->ul[1] = arc4random(); 108 TOKEN_CBlock cb; local 125 h2cb(tr.secret, &cb); 126 DES_fixup_key_parity(&cb.cb); 127 DES_key_sched(&cb.cb, 354 h2cb(char *hp, TOKEN_CBlock *cb) argument 370 cb2h(TOKEN_CBlock cb, char* hp) argument [all...] |
/openbsd-current/gnu/usr.bin/cvs/src/ |
H A D | zlib.c | 139 struct compress_buffer *cb = (struct compress_buffer *) closure; local 142 if (cb->buf->input == NULL) 147 on cb->buf->data, because we never call the buffer routines on 148 cb->buf; we only call the buffer input routine, since that 153 bd = cb->buf->data; 167 cb->buf->data = bd; 170 cb->zstr.avail_out = size; 171 cb->zstr.next_out = (Bytef *) data; 182 cb->zstr.avail_in = bd->size; 183 cb 257 struct compress_buffer *cb = (struct compress_buffer *) closure; local 296 struct compress_buffer *cb = (struct compress_buffer *) closure; local 347 struct compress_buffer *cb = (struct compress_buffer *) closure; local 361 struct compress_buffer *cb = (struct compress_buffer *) closure; local 393 struct compress_buffer *cb = (struct compress_buffer *) closure; local [all...] |
/openbsd-current/sys/dev/ic/ |
H A D | oosiop.c | 139 struct oosiop_cb *cb; local 142 cb = TAILQ_FIRST(&sc->sc_free_cb); 143 if (cb) 144 TAILQ_REMOVE(&sc->sc_free_cb, cb, chain); 147 return (cb); 154 struct oosiop_cb *cb = xcb; local 157 TAILQ_INSERT_TAIL(&sc->sc_free_cb, cb, chain); 167 struct oosiop_cb *cb; local 206 /* Use first cb to reselection msgin buffer */ 207 cb 276 struct oosiop_cb *cb; local 466 oosiop_setup_sgdma(struct oosiop_softc *sc, struct oosiop_cb *cb) argument 539 struct oosiop_cb *cb; local 595 struct oosiop_cb *cb; local 722 struct oosiop_cb *cb; local 812 oosiop_poll(struct oosiop_softc *sc, struct oosiop_cb *cb) argument 846 oosiop_setup(struct oosiop_softc *sc, struct oosiop_cb *cb) argument 879 oosiop_done(struct oosiop_softc *sc, struct oosiop_cb *cb) argument 1009 struct oosiop_cb *cb = arg; local 1129 struct oosiop_cb *cb; local 1265 struct oosiop_cb *cb; local 1376 oosiop_msgin(struct oosiop_softc *sc, struct oosiop_cb *cb) argument [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.pt/ |
H A D | unify3.C | 20 ComputeBinaryType<double, double> cb; local 21 cb.g();
|
/openbsd-current/usr.bin/cvs/ |
H A D | worklist.h | 41 void worklist_run(struct wklhead *, void (*cb)(struct worklist *)); 42 void worklist_clean(struct wklhead *, void (*cb)(struct worklist *));
|
/openbsd-current/usr.bin/rcs/ |
H A D | worklist.h | 41 void worklist_run(struct wklhead *, void (*cb)(struct worklist *)); 42 void worklist_clean(struct wklhead *, void (*cb)(struct worklist *));
|
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_deadlock_detector1.cpp | 48 void MutexInit(DDCallback *cb, DDMutex *m) override; 49 void MutexBeforeLock(DDCallback *cb, DDMutex *m, bool wlock) override; 50 void MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock, 52 void MutexBeforeUnlock(DDCallback *cb, DDMutex *m, bool wlock) override; 53 void MutexDestroy(DDCallback *cb, DDMutex *m) override; 55 DDReport *GetReport(DDCallback *cb) override; 58 void ReportDeadlock(DDCallback *cb, DDMutex *m); 92 void DD::MutexInit(DDCallback *cb, DDMutex *m) { argument 94 m->stk = cb->Unwind(); 103 void DD::MutexBeforeLock(DDCallback *cb, argument 119 ReportDeadlock(DDCallback *cb, DDMutex *m) argument 152 MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock, bool trylock) argument 172 MutexBeforeUnlock(DDCallback *cb, DDMutex *m, bool wlock) argument 177 MutexDestroy(DDCallback *cb, DDMutex *m) argument 186 GetReport(DDCallback *cb) argument [all...] |
H A D | sanitizer_deadlock_detector_interface.h | 83 virtual void MutexInit(DDCallback *cb, DDMutex *m) {} argument 84 virtual void MutexBeforeLock(DDCallback *cb, DDMutex *m, bool wlock) {} argument 85 virtual void MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock, argument 87 virtual void MutexBeforeUnlock(DDCallback *cb, DDMutex *m, bool wlock) {} argument 88 virtual void MutexDestroy(DDCallback *cb, DDMutex *m) {} argument 90 virtual DDReport *GetReport(DDCallback *cb) { return nullptr; } argument
|
/openbsd-current/lib/libcrypto/pem/ |
H A D | pem_pk8.c | 71 const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u); 73 const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u); 83 int klen, pem_password_cb *cb, void *u) 85 return do_pk8pkey(bp, x, 0, nid, NULL, kstr, klen, cb, u); 91 char *kstr, int klen, pem_password_cb *cb, void *u) 93 return do_pk8pkey(bp, x, 0, -1, enc, kstr, klen, cb, u); 99 char *kstr, int klen, pem_password_cb *cb, void *u) 101 return do_pk8pkey(bp, x, 1, -1, enc, kstr, klen, cb, u); 107 char *kstr, int klen, pem_password_cb *cb, void *u) 109 return do_pk8pkey(bp, x, 1, nid, NULL, kstr, klen, cb, 82 PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 90 PEM_write_bio_PKCS8PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 98 i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 106 i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 114 do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 161 d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u) argument 199 i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 207 i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 215 PEM_write_PKCS8PrivateKey_nid(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 223 PEM_write_PKCS8PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 231 do_pk8pkey_fp(FILE *fp, EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 247 d2i_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u) argument 263 PEM_read_PKCS8(FILE *fp, X509_SIG **x, pem_password_cb *cb, void *u) argument 279 PEM_read_bio_PKCS8(BIO *bp, X509_SIG **x, pem_password_cb *cb, void *u) argument 295 PEM_read_PKCS8_PRIV_KEY_INFO(FILE *fp, PKCS8_PRIV_KEY_INFO **x, pem_password_cb *cb, void *u) argument 311 PEM_read_bio_PKCS8_PRIV_KEY_INFO(BIO *bp, PKCS8_PRIV_KEY_INFO **x, pem_password_cb *cb, void *u) argument [all...] |
H A D | pem_all.c | 145 PEM_read_X509_REQ(FILE *fp, X509_REQ **x, pem_password_cb *cb, void *u) argument 148 (void **)x, cb, u); 161 PEM_read_bio_X509_REQ(BIO *bp, X509_REQ **x, pem_password_cb *cb, void *u) argument 164 (void **)x, cb, u); 193 PEM_read_X509_CRL(FILE *fp, X509_CRL **x, pem_password_cb *cb, void *u) argument 196 (void **)x, cb, u); 209 PEM_read_bio_X509_CRL(BIO *bp, X509_CRL **x, pem_password_cb *cb, void *u) argument 212 (void **)x, cb, u); 225 PEM_read_PKCS7(FILE *fp, PKCS7 **x, pem_password_cb *cb, void *u) argument 228 (void **)x, cb, 241 PEM_read_bio_PKCS7(BIO *bp, PKCS7 **x, pem_password_cb *cb, void *u) argument 285 PEM_read_RSAPrivateKey(FILE *fp, RSA **rsa, pem_password_cb *cb, void *u) argument 295 PEM_write_RSAPrivateKey(FILE *fp, RSA *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u) argument 304 PEM_read_bio_RSAPrivateKey(BIO *bp, RSA **rsa, pem_password_cb *cb, void *u) argument 314 PEM_write_bio_RSAPrivateKey(BIO *bp, RSA *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u) argument 324 PEM_read_RSAPublicKey(FILE *fp, RSA **x, pem_password_cb *cb, void *u) argument 340 PEM_read_bio_RSAPublicKey(BIO *bp, RSA **x, pem_password_cb *cb, void *u) argument 356 PEM_read_RSA_PUBKEY(FILE *fp, RSA **x, pem_password_cb *cb, void *u) argument 372 PEM_read_bio_RSA_PUBKEY(BIO *bp, RSA **x, pem_password_cb *cb, void *u) argument 410 PEM_read_DSAPrivateKey(FILE *fp, DSA **dsa, pem_password_cb *cb, void *u) argument 420 PEM_write_DSAPrivateKey(FILE *fp, DSA *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u) argument 429 PEM_read_bio_DSAPrivateKey(BIO *bp, DSA **dsa, pem_password_cb *cb, void *u) argument 439 PEM_write_bio_DSAPrivateKey(BIO *bp, DSA *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u) argument 449 PEM_read_DSA_PUBKEY(FILE *fp, DSA **x, pem_password_cb *cb, void *u) argument 473 PEM_read_bio_DSA_PUBKEY(BIO *bp, DSA **x, pem_password_cb *cb, void *u) argument 481 PEM_read_DSAparams(FILE *fp, DSA **x, pem_password_cb *cb, void *u) argument 497 PEM_read_bio_DSAparams(BIO *bp, DSA **x, pem_password_cb *cb, void *u) argument 535 PEM_read_ECPKParameters(FILE *fp, EC_GROUP **x, pem_password_cb *cb, void *u) argument 551 PEM_read_bio_ECPKParameters(BIO *bp, EC_GROUP **x, pem_password_cb *cb, void *u) argument 567 PEM_read_ECPrivateKey(FILE *fp, EC_KEY **eckey, pem_password_cb *cb, void *u) argument 577 PEM_write_ECPrivateKey(FILE *fp, EC_KEY *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u) argument 586 PEM_read_bio_ECPrivateKey(BIO *bp, EC_KEY **key, pem_password_cb *cb, void *u) argument 595 PEM_write_bio_ECPrivateKey(BIO *bp, EC_KEY *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u) argument 605 PEM_read_EC_PUBKEY(FILE *fp, EC_KEY **x, pem_password_cb *cb, void *u) argument 621 PEM_read_bio_EC_PUBKEY(BIO *bp, EC_KEY **x, pem_password_cb *cb, void *u) argument 641 PEM_read_DHparams(FILE *fp, DH **x, pem_password_cb *cb, void *u) argument 657 PEM_read_bio_DHparams(BIO *bp, DH **x, pem_password_cb *cb, void *u) argument 675 PEM_read_PUBKEY(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u) argument 691 PEM_read_bio_PUBKEY(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u) argument [all...] |
/openbsd-current/gnu/usr.bin/perl/cpan/HTTP-Tiny/t/ |
H A D | 050_chunked_body.t | 27 cb => sub { shift @chunks }, 35 my $cb = sub { push @$got, $_[0] }; 37 $handle->read_chunked_body($cb, $response); 54 cb => sub { shift @chunks }, 63 my $cb = sub { push @$got, $_[0] }; 65 $handle->read_chunked_body($cb, $response);
|
/openbsd-current/usr.bin/ssh/ |
H A D | atomicio.h | 39 int (*cb)(void *, size_t), void *); 49 const struct iovec *_iov, int iovcnt, int (*cb)(void *, size_t), void *);
|
H A D | atomicio.c | 44 int (*cb)(void *, size_t), void *cb_arg) 59 if (cb != NULL && cb(cb_arg, 0) == -1) { 74 if (cb != NULL && cb(cb_arg, (size_t)res) == -1) { 95 int (*cb)(void *, size_t), void *cb_arg) 117 if (cb != NULL && cb(cb_arg, 0) == -1) { 150 if (cb != NULL && cb(cb_ar [all...] |
/openbsd-current/gnu/llvm/llvm/tools/llvm-c-test/ |
H A D | helpers.c | 20 void llvm_tokenize_stdin(void (*cb)(char **tokens, int ntokens)) { 37 cb(tokbuf, c);
|
/openbsd-current/usr.sbin/vmd/ |
H A D | atomicio.h | 39 int (*cb)(void *, size_t), void *); 49 const struct iovec *_iov, int iovcnt, int (*cb)(void *, size_t), void *);
|
/openbsd-current/sys/dev/pci/drm/apple/ |
H A D | iomfb_internal.h | 15 static void func(struct apple_dcp *dcp, bool oob, dcp_callback_t cb, \ 18 dcp_push(dcp, oob, &dcp_methods[handle], 0, 0, NULL, cb, cookie); \ 22 static void func(struct apple_dcp *dcp, bool oob, dcp_callback_t cb, \ 25 dcp_push(dcp, oob, &dcp_methods[handle], 0, sizeof(T), NULL, cb, cookie); \ 30 dcp_callback_t cb, void *cookie) \ 32 dcp_push(dcp, oob, &dcp_methods[handle], sizeof(T), 0, data, cb, cookie); \ 37 dcp_callback_t cb, void *cookie) \ 40 cb, cookie); \ 46 dcp_callback_t cb, void *cookie) \ 51 data, cb, cooki [all...] |
/openbsd-current/lib/libcrypto/dh/ |
H A D | dh_gen.c | 69 BN_GENCB *cb); 72 DH_generate_parameters_ex(DH *ret, int prime_len, int generator, BN_GENCB *cb) argument 75 return ret->meth->generate_params(ret, prime_len, generator, cb); 76 return dh_builtin_genparams(ret, prime_len, generator, cb); 107 dh_builtin_genparams(DH *ret, int prime_len, int generator, BN_GENCB *cb) argument 160 if (!BN_generate_prime_ex(ret->p, prime_len, 1, t1, t2, cb)) 162 if (!BN_GENCB_call(cb, 3, 0)) 184 BN_GENCB cb; local 190 BN_GENCB_set_old(&cb, callback, cb_arg); 192 if (DH_generate_parameters_ex(ret, prime_len, generator, &cb)) [all...] |
/openbsd-current/usr.bin/x99token/ |
H A D | x99token.c | 182 DES_cblock cb; local 184 memcpy(&cb, chal, sizeof(cb)); 186 printf("%.8s: ", (char *)cb); 187 DES_ecb_encrypt(&cb, &cb, &ks, DES_ENCRYPT); 189 printf("%c", digits[(cb[i]>>4) & 0xf]); 190 printf("%c", digits[(cb[i]>>0) & 0xf]); 194 if ((cb[i] &= 0xf) > 9) 195 cb[ [all...] |
/openbsd-current/gnu/llvm/compiler-rt/lib/tsan/dd/ |
H A D | dd_rtl.cpp | 114 Callback cb(thr); 118 ctx->dd->MutexInit(&cb, &h->dd); 119 ctx->dd->MutexBeforeLock(&cb, &h->dd, writelock); 121 ReportDeadlock(thr, ctx->dd->GetReport(&cb)); 127 Callback cb(thr); 131 ctx->dd->MutexInit(&cb, &h->dd); 132 ctx->dd->MutexAfterLock(&cb, &h->dd, writelock, trylock); 134 ReportDeadlock(thr, ctx->dd->GetReport(&cb)); 140 Callback cb(thr); 143 ctx->dd->MutexBeforeUnlock(&cb, [all...] |
/openbsd-current/usr.bin/openssl/ |
H A D | gendh.c | 87 static int dh_cb(int p, int n, BN_GENCB *cb); 131 BN_GENCB *cb = NULL; local 142 if ((cb = BN_GENCB_new()) == NULL) { 147 BN_GENCB_set(cb, dh_cb, bio_err); 186 !DH_generate_parameters_ex(dh, numbits, cfg.g, cb)) 196 BN_GENCB_free(cb); 203 dh_cb(int p, int n, BN_GENCB *cb) argument 215 BIO_write(BN_GENCB_get_arg(cb), &c, 1); 216 (void) BIO_flush(BN_GENCB_get_arg(cb));
|
/openbsd-current/sys/dev/pci/drm/i915/ |
H A D | i915_sw_fence.c | 421 struct i915_sw_dma_fence_cb *cb = container_of(data, typeof(*cb), base); local 423 i915_sw_fence_set_error_once(cb->fence, dma->error); 424 i915_sw_fence_complete(cb->fence); 425 kfree(cb); 430 struct i915_sw_dma_fence_cb_timer *cb = arg; local 433 fence = xchg(&cb->base.fence, NULL); 438 cb->dma->ops->get_driver_name(cb->dma), 439 cb 450 struct i915_sw_dma_fence_cb_timer *cb = local 465 struct i915_sw_dma_fence_cb_timer *cb = local 479 struct i915_sw_dma_fence_cb *cb; local 545 struct i915_sw_dma_fence_cb *cb = container_of(data, typeof(*cb), base); local 551 __i915_sw_fence_await_dma_fence(struct i915_sw_fence *fence, struct dma_fence *dma, struct i915_sw_dma_fence_cb *cb) argument [all...] |