/external/python/cpython2/Lib/test/ |
D | test_enumerate.py | 140 self.assertEqual(list(data)[::-1], list(reversed(data))) 141 self.assertRaises(TypeError, reversed, {}) 143 self.assertRaises(TypeError, reversed, [], a=1) 149 self.assertEqual(list(reversed(A())), [2, 1]) 153 self.assertEqual(type(reversed(x)), type(iter(x))) 160 self.assertEqual(len(reversed(s)), len(s)) 161 r = reversed(s) 173 r = reversed(SeqWithWeirdLen()) 184 r = reversed(s) 188 self.assertRaises(TypeError, reversed) [all …]
|
D | test_iterlen.py | 67 for i in reversed(xrange(1, n+1)): 107 self.it = reversed(xrange(n)) 127 self.it = reversed(d) 182 self.it = reversed(range(n)) 186 it = reversed(d)
|
D | test_deque.py | 36 for i in reversed(xrange(-200, 0)): 186 self.assertEqual(list(d), list(reversed('abcd'))) 191 self.assertEqual(list(d), list(reversed(range(1000)))) 246 self.assertEqual(list(d), list(reversed(data[:i]))) 400 d = deque(reversed(xrange(size))) 407 self.assertEqual(list(reversed(list(d))), range(BIG-size, BIG)) 435 for i in reversed(xrange(BIG)): 446 for i in reversed(xrange(BIG)): 494 self.assertEqual(list(reversed(deque(s))), list(reversed(s))) 515 container = reversed(deque([obj, 1])) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_enumerate.py | 164 self.assertEqual(list(data)[::-1], list(reversed(data))) 165 self.assertRaises(TypeError, reversed, {}) 167 self.assertRaises(TypeError, reversed, [], a=1) 171 self.assertEqual(type(reversed(x)), type(iter(x))) 175 self.assertEqual(operator.length_hint(reversed(s)), len(s)) 176 r = reversed(s) 188 r = reversed(SeqWithWeirdLen()) 199 r = reversed(s) 203 self.assertRaises(TypeError, reversed) 204 self.assertRaises(TypeError, reversed, [], 'extra') [all …]
|
D | test_iterlen.py | 56 for i in reversed(range(1, n+1)): 92 self.it = reversed(range(n)) 112 self.it = reversed(d) 168 self.it = reversed(range(n)) 172 it = reversed(d)
|
D | test_ordered_dict.py | 172 self.assertEqual(list(reversed(od)), 173 [t[0] for t in reversed(pairs)]) 174 self.assertEqual(list(reversed(od.keys())), 175 [t[0] for t in reversed(pairs)]) 176 self.assertEqual(list(reversed(od.values())), 177 [t[1] for t in reversed(pairs)]) 178 self.assertEqual(list(reversed(od.items())), list(reversed(pairs))) 201 self.assertEqual(sorted(reversed(od)), 202 sorted([t[0] for t in reversed(pairs)])) 212 self.assertEqual(list(reversed(od)), empty) [all …]
|
D | test_deque.py | 37 for i in reversed(range(-200, 0)): 226 self.assertEqual(list(d), list(reversed('abcd'))) 231 self.assertEqual(list(d), list(reversed(range(1000)))) 411 self.assertEqual(list(d), list(reversed(data[:i]))) 565 d = deque(reversed(range(size))) 572 self.assertEqual(list(reversed(list(d))), 601 for i in reversed(range(BIG)): 612 for i in reversed(range(BIG)): 721 self.assertEqual(list(reversed(deque(s))), list(reversed(s))) 724 klass = type(reversed(deque())) [all …]
|
/external/linux-kselftest/tools/testing/selftests/powerpc/switch_endian/ |
D | Makefile | 6 EXTRA_CLEAN = $(OUTPUT)/*.o $(OUTPUT)/check-reversed.S 10 $(OUTPUT)/switch_endian_test: $(OUTPUT)/check-reversed.S 12 $(OUTPUT)/check-reversed.o: $(OUTPUT)/check.o 15 $(OUTPUT)/check-reversed.S: $(OUTPUT)/check-reversed.o
|
/external/boringssl/src/crypto/fipsmodule/modes/ |
D | polyval.c | 67 polyval_block reversed[32]; in CRYPTO_POLYVAL_update_blocks() local 71 if (todo > sizeof(reversed)) { in CRYPTO_POLYVAL_update_blocks() 72 todo = sizeof(reversed); in CRYPTO_POLYVAL_update_blocks() 74 OPENSSL_memcpy(reversed, in, todo); in CRYPTO_POLYVAL_update_blocks() 80 byte_reverse(&reversed[i]); in CRYPTO_POLYVAL_update_blocks() 83 ctx->ghash(ctx->S.u, ctx->Htable, (const uint8_t *) reversed, todo); in CRYPTO_POLYVAL_update_blocks()
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
D | compat.py | 41 reversed = reversed variable 43 def reversed(l): function
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_ReverseSequence.pbtxt | 19 The partially reversed input. It has the same shape as `input`. 25 The dimension which is partially reversed. 45 `seq_dim` reversed. 56 # then slices of input are reversed on seq_dim, but only up to seq_lengths: 78 # then slices of input are reversed on seq_dim, but only up to seq_lengths:
|
/external/tensorflow/tensorflow/python/ops/distributions/ |
D | special_math.py | 140 p0 = list(reversed([-5.99633501014107895267E1, 145 q0 = list(reversed([1.0, 154 p1 = list(reversed([4.05544892305962419923E0, 163 q1 = list(reversed([1.0, 172 p2 = list(reversed([3.23774891776946035970E0, 181 q2 = list(reversed([1.0,
|
/external/llvm/test/CodeGen/AArch64/ |
D | arm64-neon-compare-instructions.ll | 159 ; LT implemented as GT, so check reversed operands. 168 ; LT implemented as GT, so check reversed operands. 177 ; LT implemented as GT, so check reversed operands. 186 ; LT implemented as GT, so check reversed operands. 195 ; LT implemented as GT, so check reversed operands. 204 ; LT implemented as GT, so check reversed operands. 213 ; LT implemented as GT, so check reversed operands. 271 ; LE implemented as GE, so check reversed operands. 280 ; LE implemented as GE, so check reversed operands. 289 ; LE implemented as GE, so check reversed operands. [all …]
|
D | neon-compare-instructions.ll | 181 ; LT implemented as GT, so check reversed operands. 191 ; LT implemented as GT, so check reversed operands. 201 ; LT implemented as GT, so check reversed operands. 211 ; LT implemented as GT, so check reversed operands. 221 ; LT implemented as GT, so check reversed operands. 231 ; LT implemented as GT, so check reversed operands. 241 ; LT implemented as GT, so check reversed operands. 307 ; LE implemented as GE, so check reversed operands. 317 ; LE implemented as GE, so check reversed operands. 327 ; LE implemented as GE, so check reversed operands. [all …]
|
/external/caliper/caliper/src/test/java/com/google/caliper/util/ |
D | LinearTranslationTest.java | 36 LinearTranslation reversed = new LinearTranslation(5, 42, 69, 0); in linearTranslation() local 37 assertEquals(-21, reversed.translate(101), CLOSE_ENOUGH); in linearTranslation()
|
/external/tensorflow/tensorflow/contrib/distributions/python/ops/bijectors/ |
D | chain.py | 120 for b in reversed(self.bijectors) if reverse else self.bijectors: 158 for b in reversed(self.bijectors): 165 for b in reversed(self.bijectors):
|
/external/okhttp/okio/okio/src/main/java/okio/ |
D | Util.java | 36 int reversed = (i & 0xff00) >>> 8 in reverseBytesShort() local 38 return (short) reversed; in reverseBytesShort()
|
/external/llvm/bindings/python/llvm/tests/ |
D | test_core.py | 86 for f in reversed(m): 108 for bb in reversed(f): 136 for inst in reversed(bb):
|
/external/llvm/test/CodeGen/SystemZ/ |
D | vec-perm-04.ll | 18 ; Test a reversed v16i8 merge high. 111 ; Test a reversed v8i16 merge high. 132 ; Test a reversed v4i32 merge high. 152 ; Test a reversed v2i64 merge high. 172 ; Test a reversed v4f32 merge high. 192 ; Test a reversed v2f64 merge high.
|
D | vec-perm-05.ll | 18 ; Test a reversed v16i8 merge low. 111 ; Test a reversed v8i16 merge low. 132 ; Test a reversed v4i32 merge low. 152 ; Test a reversed v2i64 merge low. 172 ; Test a reversed v4f32 merge low. 192 ; Test a reversed v2f64 merge low.
|
/external/tensorflow/tensorflow/contrib/py2tf/converters/ |
D | list_comprehension.py | 66 for gen in reversed(list_comp_node.generators): 67 for gen_if in reversed(gen.ifs):
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/ |
D | StatisticsTool.java | 292 ArrayList reversed = new ArrayList(statKeys.size()); in collectStatistics() local 304 reversed.add(new Integer(r)); in collectStatistics() 307 Collections.sort(reversed); in collectStatistics() 308 writeStatistics(reversed, true); in collectStatistics()
|
/external/autotest/scheduler/ |
D | gc_stats.py | 67 sorted_stats = reversed(sorted( 69 sorted_delta = reversed(sorted(
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | AbstractBiMapTester.java | 64 Entry<V, K> reversed = reverseEntry(entry); in expectMissing() local 66 assertFalse("Inverse should not contain entry " + reversed, in expectMissing()
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
D | t033backtracking.g | 23 reversed = reversed 25 def reversed(l): 34 for scope in reversed(self.Symbols_stack):
|