Home
last modified time | relevance | path

Searched refs:reversed (Results 1 – 25 of 386) sorted by relevance

12345678910>>...16

/third_party/python/Lib/test/
Dtest_enumerate.py178 self.assertEqual(list(data)[::-1], list(reversed(data)))
180 self.assertRaises(TypeError, reversed, [], a=1)
184 self.assertEqual(type(reversed(x)), type(iter(x)))
188 self.assertEqual(operator.length_hint(reversed(s)), len(s))
189 r = reversed(s)
201 r = reversed(SeqWithWeirdLen())
212 r = reversed(s)
216 self.assertRaises(TypeError, reversed)
217 self.assertRaises(TypeError, reversed, [], 'extra')
229 reversed(f)
[all …]
Dtest_iterlen.py56 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)
Dtest_ordered_dict.py175 self.assertEqual(list(reversed(od)),
176 [t[0] for t in reversed(pairs)])
177 self.assertEqual(list(reversed(od.keys())),
178 [t[0] for t in reversed(pairs)])
179 self.assertEqual(list(reversed(od.values())),
180 [t[1] for t in reversed(pairs)])
181 self.assertEqual(list(reversed(od.items())), list(reversed(pairs)))
204 self.assertEqual(sorted(reversed(od)),
205 sorted([t[0] for t in reversed(pairs)]))
215 self.assertEqual(list(reversed(od)), empty)
[all …]
Dtest_dict.py1166 it = reversed(data)
1169 self.assertEqual(list(it), list(reversed(data)))
1179 self.assertEqual(list(it), list(reversed(data)))
1185 itorg = reversed(data.items())
1207 it = reversed(data.values())
1210 self.assertEqual(list(it), list(reversed(data.values())))
1396 r = reversed(d)
1404 self.assertEqual(list(reversed({})), [])
1405 self.assertEqual(list(reversed({}.items())), [])
1406 self.assertEqual(list(reversed({}.values())), [])
[all …]
Dtest_deque.py36 for i in reversed(range(-200, 0)):
219 self.assertEqual(list(d), list(reversed('abcd')))
224 self.assertEqual(list(d), list(reversed(range(1000))))
412 self.assertEqual(list(d), list(reversed(data[:i])))
552 d = deque(reversed(range(size)))
559 self.assertEqual(list(reversed(list(d))),
588 for i in reversed(range(BIG)):
599 for i in reversed(range(BIG)):
708 self.assertEqual(list(reversed(deque(s))), list(reversed(s)))
711 klass = type(reversed(deque()))
[all …]
Dtest_tuple.py365 itorg = reversed(data)
369 self.assertEqual(self.type2test(it), self.type2test(reversed(data)))
374 self.assertEqual(self.type2test(it), self.type2test(reversed(data))[1:])
/third_party/rust/crates/bindgen/bindgen/ir/analysis/
Dmod.rs282 let mut reversed = Graph::default(); in reverse() localVariable
284 reversed.0.entry(*node).or_insert_with(Vec::new); in reverse()
286 reversed in reverse()
293 reversed in reverse()
301 reversed: Graph, field
310 let reversed = graph.reverse(); in new() localVariable
314 reversed, in new()
364 for dep in self.reversed.0[&node].iter() { in each_depending_on()
/third_party/littlefs/benches/
Dbench_dir.toml3 # 1 = reversed-order
63 # 1 = reversed-order
105 # 1 = reversed-order
208 # 1 = reversed-order
237 # 1 = reversed-order
Dbench_file.toml3 # 1 = reversed-order
58 # 1 = reversed-order
/third_party/skia/src/pathops/
DSkPathOpsAsWinding.cpp312 bool reversed = false; in markReverse() local
314 reversed |= markReverse(grandChild->fContained ? child : parent, grandChild); in markReverse()
321 return reversed; in markReverse()
414 bool reversed = false; in AsWinding() local
416 reversed |= winder.markReverse(nullptr, contour); in AsWinding()
418 if (!reversed) { in AsWinding()
/third_party/node/deps/v8/tools/testrunner/testproc/
Dfuzzer.py218 for line in reversed(result.output.stdout.splitlines()):
234 for line in reversed(result.output.stdout.splitlines()):
250 for line in reversed(result.output.stdout.splitlines()):
317 for line in reversed(result.output.stdout.splitlines()):
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/
DStatisticsTool.java292 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()
/third_party/node/deps/npm/node_modules/ip-address/dist/
Dipv4.js292 const reversed = this.correctForm().split('.').reverse().join('.');
294 return reversed;
296 return (0, sprintf_js_1.sprintf)('%s.in-addr.arpa.', reversed);
/third_party/typescript/tests/arkTSTest/testcase/arkts-no-standalone-this/
Darkts-no-standalone-this-7-ok.ets31 const reversed = reverseFn('hello')
32 console.log(reversed)
Darkts-no-standalone-this-7-error.ets31 const reversed = reverseFn('hello')
32 console.log(reversed)
/third_party/typescript/tests/baselines/reference/
DstaticAnonymousTypeNotReferencingTypeParameter.js15 static reversed<T>(dit: typeof ListWrapper2, array: T[]): T[] {
64 static reversed<T>(dit: typeof ListWrapper, array: T[]): T[] {
161 ListWrapper2.reversed = function (dit, array) {
215 ListWrapper.reversed = function (dit, array) {
/third_party/mesa3d/src/amd/registers/
Dmakeregheader.py98 for idx, chip, flag in zip(itertools.count(), reversed(CHIPS), reversed(chipflags)):
209 for prev in reversed(self.field_lines):
240 for prev in reversed(self.value_lines):
/third_party/node/deps/v8/tools/ignition/
Dlinux_perf_report.py63 for c in reversed(symbol):
153 key = ";".join(reversed(callchain))
/third_party/skia/third_party/externals/angle2/extensions/
DANGLE_pack_reverse_row_order.txt50 The coordinate system of OpenGL is vertically reversed in comparison to a
101 of elements is reversed before the data is packed. That is, the element
113 each image are reversed without reordering the images themselves.
/third_party/skia/third_party/externals/opengl-registry/extensions/ANGLE/
DANGLE_pack_reverse_row_order.txt50 The coordinate system of OpenGL is vertically reversed in comparison to a
101 of elements is reversed before the data is packed. That is, the element
113 each image are reversed without reordering the images themselves.
/third_party/openGLES/extensions/ANGLE/
DANGLE_pack_reverse_row_order.txt50 The coordinate system of OpenGL is vertically reversed in comparison to a
101 of elements is reversed before the data is packed. That is, the element
113 each image are reversed without reordering the images themselves.
/third_party/python/Lib/collections/
D__init__.py61 yield from reversed(self._mapping)
66 for key in reversed(self._mapping):
72 for key in reversed(self._mapping):
393 field_defaults = dict(reversed(list(zip(reversed(field_names),
394 reversed(defaults)))))
992 for mapping in reversed(self.maps):
1075 for child in reversed(self.maps):
/third_party/typescript/tests/cases/compiler/
DstaticAnonymousTypeNotReferencingTypeParameter.ts14 static reversed<T>(dit: typeof ListWrapper2, array: T[]): T[] { method in ListWrapper2
63 static reversed<T>(dit: typeof ListWrapper, array: T[]): T[] { method in ListWrapper
/third_party/node/benchmark/url/
Durl-searchparams-sort.js9 reversed: 'z&y&x&w&v&u&t&s&r&q&p&o&n&m&l&k&j&i&h&g&f&e&d&c&b&a', property
/third_party/curl/tests/data/
Dtest12622 # similar to test 139 but with a reversed time condition

12345678910>>...16