Home
last modified time | relevance | path

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

12345678910>>...66

/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/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/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/u-boot/common/eeprom/
Deeprom_field.c14 char *delimiter, bool reverse) in __eeprom_field_print_bin() argument
17 int from = reverse ? field->size - 1 : 0; in __eeprom_field_print_bin()
18 int to = reverse ? 0 : field->size - 1; in __eeprom_field_print_bin()
21 for (i = from; i != to; reverse ? i-- : i++) in __eeprom_field_print_bin()
28 const char *value, bool reverse) in __eeprom_field_update_bin() argument
31 int k, j, i = reverse ? len - 1 : 0; in __eeprom_field_update_bin()
46 if ((reverse && i < 0) || (!reverse && i >= len)) in __eeprom_field_update_bin()
50 if (reverse && i == 0) { in __eeprom_field_update_bin()
55 tmp[k] = value[reverse ? i - 1 + k : i + k]; in __eeprom_field_update_bin()
63 i = reverse ? i - 2 : i + 2; in __eeprom_field_update_bin()
/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/swiftshader/third_party/llvm-7.0/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/tensorflow/tensorflow/python/kernel_tests/
Dscan_ops_test.py44 def handle_options(func, x, axis, exclusive, reverse): argument
50 if reverse:
68 if reverse:
80 def _compare(self, x, axis, exclusive, reverse): argument
81 np_out = handle_options(np.cumsum, x, axis, exclusive, reverse)
83 tf_out = math_ops.cumsum(x, axis, exclusive, reverse).eval()
89 for reverse in [True, False]:
90 self._compare(x, axis, exclusive, reverse)
160 def _compareGradient(self, shape, axis, exclusive, reverse): argument
164 result = math_ops.cumsum(t, axis, exclusive, reverse)
[all …]
/external/skia/src/core/
DSkEdgeClipper.cpp146 bool reverse = sort_increasing_Y(pts, srcPts, 3); in clipMonoQuad() local
159 reverse = !reverse; in clipMonoQuad()
167 this->appendVLine(clip.fLeft, pts[0].fY, pts[2].fY, reverse); in clipMonoQuad()
172 this->appendVLine(clip.fRight, pts[0].fY, pts[2].fY, reverse); in clipMonoQuad()
184 this->appendVLine(clip.fLeft, tmp[0].fY, tmp[2].fY, reverse); in clipMonoQuad()
194 this->appendVLine(clip.fLeft, pts[0].fY, pts[2].fY, reverse); in clipMonoQuad()
207 this->appendQuad(tmp, reverse); in clipMonoQuad()
208 this->appendVLine(clip.fRight, tmp[2].fY, tmp[4].fY, reverse); in clipMonoQuad()
212 this->appendVLine(clip.fRight, pts[0].fY, pts[2].fY, reverse); in clipMonoQuad()
215 this->appendQuad(pts, reverse); in clipMonoQuad()
[all …]
/external/skqp/src/core/
DSkEdgeClipper.cpp146 bool reverse = sort_increasing_Y(pts, srcPts, 3); in clipMonoQuad() local
159 reverse = !reverse; in clipMonoQuad()
167 this->appendVLine(clip.fLeft, pts[0].fY, pts[2].fY, reverse); in clipMonoQuad()
172 this->appendVLine(clip.fRight, pts[0].fY, pts[2].fY, reverse); in clipMonoQuad()
184 this->appendVLine(clip.fLeft, tmp[0].fY, tmp[2].fY, reverse); in clipMonoQuad()
194 this->appendVLine(clip.fLeft, pts[0].fY, pts[2].fY, reverse); in clipMonoQuad()
207 this->appendQuad(tmp, reverse); in clipMonoQuad()
208 this->appendVLine(clip.fRight, tmp[2].fY, tmp[4].fY, reverse); in clipMonoQuad()
212 this->appendVLine(clip.fRight, pts[0].fY, pts[2].fY, reverse); in clipMonoQuad()
215 this->appendQuad(pts, reverse); in clipMonoQuad()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dscan_ops_test.cc25 static Graph* LargeOneDCumsum(int num_x, bool reverse = false) { in LargeOneDCumsum() argument
36 static Graph* ColCumsum(int num_x, int num_y, bool reverse = false) { in ColCumsum() argument
47 static Graph* RowCumsum(int num_x, int num_y, bool reverse = false) { in RowCumsum() argument
58 static Graph* ThreeDYCumsum(int num_y, int num_z, bool reverse = false) { in ThreeDYCumsum() argument
71 bool reverse = false) { in LargeOneDimensional() argument
74 test::Benchmark(device, LargeOneDCumsum<T>(num_x, reverse)).Run(iters); in LargeOneDimensional()
78 bool reverse = false) { in DoRowCumsum() argument
82 test::Benchmark(device, RowCumsum(num_x, num_y, reverse)).Run(iters); in DoRowCumsum()
86 bool reverse = false) { in DoColCumsum() argument
90 test::Benchmark(device, ColCumsum(num_x, num_y, reverse)).Run(iters); in DoColCumsum()
[all …]
Dunravel_index_op.cc57 Eigen::array<bool, 1> reverse({true}); in Compute() local
66 strides = dims.reverse(reverse) in Compute()
68 .reverse(reverse); in Compute()
77 strides_shifted = dims.reverse(reverse) in Compute()
79 .reverse(reverse); in Compute()
Dscan_ops_gpu.h52 bool reverse = false)
53 : dimx_(dimx), dimy_(dimy), dimz_(dimz), reverse_(reverse) {} in dimx_()
162 bool exclusive, bool reverse, Op op) { in scan_kernel() argument
182 MapIndexToLocation map_op(dimx, dimy, dimz, reverse); in scan_kernel()
230 typename TTypes<T, 3>::Tensor out, Op op, const bool reverse, in LaunchScan() argument
248 out.data(), dimx, dimy, dimz, exclusive, reverse, op)); in LaunchScan()
254 out.data(), dimx, dimy, dimz, exclusive, reverse, op)); in LaunchScan()
260 out.data(), dimx, dimy, dimz, exclusive, reverse, op)); in LaunchScan()
266 out.data(), dimx, dimy, dimz, exclusive, reverse, op)); in LaunchScan()
272 out.data(), dimx, dimy, dimz, exclusive, reverse, op)); in LaunchScan()
[all …]
/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/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/skia/src/shaders/gradients/
DSk4fGradientBase.cpp31 IntervalIterator(const SkGradientShaderBase& shader, bool reverse) in IntervalIterator() argument
33 , fFirstPos(reverse ? SK_Scalar1 : 0) in IntervalIterator()
34 , fBegin(reverse ? shader.fColorCount - 1 : 0) in IntervalIterator()
35 , fAdvance(reverse ? -1 : 1) { in IntervalIterator()
101 bool premulColors, bool reverse, in addMirrorIntervals() argument
103 const IntervalIterator iter(shader, reverse); in addMirrorIntervals()
142 SkScalar alpha, bool reverse) { in init() argument
193 const int first_index = reverse ? count - 1 : 0; in init()
195 const SkScalar first_pos = reverse ? SK_Scalar1 : 0; in init()
205 const SkScalar clamp_pos = reverse ? SK_ScalarInfinity : SK_ScalarNegativeInfinity; in init()
[all …]
/external/skqp/src/shaders/gradients/
DSk4fGradientBase.cpp31 IntervalIterator(const SkGradientShaderBase& shader, bool reverse) in IntervalIterator() argument
33 , fFirstPos(reverse ? SK_Scalar1 : 0) in IntervalIterator()
34 , fBegin(reverse ? shader.fColorCount - 1 : 0) in IntervalIterator()
35 , fAdvance(reverse ? -1 : 1) { in IntervalIterator()
101 bool premulColors, bool reverse, in addMirrorIntervals() argument
103 const IntervalIterator iter(shader, reverse); in addMirrorIntervals()
142 SkScalar alpha, bool reverse) { in init() argument
193 const int first_index = reverse ? count - 1 : 0; in init()
195 const SkScalar first_pos = reverse ? SK_Scalar1 : 0; in init()
205 const SkScalar clamp_pos = reverse ? SK_ScalarInfinity : SK_ScalarNegativeInfinity; in init()
[all …]
/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/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/tensorflow/tensorflow/compiler/tests/
Dscan_ops_test.py43 def handle_options(func, x, axis, exclusive, reverse): argument
49 if reverse:
67 if reverse:
79 def _compare(self, x, axis, exclusive, reverse): argument
80 np_out = handle_options(np.cumsum, x, axis, exclusive, reverse)
83 tf_out = math_ops.cumsum(p, axis, exclusive, reverse).eval(
90 for reverse in [True, False]:
91 self._compare(x, axis, exclusive, reverse)
157 def _compare(self, x, axis, exclusive, reverse): argument
158 np_out = handle_options(np.cumprod, x, axis, exclusive, reverse)
[all …]
/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/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/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_ReverseV2.pbtxt15 1-D. The indices of the dimensions to reverse. Must be in the range
27 NOTE `tf.reverse` has now changed behavior in preparation for 1.0.
31 dimensions of `tensor` to reverse. This operation reverses each dimension
50 reverse(t, dims) ==> [[[[ 3, 2, 1, 0],
58 reverse(t, dims) ==> [[[[12, 13, 14, 15],
66 reverse(t, dims) ==> [[[[8, 9, 10, 11],
/external/python/cpython3/Lib/test/
Dtest_keywordonlyarg.py21 def sortnum(*nums, reverse=False): argument
22 return sorted(list(nums), reverse=reverse)
24 def sortwords(*words, reverse=False, **kwargs): argument
25 return sorted(list(words), reverse=reverse)
121 self.assertEqual([3,2,1], sortnum(1,2,3, reverse=True))
124 self.assertEqual(['c','b','a'], sortwords('a','c','b', reverse=True))
126 sortwords('a','c','b', reverse=True, ignore='ignore'))

12345678910>>...66