Home
last modified time | relevance | path

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

12345678910>>...917

/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/swizzles/
Dvec_traits.rs10 fn xy(self) -> Self { in xy() argument
11 self in xy()
14 fn xx(self) -> Self; in xx() argument
16 fn yx(self) -> Self; in yx() argument
18 fn yy(self) -> Self; in yy() argument
20 fn xxx(self) -> Self::Vec3; in xxx()
22 fn xxy(self) -> Self::Vec3; in xxy()
24 fn xyx(self) -> Self::Vec3; in xyx()
26 fn xyy(self) -> Self::Vec3; in xyy()
28 fn yxx(self) -> Self::Vec3; in yxx()
[all …]
Du64vec4_impl.rs12 fn xx(self) -> U64Vec2 { in xx()
14 x: self.x, in xx()
15 y: self.x, in xx()
21 fn xy(self) -> U64Vec2 { in xy()
23 x: self.x, in xy()
24 y: self.y, in xy()
30 fn xz(self) -> U64Vec2 { in xz()
32 x: self.x, in xz()
33 y: self.z, in xz()
39 fn xw(self) -> U64Vec2 { in xw()
[all …]
Divec4_impl.rs12 fn xx(self) -> IVec2 { in xx()
14 x: self.x, in xx()
15 y: self.x, in xx()
21 fn xy(self) -> IVec2 { in xy()
23 x: self.x, in xy()
24 y: self.y, in xy()
30 fn xz(self) -> IVec2 { in xz()
32 x: self.x, in xz()
33 y: self.z, in xz()
39 fn xw(self) -> IVec2 { in xw()
[all …]
Di16vec4_impl.rs12 fn xx(self) -> I16Vec2 { in xx()
14 x: self.x, in xx()
15 y: self.x, in xx()
21 fn xy(self) -> I16Vec2 { in xy()
23 x: self.x, in xy()
24 y: self.y, in xy()
30 fn xz(self) -> I16Vec2 { in xz()
32 x: self.x, in xz()
33 y: self.z, in xz()
39 fn xw(self) -> I16Vec2 { in xw()
[all …]
Duvec4_impl.rs12 fn xx(self) -> UVec2 { in xx()
14 x: self.x, in xx()
15 y: self.x, in xx()
21 fn xy(self) -> UVec2 { in xy()
23 x: self.x, in xy()
24 y: self.y, in xy()
30 fn xz(self) -> UVec2 { in xz()
32 x: self.x, in xz()
33 y: self.z, in xz()
39 fn xw(self) -> UVec2 { in xw()
[all …]
Ddvec4_impl.rs12 fn xx(self) -> DVec2 { in xx()
14 x: self.x, in xx()
15 y: self.x, in xx()
21 fn xy(self) -> DVec2 { in xy()
23 x: self.x, in xy()
24 y: self.y, in xy()
30 fn xz(self) -> DVec2 { in xz()
32 x: self.x, in xz()
33 y: self.z, in xz()
39 fn xw(self) -> DVec2 { in xw()
[all …]
Di64vec4_impl.rs12 fn xx(self) -> I64Vec2 { in xx()
14 x: self.x, in xx()
15 y: self.x, in xx()
21 fn xy(self) -> I64Vec2 { in xy()
23 x: self.x, in xy()
24 y: self.y, in xy()
30 fn xz(self) -> I64Vec2 { in xz()
32 x: self.x, in xz()
33 y: self.z, in xz()
39 fn xw(self) -> I64Vec2 { in xw()
[all …]
Du16vec4_impl.rs12 fn xx(self) -> U16Vec2 { in xx()
14 x: self.x, in xx()
15 y: self.x, in xx()
21 fn xy(self) -> U16Vec2 { in xy()
23 x: self.x, in xy()
24 y: self.y, in xy()
30 fn xz(self) -> U16Vec2 { in xz()
32 x: self.x, in xz()
33 y: self.z, in xz()
39 fn xw(self) -> U16Vec2 { in xw()
[all …]
/aosp_15_r20/external/python/pyfakefs/pyfakefs/tests/
Dfake_os_test.py43 def createTestFile(self, path): argument
44 self.create_file(path)
45 self.assertTrue(self.os.path.exists(path))
46 st = self.os.stat(path)
47 self.assertEqual(0o666, stat.S_IMODE(st.st_mode))
48 self.assertTrue(st.st_mode & stat.S_IFREG)
49 self.assertFalse(st.st_mode & stat.S_IFDIR)
51 def createTestDirectory(self, path): argument
52 self.create_dir(path)
53 self.assertTrue(self.os.path.exists(path))
[all …]
Dfake_filesystem_test.py38 def setUp(self): argument
39 self.filesystem = fake_filesystem.FakeFilesystem(path_separator="/")
40 self.os = fake_os.FakeOsModule(self.filesystem)
41 self.time = time_mock(10, 1)
42 self.time.start()
43 self.fake_file = fake_filesystem.FakeFile(
44 "foobar", contents="dummy_file", filesystem=self.filesystem
46 self.fake_dir = fake_filesystem.FakeDirectory(
47 "somedir", filesystem=self.filesystem
50 def tearDown(self): argument
[all …]
Dfake_pathlib_test.py43 def __init__(self, methodName="runTest"): argument
44 fake_filesystem_unittest.TestCase.__init__(self, methodName)
45 RealFsTestMixin.__init__(self)
47 def setUp(self): argument
48 RealFsTestMixin.setUp(self)
49 self.filesystem = None
50 self.real_os = os
51 if not self.use_real_fs():
52 self.setUpPyfakefs()
53 self.filesystem = self.fs
[all …]
Dfake_open_test.py35 def setUp(self): argument
36 super(FakeFileOpenTestBase, self).setUp()
37 if self.use_real_fs():
38 self.open = io.open
40 self.fake_io_module = FakeIoModule(self.filesystem)
41 self.open = self.fake_io_module.open
43 def path_separator(self): argument
48 def setUp(self): argument
49 super(FakeFileOpenTest, self).setUp()
50 self.orig_time = time.time
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/swizzles/scalar/
Dvec4_impl.rs12 fn xx(self) -> Vec2 { in xx()
14 x: self.x, in xx()
15 y: self.x, in xx()
21 fn xy(self) -> Vec2 { in xy()
23 x: self.x, in xy()
24 y: self.y, in xy()
30 fn xz(self) -> Vec2 { in xz()
32 x: self.x, in xz()
33 y: self.z, in xz()
39 fn xw(self) -> Vec2 { in xw()
[all …]
/aosp_15_r20/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/compliance/
DWlanSecurityComplianceABGTest.py44 def security_profile_generator(self, *args, **kwargs): argument
54 self: The object of the WlanSecurityComplianceABGTest class.
147 self.security_profile = Security(security_mode=security_mode,
151 self.client_password = password
152 self.target_security = target_security
153 self.ssid = utils.rand_ascii_str(SSID_LENGTH_DEFAULT)
154 return test_func(self, *args, *kwargs)
167 def setup_class(self): argument
169 if 'dut' in self.user_params:
170 if self.user_params['dut'] == 'fuchsia_devices':
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/ash/src/vk/
Denums.rs8 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
9 Self(x) in from_raw()
12 pub const fn as_raw(self) -> i32 { in as_raw()
13 self.0 in as_raw()
18 pub const UNDEFINED: Self = Self(0);
20 pub const GENERAL: Self = Self(1);
22 pub const COLOR_ATTACHMENT_OPTIMAL: Self = Self(2);
24 pub const DEPTH_STENCIL_ATTACHMENT_OPTIMAL: Self = Self(3);
26 pub const DEPTH_STENCIL_READ_ONLY_OPTIMAL: Self = Self(4);
28 pub const SHADER_READ_ONLY_OPTIMAL: Self = Self(5);
[all …]
Dfeature_extensions.rs6 pub const PROTECTED: Self = Self(0b1000);
11 pub const PROTECTED: Self = Self(0b100);
16 pub const DEVICE_GROUP: Self = Self(0b100);
17 pub const VIEW_LOCAL: Self = Self(0b10);
22 pub const PROTECTED: Self = Self(0b1);
26 pub const G8B8G8R8_422_UNORM: Self = Self(1_000_156_000);
27 pub const B8G8R8G8_422_UNORM: Self = Self(1_000_156_001);
28 pub const G8_B8_R8_3PLANE_420_UNORM: Self = Self(1_000_156_002);
29 pub const G8_B8R8_2PLANE_420_UNORM: Self = Self(1_000_156_003);
30 pub const G8_B8_R8_3PLANE_422_UNORM: Self = Self(1_000_156_004);
[all …]
/aosp_15_r20/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 …]
/aosp_15_r20/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 …]
/aosp_15_r20/external/rust/android-crates-io/crates/gdbstub_arch/src/aarch64/reg/
Did.rs49 fn from_raw_id(id: usize) -> Option<(Self, Option<NonZeroUsize>)> { in from_raw_id() argument
51 0..=30 => Self::X(id as u8), in from_raw_id()
52 31 => Self::Sp, in from_raw_id()
53 32 => Self::Pc, in from_raw_id()
54 33 => Self::Pstate, in from_raw_id()
55 34..=65 => Self::V((id - 34) as u8), in from_raw_id()
56 66 => Self::FPSR, in from_raw_id()
57 67 => Self::FPCR, in from_raw_id()
62 0b10_000_0000_0000_000..=0b11_111_1111_1111_111 => Self::System(id as u16), in from_raw_id()
74 pub fn len(&self) -> Option<usize> { in len()
[all …]
/aosp_15_r20/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 …]
/aosp_15_r20/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 …]
/aosp_15_r20/external/rust/android-crates-io/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 …]
/aosp_15_r20/external/selinux/python/sepolicy/sepolicy/
H A Dgui.py118 def __init__(self, app=None, test=False): argument
119 self.finish_init = False
120 self.advanced_init = True
121 self.opage = START_PAGE
122 self.dbus = SELinuxDBus()
124 customized = self.dbus.customized()
127 self.quit()
129 self.init_cur()
130 self.application = app
131 self.filter_txt = ""
[all …]
/aosp_15_r20/tools/test/connectivity/acts_tests/tests/google/tel/lab/
DTelLabNeighborCellTest.py153 def setup_class(self): argument
155 self.ad = self.android_devices[0]
156 self.ad.sim_card = getattr(self.ad, "sim_card", None)
157 self.md8475a_ip_address = self.user_params[
159 self.mg3710a_ip_address = self.user_params[
161 self.wlan_option = self.user_params.get("anritsu_wlan_option", False)
162 self.md8475_version = self.user_params.get("md8475", "A")
164 if "lte_rssi_offset" in self.user_params:
165 self._LTE_RSSI_OFFSET = int(self.user_params["lte_rssi_offset"])
166 if "wcdma_rssi_offset" in self.user_params:
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/glam/src/swizzles/sse2/
Dvec4_impl.rs19 fn xx(self) -> Vec2 { in xx()
21 x: self.x, in xx()
22 y: self.x, in xx()
28 fn xy(self) -> Vec2 { in xy()
30 x: self.x, in xy()
31 y: self.y, in xy()
37 fn xz(self) -> Vec2 { in xz()
39 x: self.x, in xz()
40 y: self.z, in xz()
46 fn xw(self) -> Vec2 { in xw()
[all …]

12345678910>>...917