/external/wpa_supplicant_8/src/crypto/ |
crypto_nss.c | 28 HASHContext *ctx; local 32 ctx = HASH_Create(type); 33 if (ctx == NULL) 36 HASH_Begin(ctx); 38 HASH_Update(ctx, addr[i], len[i]); 39 HASH_End(ctx, mac, &reslen, max_res_len); 40 HASH_Destroy(ctx); 48 PK11Context *ctx = NULL; local 88 ctx = PK11_CreateContextBySymKey(CKM_DES_ECB, CKA_ENCRYPT, 90 if (ctx == NULL) [all...] |
/hardware/qcom/display/msm8960/libhwcomposer/ |
hwc_copybit.h | 35 bool prepare(hwc_context_t *ctx, hwc_display_contents_1_t *list, 38 bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list, 53 bool canUseCopybitForYUV (hwc_context_t *ctx); 54 bool canUseCopybitForRGB (hwc_context_t *ctx, 56 bool validateParams (hwc_context_t *ctx,
|
/hardware/qcom/display/msm8974/libhwcomposer/ |
hwc_copybit.h | 35 bool prepare(hwc_context_t *ctx, hwc_display_contents_1_t *list, 38 bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list, 53 bool canUseCopybitForYUV (hwc_context_t *ctx); 54 bool canUseCopybitForRGB (hwc_context_t *ctx, 56 bool validateParams (hwc_context_t *ctx,
|
/hardware/qcom/display/msm8x26/libhwcomposer/ |
hwc_copybit.h | 35 bool prepare(hwc_context_t *ctx, hwc_display_contents_1_t *list, 38 bool draw(hwc_context_t *ctx, hwc_display_contents_1_t *list, 53 bool canUseCopybitForYUV (hwc_context_t *ctx); 54 bool canUseCopybitForRGB (hwc_context_t *ctx, 56 bool validateParams (hwc_context_t *ctx,
|
hwc_mdpcomp.cpp | 79 bool MDPComp::init(hwc_context_t *ctx) { 81 if(!ctx) { 119 idleInvalidator->init(timeout_handler, ctx, idle_timeout); 125 struct hwc_context_t* ctx = (struct hwc_context_t*)(udata); local 127 if(!ctx) { 132 if(!ctx->proc) { 138 ctx->proc->invalidate(ctx->proc); 141 void MDPComp::setMDPCompLayerFlags(hwc_context_t *ctx, 143 LayerProp *layerProp = ctx->layerProp[mDpy] [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
md5.h | 99 extern void md5_init_ctx (struct md5_ctx *ctx); 106 struct md5_ctx *ctx); 113 struct md5_ctx *ctx); 115 /* Process the remaining bytes in the buffer and put result from CTX 122 extern void *md5_finish_ctx (struct md5_ctx *ctx, void *resbuf); 125 /* Put result from CTX in first 16 bytes following RESBUF. The result is 131 extern void *md5_read_ctx (const struct md5_ctx *ctx, void *resbuf);
|
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
md5.h | 99 extern void md5_init_ctx (struct md5_ctx *ctx); 106 struct md5_ctx *ctx); 113 struct md5_ctx *ctx); 115 /* Process the remaining bytes in the buffer and put result from CTX 122 extern void *md5_finish_ctx (struct md5_ctx *ctx, void *resbuf); 125 /* Put result from CTX in first 16 bytes following RESBUF. The result is 131 extern void *md5_read_ctx (const struct md5_ctx *ctx, void *resbuf);
|
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
md5.h | 99 extern void md5_init_ctx (struct md5_ctx *ctx); 106 struct md5_ctx *ctx); 113 struct md5_ctx *ctx); 115 /* Process the remaining bytes in the buffer and put result from CTX 122 extern void *md5_finish_ctx (struct md5_ctx *ctx, void *resbuf); 125 /* Put result from CTX in first 16 bytes following RESBUF. The result is 131 extern void *md5_read_ctx (const struct md5_ctx *ctx, void *resbuf);
|
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
md5.h | 99 extern void md5_init_ctx (struct md5_ctx *ctx); 106 struct md5_ctx *ctx); 113 struct md5_ctx *ctx); 115 /* Process the remaining bytes in the buffer and put result from CTX 122 extern void *md5_finish_ctx (struct md5_ctx *ctx, void *resbuf); 125 /* Put result from CTX in first 16 bytes following RESBUF. The result is 131 extern void *md5_read_ctx (const struct md5_ctx *ctx, void *resbuf);
|
/dalvik/vm/hprof/ |
Hprof.cpp | 44 hprof_context_t *ctx = (hprof_context_t *)calloc(1, sizeof(*ctx)); local 45 if (ctx == NULL) { 51 hprofContextInit(ctx, strdup(outputFileName), fd, false, directToDdms); 53 assert(ctx->memFp != NULL); 55 return ctx; 158 * Free any heap-allocated items in "ctx", and then free "ctx" itself. 160 void hprofFreeContext(hprof_context_t *ctx) 162 assert(ctx != NULL) 196 hprof_context_t *ctx; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_clear.c | 43 clear_rgba_buffer(struct gl_context *ctx, struct gl_renderbuffer *rb, 46 const GLint x = ctx->DrawBuffer->_Xmin; 47 const GLint y = ctx->DrawBuffer->_Ymin; 48 const GLint height = ctx->DrawBuffer->_Ymax - ctx->DrawBuffer->_Ymin; 49 const GLint width = ctx->DrawBuffer->_Xmax - ctx->DrawBuffer->_Xmin; 56 (const GLfloat (*)[4]) ctx->Color.ClearColor.f; 68 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_clear.c | 43 clear_rgba_buffer(struct gl_context *ctx, struct gl_renderbuffer *rb, 46 const GLint x = ctx->DrawBuffer->_Xmin; 47 const GLint y = ctx->DrawBuffer->_Ymin; 48 const GLint height = ctx->DrawBuffer->_Ymax - ctx->DrawBuffer->_Ymin; 49 const GLint width = ctx->DrawBuffer->_Xmax - ctx->DrawBuffer->_Xmin; 56 (const GLfloat (*)[4]) ctx->Color.ClearColor.f; 68 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
preauth_test.c | 82 static void _wpa_supplicant_set_state(void *ctx, enum wpa_states state) 84 struct wpa_supplicant *wpa_s = ctx; 89 static enum wpa_states _wpa_supplicant_get_state(void *ctx) 91 struct wpa_supplicant *wpa_s = ctx; 165 static void wpa_supplicant_set_config_blob(void *ctx, 168 struct wpa_supplicant *wpa_s = ctx; 174 wpa_supplicant_get_config_blob(void *ctx, const char *name) 176 struct wpa_supplicant *wpa_s = ctx; 222 struct wpa_sm_ctx *ctx; local 227 ctx = os_zalloc(sizeof(*ctx)) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
nv20_state_tnl.c | 58 nv20_emit_clip_plane(struct gl_context *ctx, int emit) 89 nv20_emit_color_material(struct gl_context *ctx, int emit) 91 struct nouveau_pushbuf *push = context_push(ctx); 92 unsigned mask = get_material_bitmask(ctx->Light._ColorMaterialBitmask); 95 PUSH_DATA (push, ctx->Light.ColorMaterialEnabled ? mask : 0); 151 nv20_emit_fog(struct gl_context *ctx, int emit) 153 struct nouveau_context *nctx = to_nouveau_context(ctx); 154 struct nouveau_pushbuf *push = context_push(ctx); 155 struct gl_fog_attrib *f = &ctx->Fog; 160 nv10_get_fog_coeff(ctx, k) [all...] |
nv10_context.c | 39 use_fast_zclear(struct gl_context *ctx, GLbitfield buffers) 41 struct nouveau_context *nctx = to_nouveau_context(ctx); 42 struct gl_framebuffer *fb = ctx->DrawBuffer; 50 context_dirty(ctx, ZCLEAR); 60 nv10_use_viewport_zclear(struct gl_context *ctx) 62 struct nouveau_context *nctx = to_nouveau_context(ctx); 63 struct gl_framebuffer *fb = ctx->DrawBuffer; 66 return context_chipset(ctx) < 0x17 && 73 nv10_transform_depth(struct gl_context *ctx, float z) 75 struct nouveau_context *nctx = to_nouveau_context(ctx); 434 struct gl_context *ctx; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
t_vb_program.c | 82 userclip( struct gl_context *ctx, 90 for (p = 0; p < ctx->Const.MaxClipPlanes; p++) { 91 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) { 93 const GLfloat a = ctx->Transform._ClipUserPlane[p][0]; 94 const GLfloat b = ctx->Transform._ClipUserPlane[p][1]; 95 const GLfloat c = ctx->Transform._ClipUserPlane[p][2]; 96 const GLfloat d = ctx->Transform._ClipUserPlane[p][3]; 128 do_ndc_cliptest(struct gl_context *ctx, struct vp_stage_data *store) 130 TNLcontext *tnl = TNL_CONTEXT(ctx); 138 tnl_clip_prepare(ctx); [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv20_state_tnl.c | 58 nv20_emit_clip_plane(struct gl_context *ctx, int emit) 89 nv20_emit_color_material(struct gl_context *ctx, int emit) 91 struct nouveau_pushbuf *push = context_push(ctx); 92 unsigned mask = get_material_bitmask(ctx->Light._ColorMaterialBitmask); 95 PUSH_DATA (push, ctx->Light.ColorMaterialEnabled ? mask : 0); 151 nv20_emit_fog(struct gl_context *ctx, int emit) 153 struct nouveau_context *nctx = to_nouveau_context(ctx); 154 struct nouveau_pushbuf *push = context_push(ctx); 155 struct gl_fog_attrib *f = &ctx->Fog; 160 nv10_get_fog_coeff(ctx, k) [all...] |
nv10_context.c | 39 use_fast_zclear(struct gl_context *ctx, GLbitfield buffers) 41 struct nouveau_context *nctx = to_nouveau_context(ctx); 42 struct gl_framebuffer *fb = ctx->DrawBuffer; 50 context_dirty(ctx, ZCLEAR); 60 nv10_use_viewport_zclear(struct gl_context *ctx) 62 struct nouveau_context *nctx = to_nouveau_context(ctx); 63 struct gl_framebuffer *fb = ctx->DrawBuffer; 66 return context_chipset(ctx) < 0x17 && 73 nv10_transform_depth(struct gl_context *ctx, float z) 75 struct nouveau_context *nctx = to_nouveau_context(ctx); 434 struct gl_context *ctx; local [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_vb_program.c | 82 userclip( struct gl_context *ctx, 90 for (p = 0; p < ctx->Const.MaxClipPlanes; p++) { 91 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) { 93 const GLfloat a = ctx->Transform._ClipUserPlane[p][0]; 94 const GLfloat b = ctx->Transform._ClipUserPlane[p][1]; 95 const GLfloat c = ctx->Transform._ClipUserPlane[p][2]; 96 const GLfloat d = ctx->Transform._ClipUserPlane[p][3]; 128 do_ndc_cliptest(struct gl_context *ctx, struct vp_stage_data *store) 130 TNLcontext *tnl = TNL_CONTEXT(ctx); 138 tnl_clip_prepare(ctx); [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/ |
vbo_save_api.c | 104 _save_copy_vertices(struct gl_context *ctx, 108 struct vbo_save_context *save = &vbo_context(ctx)->save; 186 alloc_vertex_store(struct gl_context *ctx) 188 struct vbo_save_context *save = &vbo_context(ctx)->save; 198 vertex_store->bufferobj = ctx->Driver.NewBufferObject(ctx, 203 !ctx->Driver.BufferData(ctx, 214 _mesa_error(ctx, GL_OUT_OF_MEMORY, "internal VBO allocation"); 215 _mesa_install_save_vtxfmt(ctx, &save->vtxfmt_noop) 1646 struct gl_context *ctx = save->ctx; local [all...] |
/external/mesa3d/src/mesa/vbo/ |
vbo_save_api.c | 104 _save_copy_vertices(struct gl_context *ctx, 108 struct vbo_save_context *save = &vbo_context(ctx)->save; 186 alloc_vertex_store(struct gl_context *ctx) 188 struct vbo_save_context *save = &vbo_context(ctx)->save; 198 vertex_store->bufferobj = ctx->Driver.NewBufferObject(ctx, 203 !ctx->Driver.BufferData(ctx, 214 _mesa_error(ctx, GL_OUT_OF_MEMORY, "internal VBO allocation"); 215 _mesa_install_save_vtxfmt(ctx, &save->vtxfmt_noop) 1646 struct gl_context *ctx = save->ctx; local [all...] |
/external/chromium_org/chrome/installer/util/ |
installation_validator.cc | 30 const ProductContext& ctx, 33 ctx.state.uninstall_command().HasSwitch(switches::kMultiInstall); 41 const ProductContext& ctx, 44 ctx.state.uninstall_command().HasSwitch(switches::kMultiInstall); 55 const ProductContext& ctx) const { 58 return !ctx.state.is_multi_install(); 67 const ProductContext& ctx, 78 const ProductContext& ctx, 82 !ctx.state.is_multi_install())); 89 const ProductContext& ctx) const [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
program.c | 53 _mesa_init_program(struct gl_context *ctx) 61 ASSERT(ctx->Const.VertexProgram.MaxUniformComponents / 4 63 ASSERT(ctx->Const.FragmentProgram.MaxUniformComponents / 4 66 ASSERT(ctx->Const.VertexProgram.MaxTemps <= (1 << INST_INDEX_BITS)); 67 ASSERT(ctx->Const.VertexProgram.MaxLocalParams <= (1 << INST_INDEX_BITS)); 68 ASSERT(ctx->Const.FragmentProgram.MaxTemps <= (1 << INST_INDEX_BITS)); 69 ASSERT(ctx->Const.FragmentProgram.MaxLocalParams <= (1 << INST_INDEX_BITS)); 71 ASSERT(ctx->Const.VertexProgram.MaxUniformComponents <= 4 * MAX_UNIFORMS); 72 ASSERT(ctx->Const.FragmentProgram.MaxUniformComponents <= 4 * MAX_UNIFORMS); 74 ASSERT(ctx->Const.VertexProgram.MaxAddressOffset <= (1 << INST_INDEX_BITS)) [all...] |
/external/mesa3d/src/mesa/program/ |
program.c | 53 _mesa_init_program(struct gl_context *ctx) 61 ASSERT(ctx->Const.VertexProgram.MaxUniformComponents / 4 63 ASSERT(ctx->Const.FragmentProgram.MaxUniformComponents / 4 66 ASSERT(ctx->Const.VertexProgram.MaxTemps <= (1 << INST_INDEX_BITS)); 67 ASSERT(ctx->Const.VertexProgram.MaxLocalParams <= (1 << INST_INDEX_BITS)); 68 ASSERT(ctx->Const.FragmentProgram.MaxTemps <= (1 << INST_INDEX_BITS)); 69 ASSERT(ctx->Const.FragmentProgram.MaxLocalParams <= (1 << INST_INDEX_BITS)); 71 ASSERT(ctx->Const.VertexProgram.MaxUniformComponents <= 4 * MAX_UNIFORMS); 72 ASSERT(ctx->Const.FragmentProgram.MaxUniformComponents <= 4 * MAX_UNIFORMS); 74 ASSERT(ctx->Const.VertexProgram.MaxAddressOffset <= (1 << INST_INDEX_BITS)) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d10tri/ |
d3d10tri.cpp | 88 virtual void draw(ID3D10Device* ctx, ID3D10RenderTargetView* rtv, unsigned width, unsigned height, double time) 97 ctx->OMSetRenderTargets(1, &rtv, 0); 98 ctx->RSSetViewports(1, &vp); 100 ctx->ClearRenderTargetView(rtv, clear_color); 102 ctx->IASetPrimitiveTopology(D3D10_PRIMITIVE_TOPOLOGY_TRIANGLELIST); 103 ctx->IASetInputLayout(layout); 106 ctx->IASetVertexBuffers(0, 1, &vb, &stride, &offset); 108 ctx->VSSetShader(vs); 109 ctx->PSSetShader(ps); 111 ctx->Draw(3, 0) [all...] |