Home
last modified time | relevance | path

Searched refs:curr (Results 1 – 25 of 370) sorted by relevance

12345678910>>...15

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_rss.c92 const struct svga_blend_state *curr = svga->curr.blend; in emit_rss_vgpu9() local
94 EMIT_RS(svga, curr->rt[0].writemask, COLORWRITEENABLE); in emit_rss_vgpu9()
95 EMIT_RS(svga, curr->rt[0].blend_enable, BLENDENABLE); in emit_rss_vgpu9()
97 if (curr->rt[0].blend_enable) { in emit_rss_vgpu9()
98 EMIT_RS(svga, curr->rt[0].srcblend, SRCBLEND); in emit_rss_vgpu9()
99 EMIT_RS(svga, curr->rt[0].dstblend, DSTBLEND); in emit_rss_vgpu9()
100 EMIT_RS(svga, curr->rt[0].blendeq, BLENDEQUATION); in emit_rss_vgpu9()
102 EMIT_RS(svga, curr->rt[0].separate_alpha_blend_enable, in emit_rss_vgpu9()
105 if (curr->rt[0].separate_alpha_blend_enable) { in emit_rss_vgpu9()
106 EMIT_RS(svga, curr->rt[0].srcblend_alpha, SRCBLENDALPHA); in emit_rss_vgpu9()
[all …]
Dsvga_state_fs.c193 if (svga->curr.gs) { in make_fs_key()
194 key->fs.gs_generic_outputs = svga->curr.gs->generic_outputs; in make_fs_key()
196 key->fs.vs_generic_outputs = svga->curr.vs->generic_outputs; in make_fs_key()
207 key->fs.light_twoside = svga->curr.rast->templ.light_twoside; in make_fs_key()
208 key->fs.front_ccw = svga->curr.rast->templ.front_ccw; in make_fs_key()
209 key->fs.pstipple = (svga->curr.rast->templ.poly_stipple_enable && in make_fs_key()
210 svga->curr.reduced_prim == PIPE_PRIM_TRIANGLES); in make_fs_key()
211 key->fs.aa_point = (svga->curr.rast->templ.point_smooth && in make_fs_key()
212 svga->curr.reduced_prim == PIPE_PRIM_POINTS && in make_fs_key()
213 (svga->curr.rast->pointsize > 1.0 || in make_fs_key()
[all …]
Dsvga_state_need_swtnl.c38 if (!svga->curr.velems) { in update_need_swvfetch()
43 if (svga->state.sw.need_swvfetch != svga->curr.velems->need_swvfetch) { in update_need_swvfetch()
44 svga->state.sw.need_swvfetch = svga->curr.velems->need_swvfetch; in update_need_swvfetch()
64 struct svga_vertex_shader *vs = svga->curr.vs; in update_need_pipeline()
69 if (svga->curr.rast && in update_need_pipeline()
70 (svga->curr.rast->need_pipeline & (1 << svga->curr.reduced_prim))) { in update_need_pipeline()
73 svga->curr.rast->need_pipeline, in update_need_pipeline()
74 (1 << svga->curr.reduced_prim) ); in update_need_pipeline()
77 svga->curr.rast->need_pipeline_tris_str, in update_need_pipeline()
78 svga->curr.rast->need_pipeline_lines_str, in update_need_pipeline()
[all …]
Dsvga_state_framebuffer.c57 const struct pipe_framebuffer_state *curr = &svga->curr.framebuffer; in emit_fb_vgpu9() local
71 if ((curr->cbufs[i] != hw->cbufs[i]) || (reemit && hw->cbufs[i])) { in emit_fb_vgpu9()
72 if (svga->curr.nr_fbs++ > MAX_RT_PER_BATCH) in emit_fb_vgpu9()
80 curr->cbufs[i]); in emit_fb_vgpu9()
84 pipe_surface_reference(&hw->cbufs[i], curr->cbufs[i]); in emit_fb_vgpu9()
88 struct pipe_surface *s = curr->cbufs[i]; in emit_fb_vgpu9()
95 if ((curr->zsbuf != hw->zsbuf) || (reemit && hw->zsbuf)) { in emit_fb_vgpu9()
96 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_DEPTH, curr->zsbuf); in emit_fb_vgpu9()
104 if (curr->zsbuf && in emit_fb_vgpu9()
105 util_format_is_depth_and_stencil(curr->zsbuf->format)) { in emit_fb_vgpu9()
[all …]
/external/grpc-grpc/src/core/lib/iomgr/
Dlockfree_event.cc75 gpr_atm curr; in DestroyEvent() local
77 curr = gpr_atm_no_barrier_load(&state_); in DestroyEvent()
78 if (curr & kShutdownBit) { in DestroyEvent()
79 GRPC_ERROR_UNREF((grpc_error*)(curr & ~kShutdownBit)); in DestroyEvent()
81 GPR_ASSERT(curr == kClosureNotReady || curr == kClosureReady); in DestroyEvent()
86 } while (!gpr_atm_no_barrier_cas(&state_, curr, in DestroyEvent()
96 gpr_atm curr = gpr_atm_acq_load(&state_); in NotifyOn() local
99 (void*)curr, closure); in NotifyOn()
101 switch (curr) { in NotifyOn()
138 if ((curr & kShutdownBit) > 0) { in NotifyOn()
[all …]
/external/selinux/libsepol/cil/src/
Dcil_symtab.c172 struct cil_complex_symtab_node *curr = NULL; in cil_complex_symtab_insert() local
182 for (prev = NULL, curr = symtab->htable[hash]; curr != NULL; in cil_complex_symtab_insert()
183 prev = curr, curr = curr->next) { in cil_complex_symtab_insert()
184 if (ckey->key1 == curr->ckey->key1 && in cil_complex_symtab_insert()
185 ckey->key2 == curr->ckey->key2 && in cil_complex_symtab_insert()
186 ckey->key3 == curr->ckey->key3 && in cil_complex_symtab_insert()
187 ckey->key4 == curr->ckey->key4) { in cil_complex_symtab_insert()
192 if (ckey->key1 == curr->ckey->key1 && in cil_complex_symtab_insert()
193 ckey->key2 < curr->ckey->key2) { in cil_complex_symtab_insert()
197 if (ckey->key1 == curr->ckey->key1 && in cil_complex_symtab_insert()
[all …]
/external/libtextclassifier/lang_id/
Dcustom-tokenizer.cc33 inline bool IsTokenSeparator(int num_bytes, const char *curr) { in IsTokenSeparator() argument
37 return !isalpha(*curr); in IsTokenSeparator()
45 inline SAFTM_ATTRIBUTE_ALWAYS_INLINE void AppendLowerCase(const char *curr, in AppendLowerCase() argument
50 word->push_back(tolower(*curr)); in AppendLowerCase()
69 charntorune(&rune, curr, num_bytes); in AppendLowerCase()
93 word->append(curr, num_bytes); in AppendLowerCase()
105 const char *curr = start; in Tokenize() local
109 if (curr >= end) { in Tokenize()
116 int num_bytes = utils::OneCharLen(curr); in Tokenize()
117 while (curr < end) { in Tokenize()
[all …]
/external/boringssl/src/crypto/x509v3/
Dpcy_tree.c104 X509_POLICY_LEVEL *curr) in tree_print() argument
111 if (!curr) in tree_print()
112 curr = tree->levels + tree->nlevel; in tree_print()
114 curr++; in tree_print()
116 BIO_printf(err, "Printing Up to Level %ld\n", curr - tree->levels); in tree_print()
117 for (plev = tree->levels; plev != curr; plev++) { in tree_print()
311 static int tree_link_matching_nodes(X509_POLICY_LEVEL *curr, in tree_link_matching_nodes() argument
314 X509_POLICY_LEVEL *last = curr - 1; in tree_link_matching_nodes()
322 if (!level_add_node(curr, data, node, NULL)) in tree_link_matching_nodes()
328 if (!level_add_node(curr, data, last->anyPolicy, NULL)) in tree_link_matching_nodes()
[all …]
/external/boringssl/src/ssl/
Dssl_cipher.cc667 static void ll_append_tail(CIPHER_ORDER **head, CIPHER_ORDER *curr, in ll_append_tail() argument
669 if (curr == *tail) { in ll_append_tail()
672 if (curr == *head) { in ll_append_tail()
673 *head = curr->next; in ll_append_tail()
675 if (curr->prev != NULL) { in ll_append_tail()
676 curr->prev->next = curr->next; in ll_append_tail()
678 if (curr->next != NULL) { in ll_append_tail()
679 curr->next->prev = curr->prev; in ll_append_tail()
681 (*tail)->next = curr; in ll_append_tail()
682 curr->prev = *tail; in ll_append_tail()
[all …]
/external/skqp/bench/
DInterpBench.cpp63 SkFixed curr = SkFloatToFixed(fx); in performTest() local
66 dst[i + 0] = TILE(curr, count); curr += step; in performTest()
67 dst[i + 1] = TILE(curr, count); curr += step; in performTest()
68 dst[i + 2] = TILE(curr, count); curr += step; in performTest()
69 dst[i + 3] = TILE(curr, count); curr += step; in performTest()
82 int64_t curr = (int64_t)(fx * 65536 * 655536); in performTest() local
86 tmp = (SkFixed)(curr >> 16); in performTest()
88 curr += step; in performTest()
90 tmp = (SkFixed)(curr >> 16); in performTest()
92 curr += step; in performTest()
[all …]
/external/skia/bench/
DInterpBench.cpp63 SkFixed curr = SkFloatToFixed(fx); in performTest() local
66 dst[i + 0] = TILE(curr, count); curr += step; in performTest()
67 dst[i + 1] = TILE(curr, count); curr += step; in performTest()
68 dst[i + 2] = TILE(curr, count); curr += step; in performTest()
69 dst[i + 3] = TILE(curr, count); curr += step; in performTest()
82 int64_t curr = (int64_t)(fx * 65536 * 655536); in performTest() local
86 tmp = (SkFixed)(curr >> 16); in performTest()
88 curr += step; in performTest()
90 tmp = (SkFixed)(curr >> 16); in performTest()
92 curr += step; in performTest()
[all …]
/external/skia/src/core/
DSkDistanceFieldGen.cpp203 static void F1(DFData* curr, int width) { in F1() argument
205 DFData* check = curr - width-1; in F1()
208 if (distSq < curr->fDistSq) { in F1()
211 curr->fDistSq = distSq; in F1()
212 curr->fDistVector = distVec; in F1()
216 check = curr - width; in F1()
219 if (distSq < curr->fDistSq) { in F1()
221 curr->fDistSq = distSq; in F1()
222 curr->fDistVector = distVec; in F1()
226 check = curr - width+1; in F1()
[all …]
/external/skqp/src/core/
DSkDistanceFieldGen.cpp203 static void F1(DFData* curr, int width) { in F1() argument
205 DFData* check = curr - width-1; in F1()
208 if (distSq < curr->fDistSq) { in F1()
211 curr->fDistSq = distSq; in F1()
212 curr->fDistVector = distVec; in F1()
216 check = curr - width; in F1()
219 if (distSq < curr->fDistSq) { in F1()
221 curr->fDistSq = distSq; in F1()
222 curr->fDistVector = distVec; in F1()
226 check = curr - width+1; in F1()
[all …]
/external/turbine/java/com/google/turbine/binder/lookup/
DSimpleTopLevelIndex.java88 Node curr = root; in insert() local
91 curr = curr.insert(simpleName, null); in insert()
95 if (curr == null) { in insert()
102 curr = curr.insert(simpleName, sym); in insert()
103 if (curr == null || !Objects.equals(curr.sym, sym)) { in insert()
136 Node curr = root;
138 curr = curr.lookup(lookupKey.first().value());
139 if (curr == null) {
142 if (curr.sym != null) {
143 return new LookupResult(curr.sym, lookupKey);
[all …]
/external/u-boot/tools/
Dimagetool.c14 struct image_type_params **curr; in imagetool_get_type() local
20 for (curr = start; curr != end; curr++) { in imagetool_get_type()
21 if ((*curr)->check_image_type) { in imagetool_get_type()
22 if (!(*curr)->check_image_type(type)) in imagetool_get_type()
23 return *curr; in imagetool_get_type()
36 struct image_type_params **curr; in imagetool_verify_print_header() local
42 for (curr = start; curr != end; curr++) { in imagetool_verify_print_header()
43 if ((*curr)->verify_header) { in imagetool_verify_print_header()
44 retval = (*curr)->verify_header((unsigned char *)ptr, in imagetool_verify_print_header()
52 if ((*curr)->print_header) { in imagetool_verify_print_header()
[all …]
/external/curl/lib/
Dconncache.c111 struct curl_llist_element *curr; in bundle_remove_conn() local
113 curr = cb_ptr->conn_list.head; in bundle_remove_conn()
114 while(curr) { in bundle_remove_conn()
115 if(curr->ptr == conn) { in bundle_remove_conn()
116 Curl_llist_remove(&cb_ptr->conn_list, curr, NULL); in bundle_remove_conn()
121 curr = curr->next; in bundle_remove_conn()
356 struct curl_llist_element *curr; in Curl_conncache_foreach() local
372 curr = bundle->conn_list.head; in Curl_conncache_foreach()
373 while(curr) { in Curl_conncache_foreach()
376 struct connectdata *conn = curr->ptr; in Curl_conncache_foreach()
[all …]
Dpipeline.c136 struct curl_llist_element *curr; in Curl_move_handle_from_send_to_recv_pipe() local
138 curr = conn->send_pipe.head; in Curl_move_handle_from_send_to_recv_pipe()
139 while(curr) { in Curl_move_handle_from_send_to_recv_pipe()
140 if(curr->ptr == handle) { in Curl_move_handle_from_send_to_recv_pipe()
141 Curl_llist_move(&conn->send_pipe, curr, in Curl_move_handle_from_send_to_recv_pipe()
161 curr = curr->next; in Curl_move_handle_from_send_to_recv_pipe()
173 struct curl_llist_element *curr; in Curl_pipeline_site_blacklisted() local
175 curr = blacklist->head; in Curl_pipeline_site_blacklisted()
176 while(curr) { in Curl_pipeline_site_blacklisted()
179 site = curr->ptr; in Curl_pipeline_site_blacklisted()
[all …]
/external/libxml2/
Dtimsort.h271 size_t curr; in COUNT_RUN() local
285 curr = start + 2; in COUNT_RUN()
290 if (curr == size - 1) { in COUNT_RUN()
294 if (SORT_CMP(dst[curr - 1], dst[curr]) > 0) { in COUNT_RUN()
298 curr++; in COUNT_RUN()
301 return curr - start; in COUNT_RUN()
305 if (curr == size - 1) { in COUNT_RUN()
309 if (SORT_CMP(dst[curr - 1], dst[curr]) <= 0) { in COUNT_RUN()
313 curr++; in COUNT_RUN()
317 REVERSE_ELEMENTS(dst, start, curr - 1); in COUNT_RUN()
[all …]
/external/skqp/src/compute/skc/
Dpath_builder.c82 path_builder->curr[0].x = x0; in skc_path_move_to_1()
83 path_builder->curr[0].y = y0; in skc_path_move_to_1()
84 path_builder->curr[1].x = x0; in skc_path_move_to_1()
85 path_builder->curr[1].y = y0; in skc_path_move_to_1()
94 path_builder->curr[0].x = x0; in skc_path_move_to_2()
95 path_builder->curr[0].y = y0; in skc_path_move_to_2()
96 path_builder->curr[1].x = x1; in skc_path_move_to_2()
97 path_builder->curr[1].y = y1; in skc_path_move_to_2()
131 *path_builder->line.coords[0]++ = path_builder->curr[0].x; in skc_path_line_to()
132 *path_builder->line.coords[1]++ = path_builder->curr[0].y; in skc_path_line_to()
[all …]
/external/skia/src/compute/skc/
Dpath_builder.c82 path_builder->curr[0].x = x0; in skc_path_move_to_1()
83 path_builder->curr[0].y = y0; in skc_path_move_to_1()
84 path_builder->curr[1].x = x0; in skc_path_move_to_1()
85 path_builder->curr[1].y = y0; in skc_path_move_to_1()
94 path_builder->curr[0].x = x0; in skc_path_move_to_2()
95 path_builder->curr[0].y = y0; in skc_path_move_to_2()
96 path_builder->curr[1].x = x1; in skc_path_move_to_2()
97 path_builder->curr[1].y = y1; in skc_path_move_to_2()
131 *path_builder->line.coords[0]++ = path_builder->curr[0].x; in skc_path_line_to()
132 *path_builder->line.coords[1]++ = path_builder->curr[0].y; in skc_path_line_to()
[all …]
/external/bzip2/
Dformat.pl43 my ($prev, $curr, $str);
44 $prev = ''; $curr = '';
48 $prev = $curr;
49 $curr = $_;
54 $curr = join( '', $prev, "<![CDATA[", $curr );
58 elsif ( $curr =~ /<\/programlisting>|<\/screen>/ ) {
60 $curr = join( '', $prev, "]]>", $curr );
65 print OUTFILE $curr;
/external/toybox/toys/pending/
Dtelnetd.c211 char *curr ,*start,*end; in handle_iacs() local
214 curr = start = tm->buff2+tm->buff2_avail; in handle_iacs()
217 while (curr <= end) { in handle_iacs()
218 if (*curr != IAC){ in handle_iacs()
220 if (*curr != '\r') { in handle_iacs()
221 toybuf[i++] = *curr++; in handle_iacs()
224 toybuf[i++] = *curr++; in handle_iacs()
225 curr++; in handle_iacs()
226 if (curr < end && (*curr == '\n' || *curr == '\0')) in handle_iacs()
227 curr++; in handle_iacs()
[all …]
/external/libunwind/src/ia64/
DGrbs.c128 unw_word_t nregs, bsp = c->bsp, curr = c->rbs_curr, n; in rbs_find_stacked() local
134 while (!rbs_contains (&c->rbs_area[curr], bsp)) in rbs_find_stacked()
136 if (curr == left_edge) in rbs_find_stacked()
142 n = rse_num_regs (c->rbs_area[curr].end, bsp); in rbs_find_stacked()
143 curr = (curr + ARRAY_SIZE (c->rbs_area) - 1) % ARRAY_SIZE (c->rbs_area); in rbs_find_stacked()
144 bsp = rse_skip_regs (c->rbs_area[curr].end - c->rbs_area[curr].size, n); in rbs_find_stacked()
149 nregs = rse_num_regs (bsp, c->rbs_area[curr].end); in rbs_find_stacked()
158 *locp = rbs_loc (c->rbs_area + curr, addr); in rbs_find_stacked()
160 *rnat_locp = rbs_get_rnat_loc (c->rbs_area + curr, addr); in rbs_find_stacked()
164 if (curr == left_edge) in rbs_find_stacked()
[all …]
DGparser.c53 memcpy (rs, &sr->curr, sizeof (*rs)); in push()
54 sr->curr.next = rs; in push()
60 struct ia64_reg_state *rs = sr->curr.next; in pop()
67 memcpy (&sr->curr, rs, sizeof (*rs)); in pop()
210 reg = sr->curr.reg + unw.save_order[i]; in finish_prologue()
232 regs[0] = sr->curr.reg + IA64_REG_F2; in finish_prologue()
233 regs[1] = sr->curr.reg + IA64_REG_R4; in finish_prologue()
234 regs[2] = sr->curr.reg + IA64_REG_B1; in finish_prologue()
242 spill_next_when (&regs[kind - 1], sr->curr.reg + limit[kind - 1], in finish_prologue()
252 alloc_spill_area (&off, 16, sr->curr.reg + IA64_REG_F2, in finish_prologue()
[all …]
/external/nos/host/android/manual_tests/
Dtest_citadel.c578 uint32_t prev, curr; in ap_wiggle() local
596 if (0 != read32(GPIO_DATA, &curr)) { in ap_wiggle()
600 debug(1, "citadel 0x%08x\n", curr); in ap_wiggle()
601 if (curr & cit_bit) in ap_wiggle()
603 prev = curr; in ap_wiggle()
608 if (0 != read32(GPIO_DATA, &curr)) { in ap_wiggle()
612 debug(1, "citadel 0x%08x\n", curr); in ap_wiggle()
613 if (!(curr & cit_bit)) in ap_wiggle()
615 if (prev != curr && (prev ^ curr) != cit_bit) in ap_wiggle()
616 Error("unexpected GPIO change: prev 0x%08x cur 0x%08x", prev, curr); in ap_wiggle()
[all …]

12345678910>>...15