/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
fd2_blend.c | 11 * Software is furnished to do so, subject to the following conditions: 63 struct fd2_blend_stateobj *so; local 75 so = CALLOC_STRUCT(fd2_blend_stateobj); 76 if (!so) 79 so->base = *cso; 81 so->rb_colorcontrol = A2XX_RB_COLORCONTROL_ROP_CODE(12); 83 so->rb_blendcontrol = 92 so->rb_colormask |= A2XX_RB_COLOR_MASK_WRITE_RED; 94 so->rb_colormask |= A2XX_RB_COLOR_MASK_WRITE_GREEN; 96 so->rb_colormask |= A2XX_RB_COLOR_MASK_WRITE_BLUE [all...] |
fd2_rasterizer.c | 11 * Software is furnished to do so, subject to the following conditions: 43 struct fd2_rasterizer_stateobj *so; local 46 so = CALLOC_STRUCT(fd2_rasterizer_stateobj); 47 if (!so) 59 so->base = *cso; 61 so->pa_sc_line_stipple = cso->line_stipple_enable ? 65 so->pa_cl_clip_cntl = 0; // TODO 67 so->pa_su_vtx_cntl = 71 so->pa_su_point_size = 75 so->pa_su_point_minmax [all...] |
fd2_zsa.c | 11 * Software is furnished to do so, subject to the following conditions: 42 struct fd2_zsa_stateobj *so; local 44 so = CALLOC_STRUCT(fd2_zsa_stateobj); 45 if (!so) 48 so->base = *cso; 50 so->rb_depthcontrol |= 54 so->rb_depthcontrol |= A2XX_RB_DEPTHCONTROL_Z_ENABLE; 56 so->rb_depthcontrol |= A2XX_RB_DEPTHCONTROL_Z_WRITE_ENABLE; 61 so->rb_depthcontrol |= 67 so->rb_stencilrefmask | [all...] |
fd2_texture.c | 11 * Software is furnished to do so, subject to the following conditions: 81 struct fd2_sampler_stateobj *so = CALLOC_STRUCT(fd2_sampler_stateobj); local 83 if (!so) 86 so->base = *cso; 89 so->tex0 = 94 so->tex3 = 98 so->tex4 = 0x00000000; /* ??? */ 99 so->tex5 = 0x00000200; /* ??? */ 101 return so; 130 struct fd2_pipe_sampler_view *so = CALLOC_STRUCT(fd2_pipe_sampler_view) local [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
fd3_rasterizer.c | 11 * Software is furnished to do so, subject to the following conditions: 42 struct fd3_rasterizer_stateobj *so; local 45 so = CALLOC_STRUCT(fd3_rasterizer_stateobj); 46 if (!so) 49 so->base = *cso; 68 so->gras_cl_clip_cntl = A3XX_GRAS_CL_CLIP_CNTL_IJ_PERSP_CENTER /* ??? */ | 70 so->gras_su_point_minmax = 73 so->gras_su_point_size = A3XX_GRAS_SU_POINT_SIZE(cso->point_size); 74 so->gras_su_poly_offset_scale = 76 so->gras_su_poly_offset_offset [all...] |
fd3_zsa.c | 11 * Software is furnished to do so, subject to the following conditions: 42 struct fd3_zsa_stateobj *so; local 44 so = CALLOC_STRUCT(fd3_zsa_stateobj); 45 if (!so) 48 so->base = *cso; 50 so->rb_depth_control |= 54 so->rb_depth_control |= 59 so->rb_depth_control |= A3XX_RB_DEPTH_CONTROL_Z_WRITE_ENABLE; 64 so->rb_stencil_control |= 71 so->rb_stencilrefmask | [all...] |
fd3_blend.c | 11 * Software is furnished to do so, subject to the following conditions: 64 struct fd3_blend_stateobj *so; local 90 so = CALLOC_STRUCT(fd3_blend_stateobj); 91 if (!so) 94 so->base = *cso; 96 for (i = 0; i < ARRAY_SIZE(so->rb_mrt); i++) { 103 so->rb_mrt[i].blend_control_rgb = 108 so->rb_mrt[i].blend_control_alpha = 113 so->rb_mrt[i].blend_control_no_alpha_rgb = 118 so->rb_mrt[i].control [all...] |
fd3_emit.h | 11 * Software is furnished to do so, subject to the following conditions: 65 struct fd3_shader_stateobj *so = emit->prog->vp; local 66 emit->vp = ir3_shader_variant(so->shader, emit->key, emit->debug); 80 struct fd3_shader_stateobj *so = emit->prog->fp; local 81 emit->fp = ir3_shader_variant(so->shader, emit->key, emit->debug);
|
fd3_texture.c | 11 * Software is furnished to do so, subject to the following conditions: 89 struct fd3_sampler_stateobj *so = CALLOC_STRUCT(fd3_sampler_stateobj); local 94 if (!so) 100 so->base = *cso; 112 so->saturate_s = (cso->wrap_s == PIPE_TEX_WRAP_CLAMP); 113 so->saturate_t = (cso->wrap_t == PIPE_TEX_WRAP_CLAMP); 114 so->saturate_r = (cso->wrap_r == PIPE_TEX_WRAP_CLAMP); 117 so->needs_border = false; 118 so->texsamp0 = 125 A3XX_TEX_SAMP_0_WRAP_S(tex_clamp(cso->wrap_s, clamp_to_edge, &so->needs_border)) 217 struct fd3_pipe_sampler_view *so = CALLOC_STRUCT(fd3_pipe_sampler_view); local [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
fd4_rasterizer.c | 11 * Software is furnished to do so, subject to the following conditions: 42 struct fd4_rasterizer_stateobj *so; local 45 so = CALLOC_STRUCT(fd4_rasterizer_stateobj); 46 if (!so) 49 so->base = *cso; 68 so->gras_cl_clip_cntl = 0x80000; /* ??? */ 69 so->gras_su_point_minmax = 72 so->gras_su_point_size = A4XX_GRAS_SU_POINT_SIZE(cso->point_size); 73 so->gras_su_poly_offset_scale = 75 so->gras_su_poly_offset_offset [all...] |
fd4_zsa.c | 11 * Software is furnished to do so, subject to the following conditions: 42 struct fd4_zsa_stateobj *so; local 44 so = CALLOC_STRUCT(fd4_zsa_stateobj); 45 if (!so) 48 so->base = *cso; 50 so->rb_depth_control |= 54 so->rb_depth_control |= 59 so->rb_depth_control |= A4XX_RB_DEPTH_CONTROL_Z_WRITE_ENABLE; 64 so->rb_stencil_control |= 71 so->rb_stencil_control2 | [all...] |
fd4_blend.c | 11 * Software is furnished to do so, subject to the following conditions: 62 struct fd4_blend_stateobj *so; local 88 so = CALLOC_STRUCT(fd4_blend_stateobj); 89 if (!so) 92 so->base = *cso; 94 for (i = 0; i < ARRAY_SIZE(so->rb_mrt); i++) { 102 so->rb_mrt[i].blend_control_rgb = 107 so->rb_mrt[i].blend_control_alpha = 112 so->rb_mrt[i].blend_control_no_alpha_rgb = 118 so->rb_mrt[i].control [all...] |
fd4_emit.h | 11 * Software is furnished to do so, subject to the following conditions: 74 struct fd4_shader_stateobj *so = emit->prog->vp; local 75 emit->vp = ir3_shader_variant(so->shader, emit->key, emit->debug); 89 struct fd4_shader_stateobj *so = emit->prog->fp; local 90 emit->fp = ir3_shader_variant(so->shader, emit->key, emit->debug);
|
fd4_texture.c | 11 * Software is furnished to do so, subject to the following conditions: 89 struct fd4_sampler_stateobj *so = CALLOC_STRUCT(fd4_sampler_stateobj); local 94 if (!so) 100 so->base = *cso; 112 so->saturate_s = (cso->wrap_s == PIPE_TEX_WRAP_CLAMP); 113 so->saturate_t = (cso->wrap_t == PIPE_TEX_WRAP_CLAMP); 114 so->saturate_r = (cso->wrap_r == PIPE_TEX_WRAP_CLAMP); 117 so->needs_border = false; 118 so->texsamp0 = 123 A4XX_TEX_SAMP_0_WRAP_S(tex_clamp(cso->wrap_s, clamp_to_edge, &so->needs_border)) 225 struct fd4_pipe_sampler_view *so = CALLOC_STRUCT(fd4_pipe_sampler_view); local [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
fd5_rasterizer.c | 9 * Software is furnished to do so, subject to the following conditions: 40 struct fd5_rasterizer_stateobj *so; local 43 so = CALLOC_STRUCT(fd5_rasterizer_stateobj); 44 if (!so) 47 so->base = *cso; 58 so->gras_cl_clip_cntl = 0x80000; /* ??? */ 59 so->gras_su_point_minmax = 62 so->gras_su_point_size = A5XX_GRAS_SU_POINT_SIZE(cso->point_size); 63 so->gras_su_poly_offset_scale = 65 so->gras_su_poly_offset_offset [all...] |
fd5_zsa.c | 9 * Software is furnished to do so, subject to the following conditions: 40 struct fd5_zsa_stateobj *so; local 42 so = CALLOC_STRUCT(fd5_zsa_stateobj); 43 if (!so) 46 so->base = *cso; 48 so->rb_depth_cntl |= 52 so->rb_depth_cntl |= 57 so->rb_depth_cntl |= A5XX_RB_DEPTH_CNTL_Z_WRITE_ENABLE; 62 so->rb_stencil_control |= 69 so->rb_stencilrefmask | [all...] |
fd5_blend.c | 9 * Software is furnished to do so, subject to the following conditions: 61 struct fd5_blend_stateobj *so; local 87 so = CALLOC_STRUCT(fd5_blend_stateobj); 88 if (!so) 91 so->base = *cso; 93 for (i = 0; i < ARRAY_SIZE(so->rb_mrt); i++) { 101 so->rb_mrt[i].blend_control_rgb = 106 so->rb_mrt[i].blend_control_alpha = 111 so->rb_mrt[i].blend_control_no_alpha_rgb = 117 so->rb_mrt[i].control [all...] |
/external/libgsm/src/ |
code.c | 62 word so[160]; local 64 Gsm_Preprocess (S, s, so); 65 Gsm_LPC_Analysis (S, so, LARc); 66 Gsm_Short_Term_Analysis_Filter (S, LARc, so); 71 so+k*40, /* d [0..39] IN */
|
/system/netd/libnetdutils/ |
StatusTest.cpp | 42 StatusOr<int> so(11); 44 ss << so; local
|
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_syncobj.c | 11 * permit persons to whom the Software is furnished to do so, subject to 52 struct st_sync_object *so = CALLOC_STRUCT(st_sync_object); local 54 mtx_init(&so->mutex, mtx_plain); 55 return &so->b; 65 struct st_sync_object *so = (struct st_sync_object*)obj; local 67 screen->fence_reference(screen, &so->fence, NULL); 68 mtx_destroy(&so->mutex); 69 free(so->b.Label); 70 free(so); 77 struct st_sync_object *so = (struct st_sync_object*)obj local 91 struct st_sync_object *so = (struct st_sync_object*)obj; local [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
SpinnerOption.java | 28 SpinnerOption so = (SpinnerOption)spinner.getItemAtPosition(i); local 29 if (so.value.equals(value)) {
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
SignedObjectTest.java | 62 SignedObject so = new SignedObject(prop, tkp.getPrivate(), sig); local 64 assertEquals("SHA1withDSA", so.getAlgorithm()); 65 assertEquals(prop, so.getObject()); 67 assertTrue("verify() failed", so.verify(tkp.getPublic(), sig)); 69 assertNotNull("signature is null", so.getSignature());
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
SealedObjectTest.java | 72 SealedObject so = new SealedObject(secret, new NullCipher()); local 75 oos.writeObject(so); 86 + "by getAlgorithm() method of initial object", so 112 SealedObject so = new SealedObject(secret, cipher); local 126 * SealedObject(SealedObject so) method testing. Tests if the 162 SealedObject so = new SealedObject(secret, cipher); local 165 + "in cipher.", algorithm, so.getAlgorithm()); 177 SealedObject so = new SealedObject(secret, cipher); local 180 + "in cipher.", algorithm, so.getAlgorithm()); 184 oos.writeObject(so); 212 Mock_SealedObject so = new Mock_SealedObject(secret, cipher); local 256 SealedObject so = new SealedObject(secret, cipher); local 301 SealedObject so = new SealedObject(secret, cipher); local [all...] |
/external/ipsec-tools/src/libipsec/ |
test-policy.c | 155 int so; local 171 if ((so = socket(family, SOCK_DGRAM, 0)) < 0) 179 if (setsockopt(so, proto, optname, policy, len) < 0) { 181 close(so); 187 if (getsockopt(so, proto, optname, getbuf, &len) < 0) { 189 close(so); 202 close(so); 211 close (so); 225 int so; local 242 if ((so = pfkey_open()) < 0 [all...] |
/external/ipsec-tools/src/racoon/ |
kmpstat.c | 95 static int so; variable 108 so = socket(AF_UNIX, SOCK_STREAM, 0); 109 if (so < 0) 112 if (connect(so, (struct sockaddr *)&name, sizeof(name)) < 0) { 113 (void)close(so); 126 if ((len = send(so, combuf->v, combuf->l, 0)) == -1) { 128 (void)close(so); 149 if ((len = recv(so, &h, sizeof(h), MSG_PEEK)) == -1) 168 if ((len = recv(so, p, h.ac_len, 0)) < 0) {
|