Home
last modified time | relevance | path

Searched refs:fill (Results 1 - 25 of 629) sorted by relevance

12345678910>>...26

/third_party/jerryscript/tests/jerry/es2015/
H A Darray-prototype-fill.js33 assert (1 === Array.prototype.fill.length);
35 assert (assertArrayEquals ([].fill (8), []));
36 assert (assertArrayEquals ([0, 0, 0, 0, 0].fill (), [undefined, undefined, undefined, undefined, undefined]));
37 assert (assertArrayEquals ([0, 0, 0, 0, 0].fill (8), [8, 8, 8, 8, 8]));
38 assert (assertArrayEquals ([0, 0, 0, 0, 0].fill (8, 1), [0, 8, 8, 8, 8]));
39 assert (assertArrayEquals ([0, 0, 0, 0, 0].fill (8, 10), [0, 0, 0, 0, 0]));
40 assert (assertArrayEquals ([0, 0, 0, 0, 0].fill (8, -5), [8, 8, 8, 8, 8]));
41 assert (assertArrayEquals ([0, 0, 0, 0, 0].fill (8, 1, 4), [0, 8, 8, 8, 0]));
42 assert (assertArrayEquals ([0, 0, 0, 0, 0].fill (8, 1, -1), [0, 8, 8, 8, 0]));
43 assert (assertArrayEquals ([0, 0, 0, 0, 0].fill (
[all...]
/third_party/node/test/parallel/
H A Dtest-buffer-fill.js45 assert.strictEqual(Buffer.allocUnsafe(1).fill(0).fill('\u0222')[0], 0xc8);
96 assert.strictEqual(Buffer.allocUnsafe(1).fill('\u0222', 'ucs2')[0], 0x22);
118 buf.fill('yKJh', 'hex');
127 buf.fill('\u0222', 'hex');
172 const buf2Fill = Buffer.allocUnsafe(1).fill(2);
177 const hexBufFill = Buffer.allocUnsafe(2).fill(0).fill('0102', 'hex');
192 () => buf1.fill(...args),
198 () => buf1.fill('
[all...]
/third_party/node/deps/npm/node_modules/hosted-git-info/lib/
H A Dindex.js63 #fill (template, opts) {
93 return this.#fill(this.sshtemplate, opts)
97 return this.#fill(this.sshurltemplate, opts)
103 return this.#fill(this.browsetemplate, path)
107 return this.#fill(this.browsetreetemplate, { ...args[0], path })
110 return this.#fill(this.browsetreetemplate, { ...args[1], fragment: args[0], path })
120 return this.#fill(this.browseblobtemplate, { ...args[0], path })
123 return this.#fill(this.browseblobtemplate, { ...args[1], fragment: args[0], path })
127 return this.#fill(this.docstemplate, opts)
131 return this.#fill(thi
[all...]
/third_party/libunwind/libunwind/src/ia64/
H A DGinstall_cursor.S78 ldf.fill f16 = [r16] // f16 restored (don't touch no more)
79 ldf.fill f17 = [r17] // f17 restored (don't touch no more)
87 ldf.fill f18 = [r18] // f18 restored (don't touch no more)
88 ldf.fill f19 = [r19] // f19 restored (don't touch no more)
96 ldf.fill f20 = [r20] // f20 restored (don't touch no more)
97 ldf.fill f21 = [r21] // f21 restored (don't touch no more)
105 ldf.fill f22 = [r22] // f22 restored (don't touch no more)
106 ldf.fill f23 = [r23] // f23 restored (don't touch no more)
114 ldf.fill f24 = [r24] // f24 restored (don't touch no more)
115 ldf.fill f2
[all...]
/third_party/skia/docs/examples/
H A DPath_IsInverseFillType.cpp6 #define nameValue(fill) { SkPathFillType::fill, #fill } in REG_FIDDLE()
10 SkPathFillType fill; in REG_FIDDLE() member
18 for (auto fill: fills ) { in REG_FIDDLE()
19 SkDebugf("IsInverseFillType(%s) == %s\n", fill.name, SkPathFillType_IsInverse(fill.fill) ? in REG_FIDDLE()
H A DPath_ConvertToNonInverseFillType.cpp6 #define nameValue(fill) { SkPathFillType::fill, #fill } in REG_FIDDLE()
10 SkPathFillType fill; in REG_FIDDLE() member
19 if (fills[i].fill != (SkPathFillType) i) { in REG_FIDDLE()
24 fills[(int) SkPathFillType_ConvertToNonInverse(fills[i].fill)].name); in REG_FIDDLE()
/third_party/rust/crates/lazycell/src/
H A Dlib.rs37 //! lazycell.fill(1).ok();
75 pub fn fill(&self, value: T) -> Result<(), T> { in fill() functions
89 /// cell can exist so we can always fill in the value. This may not always
136 if self.fill(value).is_err() { in borrow_with()
154 if self.fill(value).is_err() { in borrow_mut_with()
174 if self.fill(value).is_err() { in try_borrow_with()
192 if self.fill(value).is_err() { in try_borrow_mut_with()
256 pub fn fill(&self, t: T) -> Result<(), T> { in fill() functions
274 /// cell can exist so we can always fill in the value. This may not always
369 lazycell.fill( in test_fill_and_borrow()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dphotocd.c82 int fill; in interp_lowres() local
93 fill = bytestream2_get_byte(gb); in interp_lowres()
94 *(dst++) = fill; in interp_lowres()
95 *(dst++) = (fill + bytestream2_peek_byte(gb) + 1) >> 1; in interp_lowres()
97 fill = bytestream2_get_byte(gb); in interp_lowres()
98 *(dst++) = fill; in interp_lowres()
99 *(dst++) = fill; in interp_lowres()
105 fill = bytestream2_get_byte(gb); in interp_lowres()
106 *(dst++) = fill; in interp_lowres()
107 *(dst++) = (fill in interp_lowres()
[all...]
H A Darbc.c149 int fill; in decode_frame() local
154 fill = bytestream2_get_byte(&s->gb) << 16; in decode_frame()
156 fill |= bytestream2_get_byte(&s->gb) << 8; in decode_frame()
158 fill |= bytestream2_get_byte(&s->gb) << 0; in decode_frame()
163 prev_pixels -= fill_tileX(avctx, 1024, 1024, fill, frame); in decode_frame()
165 prev_pixels -= fill_tileX(avctx, 256, 256, fill, frame); in decode_frame()
167 prev_pixels -= fill_tileX(avctx, 64, 64, fill, frame); in decode_frame()
169 prev_pixels -= fill_tileX(avctx, 16, 16, fill, frame); in decode_frame()
171 prev_pixels -= fill_tile4(avctx, fill, frame); in decode_frame()
/third_party/node/deps/npm/node_modules/safer-buffer/
H A Dsafer.js40 Safer.alloc = function (size, fill, encoding) {
48 if (!fill || fill.length === 0) {
49 buf.fill(0)
51 buf.fill(fill, encoding)
53 buf.fill(fill)
/third_party/skia/gm/
H A Dquadpaths.cpp39 SkPaint::Style style, SkPathFillType fill, in drawPath()
41 path.setFillType(fill); in drawPath()
112 for (size_t fill = 0; fill < SK_ARRAY_COUNT(gFills); ++fill) {
113 if (0 < fill) {
125 gFills[fill].fFill, SK_Scalar1*10);
138 canvas->drawString(gFills[fill].fName, 0, rect.height() + 24.0f,
169 SkPaint::Style style, SkPathFillType fill, in drawPath()
171 path.setFillType(fill); in drawPath()
37 drawPath(SkPath& path,SkCanvas* canvas,SkColor color, const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, SkPaint::Style style, SkPathFillType fill, SkScalar strokeWidth) drawPath() argument
167 drawPath(SkPath& path,SkCanvas* canvas,SkColor color, const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, SkPaint::Style style, SkPathFillType fill, SkScalar strokeWidth) drawPath() argument
[all...]
H A Dlinepaths.cpp23 SkPaint::Style style, SkPathFillType fill, in drawPath()
25 path.setFillType(fill); in drawPath()
105 for (size_t fill = 0; fill < SK_ARRAY_COUNT(gFills); ++fill) { in draw()
106 if (0 < fill) { in draw()
118 gFills[fill].fFill, SK_Scalar1*10); in draw()
132 canvas->drawString(gFills[fill].fName, 0, rect.height() + 24.0f, in draw()
21 drawPath(SkPath& path,SkCanvas* canvas,SkColor color, const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, SkPaint::Style style, SkPathFillType fill, SkScalar strokeWidth) drawPath() argument
H A Dcubicpaths.cpp128 SkPaint::Style style, SkPathFillType fill, in drawPath()
130 path.setFillType(fill); in drawPath()
202 for (size_t fill = 0; fill < SK_ARRAY_COUNT(gFills); ++fill) {
203 if (0 < fill) {
215 gFills[fill].fFill, SK_Scalar1*10);
228 canvas->drawString(gFills[fill].fName, 0, rect.height() + 24, font, labelPaint);
247 SkPaint::Style style, SkPathFillType fill, in drawPath()
249 path.setFillType(fill); in drawPath()
126 drawPath(SkPath& path,SkCanvas* canvas,SkColor color, const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, SkPaint::Style style, SkPathFillType fill, SkScalar strokeWidth) drawPath() argument
245 drawPath(SkPath& path,SkCanvas* canvas,SkColor color, const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, SkPaint::Style style, SkPathFillType fill, SkScalar strokeWidth) drawPath() argument
[all...]
/third_party/skia/third_party/externals/brotli/js/
H A Dpolyfill.js40 if (!Array.prototype.fill) {
41 Object.defineProperty(Array.prototype, 'fill', {
59 if (!Int8Array.prototype.fill) {
60 Int8Array.prototype.fill = Array.prototype.fill;
63 if (!Int32Array.prototype.fill) {
64 Int32Array.prototype.fill = Array.prototype.fill;
/third_party/skia/tests/
H A DStrokerTest.cpp34 SkPath fill; in pathTest() local
38 p.getFillPath(path, &fill); in pathTest()
158 SkPath path, fill; in DEF_TEST() local
162 p.getFillPath(path, &fill); in DEF_TEST()
169 SkDebugf("fill:\n"); in DEF_TEST()
170 fill.dumpHex(); in DEF_TEST()
197 SkPath path, fill; in DEF_TEST() local
202 p.getFillPath(path, &fill); in DEF_TEST()
209 SkDebugf("fill:\n"); in DEF_TEST()
210 fill in DEF_TEST()
237 SkPath path, fill; DEF_TEST() local
289 SkPath path, fill; DEF_TEST() local
347 SkPath path, fill; DEF_TEST() local
392 SkPath path, fill; DEF_TEST() local
431 SkPath path, fill; DEF_TEST() local
456 SkPath path, fill; DEF_TEST() local
[all...]
/third_party/skia/samplecode/
H A DSampleChart.cpp24 // Generates a path to stroke along the top of each plot and a fill path for the area below each
25 // plot. The fill path is bounded below by the bottomData plot points or a horizontal line at
33 SkPathBuilder* plot, SkPathBuilder* fill) { in gen_paths()
36 fill->incReserve(topData.count() + 2); in gen_paths()
38 fill->incReserve(2 * topData.count()); in gen_paths()
47 fill->moveTo(x, topData[leftShift]); in gen_paths()
51 fill->lineTo(x, topData[i + leftShift]); in gen_paths()
57 fill->lineTo(x, topData[i]); in gen_paths()
67 fill->lineTo(x, (*bottomData)[leftShift - 1 - i]); in gen_paths()
71 fill in gen_paths()
28 gen_paths(const SkTDArray<SkScalar>& topData, const SkTDArray<SkScalar>* bottomData, SkScalar yBase, SkScalar xLeft, SkScalar xDelta, int leftShift, SkPathBuilder* plot, SkPathBuilder* fill) gen_paths() argument
[all...]
/third_party/skia/bench/
H A DChartBench.cpp30 // Generates a path to stroke along the top of each plot and a fill path for the area below each
31 // plot. The fill path is bounded below by the bottomData plot points or a horizontal line at
39 SkPath* plot, SkPath* fill) { in gen_paths()
41 fill->rewind(); in gen_paths()
44 fill->incReserve(topData.count() + 2); in gen_paths()
46 fill->incReserve(2 * topData.count()); in gen_paths()
55 fill->moveTo(x, topData[leftShift]); in gen_paths()
59 fill->lineTo(x, topData[i + leftShift]); in gen_paths()
65 fill->lineTo(x, topData[i]); in gen_paths()
75 fill in gen_paths()
34 gen_paths(const SkTDArray<SkScalar>& topData, const SkTDArray<SkScalar>* bottomData, SkScalar yBase, SkScalar xLeft, SkScalar xDelta, int leftShift, SkPath* plot, SkPath* fill) gen_paths() argument
[all...]
/third_party/python/Tools/demo/
H A Dsortvisu.py37 self.frame.pack(fill=X)
111 self.canvas.itemconfig(item, fill='red')
113 self.canvas.itemconfig(item, fill='orange')
119 self.canvas.itemconfig(item, fill='red')
203 fill='red', outline='black', width=1)
265 myfill = self.canvas.itemcget(self.item_id, 'fill')
266 otherfill = self.canvas.itemcget(other.item_id, 'fill')
267 self.canvas.itemconfig(self.item_id, fill='green')
268 self.canvas.itemconfig(other.item_id, fill='yellow')
274 self.canvas.itemconfig(self.item_id, fill
[all...]
H A Dredemo.py15 self.promptdisplay.pack(side=TOP, fill=X)
18 self.regexdisplay.pack(fill=X)
24 self.statusdisplay.pack(side=TOP, fill=X)
28 self.labeldisplay.pack(fill=X)
29 self.labeldisplay.pack(fill=X)
32 self.showframe.pack(fill=X, anchor=W)
52 self.stringdisplay.pack(fill=BOTH, expand=1)
56 self.grouplabel.pack(fill=X)
59 self.grouplist.pack(expand=1, fill=BOTH)
83 frame.pack(fill
[all...]
/third_party/skia/experimental/c-api-example/
H A Dskia-c-example.c36 sk_paint_t* fill = sk_paint_new(); in draw() local
37 sk_paint_set_color(fill, sk_color_set_argb(0xFF, 0x00, 0x00, 0xFF)); in draw()
38 sk_canvas_draw_paint(canvas, fill); in draw()
40 sk_paint_set_color(fill, sk_color_set_argb(0xFF, 0x00, 0xFF, 0xFF)); in draw()
46 sk_canvas_draw_rect(canvas, &rect, fill); in draw()
63 sk_paint_set_color(fill, sk_color_set_argb(0x80, 0x00, 0xFF, 0x00)); in draw()
69 sk_canvas_draw_oval(canvas, &rect2, fill); in draw()
74 sk_paint_delete(fill); in draw()
/third_party/node/deps/openssl/openssl/crypto/ec/curve448/
H A Df_generic.c23 unsigned int j = 0, fill = 0; in gf_serialize() local
34 if (fill < 8 && j < NLIMBS) { in gf_serialize()
35 buffer |= ((dword_t) red->limb[LIMBPERM(j)]) << fill; in gf_serialize()
36 fill += LIMB_PLACE_VALUE(LIMBPERM(j)); in gf_serialize()
40 fill -= 8; in gf_serialize()
69 unsigned int j = 0, fill = 0; in gf_deserialize() local
77 while (fill < LIMB_PLACE_VALUE(LIMBPERM(i)) && j < nbytes) { in gf_deserialize()
83 buffer |= ((dword_t) sj) << fill; in gf_deserialize()
84 fill += 8; in gf_deserialize()
89 fill in gf_deserialize()
[all...]
/third_party/openssl/crypto/ec/curve448/
H A Df_generic.c23 unsigned int j = 0, fill = 0; in gf_serialize() local
34 if (fill < 8 && j < NLIMBS) { in gf_serialize()
35 buffer |= ((dword_t) red->limb[LIMBPERM(j)]) << fill; in gf_serialize()
36 fill += LIMB_PLACE_VALUE(LIMBPERM(j)); in gf_serialize()
40 fill -= 8; in gf_serialize()
69 unsigned int j = 0, fill = 0; in gf_deserialize() local
77 while (fill < LIMB_PLACE_VALUE(LIMBPERM(i)) && j < nbytes) { in gf_deserialize()
83 buffer |= ((dword_t) sj) << fill; in gf_deserialize()
84 fill += 8; in gf_deserialize()
89 fill in gf_deserialize()
[all...]
/third_party/python/Modules/_decimal/tests/
H A Dformathelper.py212 # Check if an integer can be converted to a valid fill character.
223 # fill characters by decimal.py.
229 # Return random fill character.
237 # [[fill]align][sign][#][0][width][.precision][type]
238 def rand_format(fill, typespec='EeGgFfn%'):
243 if elem == 0: # fill+align
244 s += fill
266 # [[fill]align][sign][#][0][width][,][.precision][type]
269 for fill in ('', 'x'):
270 if align == '': fill
[all...]
/third_party/typescript/tests/baselines/reference/
H A DtypeOfOnTypeArg.js4 function fill<B extends typeof A>(f: B) {
8 fill(32);
13 function fill(f) { function
15 fill(32);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DFormatCommon.h52 fill(S, PadAmount); in format()
56 fill(S, X); in format()
58 fill(S, PadAmount - X); in format()
62 fill(S, PadAmount); in format()
69 void fill(llvm::raw_ostream &S, uint32_t Count) { in fill() function

Completed in 9 milliseconds

12345678910>>...26