Home
last modified time | relevance | path

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

12345678910>>...46

/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...]
/kernel/linux/linux-6.6/tools/testing/selftests/sgx/
H A Dtest_encl_bootstrap.S13 .fill 1, 8, 0 # STATE (set by CPU)
14 .fill 1, 8, 0 # FLAGS
16 .fill 1, 4, 0 # CSSA (set by CPU)
17 .fill 1, 4, 1 # NSSA
19 .fill 1, 8, 0 # AEP (set by EENTER and ERESUME)
20 .fill 1, 8, 0 # OFSBASE
21 .fill 1, 8, 0 # OGSBASE
22 .fill 1, 4, 0xFFFFFFFF # FSLIMIT
23 .fill 1, 4, 0xFFFFFFFF # GSLIMIT
24 .fill 402
[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...]
/kernel/linux/linux-5.10/lib/
H A Ddecompress_unlz4.c32 long (*fill)(void *, unsigned long), in unlz4()
63 if (input && fill) { in unlz4()
64 error("Both input pointer and fill function provided,"); in unlz4()
68 } else if (!fill) { in unlz4()
69 error("NULL input pointer and missing fill function"); in unlz4()
83 if (fill) { in unlz4()
84 size = fill(inp, 4); in unlz4()
93 if (!fill) { in unlz4()
107 if (fill) { in unlz4()
108 size = fill(in in unlz4()
207 __decompress(unsigned char *buf, long in_len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *output, long out_len, long *posp, void (*error)(char *x) ) __decompress() argument
[all...]
H A Ddecompress_unlzo.c99 long (*fill)(void *, unsigned long), in unlzo()
124 if (input && fill) { in unlzo()
125 error("Both input pointer and fill function provided, don't know what to do"); in unlzo()
129 } else if (!fill) { in unlzo()
130 error("NULL input pointer and missing fill function"); in unlzo()
144 if (fill) { in unlzo()
152 in_len = fill(in_buf, HEADER_SIZE_MAX); in unlzo()
162 if (fill) { in unlzo()
173 if (fill && in_len < 4) { in unlzo()
174 skip = fill(in_bu in unlzo()
278 __decompress(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long olen, long *pos, void (*error)(char *x)) __decompress() argument
[all...]
H A Ddecompress_inflate.c43 long (*fill)(void*, unsigned long), in __gunzip()
94 if (!fill) in __gunzip()
95 fill = nofill; in __gunzip()
98 len = fill(zbuf, GZIP_IOBUF_SIZE); in __gunzip()
146 /* TODO: handle case where both pos and fill are set */ in __gunzip()
147 len = fill(zbuf, GZIP_IOBUF_SIZE); in __gunzip()
201 long (*fill)(void*, unsigned long), in gunzip()
207 return __gunzip(buf, len, fill, flush, out_buf, 0, pos, error); in gunzip()
211 long (*fill)(void*, unsigned long), in __decompress()
217 return __gunzip(buf, len, fill, flus in __decompress()
42 __gunzip(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long out_len, long *pos, void(*error)(char *x)) __gunzip() argument
200 gunzip(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long *pos, void (*error)(char *x)) gunzip() argument
210 __decompress(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long out_len, long *pos, void (*error)(char *x)) __decompress() argument
[all...]
H A Dbtree.c417 int fill; in btree_grow() local
423 fill = getfill(geo, head->node, 0); in btree_grow()
424 setkey(geo, node, 0, bkey(geo, head->node, fill - 1)); in btree_grow()
435 int fill; in btree_shrink() local
441 fill = getfill(geo, node, 0); in btree_shrink()
442 BUG_ON(fill > 1); in btree_shrink()
453 int i, pos, fill, err; in btree_insert_level() local
465 fill = getfill(geo, node, pos); in btree_insert_level()
467 BUG_ON(pos < fill && keycmp(geo, node, pos, key) == 0); in btree_insert_level()
469 if (fill in btree_insert_level()
540 rebalance(struct btree_head *head, struct btree_geo *geo, unsigned long *key, int level, unsigned long *child, int fill) rebalance() argument
595 int i, pos, fill; btree_remove_level() local
[all...]
/kernel/linux/linux-6.6/lib/
H A Ddecompress_unlz4.c32 long (*fill)(void *, unsigned long), in unlz4()
63 if (input && fill) { in unlz4()
64 error("Both input pointer and fill function provided,"); in unlz4()
68 } else if (!fill) { in unlz4()
69 error("NULL input pointer and missing fill function"); in unlz4()
83 if (fill) { in unlz4()
84 size = fill(inp, 4); in unlz4()
93 if (!fill) { in unlz4()
107 if (fill) { in unlz4()
108 size = fill(in in unlz4()
207 __decompress(unsigned char *buf, long in_len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *output, long out_len, long *posp, void (*error)(char *x) ) __decompress() argument
[all...]
H A Ddecompress_unlzo.c98 long (*fill)(void *, unsigned long), in unlzo()
123 if (input && fill) { in unlzo()
124 error("Both input pointer and fill function provided, don't know what to do"); in unlzo()
128 } else if (!fill) { in unlzo()
129 error("NULL input pointer and missing fill function"); in unlzo()
143 if (fill) { in unlzo()
151 in_len = fill(in_buf, HEADER_SIZE_MAX); in unlzo()
161 if (fill) { in unlzo()
172 if (fill && in_len < 4) { in unlzo()
173 skip = fill(in_bu in unlzo()
277 __decompress(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long olen, long *pos, void (*error)(char *x)) __decompress() argument
[all...]
H A Ddecompress_inflate.c43 long (*fill)(void*, unsigned long), in __gunzip()
94 if (!fill) in __gunzip()
95 fill = nofill; in __gunzip()
98 len = fill(zbuf, GZIP_IOBUF_SIZE); in __gunzip()
146 /* TODO: handle case where both pos and fill are set */ in __gunzip()
147 len = fill(zbuf, GZIP_IOBUF_SIZE); in __gunzip()
201 long (*fill)(void*, unsigned long), in gunzip()
207 return __gunzip(buf, len, fill, flush, out_buf, 0, pos, error); in gunzip()
211 long (*fill)(void*, unsigned long), in __decompress()
217 return __gunzip(buf, len, fill, flus in __decompress()
42 __gunzip(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long out_len, long *pos, void(*error)(char *x)) __gunzip() argument
200 gunzip(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long *pos, void (*error)(char *x)) gunzip() argument
210 __decompress(unsigned char *buf, long len, long (*fill)(void*, unsigned long), long (*flush)(void*, unsigned long), unsigned char *out_buf, long out_len, long *pos, void (*error)(char *x)) __decompress() argument
[all...]
H A Dbtree.c413 int fill; in btree_grow() local
419 fill = getfill(geo, head->node, 0); in btree_grow()
420 setkey(geo, node, 0, bkey(geo, head->node, fill - 1)); in btree_grow()
431 int fill; in btree_shrink() local
437 fill = getfill(geo, node, 0); in btree_shrink()
438 BUG_ON(fill > 1); in btree_shrink()
449 int i, pos, fill, err; in btree_insert_level() local
461 fill = getfill(geo, node, pos); in btree_insert_level()
463 BUG_ON(pos < fill && keycmp(geo, node, pos, key) == 0); in btree_insert_level()
465 if (fill in btree_insert_level()
536 rebalance(struct btree_head *head, struct btree_geo *geo, unsigned long *key, int level, unsigned long *child, int fill) rebalance() argument
591 int i, pos, fill; btree_remove_level() local
[all...]
/kernel/linux/linux-5.10/arch/ia64/kernel/
H A Dhead.S647 ldf.fill.nta f32=[in0],loc0
648 ldf.fill.nta f40=[ r3],loc0
649 ldf.fill.nta f48=[r14],loc0
650 ldf.fill.nta f56=[r15],loc0
652 ldf.fill.nta f64=[in0],loc0
653 ldf.fill.nta f72=[ r3],loc0
654 ldf.fill.nta f80=[r14],loc0
655 ldf.fill.nta f88=[r15],loc0
657 ldf.fill.nta f96=[in0],loc1
658 ldf.fill
[all...]
H A Dentry.S94 ldf.fill f12=[sp]; mov f13=f0; mov b5=r0
95 ldf.fill f14=[sp]; ldf.fill f15=[sp]; mov f16=f0
96 ldf.fill f17=[sp]; ldf.fill f18=[sp]; mov f19=f0
97 ldf.fill f20=[sp]; ldf.fill f21=[sp]; mov f22=f0
98 ldf.fill f23=[sp]; ldf.fill f24=[sp]; mov f25=f0
99 ldf.fill f2
[all...]
/kernel/linux/linux-6.6/arch/ia64/kernel/
H A Dhead.S640 ldf.fill.nta f32=[in0],loc0
641 ldf.fill.nta f40=[ r3],loc0
642 ldf.fill.nta f48=[r14],loc0
643 ldf.fill.nta f56=[r15],loc0
645 ldf.fill.nta f64=[in0],loc0
646 ldf.fill.nta f72=[ r3],loc0
647 ldf.fill.nta f80=[r14],loc0
648 ldf.fill.nta f88=[r15],loc0
650 ldf.fill.nta f96=[in0],loc1
651 ldf.fill
[all...]
H A Dentry.S93 ldf.fill f12=[sp]; mov f13=f0; mov b5=r0
94 ldf.fill f14=[sp]; ldf.fill f15=[sp]; mov f16=f0
95 ldf.fill f17=[sp]; ldf.fill f18=[sp]; mov f19=f0
96 ldf.fill f20=[sp]; ldf.fill f21=[sp]; mov f22=f0
97 ldf.fill f23=[sp]; ldf.fill f24=[sp]; mov f25=f0
98 ldf.fill f2
[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...]
/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/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/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...]
/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...]

Completed in 11 milliseconds

12345678910>>...46