Home
last modified time | relevance | path

Searched refs:side (Results 1 - 25 of 138) sorted by relevance

123456

/third_party/python/Lib/turtledemo/
H A Dbytedesign.py109 def pentl(self, side, ang, scale):
110 if side < (2 * scale): return
111 self.forward(side)
113 self.pentl(side - (.38 * scale), ang, scale)
115 def pentr(self, side, ang, scale):
116 if side < (2 * scale): return
117 self.forward(side)
119 self.pentr(side - (.38 * scale), ang, scale)
121 def tripolyr(self, side, scale):
122 if side < (
[all...]
/third_party/ffmpeg/libavfilter/
H A Daf_crossfeed.c47 double *side[3]; member
93 s->side[i] = av_calloc(s->block_samples * 2, sizeof(*s->side[0])); in config_input()
94 if (!s->side[i]) in config_input()
119 double side = src[n]; in filter_samples() local
120 double oside = side * b0 + w1; in filter_samples()
122 w1 = b1 * side + w2 + a1 * oside; in filter_samples()
123 w2 = b2 * side + a2 * oside; in filter_samples()
170 double side = (src[0] - src[1]) * level_in * .5; in filter_frame() local
171 double oside = side * b in filter_frame()
[all...]
H A Daf_haas.c62 { "side_gain", "set side gain", OFFSET(par_side_gain), AV_OPT_TYPE_DOUBLE, {.dbl=1}, 0.015625, 64, A },
67 { "side", "L-R", 0, AV_OPT_TYPE_CONST, {.i64=3}, 0, 0, A, "source" },
156 double mid, side[2], side_l, side_r; in filter_frame() local
176 side[0] = buffer[s0_ptr] * s->par_side_gain; in filter_frame()
177 side[1] = buffer[s1_ptr] * s->par_side_gain; in filter_frame()
178 side_l = side[0] * s->balance_l[0] - side[1] * s->balance_l[1]; in filter_frame()
179 side_r = side[1] * s->balance_r[1] - side[0] * s->balance_r[0]; in filter_frame()
/third_party/toybox/toys/other/
H A Dhexedit.c98 // side: 0 = editing left, 1 = editing right, 2 = clear, 3 = read only
99 static void highlight(int xx, int yy, int side) in highlight() argument
107 if (side!=2) tty_esc("7m"); in highlight()
108 if (side>1) printf("%02X", cc); in highlight()
110 if (side==i) tty_esc("32m"); in highlight()
121 int x, i, side = 0, key, ro = toys.optflags&FLAG_r, in hexedit_main() local
183 highlight(x, y, ro ? 3 : side); in hexedit_main()
195 if (!side) { in hexedit_main()
206 TT.data[pos] &= 15<<(4*side); in hexedit_main()
207 TT.data[pos] |= i<<(4*!side); in hexedit_main()
[all...]
/third_party/python/Lib/idlelib/
H A Dconfigdialog.py131 note.pack(side=TOP, expand=TRUE, fill=BOTH)
132 self.create_action_buttons().pack(side=BOTTOM)
168 self.buttons[txt].pack(side=LEFT, padx=5)
170 Frame(outer, height=2, borderwidth=0).pack(side=TOP)
171 buttons_frame.pack(side=BOTTOM)
374 frame_font_name.pack(side=TOP, padx=5, pady=5, fill=X)
375 frame_font_param.pack(side=TOP, padx=5, pady=5, fill=X)
376 font_name_title.pack(side=TOP, anchor=W)
377 self.fontlist.pack(side=LEFT, expand=TRUE, fill=X)
378 scroll_font.pack(side
[all...]
H A Dstatusbar.py10 def set_label(self, name, text='', side='left', width=0):
13 label.pack(side=side, pady=0, padx=4)
35 msb.pack(side='bottom', fill='x')
42 button.pack(side='bottom')
H A Dhelp_about.py63 frame_buttons.pack(side=BOTTOM, fill=X)
64 frame.pack(side=TOP, expand=True, fill=BOTH)
112 self.py_license.pack(side=LEFT, padx=10, pady=10)
116 self.py_copyright.pack(side=LEFT, padx=10, pady=10)
120 self.py_credits.pack(side=LEFT, padx=10, pady=10)
135 self.readme.pack(side=LEFT, padx=10, pady=10)
139 self.idle_news.pack(side=LEFT, padx=10, pady=10)
143 self.idle_credits.pack(side=LEFT, padx=10, pady=10)
/third_party/python/Lib/tkinter/test/test_tkinter/
H A Dtest_geometry_managers.py33 a.pack_configure(side='top')
34 b.pack_configure(side='top')
35 c.pack_configure(side='top')
36 d.pack_configure(side='top')
46 a.pack_configure(side='top', ipadx=5, padx=10, ipady=15, pady=20,
66 a.pack_configure(side='top')
67 b.pack_configure(side='top')
68 c.pack_configure(side='top')
69 d.pack_configure(side='top')
84 a.pack_configure(side
[all...]
/third_party/backends/backend/
H A Dfujitsu.c299 - replace s->img_count with s->side
345 - add endorser side option
393 - detect front-side endorser
394 - disable endorser-side controls if only one side installed
397 - front-side endorser uses data ID 0x80
403 - improved front-side endorser vpd detection
404 - send scanner_control_ric during sane_read of each side
418 - get_pixelsize() sets back window ID for back side scans
439 - add side optio
7413 scanner_control_ric(struct fujitsu *s, int bytes, int side) scanner_control_ric() argument
7485 int side; setup_buffers() local
8179 inject_jfif_header(struct fujitsu *s, int side) inject_jfif_header() argument
8520 int side = SIDE_FRONT; read_from_3091duplex() local
8654 read_from_scanner(struct fujitsu *s, int side) read_from_scanner() argument
8806 copy_3091(struct fujitsu *s, unsigned char * buf, int len, int side) copy_3091() argument
8882 copy_JPEG(struct fujitsu *s, unsigned char * buf, int len, int side) copy_JPEG() argument
8924 copy_buffer(struct fujitsu *s, unsigned char * buf, int len, int side) copy_buffer() argument
8994 read_from_buffer(struct fujitsu *s, SANE_Byte * buf, SANE_Int max_len, SANE_Int * len, int side) read_from_buffer() argument
9038 downsample_from_buffer(struct fujitsu *s, SANE_Byte * buf, SANE_Int max_len, SANE_Int * len, int side) downsample_from_buffer() argument
10169 buffer_deskew(struct fujitsu *s, int side) buffer_deskew() argument
10225 buffer_crop(struct fujitsu *s, int side) buffer_crop() argument
10276 buffer_despeck(struct fujitsu *s, int side) buffer_despeck() argument
10296 buffer_isblank(struct fujitsu *s, int side) buffer_isblank() argument
[all...]
H A Dkvs1025.c131 int side = dev->current_side == SIDE_FRONT ? 0 : 1; in sane_get_parameters() local
165 *params = (dev->params[side]); in sane_get_parameters()
333 /* of simplex or duplex data, back side has already exited */ in sane_start()
380 int side = dev->current_side == SIDE_FRONT ? 0 : 1; in sane_read() local
386 if (size > dev->img_size[side]) in sane_read()
387 size = dev->img_size[side]; in sane_read()
399 unsigned char *p = dev->img_pt[side]; in sane_read()
407 memcpy (buf, dev->img_pt[side], size); in sane_read()
412 dev->img_pt[side] += size; in sane_read()
413 dev->img_size[side] in sane_read()
[all...]
H A Dkvs1025_low.h189 int current_side; /* the current side */
241 int side, unsigned char *windowdata);
262 SANE_Status CMD_set_window (PKV_DEV dev, int side, PKV_CMD_RESPONSE rs);
268 SANE_Status CMD_read_pic_elements (PKV_DEV dev, int page, int side,
270 SANE_Status CMD_read_image (PKV_DEV dev, int page, int side,
284 SANE_Status buffer_deskew (PKV_DEV dev, int side);
285 SANE_Status buffer_crop (PKV_DEV dev, int side);
286 SANE_Status buffer_despeck (PKV_DEV dev, int side);
287 int buffer_isblank (PKV_DEV dev, int side);
288 SANE_Status buffer_rotate(PKV_DEV dev, int side);
[all...]
H A Dfujitsu.h322 int has_back; /* not all duplex scanners can do adf back side only */
540 int side; member
799 static SANE_Status scanner_control_ric (struct fujitsu *s, int bytes, int side);
838 static SANE_Status read_from_scanner(struct fujitsu *s, int side);
840 static SANE_Status copy_3091(struct fujitsu *s, unsigned char * buf, int len, int side);
841 static SANE_Status copy_JPEG(struct fujitsu *s, unsigned char * buf, int len, int side);
842 static SANE_Status copy_buffer(struct fujitsu *s, unsigned char * buf, int len, int side);
844 static SANE_Status read_from_buffer(struct fujitsu *s, SANE_Byte * buf, SANE_Int max_len, SANE_Int * len, int side);
845 static SANE_Status downsample_from_buffer(struct fujitsu *s, SANE_Byte * buf, SANE_Int max_len, SANE_Int * len, int side);
851 static SANE_Status buffer_deskew(struct fujitsu *s, int side);
[all...]
H A Dcanon_dr.c200 - add back-side gray mirroring code for DR-2580C
219 - add side option
249 - remove padding dumb scanners add to top of front side
314 - DR-C125 adds duplex padding on back side
332 - fixed-width scanners were calculating left-side offset incorrectly in color
2879 opt->name = "side"; in sane_get_option_descriptor()
2880 opt->title = "Duplex side"; in sane_get_option_descriptor()
2881 opt->desc = "Tells which side (0=front, 1=back) of a duplex scan the next call to sane_read will return."; in sane_get_option_descriptor()
3484 *val_p = s->side; in sane_control_option()
5328 DBG (15, "started=%d, side in sane_start()
5709 int side; image_buffers() local
6060 read_from_scanner(struct scanner *s, int side, int exact) read_from_scanner() argument
6354 copy_simplex(struct scanner *s, unsigned char * buf, int len, int side) copy_simplex() argument
6741 copy_line(struct scanner *s, unsigned char * buff, int side) copy_line() argument
6904 read_from_buffer(struct scanner *s, SANE_Byte * buf, SANE_Int max_len, SANE_Int * len, int side) read_from_buffer() argument
6939 fill_image(struct scanner *s,int side) fill_image() argument
7846 int side; offset_buffers() local
7879 int side; gain_buffers() local
8860 get_color_inter(struct scanner *s, int side, int res) get_color_inter() argument
9027 buffer_deskew(struct scanner *s, int side) buffer_deskew() argument
9073 buffer_crop(struct scanner *s, int side) buffer_crop() argument
9129 buffer_despeck(struct scanner *s, int side) buffer_despeck() argument
9151 buffer_isblank(struct scanner *s, int side) buffer_isblank() argument
[all...]
H A Dcanon_dr.h240 int has_back; /* not all duplex scanners can do adf back side only */
425 int side; member
654 static int get_color_inter(struct scanner *s, int side, int res);
673 static SANE_Status read_from_scanner(struct scanner *s, int side, int exact);
676 static SANE_Status copy_simplex(struct scanner *s, unsigned char * buf, int len, int side);
678 static SANE_Status copy_line(struct scanner *s, unsigned char * buf, int side);
679 static SANE_Status fill_image(struct scanner *s,int side);
685 static SANE_Status buffer_despeck(struct scanner *s, int side);
686 static SANE_Status buffer_deskew(struct scanner *s, int side);
687 static SANE_Status buffer_crop(struct scanner *s, int side);
[all...]
H A Dkvs20xx.c379 s->side = SIDE_FRONT; in sane_start()
396 unsigned side = SIDE_FRONT; in sane_start() local
398 if (s->side == SIDE_FRONT && s->read == s->side_size - s->dummy_size) in sane_start()
400 s->side = SIDE_BACK; in sane_start()
407 s->side = SIDE_FRONT; in sane_start()
411 for (mx = s->side_size * 2; !st; mx -= read, side ^= SIDE_BACK) in sane_start()
412 st = kvs20xx_read_image_data (s, s->page, side, in sane_start()
464 if (!duplex || s->side == SIDE_BACK) in sane_read()
477 unsigned i, a = s->side == SIDE_FRONT ? 0 : ls / 3; in sane_read()
487 unsigned i = s->side in sane_read()
[all...]
H A Dkvs40xx.c450 unsigned read, side; in read_image_duplex() local
452 struct side { in read_image_duplex() struct
466 for (b = &a[0], side = SIDE_FRONT; (!a[0].eof || !a[1].eof);) { in read_image_duplex()
476 st = kvs40xx_read_image_data(s, s->page, side, in read_image_duplex()
489 side ^= SIDE_BACK; in read_image_duplex()
490 b = &a[side == SIDE_FRONT ? 0 : 1]; in read_image_duplex()
528 s->side = SIDE_FRONT; in read_data()
615 s->side = SIDE_FRONT; in sane_start()
619 if (duplex && s->side == SIDE_FRONT && !start) in sane_start()
621 s->side in sane_start()
[all...]
H A Dkvs1025_low.c410 CMD_set_window (PKV_DEV dev, int side, PKV_CMD_RESPONSE rs) in CMD_set_window() argument
432 kv_set_window_data (dev, scan_mode, side, windowdata); in CMD_set_window()
542 CMD_read_pic_elements (PKV_DEV dev, int page, int side, in CMD_read_pic_elements() argument
558 hdr.cdb[5] = side; in CMD_read_pic_elements()
568 int s = side == SIDE_FRONT ? 0 : 1; in CMD_read_pic_elements()
577 page, side == SIDE_FRONT ? "F" : "B", *width, *height); in CMD_read_pic_elements()
600 CMD_read_image (PKV_DEV dev, int page, int side, in CMD_read_image() argument
615 hdr.cdb[5] = side; in CMD_read_image()
975 buffer_deskew(PKV_DEV s, int side) in buffer_deskew() argument
979 int side_index = (side in buffer_deskew()
1022 buffer_crop(PKV_DEV s, int side) buffer_crop() argument
1081 buffer_despeck(PKV_DEV s, int side) buffer_despeck() argument
1105 buffer_isblank(PKV_DEV s, int side) buffer_isblank() argument
1133 buffer_rotate(PKV_DEV s, int side) buffer_rotate() argument
[all...]
/third_party/skia/src/core/
H A DSkPointPriv.h33 const SkPoint& b, Side* side = nullptr);
36 const SkPoint& b, Side* side = nullptr) { in DistanceToLineBetween()
37 return SkScalarSqrt(DistanceToLineBetweenSqd(pt, a, b, side)); in DistanceToLineBetween()
96 static SkPoint MakeOrthog(const SkPoint& vec, Side side = kLeft_Side) { in MakeOrthog()
97 SkASSERT(side == kRight_Side || side == kLeft_Side); in MakeOrthog()
98 return (side == kRight_Side) ? SkPoint{-vec.fY, vec.fX} : SkPoint{vec.fY, -vec.fX}; in MakeOrthog()
/third_party/typescript/tests/baselines/reference/
H A DexhaustiveSwitchStatements1.js62 interface Triangle { kind: "triangle"; side: number; }
72 case "triangle": area = Math.sqrt(3) / 4 * s.side * s.side; break;
84 case "triangle": return Math.sqrt(3) / 4 * s.side * s.side;
320 area = Math.sqrt(3) / 4 * s.side * s.side;
332 case "triangle": return Math.sqrt(3) / 4 * s.side * s.side;
502 side
[all...]
/third_party/skia/src/gpu/
H A DGrDistanceFieldGenFromVector.cpp50 * ...R|L......L|R.....L|R......R|L..... <= Scanline & side of segment
427 // It is used to calculate segment side of a quadratic bezier.
510 SegSide side = kNA_SegSide; in calculate_side_of_quad() local
513 side = (SegSide)(int)(sign_of(xFormPt.fY - rowData.fYAtIntersection) * rowData.fQuadXDirection); in calculate_side_of_quad()
540 side = (SegSide)(signP1 * rowData.fQuadXDirection); in calculate_side_of_quad()
545 if (side == kNA_SegSide || signP2 == 1) { in calculate_side_of_quad()
546 side = (SegSide)(-signP2 * rowData.fQuadXDirection); in calculate_side_of_quad()
557 side = (SegSide)(signP); in calculate_side_of_quad()
559 side = (SegSide)(-signP); in calculate_side_of_quad()
564 return side; in calculate_side_of_quad()
567 distance_to_segment(const SkPoint& point, const PathSegment& segment, const RowData& rowData, SegSide* side) distance_to_segment() argument
[all...]
/third_party/skia/src/pathops/
H A DSkOpCubicHull.cpp40 static int side(double x) { in side() function
85 int sides = side(rotPath[side1].fY - rotPath[yMin].fY); in convexHull()
86 sides ^= side(rotPath[side2].fY - rotPath[yMin].fY); in convexHull()
113 } else if (sides == 0) { // '0' means both to one side or the other in convexHull()
135 // see if mid value is on same side of line (least, most) as yMin in convexHull()
141 int midSides = side(midPath[yMin].fY - midPath[least].fY); in convexHull()
142 midSides ^= side(midPath[midX].fY - midPath[least].fY); in convexHull()
/third_party/python/Lib/tkinter/
H A Dfiledialog.py69 self.botframe.pack(side=BOTTOM, fill=X)
72 self.selection.pack(side=BOTTOM, fill=X)
76 self.filter.pack(side=TOP, fill=X)
83 self.filesbar.pack(side=RIGHT, fill=Y)
86 self.files.pack(side=RIGHT, expand=YES, fill=BOTH)
94 self.dirsbar.pack(side=LEFT, fill=Y)
97 self.dirs.pack(side=LEFT, expand=YES, fill=BOTH)
107 self.ok_button.pack(side=LEFT)
111 self.filter_button.pack(side=LEFT, expand=YES)
115 self.cancel_button.pack(side
[all...]
/third_party/mbedtls/library/
H A Decdh.c420 mbedtls_ecdh_side side) in ecdh_get_params_internal()
425 if (side == MBEDTLS_ECDH_THEIRS) { in ecdh_get_params_internal()
430 if (side != MBEDTLS_ECDH_OURS) { in ecdh_get_params_internal()
447 mbedtls_ecdh_side side) in mbedtls_ecdh_get_params()
450 if (side != MBEDTLS_ECDH_OURS && side != MBEDTLS_ECDH_THEIRS) { in mbedtls_ecdh_get_params()
470 return ecdh_get_params_internal(ctx, key, side); in mbedtls_ecdh_get_params()
476 mbedtls_everest_ecdh_side s = side == MBEDTLS_ECDH_OURS ? in mbedtls_ecdh_get_params()
485 key, side); in mbedtls_ecdh_get_params()
418 ecdh_get_params_internal(mbedtls_ecdh_context_mbed *ctx, const mbedtls_ecp_keypair *key, mbedtls_ecdh_side side) ecdh_get_params_internal() argument
445 mbedtls_ecdh_get_params(mbedtls_ecdh_context *ctx, const mbedtls_ecp_keypair *key, mbedtls_ecdh_side side) mbedtls_ecdh_get_params() argument
/third_party/python/Tools/unittestgui/
H A Dunittestgui.py296 statusFrame.pack(anchor=tk.SW, fill=tk.X, side=tk.BOTTOM)
297 tk.Label(statusFrame, width=1, textvariable=self.statusVar).pack(side=tk.TOP, fill=tk.X)
301 leftFrame.pack(fill=tk.BOTH, side=tk.LEFT, anchor=tk.NW, expand=1)
316 buttonFrame.pack(side=tk.LEFT, anchor=tk.NW, fill=tk.Y)
327 command=self.top.quit).pack(side=tk.BOTTOM, fill=tk.X)
329 command=self.settingsClicked).pack(side=tk.BOTTOM, fill=tk.X)
339 tk.Label(progressFrame, text=label).pack(side=tk.LEFT)
341 foreground="blue").pack(side=tk.LEFT, fill=tk.X,
351 self.errorListbox.pack(side=tk.LEFT, fill=tk.BOTH, expand=1,
354 listScroll.pack(side
[all...]
/third_party/skia/third_party/externals/freetype/src/base/
H A Dftstroke.c884 FT_Int side ) in ft_stroker_arcto()
889 FT_StrokeBorder border = stroker->borders + side; in ft_stroker_arcto()
892 rotate = FT_SIDE_TO_ROTATE( side ); in ft_stroker_arcto()
912 FT_Int side ) in ft_stroker_cap()
923 error = ft_stroker_arcto( stroker, side ); in ft_stroker_cap()
930 FT_StrokeBorder border = stroker->borders + side; in ft_stroker_cap()
935 delta.x = side ? middle.y : -middle.y; in ft_stroker_cap()
936 delta.y = side ? -middle.x : middle.x; in ft_stroker_cap()
971 FT_Int side, in ft_stroker_inside()
974 FT_StrokeBorder border = stroker->borders + side; in ft_stroker_inside()
970 ft_stroker_inside( FT_Stroker stroker, FT_Int side, FT_Fixed line_length ) ft_stroker_inside() argument
1037 ft_stroker_outside( FT_Stroker stroker, FT_Int side, FT_Fixed line_length ) ft_stroker_outside() argument
1272 FT_Int side; FT_EXPORT_DEF() local
1431 FT_Int side; FT_EXPORT_DEF() local
1638 FT_Int side; FT_EXPORT_DEF() local
[all...]

Completed in 32 milliseconds

123456