Home
last modified time | relevance | path

Searched refs:reverse (Results 1 – 25 of 969) sorted by relevance

12345678910>>...39

/external/eigen/test/
Darray_reverse.cpp16 template<typename MatrixType> void reverse(const MatrixType& m) in reverse() function
30 MatrixType m1_r = m1.reverse(); in reverse()
70 VectorType v1_r = v1.reverse(); in reverse()
76 MatrixType m1_cr = m1.colwise().reverse(); in reverse()
84 MatrixType m1_rr = m1.rowwise().reverse(); in reverse()
97 m1.reverse()(r, c) = x; in reverse()
102 VERIFY_IS_APPROX(m2,m1.reverse().eval()); in reverse()
106 VERIFY_IS_APPROX(m2.col(0),m1.col(0).reverse().eval()); in reverse()
110 VERIFY_IS_APPROX(m2.row(0),m1.row(0).reverse().eval()); in reverse()
114 VERIFY_IS_APPROX(m2,m1.rowwise().reverse().eval()); in reverse()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DConverterTest.java62 assertEquals(STR_VAL, STR_TO_LONG.reverse().convert(LONG_VAL)); in testConverter()
80 Converter<Long, String> reverseConverter = STR_TO_LONG.reverse(); in testReverse()
83 assertEquals(LONG_VAL, reverseConverter.reverse().convert(STR_VAL)); in testReverse()
88 assertSame(STR_TO_LONG, reverseConverter.reverse()); in testReverse()
93 .addEqualityGroup(STR_TO_LONG, STR_TO_LONG.reverse().reverse()) in testReverse()
94 .addEqualityGroup(STR_TO_LONG.reverse(), STR_TO_LONG.reverse()) in testReverse()
100 assertEquals(converter, converter.reverse().reverse()); in testReverseReverse()
133 assertEquals(STR_VAL, converter.reverse().convert(LONG_VAL).value); in testAndThen()
143 assertSame(stringIdentityConverter, stringIdentityConverter.reverse()); in testIdentityConverter()
147 assertSame(STR_VAL, stringIdentityConverter.reverse().convert(STR_VAL)); in testIdentityConverter()
[all …]
/external/toybox/scripts/
Dmkstatus.py33 reverse={} variable
36 try: reverse[j].append(i)
37 except: reverse[j]=[i]
38 print "all commands=%s" % len(reverse)
47 if not i in reverse: unknowns.append(i)
61 def categorize(reverse, i, skippy=""): argument
65 if skippy: types = filter(lambda a: a != skippy, reverse[i])
66 else: types = reverse[i]
74 sys.stderr.write("unknown %s %s\n" % (i,reverse[i]))
84 blah=list(reverse)
[all …]
/external/droiddriver/src/io/appium/droiddriver/scroll/
DDirection.java31 public LogicalDirection reverse() { in reverse() method
37 public LogicalDirection reverse() { in reverse() method
41 public abstract LogicalDirection reverse(); in reverse() method in Direction.LogicalDirection
48 public PhysicalDirection reverse() { in reverse() method
59 public PhysicalDirection reverse() { in reverse() method
70 public PhysicalDirection reverse() { in reverse() method
81 public PhysicalDirection reverse() { in reverse() method
90 public abstract PhysicalDirection reverse(); in reverse() method in Direction.PhysicalDirection
153 return horizontalForwardDirection().reverse(); in horizontalBackwardDirection()
157 return verticalForwardDirection().reverse(); in verticalBackwardDirection()
[all …]
/external/deqp/modules/gles31/scripts/
Dgen-implicit-conversions.py340 def __init__(self, name, op, in_type, out_type, reverse=False): argument
351 self.reverse = reverse
365 if self.reverse:
373 if self.reverse:
374 expr.reverse()
406 def __init__(self, name, op, in_type, out_type, reverse=False): argument
407 super(ComparisonsCase, self).__init__(name, op, in_type, out_type, reverse)
424 if self.reverse:
443 def __init__(self, name, in_type, out_type, reverse=False, input_in_parens=False): argument
447 self.reverse = reverse
[all …]
/external/llvm/test/CodeGen/X86/
Dinalloca-invoke.ll5 %frame.reverse = type { %Iter, %Iter }
12 declare void @reverse(%frame.reverse* inalloca align 4)
20 %rev_args = alloca inalloca %frame.reverse, align 4
21 %beg = getelementptr %frame.reverse, %frame.reverse* %rev_args, i32 0, i32 0
22 %end = getelementptr %frame.reverse, %frame.reverse* %rev_args, i32 0, i32 1
45 invoke void @reverse(%frame.reverse* inalloca align 4 %rev_args)
/external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/
DCounterComparator.java59 private final boolean reverse; field in CounterComparator
65 private CounterComparator(final CounterValue value, final boolean reverse) { in CounterComparator() argument
67 this.reverse = reverse; in CounterComparator()
72 return reverse ? -cmp : cmp; in compare()
80 public CounterComparator reverse() { in reverse() method in CounterComparator
81 return new CounterComparator(value, !reverse); in reverse()
/external/skia/src/core/
DSkEdgeClipper.cpp144 bool reverse = sort_increasing_Y(pts, srcPts, 3); in clipMonoQuad() local
156 reverse = !reverse; in clipMonoQuad()
164 this->appendVLine(clip.fLeft, pts[0].fY, pts[2].fY, reverse); in clipMonoQuad()
169 this->appendVLine(clip.fRight, pts[0].fY, pts[2].fY, reverse); in clipMonoQuad()
181 this->appendVLine(clip.fLeft, tmp[0].fY, tmp[2].fY, reverse); in clipMonoQuad()
191 this->appendVLine(clip.fLeft, pts[0].fY, pts[2].fY, reverse); in clipMonoQuad()
204 this->appendQuad(tmp, reverse); in clipMonoQuad()
205 this->appendVLine(clip.fRight, tmp[2].fY, tmp[4].fY, reverse); in clipMonoQuad()
209 this->appendVLine(clip.fRight, pts[0].fY, pts[2].fY, reverse); in clipMonoQuad()
212 this->appendQuad(pts, reverse); in clipMonoQuad()
[all …]
/external/clang/test/SemaTemplate/
Dexample-typelist.cpp49 class reverse { class
50 typedef typename reverse<typename T::tail>::type reversed_tail;
52 typedef typename reverse<typename reversed_tail::tail>::type most_of_tail;
56 typename reverse<cons<typename T::head, most_of_tail> >::type> type;
60 class reverse<cons<Head> > { class
66 class reverse<nil> { class
71 int reverse0[is_same<reverse<unsigned_inttypes>::type,
/external/ltp/testcases/kernel/fs/fs_bind/bin/
Dcheck_prop21 reverse=0
25 n) reverse=1
31 if [ $reverse -eq 1 ]
50 if [ $reverse -eq 1 ]
64 if [ $reverse -eq 1 ]
/external/skia/src/shaders/gradients/
DSk4fGradientBase.cpp24 IntervalIterator(const SkGradientShaderBase& shader, SkColorSpace* dstCS, bool reverse) in IntervalIterator() argument
27 , fFirstPos(reverse ? SK_Scalar1 : 0) in IntervalIterator()
28 , fBegin(reverse ? shader.fColorCount - 1 : 0) in IntervalIterator()
29 , fAdvance(reverse ? -1 : 1) { in IntervalIterator()
104 bool premulColors, bool reverse, in addMirrorIntervals() argument
106 const IntervalIterator iter(shader, dstCS, reverse); in addMirrorIntervals()
145 SkScalar alpha, bool reverse) { in init() argument
196 const int first_index = reverse ? count - 1 : 0; in init()
198 const SkScalar first_pos = reverse ? SK_Scalar1 : 0; in init()
205 const SkScalar clamp_pos = reverse ? SK_ScalarInfinity : SK_ScalarNegativeInfinity; in init()
[all …]
/external/eigen/unsupported/test/
Dcxx11_tensor_reverse.cpp31 reversed_tensor = tensor.reverse(dim_rev); in test_simple_reverse()
53 reversed_tensor = tensor.reverse(dim_rev); in test_simple_reverse()
76 reversed_tensor = tensor.reverse(dim_rev); in test_simple_reverse()
110 expected.reverse(dim_rev) = tensor; in test_expr_reverse()
112 expected = tensor.reverse(dim_rev); in test_expr_reverse()
132 result.slice(dst_slice_start, dst_slice_dim).reverse(dim_rev) = in test_expr_reverse()
136 tensor.slice(src_slice_start, src_slice_dim).reverse(dim_rev); in test_expr_reverse()
161 result.slice(dst_slice_start, dst_slice_dim).reverse(dim_rev) = in test_expr_reverse()
165 tensor.reverse(dim_rev).slice(dst_slice_start, dst_slice_dim); in test_expr_reverse()
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.reverse/
Dreverse.pass.cpp28 std::reverse(Iter(ia), Iter(ia)); in test()
30 std::reverse(Iter(ia), Iter(ia+sa)); in test()
35 std::reverse(Iter(ib), Iter(ib+sb)); in test()
41 std::reverse(Iter(ic), Iter(ic+sc)); in test()
48 std::reverse(Iter(id), Iter(id+sd)); in test()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_graph.h79 EdgeIterator(Graph::Edge *first, int dir, bool reverse) in EdgeIterator() argument
80 : d(dir), rev(reverse) in EdgeIterator()
115 inline EdgeIterator outgoing(bool reverse = false) const;
116 inline EdgeIterator incident(bool reverse = false) const;
207 Graph::EdgeIterator Graph::Node::outgoing(bool reverse) const in outgoing() argument
209 return EdgeIterator(out, 0, reverse); in outgoing()
212 Graph::EdgeIterator Graph::Node::incident(bool reverse) const in incident() argument
214 return EdgeIterator(in, 1, reverse); in incident()
/external/flatbuffers/tests/FlatBuffers.Test/
DByteBufferTests.cs292 var reverse = ByteBuffer.ReverseBytes(original); in ByteBuffer_ReverseBytesUshort()
293 Assert.AreEqual(0x3412U, reverse); in ByteBuffer_ReverseBytesUshort()
295 var rereverse = ByteBuffer.ReverseBytes(reverse); in ByteBuffer_ReverseBytesUshort()
303 var reverse = ByteBuffer.ReverseBytes(original); in ByteBuffer_ReverseBytesUint()
304 Assert.AreEqual(0x78563412U, reverse); in ByteBuffer_ReverseBytesUint()
306 var rereverse = ByteBuffer.ReverseBytes(reverse); in ByteBuffer_ReverseBytesUint()
314 var reverse = ByteBuffer.ReverseBytes(original); in ByteBuffer_ReverseBytesUlong()
315 Assert.AreEqual(0xEFCDAB9078563412UL, reverse); in ByteBuffer_ReverseBytesUlong()
317 var rereverse = ByteBuffer.ReverseBytes(reverse); in ByteBuffer_ReverseBytesUlong()
/external/eigen/blas/
Dlevel1_cplx_impl.h56 …else if(*incx<0 && *incy>0) *res = (make_vector(x,*n,-*incx).reverse().dot(make_vector(y,*n,*incy)…
57 …else if(*incx>0 && *incy<0) *res = (make_vector(x,*n,*incx).dot(make_vector(y,*n,-*incy).reverse()…
58 …*incx<0 && *incy<0) *res = (make_vector(x,*n,-*incx).reverse().dot(make_vector(y,*n,-*incy).revers…
78 …else if(*incx<0 && *incy>0) *res = (make_vector(x,*n,-*incx).reverse().cwiseProduct(make_vector(y,…
79 …& *incy<0) *res = (make_vector(x,*n,*incx).cwiseProduct(make_vector(y,*n,-*incy).reverse())).sum();
80 …x<0 && *incy<0) *res = (make_vector(x,*n,-*incx).reverse().cwiseProduct(make_vector(y,*n,-*incy).r…
Ddouble.cpp28 …else if(*incx<0 && *incy>0) return (make_vector(x,*n,-*incx).reverse().cast<double>().cwiseProduct… in BLASFUNC()
29 …_vector(x,*n,*incx).cast<double>().cwiseProduct(make_vector(y,*n,-*incy).reverse().cast<double>())… in BLASFUNC()
30 …incy<0) return (make_vector(x,*n,-*incx).reverse().cast<double>().cwiseProduct(make_vector(y,*n,-*… in BLASFUNC()
Dlevel1_impl.h22 else if(*incx>0 && *incy<0) make_vector(y,*n,-*incy).reverse() += alpha * make_vector(x,*n,*incx); in EIGEN_BLAS_FUNC()
23 else if(*incx<0 && *incy>0) make_vector(y,*n,*incy) += alpha * make_vector(x,*n,-*incx).reverse(); in EIGEN_BLAS_FUNC()
24 …e if(*incx<0 && *incy<0) make_vector(y,*n,-*incy).reverse() += alpha * make_vector(x,*n,-*incx).re… in EIGEN_BLAS_FUNC()
161 else if(*incx>0 && *incy<0) make_vector(y,*n,-*incy).reverse().swap(make_vector(x,*n,*incx)); in EIGEN_BLAS_FUNC()
162 else if(*incx<0 && *incy>0) make_vector(y,*n,*incy).swap(make_vector(x,*n,-*incx).reverse()); in EIGEN_BLAS_FUNC()
163 …else if(*incx<0 && *incy<0) make_vector(y,*n,-*incy).reverse().swap(make_vector(x,*n,-*incx).rever… in EIGEN_BLAS_FUNC()
/external/llvm/bindings/python/llvm/
Dcore.py227 def __init__(self, module, reverse=False): argument
229 self.reverse = reverse
230 if self.reverse:
242 if self.reverse:
252 return Module.__function_iterator(self, reverse=True)
295 def __init__(self, function, reverse=False): argument
297 self.reverse = reverse
298 if self.reverse:
310 if self.reverse:
320 return Function.__bb_iterator(self, reverse=True)
[all …]
/external/eigen/Eigen/src/Core/
DReverse.h118 DenseBase<Derived>::reverse()
144 leftCols(half).swap(rightCols(half).reverse());
148 col(half).head(half2).swap(col(half).tail(half2).reverse());
154 topRows(half).swap(bottomRows(half).reverse());
158 row(half).head(half2).swap(row(half).tail(half2).reverse());
175 xpr.topRows(half).swap(xpr.bottomRows(half).colwise().reverse());
186 xpr.leftCols(half).swap(xpr.rightCols(half).rowwise().reverse());
/external/python/cpython2/Lib/idlelib/
DIdleHistory.py32 self.fetch(reverse=False)
37 self.fetch(reverse=True)
40 def fetch(self, reverse): argument
58 if reverse:
68 pointer += -1 if reverse else 1
/external/syslinux/com32/lib/syslinux/
Dmovebits.c319 int reverse; in move_chunk() local
325 reverse = 1; in move_chunk()
329 reverse = 0; in move_chunk()
332 reverse = 0; in move_chunk()
341 if (reverse) { in move_chunk()
400 int reverse; in syslinux_compute_movelist() local
458 reverse = 1; in syslinux_compute_movelist()
464 reverse = 0; in syslinux_compute_movelist()
469 reverse = 0; in syslinux_compute_movelist()
497 reverse = 1; in syslinux_compute_movelist()
[all …]
/external/eigen/doc/snippets/
DMatrixBase_reverse.cpp3 cout << "Here is the reverse of m:" << endl << m.reverse() << endl;
5 << m.reverse()(1,0) << endl;
7 m.reverse()(1,0) = 4;
DVectorwise_reverse.cpp3 cout << "Here is the rowwise reverse of m:" << endl << m.rowwise().reverse() << endl;
4 cout << "Here is the colwise reverse of m:" << endl << m.colwise().reverse() << endl;
7 << m.rowwise().reverse()(1,0) << endl;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/
DX509Principal.java122 boolean reverse, in X509Principal() argument
125 super(reverse, dirName); in X509Principal()
139 boolean reverse, in X509Principal() argument
143 super(reverse, lookUp, dirName); in X509Principal()

12345678910>>...39