/external/chromium_org/third_party/openssl/openssl/crypto/dh/ |
dh_pmeth.c | 80 static int pkey_dh_init(EVP_PKEY_CTX *ctx) 90 ctx->data = dctx; 91 ctx->keygen_info = dctx->gentmp; 92 ctx->keygen_info_count = 2; 110 static void pkey_dh_cleanup(EVP_PKEY_CTX *ctx) 112 DH_PKEY_CTX *dctx = ctx->data; 117 static int pkey_dh_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) 119 DH_PKEY_CTX *dctx = ctx->data; 143 static int pkey_dh_ctrl_str(EVP_PKEY_CTX *ctx, 150 return EVP_PKEY_CTX_set_dh_paramgen_prime_len(ctx, len) [all...] |
/external/mesa3d/src/gallium/tests/graw/ |
tri.c | 52 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); 53 info.ctx->bind_vertex_elements_state(info.ctx, handle); 58 vbuf.buffer = pipe_buffer_create_with_data(info.ctx, 64 info.ctx->set_vertex_buffers(info.ctx, 1, &vbuf); 81 handle = graw_parse_vertex_shader(info.ctx, text); 82 info.ctx->bind_vs_state(info.ctx, handle) [all...] |
fs-test.c | 43 static struct pipe_context *ctx = NULL; variable in typeref:struct:pipe_context 141 ctx->transfer_inline_write(ctx, 151 pipe_set_constant_buffer(ctx, 158 ctx->transfer_inline_write(ctx, 168 pipe_set_constant_buffer(ctx, 195 ctx->set_viewport_state( ctx, &vp ); 213 handle = ctx->create_vertex_elements_state(ctx, 3, ve) [all...] |
/external/openssl/crypto/dh/ |
dh_pmeth.c | 80 static int pkey_dh_init(EVP_PKEY_CTX *ctx) 90 ctx->data = dctx; 91 ctx->keygen_info = dctx->gentmp; 92 ctx->keygen_info_count = 2; 110 static void pkey_dh_cleanup(EVP_PKEY_CTX *ctx) 112 DH_PKEY_CTX *dctx = ctx->data; 117 static int pkey_dh_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) 119 DH_PKEY_CTX *dctx = ctx->data; 143 static int pkey_dh_ctrl_str(EVP_PKEY_CTX *ctx, 150 return EVP_PKEY_CTX_set_dh_paramgen_prime_len(ctx, len) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
r600_shader.c | 60 static int r600_pipe_shader(struct pipe_context *ctx, struct r600_pipe_shader *shader) 62 struct r600_context *rctx = (struct r600_context *)ctx; 70 pipe_buffer_create(ctx->screen, PIPE_BIND_CUSTOM, PIPE_USAGE_IMMUTABLE, rshader->bc.ndw * 4); 88 evergreen_pipe_shader_vs(ctx, shader); 90 r600_pipe_shader_vs(ctx, shader); 95 evergreen_pipe_shader_ps(ctx, shader); 97 r600_pipe_shader_ps(ctx, shader); 108 int r600_pipe_shader_create(struct pipe_context *ctx, struct r600_pipe_shader *shader) 111 struct r600_context *rctx = (struct r600_context *)ctx; 153 return r600_pipe_shader(ctx, shader) 1170 struct r600_shader_ctx ctx; local [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
r600_shader.c | 60 static int r600_pipe_shader(struct pipe_context *ctx, struct r600_pipe_shader *shader) 62 struct r600_context *rctx = (struct r600_context *)ctx; 70 pipe_buffer_create(ctx->screen, PIPE_BIND_CUSTOM, PIPE_USAGE_IMMUTABLE, rshader->bc.ndw * 4); 88 evergreen_pipe_shader_vs(ctx, shader); 90 r600_pipe_shader_vs(ctx, shader); 95 evergreen_pipe_shader_ps(ctx, shader); 97 r600_pipe_shader_ps(ctx, shader); 108 int r600_pipe_shader_create(struct pipe_context *ctx, struct r600_pipe_shader *shader) 111 struct r600_context *rctx = (struct r600_context *)ctx; 153 return r600_pipe_shader(ctx, shader) 1170 struct r600_shader_ctx ctx; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
readpix.c | 54 fast_read_depth_pixels( struct gl_context *ctx, 60 struct gl_framebuffer *fb = ctx->ReadBuffer; 65 if (ctx->Pixel.DepthScale != 1.0 || ctx->Pixel.DepthBias != 0.0) 78 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, GL_MAP_READ_BIT, 82 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glReadPixels"); 101 ctx->Driver.UnmapRenderbuffer(ctx, rb); 110 read_depth_pixels( struct gl_context *ctx, [all...] |
/external/mesa3d/src/mesa/main/ |
readpix.c | 54 fast_read_depth_pixels( struct gl_context *ctx, 60 struct gl_framebuffer *fb = ctx->ReadBuffer; 65 if (ctx->Pixel.DepthScale != 1.0 || ctx->Pixel.DepthBias != 0.0) 78 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, GL_MAP_READ_BIT, 82 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glReadPixels"); 101 ctx->Driver.UnmapRenderbuffer(ctx, rb); 110 read_depth_pixels( struct gl_context *ctx, [all...] |
/external/chromium_org/third_party/openssl/openssl/ssl/ |
tls_srp.c | 66 int SSL_CTX_SRP_CTX_free(struct ssl_ctx_st *ctx) 68 if (ctx == NULL) 70 OPENSSL_free(ctx->srp_ctx.login); 71 BN_free(ctx->srp_ctx.N); 72 BN_free(ctx->srp_ctx.g); 73 BN_free(ctx->srp_ctx.s); 74 BN_free(ctx->srp_ctx.B); 75 BN_free(ctx->srp_ctx.A); 76 BN_free(ctx->srp_ctx.a); 77 BN_free(ctx->srp_ctx.b) 132 SSL_CTX *ctx; local [all...] |
/external/libusb/libusb/ |
core.c | 499 struct libusb_device *usbi_alloc_device(struct libusb_context *ctx, 513 dev->ctx = ctx; 518 pthread_mutex_lock(&ctx->usb_devs_lock); 519 list_add(&dev->list, &ctx->usb_devs); 520 pthread_mutex_unlock(&ctx->usb_devs_lock); 554 struct libusb_device *usbi_get_device_by_session_id(struct libusb_context *ctx, 560 pthread_mutex_lock(&ctx->usb_devs_lock); 561 list_for_each_entry(dev, &ctx->usb_devs, list) 566 pthread_mutex_unlock(&ctx->usb_devs_lock) 859 struct libusb_context *ctx = DEVICE_CTX(dev); local 1008 struct libusb_context *ctx; local 1458 struct libusb_context *ctx = malloc(sizeof(*ctx)); local [all...] |
/external/openssl/ssl/ |
tls_srp.c | 66 int SSL_CTX_SRP_CTX_free(struct ssl_ctx_st *ctx) 68 if (ctx == NULL) 70 OPENSSL_free(ctx->srp_ctx.login); 71 BN_free(ctx->srp_ctx.N); 72 BN_free(ctx->srp_ctx.g); 73 BN_free(ctx->srp_ctx.s); 74 BN_free(ctx->srp_ctx.B); 75 BN_free(ctx->srp_ctx.A); 76 BN_free(ctx->srp_ctx.a); 77 BN_free(ctx->srp_ctx.b) 132 SSL_CTX *ctx; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/ |
fs-test.c | 43 static struct pipe_context *ctx = NULL; variable in typeref:struct:pipe_context 141 ctx->transfer_inline_write(ctx, 151 pipe_set_constant_buffer(ctx, 158 ctx->transfer_inline_write(ctx, 168 pipe_set_constant_buffer(ctx, 195 ctx->set_viewport_state( ctx, &vp ); 213 handle = ctx->create_vertex_elements_state(ctx, 3, ve) [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/ec/ |
ec2_mult.c | 84 static int gf2m_Mdouble(const EC_GROUP *group, BIGNUM *x, BIGNUM *z, BN_CTX *ctx) 89 /* Since Mdouble is static we can guarantee that ctx != NULL. */ 90 BN_CTX_start(ctx); 91 t1 = BN_CTX_get(ctx); 94 if (!group->meth->field_sqr(group, x, x, ctx)) goto err; 95 if (!group->meth->field_sqr(group, t1, z, ctx)) goto err; 96 if (!group->meth->field_mul(group, z, x, t1, ctx)) goto err; 97 if (!group->meth->field_sqr(group, x, x, ctx)) goto err; 98 if (!group->meth->field_sqr(group, t1, t1, ctx)) goto err; 99 if (!group->meth->field_mul(group, t1, &group->b, t1, ctx)) goto err [all...] |
/external/openssl/crypto/ec/ |
ec2_mult.c | 84 static int gf2m_Mdouble(const EC_GROUP *group, BIGNUM *x, BIGNUM *z, BN_CTX *ctx) 89 /* Since Mdouble is static we can guarantee that ctx != NULL. */ 90 BN_CTX_start(ctx); 91 t1 = BN_CTX_get(ctx); 94 if (!group->meth->field_sqr(group, x, x, ctx)) goto err; 95 if (!group->meth->field_sqr(group, t1, z, ctx)) goto err; 96 if (!group->meth->field_mul(group, z, x, t1, ctx)) goto err; 97 if (!group->meth->field_sqr(group, x, x, ctx)) goto err; 98 if (!group->meth->field_sqr(group, t1, t1, ctx)) goto err; 99 if (!group->meth->field_mul(group, t1, &group->b, t1, ctx)) goto err [all...] |
/development/tools/yuv420sp2rgb/ |
yuv420sp2rgb.c | 46 rgb_context *ctx); 62 rgb_context ctx; local 64 ctx.buffer = buffer; 65 ctx.size = size; /* debug */ 66 ctx.width = width; 67 ctx.height = height; 68 ctx.rotate = rotate; 74 ctx.i = i; 75 ctx.j = j; 76 cb(nB, nB, nB, &ctx); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/ |
si_state_streamout.c | 35 void si_context_streamout_begin(struct r600_context *ctx) 37 struct radeon_winsys_cs *cs = ctx->cs; 38 struct si_so_target **t = ctx->so_targets; 39 unsigned *strides = ctx->vs_shader_so_strides; 42 buffer_en = (ctx->num_so_targets >= 1 && t[0] ? 1 : 0) | 43 (ctx->num_so_targets >= 2 && t[1] ? 2 : 0) | 44 (ctx->num_so_targets >= 3 && t[2] ? 4 : 0) | 45 (ctx->num_so_targets >= 4 && t[3] ? 8 : 0); 47 ctx->num_cs_dw_streamout_end = 52 si_need_cs_space(ctx, [all...] |
/external/mesa3d/src/gallium/drivers/radeonsi/ |
si_state_streamout.c | 35 void si_context_streamout_begin(struct r600_context *ctx) 37 struct radeon_winsys_cs *cs = ctx->cs; 38 struct si_so_target **t = ctx->so_targets; 39 unsigned *strides = ctx->vs_shader_so_strides; 42 buffer_en = (ctx->num_so_targets >= 1 && t[0] ? 1 : 0) | 43 (ctx->num_so_targets >= 2 && t[1] ? 2 : 0) | 44 (ctx->num_so_targets >= 3 && t[2] ? 4 : 0) | 45 (ctx->num_so_targets >= 4 && t[3] ? 8 : 0); 47 ctx->num_cs_dw_streamout_end = 52 si_need_cs_space(ctx, [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
api_images.c | 99 struct vg_context *ctx = vg_current_context(); local 102 vg_set_error(ctx, VG_UNSUPPORTED_IMAGE_FORMAT_ERROR); 106 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR); 111 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR); 115 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR); 122 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR); 131 struct vg_context *ctx = vg_current_context(); local 135 vg_set_error(ctx, VG_BAD_HANDLE_ERROR); 139 vg_set_error(ctx, VG_BAD_HANDLE_ERROR); 149 struct vg_context *ctx = vg_current_context() local 177 struct vg_context *ctx = vg_current_context(); local 205 struct vg_context *ctx = vg_current_context(); local 229 struct vg_context *ctx = vg_current_context(); local 257 struct vg_context *ctx = vg_current_context(); local 277 struct vg_context *ctx = vg_current_context(); local 296 struct vg_context *ctx = vg_current_context(); local 315 struct vg_context *ctx = vg_current_context(); local 335 struct vg_context *ctx = vg_current_context(); local 358 struct vg_context *ctx = vg_current_context(); local 396 struct vg_context *ctx = vg_current_context(); local 470 struct vg_context *ctx = vg_current_context(); local [all...] |
api_path.c | 43 struct vg_context *ctx = vg_current_context(); local 46 vg_set_error(ctx, VG_UNSUPPORTED_PATH_FORMAT_ERROR); 51 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR); 55 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR); 66 struct vg_context *ctx = vg_current_context(); local 70 vg_set_error(ctx, VG_BAD_HANDLE_ERROR); 81 struct vg_context *ctx = vg_current_context(); local 84 vg_set_error(ctx, VG_BAD_HANDLE_ERROR); 95 struct vg_context *ctx = vg_current_context(); local 100 vg_set_error(ctx, VG_BAD_HANDLE_ERROR) 112 struct vg_context *ctx = vg_current_context(); local 125 struct vg_context *ctx = vg_current_context(); local 148 struct vg_context *ctx = vg_current_context(); local 191 struct vg_context *ctx = vg_current_context(); local 223 struct vg_context *ctx = vg_current_context(); local 246 struct vg_context *ctx = vg_current_context(); local 274 struct vg_context *ctx = vg_current_context(); local 311 struct vg_context *ctx = vg_current_context(); local 369 struct vg_context *ctx = vg_current_context(); local 406 struct vg_context *ctx = vg_current_context(); local 469 struct vg_context *ctx = vg_current_context(); local [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
api_images.c | 99 struct vg_context *ctx = vg_current_context(); local 102 vg_set_error(ctx, VG_UNSUPPORTED_IMAGE_FORMAT_ERROR); 106 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR); 111 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR); 115 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR); 122 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR); 131 struct vg_context *ctx = vg_current_context(); local 135 vg_set_error(ctx, VG_BAD_HANDLE_ERROR); 139 vg_set_error(ctx, VG_BAD_HANDLE_ERROR); 149 struct vg_context *ctx = vg_current_context() local 177 struct vg_context *ctx = vg_current_context(); local 205 struct vg_context *ctx = vg_current_context(); local 229 struct vg_context *ctx = vg_current_context(); local 257 struct vg_context *ctx = vg_current_context(); local 277 struct vg_context *ctx = vg_current_context(); local 296 struct vg_context *ctx = vg_current_context(); local 315 struct vg_context *ctx = vg_current_context(); local 335 struct vg_context *ctx = vg_current_context(); local 358 struct vg_context *ctx = vg_current_context(); local 396 struct vg_context *ctx = vg_current_context(); local 470 struct vg_context *ctx = vg_current_context(); local [all...] |
api_path.c | 43 struct vg_context *ctx = vg_current_context(); local 46 vg_set_error(ctx, VG_UNSUPPORTED_PATH_FORMAT_ERROR); 51 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR); 55 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR); 66 struct vg_context *ctx = vg_current_context(); local 70 vg_set_error(ctx, VG_BAD_HANDLE_ERROR); 81 struct vg_context *ctx = vg_current_context(); local 84 vg_set_error(ctx, VG_BAD_HANDLE_ERROR); 95 struct vg_context *ctx = vg_current_context(); local 100 vg_set_error(ctx, VG_BAD_HANDLE_ERROR) 112 struct vg_context *ctx = vg_current_context(); local 125 struct vg_context *ctx = vg_current_context(); local 148 struct vg_context *ctx = vg_current_context(); local 191 struct vg_context *ctx = vg_current_context(); local 223 struct vg_context *ctx = vg_current_context(); local 246 struct vg_context *ctx = vg_current_context(); local 274 struct vg_context *ctx = vg_current_context(); local 311 struct vg_context *ctx = vg_current_context(); local 369 struct vg_context *ctx = vg_current_context(); local 406 struct vg_context *ctx = vg_current_context(); local 469 struct vg_context *ctx = vg_current_context(); local [all...] |
/external/e2fsprogs/e2fsck/ |
pass2.c | 62 static void deallocate_inode(e2fsck_t ctx, ext2_ino_t ino, char* block_buf); 66 static int allocate_dir_block(e2fsck_t ctx, 69 static void clear_htree(e2fsck_t ctx, ext2_ino_t ino); 78 e2fsck_t ctx; member in struct:check_dir_struct 81 void e2fsck_pass2(e2fsck_t ctx) 83 struct ext2_super_block *sb = ctx->fs->super; 85 ext2_filsys fs = ctx->fs; 98 init_resource_track(&rtrack, ctx->fs->io); 105 if (!(ctx->options & E2F_OPT_PREEN)) 106 fix_problem(ctx, PR_2_PASS_HEADER, &cd.pctx) 723 e2fsck_t ctx; local 1162 e2fsck_t ctx = (e2fsck_t) priv_data; local [all...] |
/hardware/qcom/display/msm8974/libhwcomposer/ |
hwc_utils.cpp | 52 static int openFramebufferDevice(hwc_context_t *ctx) 106 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = fb_fd; 108 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); 109 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = info.xres; 110 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = info.yres; 111 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xdpi = xdpi; 112 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].ydpi = ydpi; 113 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].vsync_period = 1000000000l / fps; 120 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].isActive = true; 125 void initContext(hwc_context_t *ctx) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/ |
tgsi_dump.c | 51 void (*dump_printf)(struct dump_ctx *ctx, const char *format, ...); 55 dump_ctx_printf(struct dump_ctx *ctx, const char *format, ...) 58 (void)ctx; 66 struct dump_ctx *ctx, 72 ctx->dump_printf( ctx, "%u", e ); 74 ctx->dump_printf( ctx, "%s", enums[e] ); 77 #define EOL() ctx->dump_printf( ctx, "\n" 212 struct dump_ctx *ctx = (struct dump_ctx *)iter; local 244 struct dump_ctx *ctx = (struct dump_ctx *)iter; local 396 struct dump_ctx ctx; local 409 struct dump_ctx *ctx = (struct dump_ctx *)iter; local 444 struct dump_ctx ctx; local 456 struct dump_ctx *ctx = (struct dump_ctx *) iter; local 473 struct dump_ctx ctx; local 485 struct dump_ctx *ctx = (struct dump_ctx *) iter; local 626 struct dump_ctx ctx; local 640 struct dump_ctx *ctx = (struct dump_ctx *) iter; local 651 struct dump_ctx ctx; local 706 struct str_dump_ctx ctx; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/bn/ |
bn_mod.c | 119 int BN_mod(BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) 121 return(BN_div(NULL,rem,m,d,ctx)); 127 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) 132 if (!(BN_mod(r,m,d,ctx))) 141 int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx) 144 return BN_nnmod(r, r, m, ctx); 159 int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx) 162 return BN_nnmod(r, r, m, ctx); 179 BN_CTX *ctx) 188 BN_CTX_start(ctx); [all...] |