Home
last modified time | relevance | path

Searched refs:Indexable (Results 1 – 10 of 10) sorted by relevance

/external/python/rsa/rsa/
Dcli.py30 Indexable = typing.Union[typing.Tuple, typing.List[str]] variable
113 cli_args: Indexable) -> typing.Any: argument
204 cli_args: Indexable = ()) -> bytes: argument
222 cli_args: Indexable = ()) -> bytes: argument
245 cli_args: Indexable) -> bytes: argument
272 cli_args: Indexable) -> None: argument
/external/python/cpython2/Lib/test/
Dtest_struct.py297 class Indexable(object): class
339 for obj in (Indexable(0), Indexable(10), Indexable(17),
340 Indexable(42), Indexable(100), Indexable(127)):
348 for obj in (Indexable('a'), Indexable(u'b'), Indexable(None),
349 Indexable({'a': 1}), Indexable([1, 2, 3])):
Dtest_bytes.py32 class Indexable: class
68 b = self.type2test([Indexable(), Indexable(1), Indexable(254),
69 Indexable(255)])
71 self.assertRaises(ValueError, self.type2test, [Indexable(-1)])
72 self.assertRaises(ValueError, self.type2test, [Indexable(256)])
537 b[0] = Indexable(10)
555 b[0] = Indexable(-1)
729 a.extend([Indexable(ord('a'))])
746 b.remove(Indexable(ord('e')))
779 b.append(Indexable(ord('A')))
[all …]
/external/python/cpython3/Lib/test/
Dtest_struct.py270 class Indexable(object): class
303 for obj in (Indexable(0), Indexable(10), Indexable(17),
304 Indexable(42), Indexable(100), Indexable(127)):
312 for obj in (Indexable(b'a'), Indexable('b'), Indexable(None),
313 Indexable({'a': 1}), Indexable([1, 2, 3])):
Dtest_bytes.py38 class Indexable: class
136 b = self.type2test([Indexable(), Indexable(1), Indexable(254),
137 Indexable(255)])
139 self.assertRaises(ValueError, self.type2test, [Indexable(-1)])
140 self.assertRaises(ValueError, self.type2test, [Indexable(256)])
1271 b[0] = Indexable(10)
1289 b[0] = Indexable(-1)
1487 a.extend([Indexable(ord('a'))])
1504 b.remove(Indexable(ord('e')))
1537 b.append(Indexable(ord('A')))
[all …]
/external/starlark-go/starlark/
Dvalue.go187 type Indexable interface { interface
198 Indexable
211 Indexable
217 _ Indexable = Tuple(nil)
218 _ Indexable = String("")
565 _ Indexable = (*stringElems)(nil)
1362 case Indexable:
1401 _ Indexable = Bytes("")
Deval.go639 case Indexable: // string, list, tuple
Dlibrary.go820 _ Indexable = rangeValue{}
/external/escapevelocity/src/test/java/com/google/escapevelocity/
DTemplateTest.java350 public static class Indexable { class in TemplateTest
359 compare("<$x[\"foo\"]>", ImmutableMap.of("x", new Indexable())); in substituteExoticIndex()
/external/starlark-go/doc/
Dspec.md1549 * `Indexable`: an _indexed_ type has a fixed length and provides efficient