/external/v8/test/mjsunit/es6/ |
D | typedarray-slice.js | 21 assertEquals(0, array.slice(0, 0).length); 22 assertEquals(0, array.slice(1, 0).length); 23 assertEquals(0, array.slice(0, 1).length); 24 assertEquals(0, array.slice(-1, 0).length); 32 assertEquals(array, array.slice()); 33 assertEquals(array, array.slice(0)); 34 assertEquals(array, array.slice(undefined)); 35 assertEquals(array, array.slice("foobar")); 36 assertEquals(array, array.slice(undefined, undefined)); 43 assertEquals(7, array.slice(-100).length); [all …]
|
/external/v8/test/mjsunit/ |
D | array-slice.js | 32 var sliced = array.slice(); 42 assertEquals([], [].slice(0, 0)); 43 assertEquals([], [].slice(1, 0)); 44 assertEquals([], [].slice(0, 1)); 45 assertEquals([], [].slice(-1, 0)); 55 assertEquals(array, array.slice()); 56 assertEquals(array, array.slice(0)); 57 assertEquals(array, array.slice(undefined)); 58 assertEquals(array, array.slice("foobar")); 59 assertEquals(array, array.slice(undefined, undefined)); [all …]
|
D | string-slices-regexp.js | 36 var str = "_Avtnennan gunzvmu pubExnY nEvln vaTxh rmuhguhaTxnY_".slice(1,-1); 41 assertEquals("a.yb", "_axyb_".slice(1,-1).replace(re, ".")); 43 assertEquals("ax.b", "_axyb_".slice(1,-1).replace(re, ".")); 45 assertEquals(["x", "x"], re.exec("_axyb_".slice(1,-1))); 47 assertEquals(["y", "y"], re.exec("_axyb_".slice(1,-1))); 50 var a = "aaaaaaaaaaaaaaaaaaaaaaaabbaacabbabaaaaabbaaaabbac".slice(24,-1); 62 var c = "ABCDEFGHIJKLMN".slice(2,-2); 63 var d = "ABCDEF\u1234GHIJKLMN".slice(2,-2); 64 var e = "ABCDEFGHIJKLMN".slice(0,-2); 72 var e = "qui-opIasd-fghjklzx-cvbn-mqwer-tyuio-pasdf-ghIjkl-zx".slice(6,-6);
|
D | array-natives-elements.js | 107 assertTrue(%HasFastSmiElements(a2.slice())); 108 assertTrue(%HasFastSmiElements(a2.slice(1))); 109 assertTrue(%HasFastSmiElements(a2.slice(1, 2))); 110 assertEquals([1,2,3], a2.slice()); 111 assertEquals([2,3], a2.slice(1)); 112 assertEquals([2], a2.slice(1,2)); 114 assertTrue(%HasFastDoubleElements(a2.slice())); 115 assertTrue(%HasFastDoubleElements(a2.slice(1))); 116 assertTrue(%HasFastDoubleElements(a2.slice(1, 2))); 117 assertEquals([1.1,2,3], a2.slice()); [all …]
|
D | string-slices.js | 152 slice = "abcdefghijklmn12345".slice(1, -1); 154 f(flat, cons, slice, i); 158 slice = "abcdefghijklmn1\u20232345".slice(1, -1); 160 f(flat, cons, slice, i); 167 slice = "abcdefghijklmn12345".slice(1, -1); 170 assertEquals("cdefg", slice.substr(1, 5)); 175 slice = "abc\u1234defghijklmn12345".slice(1, -1); 178 assertEquals("c\u1234def", slice.substr(1, 5)); 199 assertEquals(a.slice(1,-1), b); 205 assertEquals(a.slice(1,-1), b); [all …]
|
D | debug-sourceslice.js | 63 var slice = script.sourceSlice(n, n + slice_size); variable 64 assertEquals(n, slice.from_line); 65 assertEquals(n + slice_size, slice.to_line); 67 var text = slice.sourceText();
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
D | intel_mipmap_tree.c | 533 free((*mt)->level[i].slice); in intel_miptree_release() 616 assert(mt->level[level].slice == NULL); in intel_miptree_set_level_info() 618 mt->level[level].slice = calloc(d, sizeof(*mt->level[0].slice)); in intel_miptree_set_level_info() 619 mt->level[level].slice[0].x_offset = mt->level[level].level_x; in intel_miptree_set_level_info() 620 mt->level[level].slice[0].y_offset = mt->level[level].level_y; in intel_miptree_set_level_info() 634 mt->level[level].slice[img].x_offset = mt->level[level].level_x + x; in intel_miptree_set_image_offset() 635 mt->level[level].slice[img].y_offset = mt->level[level].level_y + y; in intel_miptree_set_image_offset() 639 mt->level[level].slice[img].x_offset, in intel_miptree_set_image_offset() 640 mt->level[level].slice[img].y_offset); in intel_miptree_set_image_offset() 654 int slice; in intel_miptree_get_image_offset() local [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_mipmap_tree.c | 533 free((*mt)->level[i].slice); in intel_miptree_release() 616 assert(mt->level[level].slice == NULL); in intel_miptree_set_level_info() 618 mt->level[level].slice = calloc(d, sizeof(*mt->level[0].slice)); in intel_miptree_set_level_info() 619 mt->level[level].slice[0].x_offset = mt->level[level].level_x; in intel_miptree_set_level_info() 620 mt->level[level].slice[0].y_offset = mt->level[level].level_y; in intel_miptree_set_level_info() 634 mt->level[level].slice[img].x_offset = mt->level[level].level_x + x; in intel_miptree_set_image_offset() 635 mt->level[level].slice[img].y_offset = mt->level[level].level_y + y; in intel_miptree_set_image_offset() 639 mt->level[level].slice[img].x_offset, in intel_miptree_set_image_offset() 640 mt->level[level].slice[img].y_offset); in intel_miptree_set_image_offset() 654 int slice; in intel_miptree_get_image_offset() local [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_mipmap_tree.c | 533 free((*mt)->level[i].slice); in intel_miptree_release() 616 assert(mt->level[level].slice == NULL); in intel_miptree_set_level_info() 618 mt->level[level].slice = calloc(d, sizeof(*mt->level[0].slice)); in intel_miptree_set_level_info() 619 mt->level[level].slice[0].x_offset = mt->level[level].level_x; in intel_miptree_set_level_info() 620 mt->level[level].slice[0].y_offset = mt->level[level].level_y; in intel_miptree_set_level_info() 634 mt->level[level].slice[img].x_offset = mt->level[level].level_x + x; in intel_miptree_set_image_offset() 635 mt->level[level].slice[img].y_offset = mt->level[level].level_y + y; in intel_miptree_set_image_offset() 639 mt->level[level].slice[img].x_offset, in intel_miptree_set_image_offset() 640 mt->level[level].slice[img].y_offset); in intel_miptree_set_image_offset() 654 int slice; in intel_miptree_get_image_offset() local [all …]
|
/external/fio/profiles/ |
D | act.c | 298 struct act_slice *slice; in act_io_u_lat() local 312 slice = &apd->slices[apd->cur_slice]; in act_io_u_lat() 313 slice->total_ios++; in act_io_u_lat() 317 slice->lat_buckets[i]++; in act_io_u_lat() 327 perm = (1000.0 * slice->lat_buckets[i]) / slice->total_ios; in act_io_u_lat() 348 static int show_slice(struct act_slice *slice, unsigned int slice_num) in show_slice() argument 357 if (slice->total_ios) in show_slice() 358 perc = 100.0 * (double) slice->lat_buckets[i] / (double) slice->total_ios; in show_slice() 366 if (slice->total_ios) in show_slice() 367 perc = 100.0 * (double) slice->lat_buckets[i] / (double) slice->total_ios; in show_slice() [all …]
|
/external/opencv/cv/src/ |
D | cvapprox.cpp | 523 CvSlice slice = {0, 0}, right_slice = {0, 0}; in icvApproxPolyDP_32s() local 557 slice.start_index = 0; in icvApproxPolyDP_32s() 558 slice.end_index = count - 1; in icvApproxPolyDP_32s() 559 cvSeqPush( stack, &slice ); in icvApproxPolyDP_32s() 602 slice.start_index = cvGetSeqReaderPos( &reader ); in icvApproxPolyDP_32s() 603 slice.end_index = right_slice.start_index += slice.start_index; in icvApproxPolyDP_32s() 606 right_slice.end_index = slice.start_index; in icvApproxPolyDP_32s() 611 cvSeqPush( stack, &slice ); in icvApproxPolyDP_32s() 620 cvSeqPop( stack, &slice ); in icvApproxPolyDP_32s() 622 cvSetSeqReaderPos( &reader, slice.end_index ); in icvApproxPolyDP_32s() [all …]
|
/external/opencv3/3rdparty/openexr/IlmImf/ |
D | ImfScanLineInputFile.cpp | 523 const InSliceInfo &slice = _ifd->slices[i]; in execute() local 525 if (modp (y, slice.ySampling) != 0) in execute() 534 int dMinX = divp (_ifd->minX, slice.xSampling); in execute() 535 int dMaxX = divp (_ifd->maxX, slice.xSampling); in execute() 541 if (slice.skip) in execute() 548 skipChannel (readPtr, slice.typeInFile, dMaxX - dMinX + 1); in execute() 556 char *linePtr = slice.base + in execute() 557 divp (y, slice.ySampling) * in execute() 558 slice.yStride; in execute() 560 char *writePtr = linePtr + dMinX * slice.xStride; in execute() [all …]
|
D | ImfOutputFile.cpp | 373 const OutSliceInfo &slice = ofd->slices[i]; in convertToXdr() local 375 if (modp (y, slice.ySampling) != 0) in convertToXdr() 384 int dMinX = divp (ofd->minX, slice.xSampling); in convertToXdr() 385 int dMaxX = divp (ofd->maxX, slice.xSampling); in convertToXdr() 391 convertInPlace (writePtr, readPtr, slice.type, dMaxX - dMinX + 1); in convertToXdr() 519 const OutSliceInfo &slice = _ofd->slices[i]; in execute() local 521 if (modp (y, slice.ySampling) != 0) in execute() 530 int dMinX = divp (_ofd->minX, slice.xSampling); in execute() 531 int dMaxX = divp (_ofd->maxX, slice.xSampling); in execute() 537 if (slice.zero) in execute() [all …]
|
D | ImfTiledInputFile.cpp | 512 const TInSliceInfo &slice = _ifd->slices[i]; in execute() local 519 int xOffset = slice.xTileCoords * tileRange.min.x; in execute() 520 int yOffset = slice.yTileCoords * tileRange.min.y; in execute() 526 if (slice.skip) in execute() 533 skipChannel (readPtr, slice.typeInFile, in execute() 542 char *writePtr = slice.base + in execute() 543 (y - yOffset) * slice.yStride + in execute() 545 slice.xStride; in execute() 548 (numPixelsPerScanLine - 1) * slice.xStride; in execute() 551 slice.xStride, in execute() [all …]
|
/external/v8/test/mjsunit/regress/ |
D | regress-165637.js | 42 data.slice(4, 1); 54 assertEquals([undefined], holey_array.slice(6, 7)); 55 assertEquals(undefined, holey_array.slice(6, 7)[0]); 56 assertEquals([], holey_array.slice(2, 1)); 57 assertEquals(3, holey_array.slice(2, 3)[0]);
|
D | regress-crbug-229923.js | 30 var slice = "slow path of JSON.stringify for sliced string".substring(1); variable 31 assertEquals('"' + slice + '"', JSON.stringify(slice, null, 0));
|
/external/v8/test/mjsunit/harmony/ |
D | arraybuffer-species.js | 10 assertEquals(MyArrayBuffer, new MyArrayBuffer(0).slice().constructor); 15 assertThrows(() => new MyShortArrayBuffer(5).slice(0, 4), TypeError); 24 assertThrows(() => new SingletonArrayBuffer(5).slice(0, 4), TypeError); 31 assertThrows(() => new NonArrayBuffer(5).slice(0, 4), TypeError); 36 assertEquals(ArrayBuffer, new UndefinedArrayBuffer(0).slice().constructor);
|
D | array-species.js | 17 assertEquals(MyArray, new MyArray().slice().constructor); 28 assertEquals(MyArray, new MyOtherArray().slice().constructor); 44 Array.prototype.slice.call(new MyNonArray()).constructor); 53 assertEquals(0, Array.prototype.slice.call(new MyNonArray()).length); 101 assertThrows(() => new FrozenArray([1]).slice(0, 1), TypeError); 136 new MyObservedArray().slice().constructor);
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/ |
D | shape-handler.js | 59 return scope.mergeList(left.slice(1), right.slice(1), [ 67 return scope.mergeList(left.slice(1), right.slice(1), [ 75 return scope.mergeList(left.slice(2), right.slice(2), [
|
/external/icu/icu4c/source/data/lang/ |
D | sk.txt | 660 no{"Radiť číslice jednotlivo"} 703 arab{"arabsko-indické číslice"} 704 arabext{"rozšírené arabsko-indické číslice"} 705 armn{"arménske číslice"} 706 armnlow{"malé arménske číslice"} 707 beng{"bengálske číslice"} 708 deva{"číslice dévanágarí"} 709 ethi{"etiópske číslice"} 711 fullwide{"číslice s celou šírkou"} 712 geor{"gruzínske číslice"} [all …]
|
D | cs.txt | 856 no{"Řadit číslice jednotlivě"} 857 yes{"Řadit číslice numericky"} 901 arab{"Arabsko-indické číslice"} 902 arabext{"Rozšířené arabsko-indické číslice"} 903 armn{"Arménské číslice"} 904 armnlow{"Malé arménské číslice"} 905 bali{"Balijské číslice"} 906 beng{"Bengálské číslice"} 907 deva{"Číslice písma dévanágarí"} 908 ethi{"Etiopské číslice"} [all …]
|
/external/v8/test/mjsunit/tools/ |
D | tickprocessor.js | 86 shell_syms.push(Array.prototype.slice.apply(arguments, [0])); 112 libc_syms.push(Array.prototype.slice.apply(arguments, [0])); 150 shell_syms.push(Array.prototype.slice.apply(arguments, [0])); 173 stdc_syms.push(Array.prototype.slice.apply(arguments, [0])); 216 shell_syms.push(Array.prototype.slice.apply(arguments, [0])); 257 exe_exe_syms.push(Array.prototype.slice.apply(arguments, [0])); 269 exe_dll_syms.push(Array.prototype.slice.apply(arguments, [0])); 280 dll_dll_syms.push(Array.prototype.slice.apply(arguments, [0])); 292 dll_exe_syms.push(Array.prototype.slice.apply(arguments, [0]));
|
/external/libcxx/test/std/numerics/numarray/template.slice.array/slice.arr.assign/ |
D | slice_array.pass.cpp | 26 v1[std::slice(1, 5, 3)] = v2[std::slice(2, 5, 2)]; in main() 50 std::slice_array<int> s1 = v1[std::slice(1, 1, 1)]; in main() 51 std::slice_array<int> s2 = v1[std::slice(0, 1, 1)]; in main()
|
/external/llvm/include/llvm/Support/ |
D | GCOV.h | 60 StringRef File = Buffer->getBuffer().slice(0, 4); in readGCNOFormat() 71 StringRef File = Buffer->getBuffer().slice(0, 4); in readGCDAFormat() 82 StringRef VersionStr = Buffer->getBuffer().slice(Cursor, Cursor + 4); in readGCOVVersion() 105 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); in readFunctionTag() 117 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); in readBlockTag() 129 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); in readEdgeTag() 141 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); in readLineTag() 153 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); in readArcTag() 165 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); in readObjectTag() 177 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor + 4); in readProgramTag() [all …]
|
/external/opencv3/modules/imgproc/src/ |
D | approx.cpp | 479 #define PUSH_SLICE(slice) \ in approxPolyDP_() argument 486 stack[top++] = slice in approxPolyDP_() 501 Range slice(0, 0), right_slice(0, 0); in approxPolyDP_() local 522 slice.start = 0; in approxPolyDP_() 523 slice.end = count - 1; in approxPolyDP_() 524 PUSH_SLICE(slice); in approxPolyDP_() 567 right_slice.end = slice.start = pos % count; in approxPolyDP_() 568 slice.end = right_slice.start = (right_slice.start + slice.start) % count; in approxPolyDP_() 571 PUSH_SLICE(slice); in approxPolyDP_() 580 slice = stack[--top]; in approxPolyDP_() [all …]
|