HomeSort by relevance Sort by last modified time
    Searched refs:slice (Results 176 - 200 of 724) sorted by null

1 2 3 4 5 6 78 91011>>

  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_index.py 38 slc = slice(self.o, self.o, self.o)
39 check_slc = slice(1, 1, 1)
41 slc = slice(self.n, self.n, self.n)
42 check_slc = slice(2, 2, 2)
59 self.assertEqual(slice(TrapInt()).indices(0), (0,0,1))
60 self.assertEqual(slice(TrapLong(0)).indices(0), (0,0,1))
67 self.assertRaises(TypeError, slice(self.o).indices, 0)
68 self.assertRaises(TypeError, slice(self.n).indices, 0)
seq_tests.py 147 self.assertRaises(ValueError, u.__getitem__, slice(0,10,0))
325 self.assertEqual(a.__getitem__(slice(0,1)), self.type2test([10]))
326 self.assertEqual(a.__getitem__(slice(1,2)), self.type2test([11]))
327 self.assertEqual(a.__getitem__(slice(0,2)), self.type2test([10, 11]))
328 self.assertEqual(a.__getitem__(slice(0,3)), self.type2test([10, 11]))
329 self.assertEqual(a.__getitem__(slice(3,5)), self.type2test([]))
330 self.assertRaises(ValueError, a.__getitem__, slice(0, 10, 0))
  /build/tools/droiddoc/templates-ds/assets/scroller/
jquery.mousewheel.min.js 12 (function(a){function d(b){var c=b||window.event,d=[].slice.call(arguments,1),e=0,f=!0,g=0,h=0;return b=a.event.fix(c),b.type="mousewheel",c.wheelDelta&&(e=c.wheelDelta/120),c.detail&&(e=-c.detail/3),h=e,c.axis!==undefined&&c.axis===c.HORIZONTAL_AXIS&&(h=0,g=-1*e),c.wheelDeltaY!==undefined&&(h=c.wheelDeltaY/120),c.wheelDeltaX!==undefined&&(g=-1*c.wheelDeltaX/120),d.unshift(b,e,g,h),(a.event.dispatch||a.event.handle).apply(this,d)}var b=["DOMMouseScroll","mousewheel"];if(a.event.fixHooks)for(var c=b.length;c;)a.event.fixHooks[b[--c]]=a.event.mouseHooks;a.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=b.length;a;)this.addEventListener(b[--a],d,!1);else this.onmousewheel=d},teardown:function(){if(this.removeEventListener)for(var a=b.length;a;)this.removeEventListener(b[--a],d,!1);else this.onmousewheel=null}},a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery)
  /external/chromium_org/chrome/renderer/resources/extensions/
app_custom_bindings.js 25 // fun.apply. Array slice can either be rewritten or similarly defined.
27 $Array.slice(arguments));
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
ProfileDataGridTree.js 238 this._savedChildren = this.children.slice();
269 var children = this.children.slice();
280 children = child.children.slice();
347 this._savedChildren = this.children.slice();
CookieParser.js 78 this._lastCookie.addAttribute(kv.key.slice(1), kv.value);
148 this._input = this._input.slice(keyValueMatch[0].length);
160 this._input = this._input.slice(match[0].length);
HeapSnapshotProxy.js 221 var methodArguments = Array.prototype.slice.call(arguments, 4);
240 var methodArguments = Array.prototype.slice.call(arguments, 3);
335 return this._callWorker("callFactoryMethod", Array.prototype.slice.call(arguments, 0));
340 return this._callWorker("callGetter", Array.prototype.slice.call(arguments, 0));
348 return this._callWorker("callMethod", Array.prototype.slice.call(arguments, 0));
  /external/chromium_org/third_party/WebKit/Tools/TestResultServer/static-dashboards/
base.js 40 var args = Array.prototype.slice.call(arguments, 1);
43 var newArgs = Array.prototype.slice.call(arguments);
  /external/chromium_org/third_party/bintrees/bintrees/
treeslice.py 36 if isinstance(key, slice):
  /external/chromium_org/v8/test/mjsunit/compiler/
regress-serialized-slots.js 40 var args = Array.prototype.slice.call(arguments, 1);
46 args.concat(Array.prototype.slice.call(arguments, 0)));
  /external/chromium_org/v8/test/mjsunit/
deep-recursion.js 59 var slicer = newdeep("slice", slicer_depth);
62 slicer = slicer.slice(1, -1);
  /external/sfntly/cpp/src/sfntly/data/
readable_font_data.cc 257 CALLER_ATTACH FontData* ReadableFontData::Slice(int32_t offset,
266 FontDataPtr slice = new ReadableFontData(this, offset, length); local
267 return slice.Detach();
270 CALLER_ATTACH FontData* ReadableFontData::Slice(int32_t offset) {
278 FontDataPtr slice = new ReadableFontData(this, offset); local
279 return slice.Detach();
  /external/v8/test/mjsunit/compiler/
regress-serialized-slots.js 40 var args = Array.prototype.slice.call(arguments, 1);
46 args.concat(Array.prototype.slice.call(arguments, 0)));
  /external/v8/test/mjsunit/
deep-recursion.js 59 var slicer = newdeep("slice", slicer_depth);
62 slicer = slicer.slice(1, -1);
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
h264bsd_storage.h 85 /* current slice group map, recomputed for each slice */
98 /* store information needed for handling of slice decoding */
99 sliceStorage_t slice[1]; member in struct:__anon31724
128 /* slice header, second structure used as a temporary storage while
129 * decoding slice header, first one stores last successfully decoded
130 * slice header */
  /libcore/luni/src/main/java/java/nio/
CharSequenceAdapter.java 138 public CharBuffer slice() { method in class:CharSequenceAdapter
  /external/chromium_org/tools/telemetry/telemetry/core/timeline/
thread.py 8 import telemetry.core.timeline.slice as tracing_slice
88 """Opens a new slice for the thread.
92 * category: Category to which the slice belongs.
93 * name: Name of the slice to add.
94 * timestamp: The timetsamp of the slice, in milliseconds.
97 Returns newly opened slice
103 tracing_slice.Slice(self, category, name, timestamp, args=args))
106 """ Ends the last begun slice in this group and pushes it onto the slice
109 * end_timestamp: Timestamp when the slice ended in millisecond
    [all...]
  /external/v8/src/
regexp-macro-assembler.cc 132 SlicedString* slice = SlicedString::cast(subject_ptr); local
133 subject_ptr = slice->parent();
134 slice_offset = slice->offset();
  /external/opencv/cxcore/src/
cxdatastructs.cpp 609 cvSliceLength( CvSlice slice, const CvSeq* seq )
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 )
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
seq_tests.py 147 self.assertRaises(ValueError, u.__getitem__, slice(0,10,0))
325 self.assertEqual(a.__getitem__(slice(0,1)), self.type2test([10]))
326 self.assertEqual(a.__getitem__(slice(1,2)), self.type2test([11]))
327 self.assertEqual(a.__getitem__(slice(0,2)), self.type2test([10, 11]))
328 self.assertEqual(a.__getitem__(slice(0,3)), self.type2test([10, 11]))
329 self.assertEqual(a.__getitem__(slice(3,5)), self.type2test([]))
330 self.assertRaises(ValueError, a.__getitem__, slice(0, 10, 0))
  /external/chromium_org/v8/test/mjsunit/tools/
tickprocessor.js 90 shell_syms.push(Array.prototype.slice.apply(arguments, [0]));
116 libc_syms.push(Array.prototype.slice.apply(arguments, [0]));
154 shell_syms.push(Array.prototype.slice.apply(arguments, [0]));
177 stdc_syms.push(Array.prototype.slice.apply(arguments, [0]));
220 shell_syms.push(Array.prototype.slice.apply(arguments, [0]));
261 exe_exe_syms.push(Array.prototype.slice.apply(arguments, [0]));
273 exe_dll_syms.push(Array.prototype.slice.apply(arguments, [0]));
284 dll_dll_syms.push(Array.prototype.slice.apply(arguments, [0]));
296 dll_exe_syms.push(Array.prototype.slice.apply(arguments, [0]));
  /external/v8/test/mjsunit/tools/
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/chromium_org/v8/test/webkit/fast/js/kde/
Array.js 78 shouldBe("[1,2,3,4].slice(1, 3).toString()", "'2,3'");
79 shouldBe("[1,2,3,4].slice(-3, -1).toString()", "'2,3'");
80 shouldBe("[1,2].slice(-9, 0).length", "0");
81 shouldBe("[1,2].slice(1).toString()", "'2'");
82 shouldBe("[1,2].slice().toString()", "'1,2'");
  /external/chromium_org/chrome/browser/resources/signin_internals/
signin_internals.js 97 var args = Array.prototype.slice.call(arguments);
134 var args = Array.prototype.slice.call(arguments);
142 var args = Array.prototype.slice.call(arguments);
  /external/llvm/unittests/ADT/
StringRefTest.cpp 110 TEST(StringRefTest, Slice) {
112 EXPECT_EQ("l", Str.slice(2, 3));
113 EXPECT_EQ("ell", Str.slice(1, 4));
114 EXPECT_EQ("llo", Str.slice(2, 100));
115 EXPECT_EQ("", Str.slice(2, 1));
116 EXPECT_EQ("", Str.slice(10, 20));
338 hash_value(StringRef("hello world").slice(1, -1)));

Completed in 1982 milliseconds

1 2 3 4 5 6 78 91011>>