HomeSort by relevance Sort by last modified time
    Searched refs:slice (Results 1 - 25 of 672) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_slice.py 1 # tests for slice objects; in particular the indices method.
12 self.assertRaises(TypeError, slice)
13 self.assertRaises(TypeError, slice, 1, 2, 3, 4)
16 self.assertEqual(repr(slice(1, 2, 3)), "slice(1, 2, 3)")
20 self.assertRaises(TypeError, hash, slice(5))
21 self.assertRaises(TypeError, slice(5).__hash__)
24 s1 = slice(1, 2, 3)
25 s2 = slice(1, 2, 3)
26 s3 = slice(1, 2, 4
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_slice.py 1 # tests for slice objects; in particular the indices method.
12 self.assertRaises(TypeError, slice)
13 self.assertRaises(TypeError, slice, 1, 2, 3, 4)
16 self.assertEqual(repr(slice(1, 2, 3)), "slice(1, 2, 3)")
20 self.assertRaises(TypeError, hash, slice(5))
21 self.assertRaises(TypeError, slice(5).__hash__)
24 s1 = slice(1, 2, 3)
25 s2 = slice(1, 2, 3)
26 s3 = slice(1, 2, 4
    [all...]
  /libcore/luni/src/main/java/java/util/concurrent/
CopyOnWriteArrayList.java 472 * single snapshot object representing the current slice. This permits reads
482 private volatile Slice slice; field in class:CopyOnWriteArrayList.CowSubList
485 this.slice = new Slice(expectedElements, from, to);
489 Slice slice = this.slice; local
490 return slice.to - slice.from
494 Slice slice = this.slice; local
500 Slice slice = this.slice; local
516 Slice slice = this.slice; local
526 Slice slice = this.slice; local
534 Slice slice = this.slice; local
546 Slice slice = this.slice; local
553 Slice slice = this.slice; local
    [all...]
  /frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
bricked.rs 78 uint slice;
89 slice = 0x80000000 & rsGetElementAt_uint(bricks, slice_pos - BRICK_SIZE);
90 out |= slice >> 31;
93 slice = 1 & rsGetElementAt_uint(bricks, slice_pos + BRICK_SIZE);
94 out |= slice << 31;
98 int off_neg_y = -1; // simple case -1 slice;
107 slice = rsGetElementAt_uint(bricks, slice_pos + off_neg_y);
108 out |= slice;
118 slice = rsGetElementAt_uint(bricks, slice_pos + off_pos_y);
119 out |= slice;
    [all...]
  /external/libcxx/test/std/numerics/numarray/class.slice/cons.slice/
default.pass.cpp 12 // class slice;
14 // slice();
21 std::slice s;
start_size_stride.pass.cpp 12 // class slice;
14 // slice(size_t start, size_t size, size_t stride);
21 std::slice s(1, 3, 2);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numarray/class.slice/cons.slice/
default.pass.cpp 12 // class slice;
14 // slice();
21 std::slice s;
start_size_stride.pass.cpp 12 // class slice;
14 // slice(size_t start, size_t size, size_t stride);
21 std::slice s(1, 3, 2);
  /external/v8/test/mjsunit/
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...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/bits/
slice_array.h 49 * The slice class represents a one-dimensional subset of an array,
56 * For example, with an array of size 10, and a slice with offset 1, size 3
59 class slice class
62 /// Construct an empty slice.
63 slice();
66 * @brief Construct a slice.
69 * @param __d Number of elements in slice.
72 slice(size_t __o, size_t __d, size_t __s);
74 /// Return array offset of first slice element.
76 /// Return size of slice
90 slice::slice() function in class:slice
94 slice::slice(size_t __o, size_t __d, size_t __s) function in class:slice
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/
slice_array.h 49 * The slice class represents a one-dimensional subset of an array,
56 * For example, with an array of size 10, and a slice with offset 1, size 3
59 class slice class
62 /// Construct an empty slice.
63 slice();
66 * @brief Construct a slice.
69 * @param __d Number of elements in slice.
72 slice(size_t __o, size_t __d, size_t __s);
74 /// Return array offset of first slice element.
76 /// Return size of slice
90 slice::slice() function in class:slice
94 slice::slice(size_t __o, size_t __d, size_t __s) function in class:slice
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/
slice_array.h 49 * The slice class represents a one-dimensional subset of an array,
56 * For example, with an array of size 10, and a slice with offset 1, size 3
59 class slice class
62 /// Construct an empty slice.
63 slice();
66 * @brief Construct a slice.
69 * @param __d Number of elements in slice.
72 slice(size_t __o, size_t __d, size_t __s);
74 /// Return array offset of first slice element.
76 /// Return size of slice
90 slice::slice() function in class:slice
94 slice::slice(size_t __o, size_t __d, size_t __s) function in class:slice
    [all...]
  /prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/bits/
slice_array.h 48 * The slice class represents a one-dimensional subset of an array,
55 * For example, with an array of size 10, and a slice with offset 1, size 3
58 class slice class
61 /// Construct an empty slice.
62 slice();
65 * @brief Construct a slice.
68 * @param d Number of elements in slice.
71 slice(size_t, size_t, size_t);
73 /// Return array offset of first slice element.
75 /// Return size of slice
89 slice::slice() function in class:slice
93 slice::slice(size_t __o, size_t __d, size_t __s) function in class:slice
    [all...]
  /prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/bits/
slice_array.h 48 * The slice class represents a one-dimensional subset of an array,
55 * For example, with an array of size 10, and a slice with offset 1, size 3
58 class slice class
61 /// Construct an empty slice.
62 slice();
65 * @brief Construct a slice.
68 * @param d Number of elements in slice.
71 slice(size_t, size_t, size_t);
73 /// Return array offset of first slice element.
75 /// Return size of slice
89 slice::slice() function in class:slice
93 slice::slice(size_t __o, size_t __d, size_t __s) function in class:slice
    [all...]
  /prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/bits/
slice_array.h 48 * The slice class represents a one-dimensional subset of an array,
55 * For example, with an array of size 10, and a slice with offset 1, size 3
58 class slice class
61 /// Construct an empty slice.
62 slice();
65 * @brief Construct a slice.
68 * @param d Number of elements in slice.
71 slice(size_t, size_t, size_t);
73 /// Return array offset of first slice element.
75 /// Return size of slice
89 slice::slice() function in class:slice
93 slice::slice(size_t __o, size_t __d, size_t __s) function in class:slice
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/bits/
slice_array.h 48 * The slice class represents a one-dimensional subset of an array,
55 * For example, with an array of size 10, and a slice with offset 1, size 3
58 class slice class
61 /// Construct an empty slice.
62 slice();
65 * @brief Construct a slice.
68 * @param d Number of elements in slice.
71 slice(size_t, size_t, size_t);
73 /// Return array offset of first slice element.
75 /// Return size of slice
89 slice::slice() function in class:slice
93 slice::slice(size_t __o, size_t __d, size_t __s) function in class:slice
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/
slice_array.h 50 * The slice class represents a one-dimensional subset of an array,
57 * For example, with an array of size 10, and a slice with offset 1, size 3
60 class slice class
63 /// Construct an empty slice.
64 slice();
67 * @brief Construct a slice.
70 * @param d Number of elements in slice.
73 slice(size_t, size_t, size_t);
75 /// Return array offset of first slice element.
77 /// Return size of slice
91 slice::slice() function in class:slice
95 slice::slice(size_t __o, size_t __d, size_t __s) function in class:slice
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/bits/
slice_array.h 50 * The slice class represents a one-dimensional subset of an array,
57 * For example, with an array of size 10, and a slice with offset 1, size 3
60 class slice class
63 /// Construct an empty slice.
64 slice();
67 * @brief Construct a slice.
70 * @param __d Number of elements in slice.
73 slice(size_t __o, size_t __d, size_t __s);
75 /// Return array offset of first slice element.
77 /// Return size of slice
91 slice::slice() function in class:slice
95 slice::slice(size_t __o, size_t __d, size_t __s) function in class:slice
    [all...]
  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/
slice_array.h 50 * The slice class represents a one-dimensional subset of an array,
57 * For example, with an array of size 10, and a slice with offset 1, size 3
60 class slice class
63 /// Construct an empty slice.
64 slice();
67 * @brief Construct a slice.
70 * @param d Number of elements in slice.
73 slice(size_t, size_t, size_t);
75 /// Return array offset of first slice element.
77 /// Return size of slice
91 slice::slice() function in class:slice
95 slice::slice(size_t __o, size_t __d, size_t __s) function in class:slice
    [all...]
  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.7/include/bits/
slice_array.h 50 * The slice class represents a one-dimensional subset of an array,
57 * For example, with an array of size 10, and a slice with offset 1, size 3
60 class slice class
63 /// Construct an empty slice.
64 slice();
67 * @brief Construct a slice.
70 * @param __d Number of elements in slice.
73 slice(size_t __o, size_t __d, size_t __s);
75 /// Return array offset of first slice element.
77 /// Return size of slice
91 slice::slice() function in class:slice
95 slice::slice(size_t __o, size_t __d, size_t __s) function in class:slice
    [all...]
  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/bits/
slice_array.h 49 * The slice class represents a one-dimensional subset of an array,
56 * For example, with an array of size 10, and a slice with offset 1, size 3
59 class slice class
62 /// Construct an empty slice.
63 slice();
66 * @brief Construct a slice.
69 * @param __d Number of elements in slice.
72 slice(size_t __o, size_t __d, size_t __s);
74 /// Return array offset of first slice element.
76 /// Return size of slice
90 slice::slice() function in class:slice
94 slice::slice(size_t __o, size_t __d, size_t __s) function in class:slice
    [all...]
  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/
slice_array.h 49 * The slice class represents a one-dimensional subset of an array,
56 * For example, with an array of size 10, and a slice with offset 1, size 3
59 class slice class
62 /// Construct an empty slice.
63 slice();
66 * @brief Construct a slice.
69 * @param __d Number of elements in slice.
72 slice(size_t __o, size_t __d, size_t __s);
74 /// Return array offset of first slice element.
76 /// Return size of slice
90 slice::slice() function in class:slice
94 slice::slice(size_t __o, size_t __d, size_t __s) function in class:slice
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/pm/
ParceledListSliceTest.java 19 ParceledListSlice<SmallObject> slice; local
25 slice = parcel.readParcelable(getClass().getClassLoader());
30 assertNotNull(slice);
31 assertNotNull(slice.getList());
32 assertEquals(objectCount, slice.getList().size());
35 assertEquals(i * 2, slice.getList().get(i).mFieldA);
36 assertEquals((i * 2) + 1, slice.getList().get(i).mFieldB);
70 ParceledListSlice<LargeObject> slice; local
76 slice = parcel.readParcelable(getClass().getClassLoader());
81 assertNotNull(slice);
    [all...]
  /external/libcxx/test/std/numerics/numarray/template.slice.array/slice.arr.assign/
slice_array.pass.cpp 26 v1[std::slice(1, 5, 3)] = v2[std::slice(2, 5, 2)];
50 std::slice_array<int> s1 = v1[std::slice(1, 1, 1)];
51 std::slice_array<int> s2 = v1[std::slice(0, 1, 1)];
  /external/libcxx/test/std/numerics/numarray/template.valarray/valarray.assign/
slice_array_assign.pass.cpp 24 v = v1[std::slice(1, 5, 3)];

Completed in 453 milliseconds

1 2 3 4 5 6 7 8 91011>>