/external/openssl/crypto/evp/ |
e_rc5.c | 69 static int r_32_12_16_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 79 #define data(ctx) EVP_C_DATA(EVP_RC5_KEY,ctx) 118 static int r_32_12_16_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 121 RC5_32_set_key(&data(ctx)->ks,EVP_CIPHER_CTX_key_length(ctx), 122 key,data(ctx)->rounds);
|
pmeth_lib.c | 365 void EVP_PKEY_CTX_free(EVP_PKEY_CTX *ctx) 367 if (ctx == NULL) 369 if (ctx->pmeth && ctx->pmeth->cleanup) 370 ctx->pmeth->cleanup(ctx); 371 if (ctx->pkey) 372 EVP_PKEY_free(ctx->pkey); 373 if (ctx->peerkey) 374 EVP_PKEY_free(ctx->peerkey) [all...] |
/external/openssl/include/openssl/ |
comp.h | 17 int (*init)(COMP_CTX *ctx); 18 void (*finish)(COMP_CTX *ctx); 19 int (*compress)(COMP_CTX *ctx, 22 int (*expand)(COMP_CTX *ctx, 43 void COMP_CTX_free(COMP_CTX *ctx); 44 int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen, 46 int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen,
|
/sdk/emulator/opengl/host/libs/Translator/GLcommon/ |
FramebufferData.cpp | 127 void FramebufferData::validate(GLEScontext* ctx) 140 ctx->dispatcher().glGetFramebufferAttachmentParameterivEXT(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT_OES, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, &type); 143 ctx->dispatcher().glGetFramebufferAttachmentParameterivEXT(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT_OES, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME, &name); 147 ctx->dispatcher().glGetFramebufferAttachmentParameterivEXT(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT_OES, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, &type); 150 ctx->dispatcher().glGetFramebufferAttachmentParameterivEXT(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT_OES, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME, &name); 166 ctx->dispatcher().glGetIntegerv(GL_RENDERBUFFER_BINDING, &prev); 167 ctx->dispatcher().glBindRenderbufferEXT(GL_RENDERBUFFER, name); 168 ctx->dispatcher().glGetRenderbufferParameterivEXT(GL_RENDERBUFFER, GL_RENDERBUFFER_WIDTH, &width); 169 ctx->dispatcher().glGetRenderbufferParameterivEXT(GL_RENDERBUFFER, GL_RENDERBUFFER_HEIGHT, &height); 170 ctx->dispatcher().glBindRenderbufferEXT(GL_RENDERBUFFER, prev) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
dd.h | 85 const GLubyte * (*GetString)( struct gl_context *ctx, GLenum name ); 93 void (*UpdateState)( struct gl_context *ctx, GLbitfield new_state ); 108 void (*ResizeBuffers)( struct gl_context *ctx, struct gl_framebuffer *fb, 115 void (*Error)( struct gl_context *ctx ); 120 void (*Finish)( struct gl_context *ctx ); 125 void (*Flush)( struct gl_context *ctx ); 132 void (*Clear)( struct gl_context *ctx, GLbitfield buffers ); 137 void (*Accum)( struct gl_context *ctx, GLenum op, GLfloat value ); 141 * Execute glRasterPos, updating the ctx->Current.Raster fields 143 void (*RasterPos)( struct gl_context *ctx, const GLfloat v[4] ) [all...] |
pbo.h | 41 _mesa_map_pbo_source(struct gl_context *ctx, 46 _mesa_map_validate_pbo_source(struct gl_context *ctx, 54 _mesa_unmap_pbo_source(struct gl_context *ctx, 58 _mesa_map_pbo_dest(struct gl_context *ctx, 63 _mesa_map_validate_pbo_dest(struct gl_context *ctx, 71 _mesa_unmap_pbo_dest(struct gl_context *ctx, 76 _mesa_validate_pbo_teximage(struct gl_context *ctx, GLuint dimensions, 83 _mesa_validate_pbo_compressed_teximage(struct gl_context *ctx, 89 _mesa_unmap_teximage_pbo(struct gl_context *ctx,
|
/external/mesa3d/src/mesa/main/ |
dd.h | 85 const GLubyte * (*GetString)( struct gl_context *ctx, GLenum name ); 93 void (*UpdateState)( struct gl_context *ctx, GLbitfield new_state ); 108 void (*ResizeBuffers)( struct gl_context *ctx, struct gl_framebuffer *fb, 115 void (*Error)( struct gl_context *ctx ); 120 void (*Finish)( struct gl_context *ctx ); 125 void (*Flush)( struct gl_context *ctx ); 132 void (*Clear)( struct gl_context *ctx, GLbitfield buffers ); 137 void (*Accum)( struct gl_context *ctx, GLenum op, GLfloat value ); 141 * Execute glRasterPos, updating the ctx->Current.Raster fields 143 void (*RasterPos)( struct gl_context *ctx, const GLfloat v[4] ) [all...] |
pbo.h | 41 _mesa_map_pbo_source(struct gl_context *ctx, 46 _mesa_map_validate_pbo_source(struct gl_context *ctx, 54 _mesa_unmap_pbo_source(struct gl_context *ctx, 58 _mesa_map_pbo_dest(struct gl_context *ctx, 63 _mesa_map_validate_pbo_dest(struct gl_context *ctx, 71 _mesa_unmap_pbo_dest(struct gl_context *ctx, 76 _mesa_validate_pbo_teximage(struct gl_context *ctx, GLuint dimensions, 83 _mesa_validate_pbo_compressed_teximage(struct gl_context *ctx, 89 _mesa_unmap_teximage_pbo(struct gl_context *ctx,
|
/hardware/qcom/display/msm8x26/libhwcomposer/ |
hwc_utils.cpp | 47 static int openFramebufferDevice(hwc_context_t *ctx) 90 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = fb_fd; 92 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); 93 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = info.xres; 94 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = info.yres; 95 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xdpi = xdpi; 96 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].ydpi = ydpi; 97 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period = 1000000000l / fps; 104 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive = true; 109 static int ppdComm(const char* cmd, hwc_context_t *ctx) { [all...] |
/external/elfutils/lib/ |
sha1.c | 54 sha1_init_ctx (ctx) 55 struct sha1_ctx *ctx; 57 ctx->A = 0x67452301; 58 ctx->B = 0xefcdab89; 59 ctx->C = 0x98badcfe; 60 ctx->D = 0x10325476; 61 ctx->E = 0xc3d2e1f0; 63 ctx->total[0] = ctx->total[1] = 0; 64 ctx->buflen = 0 [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/noop/ |
noop_pipe.c | 36 void noop_init_state_functions(struct pipe_context *ctx); 49 static struct pipe_query *noop_create_query(struct pipe_context *ctx, unsigned query_type) 56 static void noop_destroy_query(struct pipe_context *ctx, struct pipe_query *query) 61 static void noop_begin_query(struct pipe_context *ctx, struct pipe_query *query) 65 static void noop_end_query(struct pipe_context *ctx, struct pipe_query *query) 69 static boolean noop_get_query_result(struct pipe_context *ctx, 210 static void noop_clear(struct pipe_context *ctx, unsigned buffers, 215 static void noop_clear_render_target(struct pipe_context *ctx, 223 static void noop_clear_depth_stencil(struct pipe_context *ctx, 233 static void noop_resource_copy_region(struct pipe_context *ctx, 259 struct pipe_context *ctx = CALLOC_STRUCT(pipe_context); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/wgl/ |
stw_context.c | 145 struct stw_context *ctx = NULL; local 180 ctx = CALLOC_STRUCT( stw_context ); 181 if (ctx == NULL) 184 ctx->hdc = hdc; 185 ctx->iPixelFormat = iPixelFormat; 213 ctx->st = stw_dev->stapi->create_context(stw_dev->stapi, 215 if (ctx->st == NULL) 218 ctx->st->st_manager_private = (void *) ctx; 221 ctx->dhglrc = handle_table_add(stw_dev->ctx_table, ctx) 240 struct stw_context *ctx ; local 271 struct stw_context *ctx; local 300 struct stw_context *ctx; local 312 struct stw_context *ctx; local 327 struct stw_context *ctx = NULL; local 414 struct stw_context *ctx = stw_current_context(); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/ |
graw_util.h | 21 struct pipe_context *ctx; member in struct:graw_info 63 info->ctx = info->screen->context_create(info->screen, NULL); 64 if (info->ctx == NULL) { 94 info->color_surf[i] = info->ctx->create_surface(info->ctx, 125 info->zs_surf = info->ctx->create_surface(info->ctx, 142 info->ctx->set_framebuffer_state(info->ctx, &fb); 157 handle = info->ctx->create_blend_state(info->ctx, &blend) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_tcl.c | 108 #define LOCAL_VARS r100ContextPtr rmesa = R100_CONTEXT(ctx) 112 radeonTclPrimitive( ctx, prim, hw_prim | RADEON_CP_VC_CNTL_PRIM_WALK_IND ) 167 static void radeonEmitPrim( struct gl_context *ctx, 173 r100ContextPtr rmesa = R100_CONTEXT( ctx ); 174 radeonTclPrimitive( ctx, prim, hwprim ); 188 #define EMIT_PRIM( ctx, prim, hwprim, start, count ) do { \ 189 radeonEmitPrim( ctx, prim, hwprim, start, count ); \ 231 void radeonEmitPrimitive( struct gl_context *ctx, 236 tcl_render_tab_verts[flags&PRIM_MODE_MASK]( ctx, first, last, flags ); 239 void radeonEmitEltPrimitive( struct gl_context *ctx, [all...] |
/external/chromium_org/third_party/smhasher/src/ |
md5.cpp | 23 * \param ctx context to be initialized 25 void md5_starts( md5_context *ctx ); 30 * \param ctx MD5 context 34 void md5_update( md5_context *ctx, unsigned char *input, int ilen ); 39 * \param ctx MD5 context 42 void md5_finish( md5_context *ctx, unsigned char output[16] ); 67 * \param ctx HMAC context to be initialized 71 void md5_hmac_starts( md5_context *ctx, unsigned char *key, int keylen ); 76 * \param ctx HMAC context 80 void md5_hmac_update( md5_context *ctx, unsigned char *input, int ilen ) 355 md5_context ctx; local [all...] |
/external/mesa3d/src/gallium/drivers/noop/ |
noop_pipe.c | 36 void noop_init_state_functions(struct pipe_context *ctx); 49 static struct pipe_query *noop_create_query(struct pipe_context *ctx, unsigned query_type) 56 static void noop_destroy_query(struct pipe_context *ctx, struct pipe_query *query) 61 static void noop_begin_query(struct pipe_context *ctx, struct pipe_query *query) 65 static void noop_end_query(struct pipe_context *ctx, struct pipe_query *query) 69 static boolean noop_get_query_result(struct pipe_context *ctx, 210 static void noop_clear(struct pipe_context *ctx, unsigned buffers, 215 static void noop_clear_render_target(struct pipe_context *ctx, 223 static void noop_clear_depth_stencil(struct pipe_context *ctx, 233 static void noop_resource_copy_region(struct pipe_context *ctx, 259 struct pipe_context *ctx = CALLOC_STRUCT(pipe_context); local [all...] |
/external/mesa3d/src/gallium/state_trackers/wgl/ |
stw_context.c | 145 struct stw_context *ctx = NULL; local 180 ctx = CALLOC_STRUCT( stw_context ); 181 if (ctx == NULL) 184 ctx->hdc = hdc; 185 ctx->iPixelFormat = iPixelFormat; 213 ctx->st = stw_dev->stapi->create_context(stw_dev->stapi, 215 if (ctx->st == NULL) 218 ctx->st->st_manager_private = (void *) ctx; 221 ctx->dhglrc = handle_table_add(stw_dev->ctx_table, ctx) 240 struct stw_context *ctx ; local 271 struct stw_context *ctx; local 300 struct stw_context *ctx; local 312 struct stw_context *ctx; local 327 struct stw_context *ctx = NULL; local 414 struct stw_context *ctx = stw_current_context(); local [all...] |
/external/mesa3d/src/gallium/tests/graw/ |
graw_util.h | 21 struct pipe_context *ctx; member in struct:graw_info 63 info->ctx = info->screen->context_create(info->screen, NULL); 64 if (info->ctx == NULL) { 94 info->color_surf[i] = info->ctx->create_surface(info->ctx, 125 info->zs_surf = info->ctx->create_surface(info->ctx, 142 info->ctx->set_framebuffer_state(info->ctx, &fb); 157 handle = info->ctx->create_blend_state(info->ctx, &blend) [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_tcl.c | 108 #define LOCAL_VARS r100ContextPtr rmesa = R100_CONTEXT(ctx) 112 radeonTclPrimitive( ctx, prim, hw_prim | RADEON_CP_VC_CNTL_PRIM_WALK_IND ) 167 static void radeonEmitPrim( struct gl_context *ctx, 173 r100ContextPtr rmesa = R100_CONTEXT( ctx ); 174 radeonTclPrimitive( ctx, prim, hwprim ); 188 #define EMIT_PRIM( ctx, prim, hwprim, start, count ) do { \ 189 radeonEmitPrim( ctx, prim, hwprim, start, count ); \ 231 void radeonEmitPrimitive( struct gl_context *ctx, 236 tcl_render_tab_verts[flags&PRIM_MODE_MASK]( ctx, first, last, flags ); 239 void radeonEmitEltPrimitive( struct gl_context *ctx, [all...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLMessageDigestJDK.java | 30 private long ctx; field in class:OpenSSLMessageDigestJDK 83 ctx = 0; // EVP_DigestFinal frees the context as a side effect 89 d.ctx = NativeCrypto.EVP_MD_CTX_copy(getCtx()); 94 if (ctx == 0) { 95 ctx = NativeCrypto.EVP_DigestInit(evp_md); 97 return ctx; 101 if (ctx != 0) { 102 NativeCrypto.EVP_MD_CTX_destroy(ctx); 103 ctx = 0;
|
/sdk/emulator/opengl/host/libs/Translator/GLES_V2/ |
GLESv2Imp.cpp | 39 static void initContext(GLEScontext* ctx,ShareGroupPtr grp); 40 static void deleteGLESContext(GLEScontext* ctx); 41 static void setShareGroup(GLEScontext* ctx,ShareGroupPtr grp); 68 static void initContext(GLEScontext* ctx,ShareGroupPtr grp) { 69 if (!ctx->isInitialized()) { 70 ctx->setShareGroup(grp); 71 ctx->init(); 80 static void deleteGLESContext(GLEScontext* ctx) { 81 delete ctx; 84 static void setShareGroup(GLEScontext* ctx,ShareGroupPtr grp) [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/evp/ |
pmeth_lib.c | 365 void EVP_PKEY_CTX_free(EVP_PKEY_CTX *ctx) 367 if (ctx == NULL) 369 if (ctx->pmeth && ctx->pmeth->cleanup) 370 ctx->pmeth->cleanup(ctx); 371 if (ctx->pkey) 372 EVP_PKEY_free(ctx->pkey); 373 if (ctx->peerkey) 374 EVP_PKEY_free(ctx->peerkey) [all...] |
/bionic/libc/upstream-netbsd/libc/isc/ |
ev_timers.c | 160 evContext_p *ctx = opaqueCtx.opaque; local 162 return (ctx->lastEventTime); 193 evContext_p *ctx = opaqueCtx.opaque; local 196 evPrintf(ctx, 1, 197 "evSetTimer(ctx %p, func %p, uap %p, due %ld.%09ld, inter %ld.%09ld)\n", 198 ctx, func, uap, 230 if (heap_insert(ctx->timers, id) < 0) 237 if (ctx->debug > 7) { 238 evPrintf(ctx, 7, "timers after evSetTimer:\n"); 239 (void) heap_for_each(ctx->timers, print_timer, (void *)ctx) 247 evContext_p *ctx = opaqueCtx.opaque; local 283 evContext_p *ctx = opaqueCtx.opaque; local 310 evContext_p *ctx = opaqueCtx.opaque; local 369 evContext_p *ctx = opaqueCtx.opaque; local 407 evContext_p *ctx = opaqueCtx.opaque; local 423 evContext_p *ctx = opaqueCtx.opaque; local 479 evContext_p *ctx = uap; local 495 evContext_p *ctx = opaqueCtx.opaque; local [all...] |
/external/chromium/crypto/ |
sha2.cc | 14 scoped_ptr<SecureHash> ctx(SecureHash::Create(SecureHash::SHA256)); 15 ctx->Update(str.data(), str.length()); 16 ctx->Finish(output, len);
|
/external/chromium_org/crypto/ |
sha2.cc | 14 scoped_ptr<SecureHash> ctx(SecureHash::Create(SecureHash::SHA256)); 15 ctx->Update(str.data(), str.length()); 16 ctx->Finish(output, len);
|