Searched defs:slice (Results 1 - 25 of 30) sorted by relevance

12

/external/webkit/Source/WebCore/inspector/front-end/
H A DTimelineGrid.js62 var slice = calculator.boundarySpan / dividerCount; variable
63 if (!force && this._currentDividerSlice === slice)
68 this._currentDividerSlice = slice;
112 if (!isNaN(slice))
113 dividerLabelBar._labelElement.textContent = calculator.formatValue(slice * i);
H A DExtensionAPI.js74 var listeners = this._listeners.slice();
319 node.contents = Array.prototype.slice.call(arguments);
337 arguments: Array.prototype.slice.call(arguments, 1) method
455 var args = Array.prototype.slice.call(arguments, 2);
456 return function() { return func.apply(thisObject, args.concat(Array.prototype.slice.call(arguments, 0))); };
/external/v8/test/mjsunit/
H A Dregexp-string-methods.js28 // Regexp shouldn't use String.prototype.slice()
30 assertEquals("f", s.slice(0,1));
31 String.prototype.slice = function() { return "x"; };
32 assertEquals("x", s.slice(0,1));
H A Darray-functions-prototype-misc.js29 * @fileoverview Test splice, shift, unshift, slice and join on small
71 return array.slice(start, len);
105 return Array.prototype.slice.call(array, start, len);
/external/jsilver/src/com/google/streamhtmlparser/util/
H A DJavascriptTokenBuffer.java206 return slice(position + 1, end);
210 * Returns a slice of the buffer delimited by the given indices.
213 * slice to copy. If the start argument extends beyond the beginning
214 * of the buffer, the slice will only contain characters
222 public String slice(int start, int end) { method in class:JavascriptTokenBuffer
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
H A DByteArray.java29 * can "reveal" a partial slice of the underlying array.
37 /** <code>&gt;= 0</code>; start index of the slice (inclusive) */
48 * @param start <code>&gt;= 0</code>; start index of the slice (inclusive)
50 * the slice (exclusive)
93 * Returns a slice (that is, a sub-array) of this instance.
95 * @param start <code>&gt;= 0</code>; start index of the slice (inclusive)
97 * the slice (exclusive)
98 * @return non-null; the slice
100 public ByteArray slice(int start, int end) { method in class:ByteArray
/external/webkit/Source/WebCore/html/canvas/
H A DDataView.h42 virtual PassRefPtr<ArrayBufferView> slice(int, int) const { return 0; } function in class:WebCore::DataView
/external/llvm/include/llvm/ADT/
H A DArrayRef.h112 /// slice(n) - Chop off the first N elements of the array.
113 ArrayRef<T> slice(unsigned N) const { function in class:llvm::ArrayRef
118 /// slice(n, m) - Chop off the first N elements of the array, and keep M
120 ArrayRef<T> slice(unsigned N, unsigned M) const { function in class:llvm::ArrayRef
210 /// slice(n) - Chop off the first N elements of the array.
211 MutableArrayRef<T> slice(unsigned N) const { function in class:llvm::ArrayRef
216 /// slice(n, m) - Chop off the first N elements of the array, and keep M
218 MutableArrayRef<T> slice(unsigned N, unsigned M) const { function in class:llvm::ArrayRef
H A DSmallString.h248 /// slice - Return a reference to the substring from [Start, End).
258 StringRef slice(size_t Start, size_t End) const { function in class:llvm::SmallString
259 return str().slice(Start, End);
/external/dexmaker/src/dx/java/com/android/dx/util/
H A DByteArray.java25 * can "reveal" a partial slice of the underlying array.
33 /** {@code >= 0}; start index of the slice (inclusive) */
44 * @param start {@code >= 0;} start index of the slice (inclusive)
46 * the slice (exclusive)
89 * Returns a slice (that is, a sub-array) of this instance.
91 * @param start {@code >= 0;} start index of the slice (inclusive)
93 * the slice (exclusive)
94 * @return {@code non-null;} the slice
96 public ByteArray slice(int start, int end) { method in class:ByteArray
/external/v8/src/
H A Dregexp-macro-assembler.cc132 SlicedString* slice = SlicedString::cast(subject_ptr); local
133 subject_ptr = slice->parent();
134 slice_offset = slice->offset();
/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A Dstreams.py878 def slice(self, start, stop): member in class:CommonTokenStream
/external/guava/guava/src/com/google/common/io/
H A DByteStreams.java826 public static InputSupplier<InputStream> slice( method in class:ByteStreams
/external/opencv/cv/src/
H A Dcvapprox.cpp523 CvSlice slice = {0, 0}, right_slice = {0, 0}; local
557 slice.start_index = 0;
558 slice.end_index = count - 1;
559 cvSeqPush( stack, &slice );
602 slice.start_index = cvGetSeqReaderPos( &reader );
603 slice.end_index = right_slice.start_index += slice.start_index;
606 right_slice.end_index = slice.start_index;
611 cvSeqPush( stack, &slice );
620 cvSeqPop( stack, &slice );
727 CvSlice slice = {0, 0}, right_slice = {0, 0}; local
[all...]
H A Dcvshapedescr.cpp45 cvArcLength( const void *array, CvSlice slice, int is_closed ) argument
83 cvSetSeqReaderPos( &reader, slice.start_index );
84 count = cvSliceLength( slice, contour );
558 static CvStatus icvContourSecArea( CvSeq * contour, CvSlice slice, double *area ) argument
580 lpt = cvSliceLength( slice, contour );
601 cvSetSeqReaderPos( &reader, slice.start_index );
604 cvSetSeqReaderPos( &reader, slice.end_index );
610 cvSetSeqReaderPos( &reader, slice.start_index );
728 cvContourArea( const void *array, CvSlice slice )
752 if( cvSliceLength( slice, contou
[all...]
/external/v8/src/arm/
H A Dregexp-macro-assembler-arm.cc1073 // Extract the underlying string and the slice offset.
1077 SlicedString* slice = SlicedString::cast(*subject_tmp); variable
1078 subject_tmp = Handle<String>(slice->parent());
1079 slice_offset = slice->offset();
/external/v8/src/ia32/
H A Dregexp-macro-assembler-ia32.cc1103 // Extract the underlying string and the slice offset.
1107 SlicedString* slice = SlicedString::cast(*subject_tmp); local
1108 subject_tmp = Handle<String>(slice->parent());
1109 slice_offset = slice->offset();
/external/v8/test/cctest/
H A Dtest-strings.cc494 Handle<String> slice = FACTORY->NewSubString(parent, 1, 25); local
497 CHECK(slice->IsSlicedString());
498 CHECK_EQ(SlicedString::cast(*slice)->parent(),
500 CHECK(SlicedString::cast(*slice)->parent()->IsSeqString());
501 CHECK(slice->IsFlat());
525 Handle<String> slice = FACTORY->NewSubString(string, 1, 25); local
526 CHECK(slice->IsSlicedString());
528 CHECK_EQ(SlicedString::cast(*slice)->parent(), *string);
529 CHECK(SlicedString::cast(*slice)->parent()->IsExternalString());
530 CHECK(slice
572 const char* slice = "var slice = str.slice(1,-1); slice"; local
[all...]
/external/webkit/Source/WebCore/inspector/front-end/UglifyJS/
H A Dparse-js.js689 return slice(arguments);
1194 var args = slice(arguments, 1);
1195 return function() { return f.apply(this, args.concat(slice(arguments))); };
1213 function slice(a, start) { function
1214 return Array.prototype.slice.call(a, start == null ? 0 : start);
1236 exports.slice = slice;
/external/bluetooth/glib/glib/
H A Dgslice.c177 /* --- g-slice prototypes --- */
190 /* --- g-slice memory checker --- */
895 gpointer slice = mem_chain; local
917 while (slice)
919 guint8 *current = slice;
920 slice = *(gpointer*) (current + next_offset);
938 while (slice)
940 guint8 *current = slice;
941 slice = *(gpointer*) (current + next_offset);
952 while (slice)
[all...]
/external/opencv/cxcore/src/
H A Dcxdatastructs.cpp609 cvSliceLength( CvSlice slice, const CvSeq* seq ) argument
612 int length = slice.end_index - slice.start_index;
616 if( slice.start_index < 0 )
617 slice.start_index += total;
618 if( slice.end_index <= 0 )
619 slice.end_index += total;
621 length = slice.end_index - slice.start_index;
639 cvCvtSeqToArray( const CvSeq *seq, void *array, CvSlice slice )
1841 cvSeqSlice( const CvSeq* seq, CvSlice slice, CvMemStorage* storage, int copy_data ) argument
[all...]
/external/chromium/chrome/common/extensions/
H A Dextension.cc1543 int slice = std::min<int>(input.length() - i, kPEMOutputColumns); local
1544 output->append(input.substr(i, slice));
1546 i += slice;
/external/webkit/PerformanceTests/SunSpider/tests/parse-only/
H A Dmootools-1.2.2-core-nc.js75 var args = Array.prototype.slice.call(arguments);
98 'Array': ["concat", "indexOf", "join", "lastIndexOf", "pop", "push", "reverse", "shift", "slice", "sort", "splice", "toString", "unshift", "valueOf"],
99 'String': ["charAt", "charCodeAt", "concat", "indexOf", "lastIndexOf", "match", "replace", "search", "slice", "split", "substr", "substring", "toLowerCase", "toUpperCase", "valueOf"]
162 return Array.prototype.slice.call(iterable);
208 var args = Array.slice(arguments);
609 args = (args != undefined) ? $splat(args) : Array.slice(arguments, (options.event) ? 1 : 0);
756 return (hex) ? hex.slice(1).hexToRgb(array) : null;
777 if (match.charAt(0) == '\\') return match.slice(1);
1614 (property && property.set) ? property.set.apply(this, Array.slice(arguments, 1)) : this.setProperty(prop, value);
1621 return (property && property.get) ? property.get.apply(this, Array.slice(argument
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.p2.director_2.0.3.R36x_v20101117-1018.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/opencv/cxcore/include/
H A Dcxtypes.h1098 CvSlice slice; local
1099 slice.start_index = start;
1100 slice.end_index = end;
1102 return slice;

Completed in 553 milliseconds

12