Home
last modified time | relevance | path

Searched full:self (Results 1 – 25 of 11928) sorted by relevance

12345678910>>...478

/external/rust/crates/glam/src/swizzles/
Dvec_traits.rs9 fn xy(self) -> Self { in xy() argument
10 self in xy()
13 fn xx(self) -> Self; in xx() argument
15 fn yx(self) -> Self; in yx() argument
17 fn yy(self) -> Self; in yy() argument
19 fn xxx(self) -> Self::Vec3; in xxx()
21 fn xxy(self) -> Self::Vec3; in xxy()
23 fn xyx(self) -> Self::Vec3; in xyx()
25 fn xyy(self) -> Self::Vec3; in xyy()
27 fn yxx(self) -> Self::Vec3; in yxx()
[all …]
Duvec4_impl.rs11 fn xx(self) -> UVec2 { in xx()
13 x: self.x, in xx()
14 y: self.x, in xx()
19 fn xy(self) -> UVec2 { in xy()
21 x: self.x, in xy()
22 y: self.y, in xy()
27 fn xz(self) -> UVec2 { in xz()
29 x: self.x, in xz()
30 y: self.z, in xz()
35 fn xw(self) -> UVec2 { in xw()
[all …]
Ddvec4_impl.rs11 fn xx(self) -> DVec2 { in xx()
13 x: self.x, in xx()
14 y: self.x, in xx()
19 fn xy(self) -> DVec2 { in xy()
21 x: self.x, in xy()
22 y: self.y, in xy()
27 fn xz(self) -> DVec2 { in xz()
29 x: self.x, in xz()
30 y: self.z, in xz()
35 fn xw(self) -> DVec2 { in xw()
[all …]
Divec4_impl.rs11 fn xx(self) -> IVec2 { in xx()
13 x: self.x, in xx()
14 y: self.x, in xx()
19 fn xy(self) -> IVec2 { in xy()
21 x: self.x, in xy()
22 y: self.y, in xy()
27 fn xz(self) -> IVec2 { in xz()
29 x: self.x, in xz()
30 y: self.z, in xz()
35 fn xw(self) -> IVec2 { in xw()
[all …]
Ddvec3_impl.rs11 fn xx(self) -> DVec2 { in xx()
13 x: self.x, in xx()
14 y: self.x, in xx()
19 fn xy(self) -> DVec2 { in xy()
21 x: self.x, in xy()
22 y: self.y, in xy()
27 fn xz(self) -> DVec2 { in xz()
29 x: self.x, in xz()
30 y: self.z, in xz()
35 fn yx(self) -> DVec2 { in yx()
[all …]
Divec3_impl.rs11 fn xx(self) -> IVec2 { in xx()
13 x: self.x, in xx()
14 y: self.x, in xx()
19 fn xy(self) -> IVec2 { in xy()
21 x: self.x, in xy()
22 y: self.y, in xy()
27 fn xz(self) -> IVec2 { in xz()
29 x: self.x, in xz()
30 y: self.z, in xz()
35 fn yx(self) -> IVec2 { in yx()
[all …]
Duvec3_impl.rs11 fn xx(self) -> UVec2 { in xx()
13 x: self.x, in xx()
14 y: self.x, in xx()
19 fn xy(self) -> UVec2 { in xy()
21 x: self.x, in xy()
22 y: self.y, in xy()
27 fn xz(self) -> UVec2 { in xz()
29 x: self.x, in xz()
30 y: self.z, in xz()
35 fn yx(self) -> UVec2 { in yx()
[all …]
Dvec3_impl.rs11 fn xx(self) -> Vec2 { in xx()
13 x: self.x, in xx()
14 y: self.x, in xx()
19 fn xy(self) -> Vec2 { in xy()
21 x: self.x, in xy()
22 y: self.y, in xy()
27 fn xz(self) -> Vec2 { in xz()
29 x: self.x, in xz()
30 y: self.z, in xz()
35 fn yx(self) -> Vec2 { in yx()
[all …]
/external/rust/crates/glam/src/swizzles/scalar/
Dvec4_impl.rs11 fn xx(self) -> Vec2 { in xx()
13 x: self.x, in xx()
14 y: self.x, in xx()
19 fn xy(self) -> Vec2 { in xy()
21 x: self.x, in xy()
22 y: self.y, in xy()
27 fn xz(self) -> Vec2 { in xz()
29 x: self.x, in xz()
30 y: self.z, in xz()
35 fn xw(self) -> Vec2 { in xw()
[all …]
Dvec3a_impl.rs11 fn xx(self) -> Vec2 { in xx()
13 x: self.x, in xx()
14 y: self.x, in xx()
19 fn xy(self) -> Vec2 { in xy()
21 x: self.x, in xy()
22 y: self.y, in xy()
27 fn xz(self) -> Vec2 { in xz()
29 x: self.x, in xz()
30 y: self.z, in xz()
35 fn yx(self) -> Vec2 { in yx()
[all …]
/external/python/pyfakefs/pyfakefs/tests/
Dfake_os_test.py37 def createTestFile(self, path): argument
38 self.create_file(path)
39 self.assertTrue(self.os.path.exists(path))
40 st = self.os.stat(path)
41 self.assertEqual(0o666, stat.S_IMODE(st.st_mode))
42 self.assertTrue(st.st_mode & stat.S_IFREG)
43 self.assertFalse(st.st_mode & stat.S_IFDIR)
45 def createTestDirectory(self, path): argument
46 self.create_dir(path)
47 self.assertTrue(self.os.path.exists(path))
[all …]
Dfake_filesystem_test.py32 def setUp(self): argument
33 self.time = time_mock(10, 1)
34 self.time.start()
35 self.filesystem = fake_filesystem.FakeFilesystem(path_separator='/')
36 self.os = fake_filesystem.FakeOsModule(self.filesystem)
37 self.fake_file = fake_filesystem.FakeFile(
38 'foobar', contents='dummy_file', filesystem=self.filesystem)
39 self.fake_dir = fake_filesystem.FakeDirectory(
40 'somedir', filesystem=self.filesystem)
42 def tearDown(self): argument
[all …]
Dfake_pathlib_test.py40 def __init__(self, methodName='runTest'): argument
41 super(RealPathlibTestCase, self).__init__(methodName)
42 self.pathlib = pathlib
43 self.path = None
45 def setUp(self): argument
47 if not self.use_real_fs():
48 self.pathlib = fake_pathlib.FakePathlibModule(self.filesystem)
49 self.path = self.pathlib.Path
53 def test_initialization_type(self): argument
55 path = self.path('/test')
[all …]
/external/python/cpython3/Lib/test/test_importlib/
Dtest_spec.py18 def __init__(self, path=None, is_package=None): argument
19 self.path = path
20 self.package = is_package
22 def __repr__(self): argument
25 def __getattr__(self, name): argument
26 if name == 'get_filename' and self.path is not None:
27 return self._get_filename
29 return self._is_package
32 def _get_filename(self, name): argument
33 return self.path
[all …]
/external/python/cpython2/Lib/compiler/
Dast.py25 def getChildren(self): argument
27 def __iter__(self): argument
28 for n in self.getChildren():
30 def asList(self): # for backwards compatibility argument
31 return self.getChildren()
32 def getChildNodes(self): argument
41 def __init__(self, node): argument
42 self.node = node
44 def getChildren(self): argument
45 return self.node,
[all …]
/external/rust/crates/glam/src/swizzles/sse2/
Dvec4_impl.rs18 fn xx(self) -> Vec2 { in xx()
20 x: self.x, in xx()
21 y: self.x, in xx()
26 fn xy(self) -> Vec2 { in xy()
28 x: self.x, in xy()
29 y: self.y, in xy()
34 fn xz(self) -> Vec2 { in xz()
36 x: self.x, in xz()
37 y: self.z, in xz()
42 fn xw(self) -> Vec2 { in xw()
[all …]
/external/python/cpython3/Lib/test/
Dtest_weakset.py15 def __init__(self): argument
16 self.cycle = self
21 def setUp(self): argument
23 self.items = [ustr(c) for c in ('a', 'b', 'c')]
24 self.items2 = [ustr(c) for c in ('x', 'y', 'z')]
25 self.ab_items = [ustr(c) for c in 'ab']
26 self.abcde_items = [ustr(c) for c in 'abcde']
27 self.def_items = [ustr(c) for c in 'def']
28 self.ab_weakset = WeakSet(self.ab_items)
29 self.abcde_weakset = WeakSet(self.abcde_items)
[all …]
Dtest_index.py7 def __index__(self): argument
8 return self.ind
11 def __index__(self): argument
12 return int(self)
15 def setUp(self): argument
16 self.o = newstyle()
17 self.n = newstyle()
19 def test_basic(self): argument
20 self.o.ind = -2
21 self.n.ind = 2
[all …]
/external/python/cpython2/Lib/test/
Dtest_weakset.py20 def __init__(self, value): argument
21 self.value = value
22 def __eq__(self, other): argument
23 if type(other) != type(self):
25 return other.value == self.value
27 def __ne__(self, other): argument
28 return not self.__eq__(other)
30 def __hash__(self): argument
31 return hash((SomeClass, self.value))
34 def __init__(self): argument
[all …]
/external/rust/crates/half/src/
Dnum_traits.rs10 fn to_i64(&self) -> Option<i64> { in to_i64()
11 Self::to_f32(*self).to_i64() in to_i64()
14 fn to_u64(&self) -> Option<u64> { in to_u64()
15 Self::to_f32(*self).to_u64() in to_u64()
18 fn to_i8(&self) -> Option<i8> { in to_i8()
19 Self::to_f32(*self).to_i8() in to_i8()
22 fn to_u8(&self) -> Option<u8> { in to_u8()
23 Self::to_f32(*self).to_u8() in to_u8()
26 fn to_i16(&self) -> Option<i16> { in to_i16()
27 Self::to_f32(*self).to_i16() in to_i16()
[all …]
/external/python/cpython2/Lib/lib-tk/test/test_ttk/
Dtest_widgets.py21 def test_class(self): argument
22 widget = self.create()
23 self.assertEqual(widget['class'], '')
27 self.checkInvalidParam(widget, 'class', 'Foo', errmsg=errmsg)
28 widget2 = self.create(class_='Foo')
29 self.assertEqual(widget2['class'], 'Foo')
31 def test_padding(self): argument
32 widget = self.create()
33 self.checkParam(widget, 'padding', 0, expected=('0',))
34 self.checkParam(widget, 'padding', 5, expected=('5',))
[all …]
/external/python/cpython3/Lib/tkinter/test/test_ttk/
Dtest_widgets.py19 def test_configure_class(self): argument
20 widget = self.create()
21 self.assertEqual(widget['class'], '')
25 self.checkInvalidParam(widget, 'class', 'Foo', errmsg=errmsg)
26 widget2 = self.create(class_='Foo')
27 self.assertEqual(widget2['class'], 'Foo')
29 def test_configure_padding(self): argument
30 widget = self.create()
31 self.checkParam(widget, 'padding', 0, expected=('0',))
32 self.checkParam(widget, 'padding', 5, expected=('5',))
[all …]
/external/rust/crates/ash/src/vk/
Denums.rs7 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
10 pub const fn as_raw(self) -> i32 { in as_raw()
11 self.0 in as_raw()
16 pub const UNDEFINED: Self = Self(0);
18 pub const GENERAL: Self = Self(1);
20 pub const COLOR_ATTACHMENT_OPTIMAL: Self = Self(2);
22 pub const DEPTH_STENCIL_ATTACHMENT_OPTIMAL: Self = Self(3);
24 pub const DEPTH_STENCIL_READ_ONLY_OPTIMAL: Self = Self(4);
26 pub const SHADER_READ_ONLY_OPTIMAL: Self = Self(5);
28 pub const TRANSFER_SRC_OPTIMAL: Self = Self(6);
[all …]
/external/rust/crates/gdbstub_arch/src/aarch64/reg/
Did.rs50 fn from_raw_id(id: usize) -> Option<(Self, Option<NonZeroUsize>)> { in from_raw_id() argument
52 0..=30 => Self::X(id as u8), in from_raw_id()
53 31 => Self::Sp, in from_raw_id()
54 32 => Self::Pc, in from_raw_id()
55 33 => Self::Pstate, in from_raw_id()
56 34..=65 => Self::V((id - 34) as u8), in from_raw_id()
57 66 => Self::FPSR, in from_raw_id()
58 67 => Self::FPCR, in from_raw_id()
63 0b10_000_0000_0000_000..=0b11_111_1111_1111_111 => Self::System(id as u16), in from_raw_id()
75 pub fn len(&self) -> Option<usize> { in len()
[all …]
/external/rust/crates/glam/src/swizzles/wasm32/
Dvec4_impl.rs15 fn xx(self) -> Vec2 { in xx()
17 x: self.x, in xx()
18 y: self.x, in xx()
23 fn xy(self) -> Vec2 { in xy()
25 x: self.x, in xy()
26 y: self.y, in xy()
31 fn xz(self) -> Vec2 { in xz()
33 x: self.x, in xz()
34 y: self.z, in xz()
39 fn xw(self) -> Vec2 { in xw()
[all …]

12345678910>>...478