Home
last modified time | relevance | path

Searched refs:cr (Results 1 – 25 of 913) sorted by relevance

12345678910>>...37

/third_party/gettext/libtextstyle/gnulib-local/modules/
Dlibcroco5 lib/libcroco/cr-additional-sel.c
6 lib/libcroco/cr-additional-sel.h
7 lib/libcroco/cr-attr-sel.c
8 lib/libcroco/cr-attr-sel.h
9 lib/libcroco/cr-cascade.c
10 lib/libcroco/cr-cascade.h
11 lib/libcroco/cr-declaration.c
12 lib/libcroco/cr-declaration.h
13 lib/libcroco/cr-doc-handler.c
14 lib/libcroco/cr-doc-handler.h
[all …]
/third_party/boost/libs/spirit/doc/refcard/
Dspirit-reference.tex232 &#\hfil\cr
234 \\|attr(a)|&Attribute&\\|A|\cr
235 \\|eoi|&End of Input&\unused\cr
236 \\|eol|&End of Line&\unused\cr
237 \\|eps|&Epsilon&\unused\cr
238 \\|eps(p)|&&\unused\cr
239 \\|symbols<Ch,T,Lookup>|&Symbol Table&\\|T|\cr
248 &#\hfil\cr
250 \\|&a|&And Predicate&\unused\cr
251 \\|!a|&Not Predicate&\unused\cr
[all …]
/third_party/quickjs/
Dlibunicode.h63 void cr_init(CharRange *cr, void *mem_opaque, void *(*realloc_func)(void *opaque, void *ptr, size_t…
64 void cr_free(CharRange *cr);
65 int cr_realloc(CharRange *cr, int size);
66 int cr_copy(CharRange *cr, const CharRange *cr1);
68 static inline int cr_add_point(CharRange *cr, uint32_t v) in cr_add_point() argument
70 if (cr->len >= cr->size) { in cr_add_point()
71 if (cr_realloc(cr, cr->len + 1)) in cr_add_point()
74 cr->points[cr->len++] = v; in cr_add_point()
78 static inline int cr_add_interval(CharRange *cr, uint32_t c1, uint32_t c2) in cr_add_interval() argument
80 if ((cr->len + 2) > cr->size) { in cr_add_interval()
[all …]
Dlibunicode.c274 static __maybe_unused void cr_dump(CharRange *cr) in cr_dump() argument
277 for(i = 0; i < cr->len; i++) in cr_dump()
278 printf("%d: 0x%04x\n", i, cr->points[i]); in cr_dump()
286 void cr_init(CharRange *cr, void *mem_opaque, DynBufReallocFunc *realloc_func) in cr_init() argument
288 cr->len = cr->size = 0; in cr_init()
289 cr->points = NULL; in cr_init()
290 cr->mem_opaque = mem_opaque; in cr_init()
291 cr->realloc_func = realloc_func ? realloc_func : cr_default_realloc; in cr_init()
294 void cr_free(CharRange *cr) in cr_free() argument
296 cr->realloc_func(cr->mem_opaque, cr->points, 0); in cr_free()
[all …]
/third_party/uboot/u-boot-2020.01/arch/arm/mach-imx/
Dddrmc-vf610.c119 writel(DDRMC_CR00_DRAM_CLASS_DDR3, &ddrmr->cr[0]); in ddrmc_ctrl_init_ddr3()
120 writel(DDRMC_CR02_DRAM_TINIT(timings->tinit), &ddrmr->cr[2]); in ddrmc_ctrl_init_ddr3()
121 writel(DDRMC_CR10_TRST_PWRON(timings->trst_pwron), &ddrmr->cr[10]); in ddrmc_ctrl_init_ddr3()
123 writel(DDRMC_CR11_CKE_INACTIVE(timings->cke_inactive), &ddrmr->cr[11]); in ddrmc_ctrl_init_ddr3()
125 DDRMC_CR12_CASLAT_LIN(timings->caslat_lin), &ddrmr->cr[12]); in ddrmc_ctrl_init_ddr3()
129 &ddrmr->cr[13]); in ddrmc_ctrl_init_ddr3()
132 DDRMC_CR14_TRAS_MIN(timings->tras_min), &ddrmr->cr[14]); in ddrmc_ctrl_init_ddr3()
134 DDRMC_CR16_TRTP(timings->trtp), &ddrmr->cr[16]); in ddrmc_ctrl_init_ddr3()
136 DDRMC_CR17_TMOD(timings->tmod), &ddrmr->cr[17]); in ddrmc_ctrl_init_ddr3()
138 DDRMC_CR18_TCKE(timings->tcke), &ddrmr->cr[18]); in ddrmc_ctrl_init_ddr3()
[all …]
Dddrmc-vf610-calibration.c110 while (!(readl(&ddrmr->cr[94]) & DDRMC_CR94_SWLVL_OP_DONE))
113 do { clrsetbits_le32(&ddrmr->cr[93], DDRMC_CR93_SWLVL_LOAD, \
117 do { clrsetbits_le32(&ddrmr->cr[93], DDRMC_CR93_SWLVL_START, \
121 do { clrsetbits_le32(&ddrmr->cr[94], DDRMC_CR94_SWLVL_EXIT, \
144 (readl(&ddrmr->cr[105]) >> DDRMC_CR105_RDLVL_DL_0_OFF) & 0xFFFF; in ddrmc_cal_dqs_to_dq()
145 u16 rdlvl_dl_1_def = readl(&ddrmr->cr[110]) & 0xFFFF; in ddrmc_cal_dqs_to_dq()
158 writel(0x40703030, &ddrmr->cr[144]); in ddrmc_cal_dqs_to_dq()
159 writel(0x40, &ddrmr->cr[145]); in ddrmc_cal_dqs_to_dq()
160 writel(0x40, &ddrmr->cr[146]); in ddrmc_cal_dqs_to_dq()
162 tmp = readl(&ddrmr->cr[144]); in ddrmc_cal_dqs_to_dq()
[all …]
/third_party/weston/shared/
Dcairo-util.c146 render_shadow(cairo_t *cr, cairo_surface_t *surface, in render_shadow() argument
153 cairo_set_source_rgba(cr, 0, 0, 0, 0.45); in render_shadow()
154 cairo_set_operator(cr, CAIRO_OPERATOR_OVER); in render_shadow()
191 cairo_reset_clip(cr); in render_shadow()
192 cairo_rectangle(cr, in render_shadow()
196 cairo_clip (cr); in render_shadow()
197 cairo_mask(cr, pattern); in render_shadow()
212 cairo_rectangle(cr, x + margin, y, shadow_width, shadow_height); in render_shadow()
214 cairo_reset_clip(cr); in render_shadow()
215 cairo_rectangle(cr, in render_shadow()
[all …]
/third_party/libinput/tools/
Dlibinput-debug-gui.c189 draw_evdev_rel(struct window *w, cairo_t *cr) in draw_evdev_rel() argument
193 cairo_save(cr); in draw_evdev_rel()
194 cairo_set_source_rgb(cr, .2, .2, .8); in draw_evdev_rel()
198 cairo_arc(cr, center_x, center_y, 10, 0, 2 * M_PI); in draw_evdev_rel()
199 cairo_stroke(cr); in draw_evdev_rel()
204 cairo_move_to(cr, in draw_evdev_rel()
207 cairo_rel_line_to(cr, 0, 40); in draw_evdev_rel()
208 cairo_rel_line_to(cr, 20 * dir, -20); in draw_evdev_rel()
209 cairo_rel_line_to(cr, -20 * dir, -20); in draw_evdev_rel()
210 cairo_fill(cr); in draw_evdev_rel()
[all …]
/third_party/weston/clients/
Dtransformed.c48 draw_stuff(cairo_t *cr, int width, int height) in draw_stuff() argument
51 cairo_get_matrix (cr, &m); in draw_stuff()
53 cairo_translate(cr, width / 2, height / 2); in draw_stuff()
54 cairo_scale(cr, width / 2, height / 2); in draw_stuff()
56 cairo_set_source_rgba(cr, 0, 0, 0.3, 1.0); in draw_stuff()
57 cairo_set_source_rgba(cr, 0, 0, 0, 1.0); in draw_stuff()
58 cairo_rectangle(cr, -1, -1, 2, 2); in draw_stuff()
59 cairo_fill(cr); in draw_stuff()
61 cairo_set_source_rgb(cr, 1, 0, 0); in draw_stuff()
62 cairo_move_to(cr, 0, 0); in draw_stuff()
[all …]
Dcliptest.c213 draw_polygon_closed(cairo_t *cr, GLfloat *x, GLfloat *y, int n) in draw_polygon_closed() argument
217 cairo_move_to(cr, x[0], y[0]); in draw_polygon_closed()
219 cairo_line_to(cr, x[i], y[i]); in draw_polygon_closed()
220 cairo_line_to(cr, x[0], y[0]); in draw_polygon_closed()
224 draw_polygon_labels(cairo_t *cr, GLfloat *x, GLfloat *y, int n) in draw_polygon_labels() argument
231 cairo_move_to(cr, x[i], y[i]); in draw_polygon_labels()
232 cairo_show_text(cr, str); in draw_polygon_labels()
237 draw_coordinates(cairo_t *cr, double ox, double oy, GLfloat *x, GLfloat *y, int n) in draw_coordinates() argument
243 cairo_font_extents(cr, &ext); in draw_coordinates()
246 cairo_move_to(cr, ox, oy + ext.height * (i + 1)); in draw_coordinates()
[all …]
Dstacking.c188 draw_string(cairo_t *cr,
192 draw_string(cairo_t *cr, in draw_string() argument
201 cairo_save(cr); in draw_string()
203 cairo_select_font_face(cr, "sans", in draw_string()
206 cairo_set_font_size(cr, 14); in draw_string()
208 cairo_font_extents(cr, &font_extents); in draw_string()
220 cairo_show_text(cr, p); in draw_string()
221 cairo_text_extents(cr, p, &text_extents); in draw_string()
222 cairo_rel_move_to(cr, -text_extents.x_advance, font_extents.height); in draw_string()
232 cairo_restore(cr); in draw_string()
[all …]
Dfullscreen.c72 draw_string(cairo_t *cr, in draw_string() argument
81 cairo_save(cr); in draw_string()
83 cairo_select_font_face(cr, "sans", in draw_string()
86 cairo_set_font_size(cr, 14); in draw_string()
88 cairo_font_extents (cr, &font_extents); in draw_string()
100 cairo_show_text(cr, p); in draw_string()
101 cairo_text_extents (cr, p, &text_extents); in draw_string()
102 cairo_rel_move_to (cr, -text_extents.x_advance, font_extents.height); in draw_string()
112 cairo_restore(cr); in draw_string()
122 cairo_t *cr; in redraw_handler() local
[all …]
Dcontent_protection.c109 cairo_t *cr; in draw_content() local
114 cr = cairo_create(surface); in draw_content()
115 cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE); in draw_content()
116 cairo_rectangle(cr, x, y, width, height); in draw_content()
118 cairo_set_source_rgba(cr, 0, 1.0, 0, 1.0); in draw_content()
120 cairo_set_source_rgba(cr, 0, 0, 1.0, 1.0); in draw_content()
122 cairo_set_source_rgba(cr, 1.0, 0, 0, 1.0); in draw_content()
123 cairo_fill(cr); in draw_content()
125 cairo_set_source_rgba(cr, 0, 0, 0, 1.0); in draw_content()
126 cairo_select_font_face(cr, "Sans", CAIRO_FONT_SLANT_NORMAL, in draw_content()
[all …]
Dscaler.c133 cairo_t *cr; in redraw_handler() local
142 cr = cairo_create(surface); in redraw_handler()
143 cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE); in redraw_handler()
144 cairo_set_line_width(cr, 1.0); in redraw_handler()
145 cairo_translate(cr, RECT_X, RECT_Y); in redraw_handler()
148 cairo_set_source_rgba(cr, 255, 0, 0, 255); in redraw_handler()
149 cairo_paint(cr); in redraw_handler()
152 cairo_set_source_rgba(cr, 0, 0, 255, 255); in redraw_handler()
153 cairo_rectangle(cr, 0, 0, RECT_W, RECT_H); in redraw_handler()
154 cairo_fill(cr); in redraw_handler()
[all …]
Dflower.c48 set_random_color(cairo_t *cr) in set_random_color() argument
50 cairo_set_source_rgba(cr, in set_random_color()
67 cairo_t *cr; in draw_stuff() local
72 cr = cairo_create(surface); in draw_stuff()
73 cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE); in draw_stuff()
74 cairo_set_source_rgba(cr, 0, 0, 0, 0); in draw_stuff()
75 cairo_paint(cr); in draw_stuff()
77 cairo_set_operator(cr, CAIRO_OPERATOR_OVER); in draw_stuff()
78 cairo_translate(cr, width / 2, height / 2); in draw_stuff()
79 cairo_move_to(cr, cos(0) * r1, sin(0) * r1); in draw_stuff()
[all …]
/third_party/uboot/u-boot-2020.01/arch/arm/mach-at91/
Dmpddrc.c26 static int ddr2_decodtype_is_seq(const unsigned int base, u32 cr) in ddr2_decodtype_is_seq() argument
32 (cr & ATMEL_MPDDRC_CR_DECOD_INTERLEAVED)) in ddr2_decodtype_is_seq()
45 u32 ba_off, cr; in ddr2_init() local
48 ba_off = (mpddr_value->cr & ATMEL_MPDDRC_CR_NC_MASK) + 9; in ddr2_init()
49 if (ddr2_decodtype_is_seq(base, mpddr_value->cr)) in ddr2_init()
50 ba_off += ((mpddr_value->cr & ATMEL_MPDDRC_CR_NR_MASK) >> 2) + 11; in ddr2_init()
58 writel(mpddr_value->cr, &mpddr->cr); in ddr2_init()
93 cr = readl(&mpddr->cr); in ddr2_init()
94 writel(cr | ATMEL_MPDDRC_CR_DLL_RESET_ENABLED, &mpddr->cr); in ddr2_init()
107 cr = readl(&mpddr->cr); in ddr2_init()
[all …]
/third_party/flutter/skia/third_party/externals/harfbuzz/util/
Dview-cairo.cc73 cairo_t *cr = helper_cairo_create_context (w + view_options.margin.l + view_options.margin.r, in render() local
76 cairo_set_scaled_font (cr, scaled_font); in render()
79 cairo_translate (cr, view_options.margin.l, view_options.margin.t); in render()
81 cairo_translate (cr, in render()
87 cairo_translate (cr, in render()
93 cairo_translate (cr, +vert * leading, -horiz * leading); in render()
98 cairo_translate (cr, -vert * leading, +horiz * leading); in render()
101 cairo_save (cr); in render()
104 cairo_set_source_rgba (cr, 1., 0., 0., .5); in render()
105 cairo_set_line_width (cr, 5); in render()
[all …]
/third_party/harfbuzz/util/
Dview-cairo.cc81 cairo_t *cr = helper_cairo_create_context (w + view_options.margin.l + view_options.margin.r, in render() local
84 cairo_set_scaled_font (cr, scaled_font); in render()
87 cairo_translate (cr, view_options.margin.l, view_options.margin.t); in render()
89 cairo_translate (cr, in render()
94 cairo_translate (cr, in render()
100 cairo_translate (cr, +vert * leading, -horiz * leading); in render()
105 cairo_translate (cr, -vert * leading, +horiz * leading); in render()
108 cairo_save (cr); in render()
111 cairo_set_source_rgba (cr, 1., 0., 0., .5); in render()
112 cairo_set_line_width (cr, 5); in render()
[all …]
/third_party/gettext/libtextstyle/
DMakefile.am58 gnulib-local/lib/libcroco/cr-additional-sel.c \
59 gnulib-local/lib/libcroco/cr-additional-sel.h \
60 gnulib-local/lib/libcroco/cr-attr-sel.c \
61 gnulib-local/lib/libcroco/cr-attr-sel.h \
62 gnulib-local/lib/libcroco/cr-cascade.c \
63 gnulib-local/lib/libcroco/cr-cascade.h \
64 gnulib-local/lib/libcroco/cr-declaration.c \
65 gnulib-local/lib/libcroco/cr-declaration.h \
66 gnulib-local/lib/libcroco/cr-doc-handler.c \
67 gnulib-local/lib/libcroco/cr-doc-handler.h \
[all …]
/third_party/python/Lib/test/
Dtest_crypt.py27 cr = crypt.crypt('mypassword')
28 cr2 = crypt.crypt('mypassword', cr)
29 self.assertEqual(cr2, cr)
30 cr = crypt.crypt('mypassword', 'ab')
31 if cr is not None:
32 cr2 = crypt.crypt('mypassword', cr)
33 self.assertEqual(cr2, cr)
45 cr = crypt.crypt('assword', method)
46 self.assertEqual(len(cr), method.total_size)
47 cr2 = crypt.crypt('assword', cr)
[all …]
/third_party/boost/libs/range/test/adaptor_test/
Dtype_erased_test.hpp207 const_any_range cr(source); in test_type_erased_impl() local
209 cr.begin(), cr.end() ); in test_type_erased_impl()
213 cr = const_any_range(); in test_type_erased_impl()
214 BOOST_CHECK_EQUAL( cr.empty(), true ); in test_type_erased_impl()
219 cr = const_any_range(); in test_type_erased_impl()
220 cr = const_source | type_erased_t(); in test_type_erased_impl()
222 cr.begin(), cr.end() ); in test_type_erased_impl()
226 cr = const_any_range(); in test_type_erased_impl()
227 cr = source | type_erased_t(); in test_type_erased_impl()
229 cr.begin(), cr.end() ); in test_type_erased_impl()
[all …]
/third_party/skia/third_party/externals/harfbuzz/util/
Dview-cairo.hh143 cairo_t *cr = helper_cairo_create_context (w + margin.l + margin.r, in render() local
148 cairo_set_scaled_font (cr, scaled_font); in render()
151 cairo_translate (cr, margin.l, margin.t); in render()
153 cairo_translate (cr, in render()
158 cairo_translate (cr, in render()
164 cairo_translate (cr, +vert * leading, -horiz * leading); in render()
169 cairo_translate (cr, -vert * leading, +horiz * leading); in render()
172 cairo_save (cr); in render()
175 cairo_set_source_rgba (cr, 1., 0., 0., .5); in render()
176 cairo_set_line_width (cr, 5); in render()
[all …]
/third_party/boost/boost/math/differentiation/
Dautodiff.hpp336 Fvar const& cr,
346 Fvar const& cr,
356 Fvar const& cr,
366 Fvar const& cr,
376 fvar const& cr,
382 fvar epsilon_multiply(size_t z0, size_t isum0, fvar const& cr, size_t z1, size_t isum1) const;
414 fvar const& cr,
422 fvar const& cr,
676 fvar<RealType, Order>::fvar(fvar<RealType2, Order2> const& cr) { in fvar() argument
678 v[i] = static_cast<RealType>(cr.v[i]); in fvar()
[all …]
/third_party/gstreamer/gstplugins_good/ext/gtk/
Dgtkgstwidget.c42 gtk_gst_widget_draw (GtkWidget * widget, cairo_t * cr) in gtk_gst_widget_draw() argument
109 gdk_cairo_set_source_rgba (cr, &color); in gtk_gst_widget_draw()
111 cairo_rectangle (cr, 0, 0, result.x, widget_height); in gtk_gst_widget_draw()
112 cairo_fill (cr); in gtk_gst_widget_draw()
115 cairo_rectangle (cr, 0, 0, widget_width, result.y); in gtk_gst_widget_draw()
116 cairo_fill (cr); in gtk_gst_widget_draw()
119 cairo_rectangle (cr, result.x + result.w, 0, widget_width - result.w, in gtk_gst_widget_draw()
121 cairo_fill (cr); in gtk_gst_widget_draw()
124 cairo_rectangle (cr, 0, result.y + result.h, widget_width, in gtk_gst_widget_draw()
126 cairo_fill (cr); in gtk_gst_widget_draw()
[all …]
/third_party/gstreamer/gstreamer/tests/examples/controller/
Dcontroller-graph.c39 on_graph_draw (GtkWidget * widget, cairo_t * cr, gpointer user_data) in on_graph_draw() argument
52 gtk_render_background (style, cr, 0, 0, w, h); in on_graph_draw()
71 cairo_set_source_rgb (cr, 0.5, 0.5, 0.5); in on_graph_draw()
72 cairo_rectangle (cr, x, y, w, h); in on_graph_draw()
73 cairo_stroke_preserve (cr); in on_graph_draw()
74 cairo_set_source_rgb (cr, 1.0, 1.0, 1.0); in on_graph_draw()
75 cairo_fill (cr); in on_graph_draw()
79 cairo_set_source_rgb (cr, 0.0, 0.0, 0.0); in on_graph_draw()
80 cairo_set_line_width (cr, 1.0); in on_graph_draw()
81 cairo_move_to (cr, x, y + data[0] * h); in on_graph_draw()
[all …]

12345678910>>...37