HomeSort by relevance Sort by last modified time
    Searched refs:ctx (Results 176 - 200 of 1420) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/qemu/distrib/sdl-1.2.12/include/
SDL_rwops.h 114 #define SDL_RWseek(ctx, offset, whence) (ctx)->seek(ctx, offset, whence)
115 #define SDL_RWtell(ctx) (ctx)->seek(ctx, 0, RW_SEEK_CUR)
116 #define SDL_RWread(ctx, ptr, size, n) (ctx)->read(ctx, ptr, size, n)
117 #define SDL_RWwrite(ctx, ptr, size, n) (ctx)->write(ctx, ptr, size, n
    [all...]
  /prebuilts/tools/darwin-x86/sdl/include/SDL/
SDL_rwops.h 114 #define SDL_RWseek(ctx, offset, whence) (ctx)->seek(ctx, offset, whence)
115 #define SDL_RWtell(ctx) (ctx)->seek(ctx, 0, RW_SEEK_CUR)
116 #define SDL_RWread(ctx, ptr, size, n) (ctx)->read(ctx, ptr, size, n)
117 #define SDL_RWwrite(ctx, ptr, size, n) (ctx)->write(ctx, ptr, size, n
    [all...]
  /prebuilts/tools/linux-x86/sdl/include/SDL/
SDL_rwops.h 114 #define SDL_RWseek(ctx, offset, whence) (ctx)->seek(ctx, offset, whence)
115 #define SDL_RWtell(ctx) (ctx)->seek(ctx, 0, RW_SEEK_CUR)
116 #define SDL_RWread(ctx, ptr, size, n) (ctx)->read(ctx, ptr, size, n)
117 #define SDL_RWwrite(ctx, ptr, size, n) (ctx)->write(ctx, ptr, size, n
    [all...]
  /prebuilts/tools/windows/sdl/include/SDL/
SDL_rwops.h 114 #define SDL_RWseek(ctx, offset, whence) (ctx)->seek(ctx, offset, whence)
115 #define SDL_RWtell(ctx) (ctx)->seek(ctx, 0, RW_SEEK_CUR)
116 #define SDL_RWread(ctx, ptr, size, n) (ctx)->read(ctx, ptr, size, n)
117 #define SDL_RWwrite(ctx, ptr, size, n) (ctx)->write(ctx, ptr, size, n
    [all...]
  /external/mesa3d/src/glsl/glcpp/
glcpp.c 37 _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr,
46 load_text_fd (void *ctx, int fd)
57 text = talloc_realloc_size (ctx, text, text_size);
84 load_text_file(void *ctx, const char *filename)
90 return load_text_fd (ctx, STDIN_FILENO);
99 text = load_text_fd (ctx, fd);
110 void *ctx = talloc(NULL, void*); local
111 char *info_log = talloc_strdup(ctx, "");
119 shader = load_text_file (ctx, filename);
123 ret = preprocess(ctx, &shader, &info_log, NULL, API_OPENGL)
    [all...]
  /external/openssl/crypto/bn/
bn_prime.c 130 const BIGNUM *a1_odd, int k, BN_CTX *ctx, BN_MONT_CTX *mont);
133 const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx);
135 const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx);
165 BN_CTX *ctx; local
168 ctx=BN_CTX_new();
169 if (ctx == NULL) goto err;
170 BN_CTX_start(ctx);
171 t = BN_CTX_get(ctx);
183 if (!probable_prime_dh_safe(ret,bits,add,rem,ctx))
188 if (!probable_prime_dh(ret,bits,add,rem,ctx))
248 BN_CTX *ctx = NULL; local
    [all...]
  /external/e2fsprogs/e2fsck/
e2fsck.h 222 int (*progress)(e2fsck_t ctx, int pass, unsigned long cur,
367 extern void e2fsck_pass1(e2fsck_t ctx);
368 extern void e2fsck_pass1_dupblocks(e2fsck_t ctx, char *block_buf);
369 extern void e2fsck_pass2(e2fsck_t ctx);
370 extern void e2fsck_pass3(e2fsck_t ctx);
371 extern void e2fsck_pass4(e2fsck_t ctx);
372 extern void e2fsck_pass5(e2fsck_t ctx);
376 extern errcode_t e2fsck_reset_context(e2fsck_t ctx);
377 extern void e2fsck_free_context(e2fsck_t ctx);
378 extern int e2fsck_run(e2fsck_t ctx);
    [all...]
  /external/openssl/crypto/ec/
ecp_oct.c 71 const BIGNUM *x_, int y_bit, BN_CTX *ctx)
80 if (ctx == NULL)
82 ctx = new_ctx = BN_CTX_new();
83 if (ctx == NULL)
89 BN_CTX_start(ctx);
90 tmp1 = BN_CTX_get(ctx);
91 tmp2 = BN_CTX_get(ctx);
92 x = BN_CTX_get(ctx);
93 y = BN_CTX_get(ctx);
102 if (!BN_nnmod(x, x_, &group->field,ctx)) goto err
    [all...]
  /external/openssl/crypto/evp/
openbsd_hw.c 84 #define CDATA(ctx) EVP_C_DATA(session_op,ctx)
120 static int dev_crypto_cleanup(EVP_CIPHER_CTX *ctx)
122 if(ioctl(fd,CIOCFSESSION,&CDATA(ctx)->ses) == -1)
125 OPENSSL_free(CDATA(ctx)->key);
130 static int dev_crypto_init_key(EVP_CIPHER_CTX *ctx,int cipher,
133 if(!dev_crypto_init(CDATA(ctx)))
136 CDATA(ctx)->key=OPENSSL_malloc(MAX_HW_KEY);
138 assert(ctx->cipher->iv_len <= MAX_HW_IV);
140 memcpy(CDATA(ctx)->key,key,klen)
    [all...]
e_idea.c 68 static int idea_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
75 static int idea_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
79 idea_ecb_encrypt(in + i, out + i, ctx->cipher_data);
98 static int idea_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
102 if (EVP_CIPHER_CTX_mode(ctx) == EVP_CIPH_OFB_MODE) enc = 1;
103 else if (EVP_CIPHER_CTX_mode(ctx) == EVP_CIPH_CFB_MODE) enc = 1;
105 if (enc) idea_set_encrypt_key(key,ctx->cipher_data);
111 idea_set_decrypt_key(&tmp,ctx->cipher_data);
p_open.c 69 int EVP_OpenInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,
77 EVP_CIPHER_CTX_init(ctx);
78 if(!EVP_DecryptInit_ex(ctx,type,NULL, NULL,NULL)) return 0;
99 if ((i <= 0) || !EVP_CIPHER_CTX_set_key_length(ctx, i))
104 if(!EVP_DecryptInit_ex(ctx,NULL,NULL,key,iv)) goto err;
113 int EVP_OpenFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl)
117 i=EVP_DecryptFinal_ex(ctx,out,outl);
119 i = EVP_DecryptInit_ex(ctx,NULL,NULL,NULL,NULL);
p_verify.c 65 int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf,
75 if (!EVP_MD_CTX_copy_ex(&tmp_ctx,ctx))
81 if (ctx->digest->flags & EVP_MD_FLAG_PKEY_METHOD_SIGNATURE)
89 if (EVP_PKEY_CTX_set_signature_md(pkctx, ctx->digest) <= 0)
99 v=ctx->digest->required_pkey_type[i];
112 if (ctx->digest->verify == NULL)
118 return(ctx->digest->verify(ctx->digest->type,m,m_len,
  /external/wpa_supplicant_6/wpa_supplicant/src/crypto/
crypto_gnutls.c 122 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt)
124 gcry_cipher_hd_t hd = ctx;
129 void aes_encrypt_deinit(void *ctx)
131 gcry_cipher_hd_t hd = ctx;
152 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain)
154 gcry_cipher_hd_t hd = ctx;
159 void aes_decrypt_deinit(void *ctx)
161 gcry_cipher_hd_t hd = ctx;
211 struct crypto_cipher *ctx; local
216 ctx = os_zalloc(sizeof(*ctx))
    [all...]
crypto_internal.c 70 struct crypto_hash *ctx; local
75 ctx = os_zalloc(sizeof(*ctx));
76 if (ctx == NULL)
79 ctx->alg = alg;
83 MD5Init(&ctx->u.md5);
86 SHA1Init(&ctx->u.sha1);
90 MD5Init(&ctx->u.md5);
91 MD5Update(&ctx->u.md5, key, key_len);
92 MD5Final(tk, &ctx->u.md5)
257 struct crypto_cipher *ctx; local
    [all...]
  /external/wpa_supplicant_8/src/crypto/
crypto_gnutls.c 110 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt)
112 gcry_cipher_hd_t hd = ctx;
117 void aes_encrypt_deinit(void *ctx)
119 gcry_cipher_hd_t hd = ctx;
140 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain)
142 gcry_cipher_hd_t hd = ctx;
147 void aes_decrypt_deinit(void *ctx)
149 gcry_cipher_hd_t hd = ctx;
199 struct crypto_cipher *ctx; local
204 ctx = os_zalloc(sizeof(*ctx))
    [all...]
  /external/libxml2/
c14n.c 88 xmlC14NCtxPtr ctx);
96 static int xmlC14NProcessNode(xmlC14NCtxPtr ctx, xmlNodePtr cur);
97 static int xmlC14NProcessNodeList(xmlC14NCtxPtr ctx, xmlNodePtr cur);
117 #define xmlC14NIsVisible( ctx, node, parent ) \
118 (((ctx)->is_visible_callback != NULL) ? \
119 (ctx)->is_visible_callback((ctx)->user_data, \
122 #define xmlC14NIsExclusive( ctx ) \
123 ( (ctx)->mode == XML_C14N_EXCLUSIVE_1_0 )
403 * @ctx: the C14N context
1776 xmlC14NCtxPtr ctx = NULL; local
1869 xmlC14NCtxPtr ctx; local
    [all...]
  /external/mesa3d/src/pixelflinger2/
pixelflinger2.cpp 34 GGL_GET_CONTEXT(ctx, iface);
35 ctx->viewport.n = VectorComp_t_CTR((zNear + zFar) / 2);
36 ctx->viewport.f = VectorComp_t_CTR((zFar - zNear) / 2);
41 GGL_GET_CONTEXT(ctx, iface);
42 ctx->viewport.x = VectorComp_t_CTR(x + width / 2);
43 ctx->viewport.y = VectorComp_t_CTR(y + height / 2);
44 ctx->viewport.w = VectorComp_t_CTR(width / 2);
45 ctx->viewport.h = VectorComp_t_CTR(height / 2);
50 GGL_GET_CONTEXT(ctx, iface);
54 ctx->cullState.cullFace = mode - GL_FRONT
236 GGLContext * const ctx = (GGLContext *)calloc(1, sizeof(GGLContext)); local
273 GGLContext * const ctx = reinterpret_cast<GGLContext *>(iface); local
    [all...]
  /external/elfutils/libasm/
asm_addstrz.c 74 if (unlikely (asmscn->ctx->textp))
82 fputs ("\t.string\t\"", asmscn->ctx->out.file);
87 fputs ("\\000", asmscn->ctx->out.file);
89 fprintf (asmscn->ctx->out.file, "\\%03o",
92 fputs ("\\\\", asmscn->ctx->out.file);
95 fputs ("\\n\"", asmscn->ctx->out.file);
99 fputc (*str, asmscn->ctx->out.file);
106 fputs ("\"\n", asmscn->ctx->out.file);
  /external/elfutils/tests/
asm-tst4.c 46 AsmCtx_t *ctx; local
59 ctx = asm_begin (fname, ebl, false);
60 if (ctx == NULL)
76 scn = asm_newscn (ctx, buf, SHT_PROGBITS, SHF_ALLOC | SHF_WRITE);
81 asm_abort (ctx);
90 asm_abort (ctx);
96 if (asm_end (ctx) != 0)
99 asm_abort (ctx);
  /external/libvpx/vpx/
vpx_decoder.h 111 * \param[in] ctx Pointer to this instance's context.
122 vpx_codec_err_t vpx_codec_dec_init_ver(vpx_codec_ctx_t *ctx,
132 #define vpx_codec_dec_init(ctx, iface, cfg, flags) \
133 vpx_codec_dec_init_ver(ctx, iface, cfg, flags, VPX_DECODER_ABI_VERSION)
163 * \param[in] ctx Pointer to this instance's context
172 vpx_codec_err_t vpx_codec_get_stream_info(vpx_codec_ctx_t *ctx,
184 * \param[in] ctx Pointer to this instance's context
199 vpx_codec_err_t vpx_codec_decode(vpx_codec_ctx_t *ctx,
215 * \param[in] ctx Pointer to this instance's context
221 vpx_image_t *vpx_codec_get_frame(vpx_codec_ctx_t *ctx,
    [all...]
  /external/libxml2/include/libxml/
nanohttp.h 54 xmlNanoHTTPReturnCode (void *ctx);
56 xmlNanoHTTPAuthHeader (void *ctx);
58 xmlNanoHTTPRedir (void *ctx);
60 xmlNanoHTTPContentLength( void * ctx );
62 xmlNanoHTTPEncoding (void *ctx);
64 xmlNanoHTTPMimeType (void *ctx);
66 xmlNanoHTTPRead (void *ctx,
75 xmlNanoHTTPClose (void *ctx);
  /external/openssh/
cipher-bf1.c 67 static void bf_ssh1_init (EVP_CIPHER_CTX * ctx, const unsigned char *key,
71 memcpy (&(ctx->oiv[0]), iv, 8);
72 memcpy (&(ctx->iv[0]), &(ctx->oiv[0]), 8);
74 BF_set_key (&(ctx->c.bf_ks), EVP_CIPHER_CTX_key_length (ctx),
83 bf_ssh1_cipher(EVP_CIPHER_CTX *ctx, u_char *out, const u_char *in,
89 ret = (*orig_bf)(ctx, out, out, len);
  /external/openssl/apps/
genpkey.c 70 static int genpkey_cb(EVP_PKEY_CTX *ctx);
86 EVP_PKEY_CTX *ctx = NULL; local
135 if (!init_keygen_file(bio_err, &ctx, *args, e))
151 if (!init_gen_str(bio_err, &ctx, *(++args),e, do_param))
158 if (!ctx)
163 else if (pkey_ctrl_string(ctx, *(++args)) <= 0)
172 if (ctx)
193 if (!ctx)
244 EVP_PKEY_CTX_set_cb(ctx, genpkey_cb);
245 EVP_PKEY_CTX_set_app_data(ctx, bio_err)
320 EVP_PKEY_CTX *ctx = NULL; local
366 EVP_PKEY_CTX *ctx = NULL; local
    [all...]
  /external/skia/src/gpu/
GrAddPathRenderers_default.cpp 13 void GrPathRenderer::AddPathRenderers(GrContext* ctx,
18 if (GrPathRenderer* pr = GrAAHairLinePathRenderer::Create(ctx)) {
  /external/webkit/Source/JavaScriptCore/API/
JSProfilerPrivate.h 42 @param ctx The execution context to use.
46 JS_EXPORT void JSStartProfiling(JSContextRef ctx, JSStringRef title);
51 @param ctx The execution context to use.
57 JS_EXPORT void JSEndProfiling(JSContextRef ctx, JSStringRef title);

Completed in 930 milliseconds

1 2 3 4 5 6 78 91011>>