Home
last modified time | relevance | path

Searched refs:so (Results 1 – 25 of 5543) sorted by relevance

12345678910>>...222

/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_state.c43 struct nv30_blend_stateobj *so; in nv30_blend_state_create() local
47 so = CALLOC_STRUCT(nv30_blend_stateobj); in nv30_blend_state_create()
48 if (!so) in nv30_blend_state_create()
50 so->pipe = *cso; in nv30_blend_state_create()
53 SB_MTHD30(so, COLOR_LOGIC_OP_ENABLE, 2); in nv30_blend_state_create()
54 SB_DATA (so, 1); in nv30_blend_state_create()
55 SB_DATA (so, nvgl_logicop_func(cso->logicop_func)); in nv30_blend_state_create()
57 SB_MTHD30(so, COLOR_LOGIC_OP_ENABLE, 1); in nv30_blend_state_create()
58 SB_DATA (so, 0); in nv30_blend_state_create()
61 SB_MTHD30(so, DITHER_ENABLE, 1); in nv30_blend_state_create()
[all …]
Dnv30_texture.c132 struct nv30_sampler_state *so; in nv30_sampler_state_create() local
135 so = MALLOC_STRUCT(nv30_sampler_state); in nv30_sampler_state_create()
136 if (!so) in nv30_sampler_state_create()
139 so->pipe = *cso; in nv30_sampler_state_create()
140 so->fmt = 0; in nv30_sampler_state_create()
141 so->wrap = (wrap_mode(cso->wrap_s) << NV30_3D_TEX_WRAP_S__SHIFT) | in nv30_sampler_state_create()
144 so->en = 0; in nv30_sampler_state_create()
145 so->wrap |= compare_mode(cso); in nv30_sampler_state_create()
146 so->filt = filter_mode(cso) | 0x00002000; in nv30_sampler_state_create()
147 so->bcol = (float_to_ubyte(cso->border_color.f[3]) << 24) | in nv30_sampler_state_create()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_program.c47 struct fd2_shader_stateobj *so = CALLOC_STRUCT(fd2_shader_stateobj); in create_shader() local
48 if (!so) in create_shader()
50 so->type = type; in create_shader()
51 return so; in create_shader()
55 delete_shader(struct fd2_shader_stateobj *so) in delete_shader() argument
57 ir2_shader_destroy(so->ir); in delete_shader()
58 free(so->tokens); in delete_shader()
59 free(so->bin); in delete_shader()
60 free(so); in delete_shader()
64 assemble(struct fd2_shader_stateobj *so) in assemble() argument
[all …]
Dfd2_rasterizer.c43 struct fd2_rasterizer_stateobj *so; in fd2_rasterizer_state_create() local
46 so = CALLOC_STRUCT(fd2_rasterizer_stateobj); in fd2_rasterizer_state_create()
47 if (!so) in fd2_rasterizer_state_create()
59 so->base = *cso; in fd2_rasterizer_state_create()
61 so->pa_sc_line_stipple = cso->line_stipple_enable ? in fd2_rasterizer_state_create()
65 so->pa_cl_clip_cntl = 0; // TODO in fd2_rasterizer_state_create()
67 so->pa_su_vtx_cntl = in fd2_rasterizer_state_create()
71 so->pa_su_point_size = in fd2_rasterizer_state_create()
75 so->pa_su_point_minmax = in fd2_rasterizer_state_create()
79 so->pa_su_line_cntl = in fd2_rasterizer_state_create()
[all …]
/external/python/cpython2/Objects/
Dsetobject.c38 #define INIT_NONZERO_SET_SLOTS(so) do { \ argument
39 (so)->table = (so)->smalltable; \
40 (so)->mask = PySet_MINSIZE - 1; \
41 (so)->hash = -1; \
44 #define EMPTY_TO_MINSIZE(so) do { \ argument
45 memset((so)->smalltable, 0, sizeof((so)->smalltable)); \
46 (so)->used = (so)->fill = 0; \
47 INIT_NONZERO_SET_SLOTS(so); \
73 set_lookkey(PySetObject *so, PyObject *key, register long hash) in set_lookkey() argument
78 register size_t mask = so->mask; in set_lookkey()
[all …]
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_zsa.c38 const struct pipe_depth_stencil_alpha_state *so) in etna_zsa_state_create() argument
46 cs->base = *so; in etna_zsa_state_create()
51 (!so->depth.enabled || so->depth.func == PIPE_FUNC_ALWAYS) && in etna_zsa_state_create()
52 !so->depth.writemask; in etna_zsa_state_create()
62 if(so->stencil[i].writemask == 0) in etna_zsa_state_create()
64so->stencil[i].fail_op = so->stencil[i].zfail_op = so->stencil[i].zpass_op = PIPE_STENCIL_OP_KEEP; in etna_zsa_state_create()
71 if (so->stencil[0].enabled) { in etna_zsa_state_create()
72 if (so->stencil[0].func != PIPE_FUNC_ALWAYS || in etna_zsa_state_create()
73 (so->stencil[1].enabled && so->stencil[1].func != PIPE_FUNC_ALWAYS)) in etna_zsa_state_create()
76 if (so->stencil[0].fail_op != PIPE_STENCIL_OP_KEEP || in etna_zsa_state_create()
[all …]
Detnaviv_rasterizer.c36 const struct pipe_rasterizer_state *so) in etna_rasterizer_state_create() argument
41 if (so->fill_front != so->fill_back) in etna_rasterizer_state_create()
48 cs->base = *so; in etna_rasterizer_state_create()
50 …cs->PA_CONFIG = (so->flatshade ? VIVS_PA_CONFIG_SHADE_MODEL_FLAT : VIVS_PA_CONFIG_SHADE_MODEL_SMOO… in etna_rasterizer_state_create()
51 translate_cull_face(so->cull_face, so->front_ccw) | in etna_rasterizer_state_create()
52 translate_polygon_mode(so->fill_front) | in etna_rasterizer_state_create()
53 COND(so->point_quad_rasterization, VIVS_PA_CONFIG_POINT_SPRITE_ENABLE) | in etna_rasterizer_state_create()
54 COND(so->point_size_per_vertex, VIVS_PA_CONFIG_POINT_SIZE_ENABLE) | in etna_rasterizer_state_create()
56 cs->PA_LINE_WIDTH = fui(so->line_width / 2.0f); in etna_rasterizer_state_create()
57 cs->PA_POINT_SIZE = fui(so->point_size / 2.0f); in etna_rasterizer_state_create()
[all …]
/external/python/cpython3/Objects/
Dsetobject.c56 set_lookkey(PySetObject *so, PyObject *key, Py_hash_t hash) in set_lookkey() argument
61 size_t mask = so->mask; in set_lookkey()
66 entry = &so->table[i]; in set_lookkey()
83 table = so->table; in set_lookkey()
89 if (table != so->table || entry->key != startkey) /* unlikely */ in set_lookkey()
90 return set_lookkey(so, key, hash); in set_lookkey()
93 mask = so->mask; /* help avoid a register spill */ in set_lookkey()
110 table = so->table; in set_lookkey()
116 if (table != so->table || entry->key != startkey) in set_lookkey()
117 return set_lookkey(so, key, hash); in set_lookkey()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_state.c119 struct nv50_blend_stateobj *so = CALLOC_STRUCT(nv50_blend_stateobj); in nv50_blend_state_create() local
125 SB_BEGIN_3D(so, BLEND_INDEPENDENT, 1); in nv50_blend_state_create()
126 SB_DATA (so, cso->independent_blend_enable); in nv50_blend_state_create()
129 so->pipe = *cso; in nv50_blend_state_create()
131 SB_BEGIN_3D(so, COLOR_MASK_COMMON, 1); in nv50_blend_state_create()
132 SB_DATA (so, !cso->independent_blend_enable); in nv50_blend_state_create()
134 SB_BEGIN_3D(so, BLEND_ENABLE_COMMON, 1); in nv50_blend_state_create()
135 SB_DATA (so, !cso->independent_blend_enable); in nv50_blend_state_create()
138 SB_BEGIN_3D(so, BLEND_ENABLE(0), 8); in nv50_blend_state_create()
140 SB_DATA(so, cso->rt[i].blend_enable); in nv50_blend_state_create()
[all …]
/external/autotest/client/site_tests/platform_ToolchainOptions/
Dgold_whitelist1 /lib64/libmemusage.so
2 /lib64/libSegFault.so
3 /lib64/libthread_db-1.0.so
4 /lib64/ld-2.19.so
5 /lib64/libanl-2.19.so
6 /lib64/libc-2.19.so
7 /lib64/libcidn-2.19.so
8 /lib64/libcrypt-2.19.so
9 /lib64/libdl-2.19.so
10 /lib64/libm-2.19.so
[all …]
/external/elfutils/tests/
Drun-prelink-addr-test.sh33 testfiles testfile52-32.so testfile52-32.so.debug
34 testfiles testfile52-32.prelink.so testfile52-32.noshdrs.so
35 tempfiles testmaps52-32 testfile52-32.noshdrs.so.debug
36 ln -snf testfile52-32.so.debug testfile52-32.noshdrs.so.debug
39 00111000-00112000 r-xp 00000000 fd:01 1 `pwd`/testfile52-32.so
40 00112000-00113000 rw-p 00000000 fd:01 1 `pwd`/testfile52-32.so
41 41000000-41001000 r-xp 00000000 fd:01 2 `pwd`/testfile52-32.prelink.so
42 41001000-41002000 rw-p 00000000 fd:01 2 `pwd`/testfile52-32.prelink.so
43 42000000-42001000 r-xp 00000000 fd:01 3 `pwd`/testfile52-32.noshdrs.so
44 42001000-42002000 rw-p 00000000 fd:01 3 `pwd`/testfile52-32.noshdrs.so
[all …]
/external/autotest/client/site_tests/platform_StackProtector/
Dwhitelist1 /lib/ld-2.10.1.so
2 /lib/libBrokenLocale-2.10.1.so
3 /lib/libSegFault.so
4 /lib/libanl-2.10.1.so
5 /lib/libcidn-2.10.1.so
6 /lib/libcrypt-2.10.1.so
7 /lib/libdl-2.10.1.so
8 /lib/libgcc_s.so.1
9 /lib/libm-2.10.1.so
10 /lib/libmemusage.so
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_syncobj.c50 struct st_sync_object *so = CALLOC_STRUCT(st_sync_object); in st_new_sync_object() local
52 mtx_init(&so->mutex, mtx_plain); in st_new_sync_object()
53 return &so->b; in st_new_sync_object()
60 struct st_sync_object *so = (struct st_sync_object*)obj; in st_delete_sync_object() local
62 screen->fence_reference(screen, &so->fence, NULL); in st_delete_sync_object()
63 mtx_destroy(&so->mutex); in st_delete_sync_object()
64 free(so->b.Label); in st_delete_sync_object()
65 free(so); in st_delete_sync_object()
72 struct st_sync_object *so = (struct st_sync_object*)obj; in st_fence_sync() local
75 assert(so->fence == NULL); in st_fence_sync()
[all …]
/external/lzma/CPP/7zip/UI/Console/
DMain.cpp186 static void ShowCopyrightAndHelp(CStdOutStream *so, bool needHelp) in ShowCopyrightAndHelp() argument
188 if (!so) in ShowCopyrightAndHelp()
190 *so << kCopyrightString; in ShowCopyrightAndHelp()
193 *so << kHelpString; in ShowCopyrightAndHelp()
197 static void PrintStringRight(CStdOutStream &so, const char *s, unsigned size) in PrintStringRight() argument
201 so << ' '; in PrintStringRight()
202 so << s; in PrintStringRight()
205 static void PrintUInt32(CStdOutStream &so, UInt32 val, unsigned size) in PrintUInt32() argument
209 PrintStringRight(so, s, size); in PrintUInt32()
212 static void PrintLibIndex(CStdOutStream &so, int libIndex) in PrintLibIndex() argument
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_texture.c87 struct fd5_sampler_stateobj *so = CALLOC_STRUCT(fd5_sampler_stateobj); in fd5_sampler_state_create() local
92 if (!so) in fd5_sampler_state_create()
95 so->base = *cso; in fd5_sampler_state_create()
110 so->saturate_s = (cso->wrap_s == PIPE_TEX_WRAP_CLAMP); in fd5_sampler_state_create()
111 so->saturate_t = (cso->wrap_t == PIPE_TEX_WRAP_CLAMP); in fd5_sampler_state_create()
112 so->saturate_r = (cso->wrap_r == PIPE_TEX_WRAP_CLAMP); in fd5_sampler_state_create()
115 so->needs_border = false; in fd5_sampler_state_create()
116 so->texsamp0 = in fd5_sampler_state_create()
121 A5XX_TEX_SAMP_0_WRAP_S(tex_clamp(cso->wrap_s, clamp_to_edge, &so->needs_border)) | in fd5_sampler_state_create()
122 A5XX_TEX_SAMP_0_WRAP_T(tex_clamp(cso->wrap_t, clamp_to_edge, &so->needs_border)) | in fd5_sampler_state_create()
[all …]
Dfd5_rasterizer.c40 struct fd5_rasterizer_stateobj *so; in fd5_rasterizer_state_create() local
43 so = CALLOC_STRUCT(fd5_rasterizer_stateobj); in fd5_rasterizer_state_create()
44 if (!so) in fd5_rasterizer_state_create()
47 so->base = *cso; in fd5_rasterizer_state_create()
58 so->gras_su_point_minmax = in fd5_rasterizer_state_create()
61 so->gras_su_point_size = A5XX_GRAS_SU_POINT_SIZE(cso->point_size); in fd5_rasterizer_state_create()
62 so->gras_su_poly_offset_scale = in fd5_rasterizer_state_create()
64 so->gras_su_poly_offset_offset = in fd5_rasterizer_state_create()
66 so->gras_su_poly_offset_clamp = in fd5_rasterizer_state_create()
69 so->gras_su_cntl = in fd5_rasterizer_state_create()
[all …]
/external/perf_data_converter/src/quipper/testdata/
Dperf.data.busy.5-3.8.buildids3 329242a9fda10ee6bce562624a9576e566e1a5ae /lib64/libpthread-2.15.so
4 a0d1aab6f1a09a28bb4080a411cd3eafc20c71ef /lib64/libc-2.15.so
5 5de040b37b3a7ea34d615349b1e39901ca48da0f /lib64/librt-2.15.so
6 548e0083402e10b72c88161d3e59c0ce4df2178f /lib64/ld-2.15.so
7 102648cdf2809bcf51b732f8cec90dab4da80072 /usr/lib64/libdbus-1.so.3.7.2
8 036d7a64a1239eb1e5ef0862775b1def1c47f566 /lib64/libreadline.so.6.2
11 a83d39bec2698cb6c682a96760556f600b2ad46c /lib64/libm-2.15.so
12 3d207432929d6ec1ad67f6c2c3e592b02699fffb /usr/lib64/libgcc_s.so.1
13 9ea3ffdfad9a86d85d2b451cbe34a22c58e4aeb7 /usr/lib64/libstdc++.so.6.0.18
14 ccfcb8fb59ac7cecc4f66ed28ecee590ee668652 /usr/lib64/libglib-2.0.so.0.3400.3
[all …]
Dperf.data.forkexit-3.8.buildids5 2d8303d4c08d867b1909b32662ac0c5a7249c375 /lib64/libnss_nis-2.15.so
6 e413264081e09abab205d4602e858ff88cc9e205 /lib64/libnsl-2.15.so
7 a76fc7853260680fb4988cf36f1788f5efb6a3a8 /lib64/libnss_compat-2.15.so
8 5f2dfd78b347ff9c6119d12145ceb473ce5b0c13 /lib64/libpthread-2.15.so
9 3423c656d00b4346125085b98e40efb8f16013f9 /lib64/libc-2.15.so
10 f2ccfc79e2309a69e599cbdf86df88e542cefaae /lib64/librt-2.15.so
11 eee25e0e4186be728f7dabd75e730681581983f3 /lib64/ld-2.15.so
12 73ed3aef1ff81d3c8a1fa2a7160adf3be1dcc849 /usr/lib64/libdbus-1.so.3.7.2
13 3f672c9c3b15fc81888d81f61a1066a4c84fb7bd /lib64/libnih.so.1.0.0
18 8fbb3178b8a4a0123788aaf45fdf9a4adf7c5753 /lib64/libm-2.15.so
[all …]
Dperf.data.busy.1-3.8.buildids2 329242a9fda10ee6bce562624a9576e566e1a5ae /lib64/libpthread-2.15.so
3 a0d1aab6f1a09a28bb4080a411cd3eafc20c71ef /lib64/libc-2.15.so
4 5de040b37b3a7ea34d615349b1e39901ca48da0f /lib64/librt-2.15.so
5 548e0083402e10b72c88161d3e59c0ce4df2178f /lib64/ld-2.15.so
6 036d7a64a1239eb1e5ef0862775b1def1c47f566 /lib64/libreadline.so.6.2
9 a83d39bec2698cb6c682a96760556f600b2ad46c /lib64/libm-2.15.so
10 3d207432929d6ec1ad67f6c2c3e592b02699fffb /usr/lib64/libgcc_s.so.1
11 9ea3ffdfad9a86d85d2b451cbe34a22c58e4aeb7 /usr/lib64/libstdc++.so.6.0.18
12 ccfcb8fb59ac7cecc4f66ed28ecee590ee668652 /usr/lib64/libglib-2.0.so.0.3400.3
13 e1e832a225ae7123ebf54d3b0b49fb2f09a662d8 /usr/lib64/libmtdev.so.1.0.0
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_rasterizer.c42 struct fd4_rasterizer_stateobj *so; in fd4_rasterizer_state_create() local
45 so = CALLOC_STRUCT(fd4_rasterizer_stateobj); in fd4_rasterizer_state_create()
46 if (!so) in fd4_rasterizer_state_create()
49 so->base = *cso; in fd4_rasterizer_state_create()
68 so->gras_cl_clip_cntl = 0x80000; /* ??? */ in fd4_rasterizer_state_create()
69 so->gras_su_point_minmax = in fd4_rasterizer_state_create()
72 so->gras_su_point_size = A4XX_GRAS_SU_POINT_SIZE(cso->point_size); in fd4_rasterizer_state_create()
73 so->gras_su_poly_offset_scale = in fd4_rasterizer_state_create()
75 so->gras_su_poly_offset_offset = in fd4_rasterizer_state_create()
78 so->gras_su_mode_control = in fd4_rasterizer_state_create()
[all …]
Dfd4_texture.c89 struct fd4_sampler_stateobj *so = CALLOC_STRUCT(fd4_sampler_stateobj); in fd4_sampler_state_create() local
94 if (!so) in fd4_sampler_state_create()
100 so->base = *cso; in fd4_sampler_state_create()
112 so->saturate_s = (cso->wrap_s == PIPE_TEX_WRAP_CLAMP); in fd4_sampler_state_create()
113 so->saturate_t = (cso->wrap_t == PIPE_TEX_WRAP_CLAMP); in fd4_sampler_state_create()
114 so->saturate_r = (cso->wrap_r == PIPE_TEX_WRAP_CLAMP); in fd4_sampler_state_create()
117 so->needs_border = false; in fd4_sampler_state_create()
118 so->texsamp0 = in fd4_sampler_state_create()
123 A4XX_TEX_SAMP_0_WRAP_S(tex_clamp(cso->wrap_s, clamp_to_edge, &so->needs_border)) | in fd4_sampler_state_create()
124 A4XX_TEX_SAMP_0_WRAP_T(tex_clamp(cso->wrap_t, clamp_to_edge, &so->needs_border)) | in fd4_sampler_state_create()
[all …]
/external/ipsec-tools/src/libipsec/
Dtest-policy.c155 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; in test2() local
242 if ((so = pfkey_open()) < 0) in test2()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_rasterizer.c42 struct fd3_rasterizer_stateobj *so; in fd3_rasterizer_state_create() local
45 so = CALLOC_STRUCT(fd3_rasterizer_stateobj); in fd3_rasterizer_state_create()
46 if (!so) in fd3_rasterizer_state_create()
49 so->base = *cso; in fd3_rasterizer_state_create()
68 so->gras_cl_clip_cntl = A3XX_GRAS_CL_CLIP_CNTL_IJ_PERSP_CENTER /* ??? */ | in fd3_rasterizer_state_create()
70 so->gras_su_point_minmax = in fd3_rasterizer_state_create()
73 so->gras_su_point_size = A3XX_GRAS_SU_POINT_SIZE(cso->point_size); in fd3_rasterizer_state_create()
74 so->gras_su_poly_offset_scale = in fd3_rasterizer_state_create()
76 so->gras_su_poly_offset_offset = in fd3_rasterizer_state_create()
79 so->gras_su_mode_control = in fd3_rasterizer_state_create()
[all …]
Dfd3_texture.c89 struct fd3_sampler_stateobj *so = CALLOC_STRUCT(fd3_sampler_stateobj); in fd3_sampler_state_create() local
94 if (!so) in fd3_sampler_state_create()
100 so->base = *cso; in fd3_sampler_state_create()
112 so->saturate_s = (cso->wrap_s == PIPE_TEX_WRAP_CLAMP); in fd3_sampler_state_create()
113 so->saturate_t = (cso->wrap_t == PIPE_TEX_WRAP_CLAMP); in fd3_sampler_state_create()
114 so->saturate_r = (cso->wrap_r == PIPE_TEX_WRAP_CLAMP); in fd3_sampler_state_create()
117 so->needs_border = false; in fd3_sampler_state_create()
118 so->texsamp0 = in fd3_sampler_state_create()
125 A3XX_TEX_SAMP_0_WRAP_S(tex_clamp(cso->wrap_s, clamp_to_edge, &so->needs_border)) | in fd3_sampler_state_create()
126 A3XX_TEX_SAMP_0_WRAP_T(tex_clamp(cso->wrap_t, clamp_to_edge, &so->needs_border)) | in fd3_sampler_state_create()
[all …]
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_state.c96 struct vc4_rasterizer_state *so; in vc4_create_rasterizer_state() local
101 so = CALLOC_STRUCT(vc4_rasterizer_state); in vc4_create_rasterizer_state()
102 if (!so) in vc4_create_rasterizer_state()
105 so->base = *cso; in vc4_create_rasterizer_state()
108 so->config_bits[0] |= VC4_CONFIG_BITS_ENABLE_PRIM_FRONT; in vc4_create_rasterizer_state()
110 so->config_bits[0] |= VC4_CONFIG_BITS_ENABLE_PRIM_BACK; in vc4_create_rasterizer_state()
120 so->config_bits[0] |= VC4_CONFIG_BITS_CW_PRIMITIVES; in vc4_create_rasterizer_state()
123 so->config_bits[0] |= VC4_CONFIG_BITS_ENABLE_DEPTH_OFFSET; in vc4_create_rasterizer_state()
132 so->config_bits[0] |= VC4_CONFIG_BITS_RASTERIZER_OVERSAMPLE_4X; in vc4_create_rasterizer_state()
134 V3D21_DEPTH_OFFSET_pack(NULL, so->packed.depth_offset, &depth_offset); in vc4_create_rasterizer_state()
[all …]

12345678910>>...222