Home
last modified time | relevance | path

Searched refs:self (Results 1576 - 1600 of 5936) sorted by relevance

1...<<61626364656667686970>>...238

/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A Dhw_atl2_utils.c33 int hw_atl2_utils_initfw(struct aq_hw_s *self, const struct aq_fw_ops **fw_ops) in hw_atl2_utils_initfw() argument
37 self->fw_ver_actual = hw_atl2_utils_get_fw_version(self); in hw_atl2_utils_initfw()
39 if (hw_atl_utils_ver_match(HW_ATL2_FW_VER_1X, self->fw_ver_actual)) { in hw_atl2_utils_initfw()
43 self->fw_ver_actual); in hw_atl2_utils_initfw()
46 aq_pr_trace("Detect ATL2FW %x\n", self->fw_ver_actual); in hw_atl2_utils_initfw()
47 self->aq_fw_ops = *fw_ops; in hw_atl2_utils_initfw()
48 err = self->aq_fw_ops->init(self); in hw_atl2_utils_initfw()
50 self in hw_atl2_utils_initfw()
55 hw_atl2_mcp_boot_complete(struct aq_hw_s *self) hw_atl2_mcp_boot_complete() argument
70 hw_atl2_utils_soft_reset(struct aq_hw_s *self) hw_atl2_utils_soft_reset() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A Dhw_atl2_utils.c33 int hw_atl2_utils_initfw(struct aq_hw_s *self, const struct aq_fw_ops **fw_ops) in hw_atl2_utils_initfw() argument
37 self->fw_ver_actual = hw_atl2_utils_get_fw_version(self); in hw_atl2_utils_initfw()
39 if (hw_atl_utils_ver_match(HW_ATL2_FW_VER_1X, self->fw_ver_actual)) { in hw_atl2_utils_initfw()
43 self->fw_ver_actual); in hw_atl2_utils_initfw()
46 aq_pr_trace("Detect ATL2FW %x\n", self->fw_ver_actual); in hw_atl2_utils_initfw()
47 self->aq_fw_ops = *fw_ops; in hw_atl2_utils_initfw()
48 err = self->aq_fw_ops->init(self); in hw_atl2_utils_initfw()
50 self in hw_atl2_utils_initfw()
55 hw_atl2_mcp_boot_complete(struct aq_hw_s *self) hw_atl2_mcp_boot_complete() argument
70 hw_atl2_utils_soft_reset(struct aq_hw_s *self) hw_atl2_utils_soft_reset() argument
[all...]
/third_party/python/Lib/distutils/command/
H A Dinstall_egg_info.py19 def initialize_options(self):
20 self.install_dir = None
22 def finalize_options(self):
23 self.set_undefined_options('install_lib',('install_dir','install_dir'))
25 to_filename(safe_name(self.distribution.get_name())),
26 to_filename(safe_version(self.distribution.get_version())),
29 self.target = os.path.join(self.install_dir, basename)
30 self.outputs = [self
[all...]
/third_party/python/Lib/ctypes/test/
H A Dtest_unicode.py9 def test_wcslen(self):
14 self.assertEqual(wcslen("abc"), 3)
15 self.assertEqual(wcslen("ab\u2070"), 3)
16 self.assertRaises(ctypes.ArgumentError, wcslen, b"ab\xe4")
18 def test_buffers(self):
20 self.assertEqual(len(buf), 3+1)
23 self.assertEqual(buf[:], "ab\xe4\xf6\xfc\0")
24 self.assertEqual(buf[::], "ab\xe4\xf6\xfc\0")
25 self.assertEqual(buf[::-1], '\x00\xfc\xf6\xe4ba')
26 self
[all...]
/third_party/littlefs/scripts/
H A Dtracebd.py55 def __init__(self, maxlen=None):
56 self.maxlen = maxlen
57 self.lines = co.deque(maxlen=maxlen)
58 self.tail = io.StringIO()
62 self.resize(0)
64 def write(self, s):
68 if len(lines) > 1 and self.tail.getvalue():
69 self.tail.write(lines[0])
70 lines[0] = self.tail.getvalue()
71 self
[all...]
/third_party/python/Lib/
H A Dpprint.py92 def __init__(self, obj):
93 self.obj = obj
95 def __lt__(self, other):
97 return self.obj < other.obj
99 return ((str(type(self.obj)), id(self.obj)) < \
107 def __init__(self, indent=1, width=80, depth=None, stream=None, *,
140 self._depth = depth
141 self._indent_per_level = indent
142 self
[all...]
H A Dcsv.py42 def __init__(self):
43 if self.__class__ != Dialect:
44 self._valid = True
45 self._validate()
47 def _validate(self):
49 _Dialect(self)
81 def __init__(self, f, fieldnames=None, restkey=None, restval=None,
83 self._fieldnames = fieldnames # list of keys for the dict
84 self.restkey = restkey # key to catch long rows
85 self
[all...]
/third_party/gn/build/
H A Dgen.py29 def __init__(self, platform):
30 self._platform = platform
31 if self._platform is not None:
33 self._platform = sys.platform
34 if self._platform.startswith('linux'):
35 self._platform = 'linux'
36 elif self._platform.startswith('darwin'):
37 self._platform = 'darwin'
38 elif self._platform.startswith('mingw'):
39 self
[all...]
/third_party/ffmpeg/doc/
H A Dt2h.pm65 my $self = shift;
74 if ($self->in_string) {
75 $result .= $self->command_string($command) ."\n" if ($cmdname ne 'node');
80 my $element_id = $self->command_id($command);
86 if ($self->get_conf('DEBUG'));
95 $result .= &{get_formatting_function($self, 'format_element_header')}($self, $cmdname,
117 my $heading = $self->command_text($command);
124 my $content_href = $self->command_contents_href($command, 'contents',
125 $self
[all...]
/third_party/node/deps/brotli/c/enc/
H A Dhash_longest_match64_inc.h61 HasherCommon* common, HashLongestMatch* BROTLI_RESTRICT self, in Initialize()
63 self->common_ = common; in Initialize()
66 self->hash_shift_ = 64 - common->params.bucket_bits; in Initialize()
67 self->hash_mask_ = (~((uint64_t)0U)) >> (64 - 8 * common->params.hash_len); in Initialize()
68 self->bucket_size_ = (size_t)1 << common->params.bucket_bits; in Initialize()
69 self->block_bits_ = common->params.block_bits; in Initialize()
70 self->block_size_ = (size_t)1 << common->params.block_bits; in Initialize()
71 self->block_mask_ = (uint32_t)(self->block_size_ - 1); in Initialize()
72 self in Initialize()
60 Initialize( HasherCommon* common, HashLongestMatch* BROTLI_RESTRICT self, const BrotliEncoderParams* params) Initialize() argument
78 Prepare( HashLongestMatch* BROTLI_RESTRICT self, BROTLI_BOOL one_shot, size_t input_size, const uint8_t* BROTLI_RESTRICT data) Prepare() argument
109 Store( HashLongestMatch* BROTLI_RESTRICT self, const uint8_t* BROTLI_RESTRICT data, const size_t mask, const size_t ix) Store() argument
122 StoreRange(HashLongestMatch* BROTLI_RESTRICT self, const uint8_t* BROTLI_RESTRICT data, const size_t mask, const size_t ix_start, const size_t ix_end) StoreRange() argument
131 StitchToPreviousBlock( HashLongestMatch* BROTLI_RESTRICT self, size_t num_bytes, size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask) StitchToPreviousBlock() argument
145 PrepareDistanceCache( HashLongestMatch* BROTLI_RESTRICT self, int* BROTLI_RESTRICT distance_cache) PrepareDistanceCache() argument
162 FindLongestMatch( HashLongestMatch* BROTLI_RESTRICT self, const BrotliEncoderDictionary* dictionary, const uint8_t* BROTLI_RESTRICT data, const size_t ring_buffer_mask, const int* BROTLI_RESTRICT distance_cache, const size_t cur_ix, const size_t max_length, const size_t max_backward, const size_t dictionary_distance, const size_t max_distance, HasherSearchResult* BROTLI_RESTRICT out) FindLongestMatch() argument
[all...]
/third_party/skia/third_party/externals/brotli/c/enc/
H A Dhash_longest_match64_inc.h61 HasherCommon* common, HashLongestMatch* BROTLI_RESTRICT self, in Initialize()
63 self->common_ = common; in Initialize()
66 self->hash_shift_ = 64 - common->params.bucket_bits; in Initialize()
67 self->hash_mask_ = (~((uint64_t)0U)) >> (64 - 8 * common->params.hash_len); in Initialize()
68 self->bucket_size_ = (size_t)1 << common->params.bucket_bits; in Initialize()
69 self->block_bits_ = common->params.block_bits; in Initialize()
70 self->block_size_ = (size_t)1 << common->params.block_bits; in Initialize()
71 self->block_mask_ = (uint32_t)(self->block_size_ - 1); in Initialize()
72 self in Initialize()
60 Initialize( HasherCommon* common, HashLongestMatch* BROTLI_RESTRICT self, const BrotliEncoderParams* params) Initialize() argument
78 Prepare( HashLongestMatch* BROTLI_RESTRICT self, BROTLI_BOOL one_shot, size_t input_size, const uint8_t* BROTLI_RESTRICT data) Prepare() argument
109 Store( HashLongestMatch* BROTLI_RESTRICT self, const uint8_t* BROTLI_RESTRICT data, const size_t mask, const size_t ix) Store() argument
122 StoreRange(HashLongestMatch* BROTLI_RESTRICT self, const uint8_t* BROTLI_RESTRICT data, const size_t mask, const size_t ix_start, const size_t ix_end) StoreRange() argument
131 StitchToPreviousBlock( HashLongestMatch* BROTLI_RESTRICT self, size_t num_bytes, size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask) StitchToPreviousBlock() argument
145 PrepareDistanceCache( HashLongestMatch* BROTLI_RESTRICT self, int* BROTLI_RESTRICT distance_cache) PrepareDistanceCache() argument
162 FindLongestMatch( HashLongestMatch* BROTLI_RESTRICT self, const BrotliEncoderDictionary* dictionary, const uint8_t* BROTLI_RESTRICT data, const size_t ring_buffer_mask, const int* BROTLI_RESTRICT distance_cache, const size_t cur_ix, const size_t max_length, const size_t max_backward, const size_t dictionary_distance, const size_t max_distance, HasherSearchResult* BROTLI_RESTRICT out) FindLongestMatch() argument
[all...]
/third_party/python/Lib/test/
H A Dtest_readline.py49 def testHistoryUpdates(self):
55 self.assertEqual(readline.get_history_item(0), None)
56 self.assertEqual(readline.get_history_item(1), "first line")
57 self.assertEqual(readline.get_history_item(2), "second line")
60 self.assertEqual(readline.get_history_item(0), None)
61 self.assertEqual(readline.get_history_item(1), "replaced line")
62 self.assertEqual(readline.get_history_item(2), "second line")
64 self.assertEqual(readline.get_current_history_length(), 2)
67 self.assertEqual(readline.get_history_item(0), None)
68 self
[all...]
H A Dtest_resource.py15 def test_args(self):
16 self.assertRaises(TypeError, resource.getrlimit)
17 self.assertRaises(TypeError, resource.getrlimit, 42, 42)
18 self.assertRaises(TypeError, resource.setrlimit)
19 self.assertRaises(TypeError, resource.setrlimit, 42, 42, 42)
23 def test_fsize_ismax(self):
34 self.assertEqual(resource.RLIM_INFINITY, max)
37 def test_fsize_enforced(self):
84 def test_fsize_toobig(self):
102 def test_getrusage(self)
[all...]
/third_party/python/Lib/multiprocessing/
H A Dsharedctypes.py158 def get%s(self):
159 self.acquire()
161 return self._obj.%s
163 self.release()
164 def set%s(self, value):
165 self.acquire()
167 self._obj.%s = value
169 self.release()
182 def __init__(self, obj, lock=None, ctx=None):
183 self
[all...]
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/bin/
H A Dgenerate_language_headers.py81 def __init__(self, name, copyright, instructions, operand_kinds, version = None, revision = None):
82 self.name = name
83 self.copyright = copyright
84 self.instructions = instructions
85 self.operand_kinds = operand_kinds
86 self.version = version
87 self.revision = revision
93 def __init__(self):
94 self.upper_case_initial = re.compile('^[A-Z]')
97 def comment_prefix(self)
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/bin/
H A Dgenerate_language_headers.py81 def __init__(self, name, copyright, instructions, operand_kinds, version = None, revision = None):
82 self.name = name
83 self.copyright = copyright
84 self.instructions = instructions
85 self.operand_kinds = operand_kinds
86 self.version = version
87 self.revision = revision
93 def __init__(self):
94 self.upper_case_initial = re.compile('^[A-Z]')
97 def comment_prefix(self)
[all...]
/third_party/spirv-headers/tools/buildHeaders/bin/
H A Dgenerate_language_headers.py81 def __init__(self, name, copyright, instructions, operand_kinds, version = None, revision = None):
82 self.name = name
83 self.copyright = copyright
84 self.instructions = instructions
85 self.operand_kinds = operand_kinds
86 self.version = version
87 self.revision = revision
93 def __init__(self):
94 self.upper_case_initial = re.compile('^[A-Z]')
97 def comment_prefix(self)
[all...]
/third_party/python/Modules/
H A Dxxlimited.c10 local variables other than 'self'. If your object type is needed in
19 def __init__(self):
21 self._x_attr = {}
22 self._x_exports = 0
24 def __getattr__(self, name):
25 return self._x_attr[name]
27 def __setattr__(self, name, value):
28 self._x_attr[name] = value
30 def __delattr__(self, name):
31 del self
99 XxoObject *self; newXxoObject() local
119 XxoObject *self = (XxoObject *)self_obj; Xxo_traverse() local
125 Xxo_clear(XxoObject *self) Xxo_clear() argument
134 XxoObject *self = (XxoObject *)self_obj; Xxo_finalize() local
139 Xxo_dealloc(PyObject *self) Xxo_dealloc() argument
153 Xxo_getattro(XxoObject *self, PyObject *name) Xxo_getattro() argument
169 Xxo_setattro(XxoObject *self, PyObject *name, PyObject *v) Xxo_setattro() argument
197 Xxo_demo(XxoObject *self, PyTypeObject *defining_class, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) Xxo_demo() argument
236 Xxo_getbuffer(XxoObject *self, Py_buffer *view, int flags) Xxo_getbuffer() argument
248 Xxo_releasebuffer(XxoObject *self, Py_buffer *view) Xxo_releasebuffer() argument
254 Xxo_get_x_exports(XxoObject *self, void *c) Xxo_get_x_exports() argument
[all...]
/kernel/linux/linux-5.10/Documentation/sphinx/
H A Dkernel_abi.py85 def run(self):
87 doc = self.state.document
89 raise self.warning("docutils: file insertion disabled")
94 cmd += self.arguments[0]
96 if 'rst' in self.options:
112 lines = self.runCmd(cmd, shell=True, cwd=cwd, env=shell_env)
113 nodeList = self.nestedParse(lines, self.arguments[0])
116 def runCmd(self, cmd, **kwargs):
131 raise self
[all...]
/third_party/node/deps/v8/tools/testrunner/local/
H A Dandroid.py21 def __init__(self, timeout, output=None):
22 self.timeout = timeout
23 self.output = output
27 def __init__(self, status, output):
28 self.status = status
29 self.output = output
34 def __init__(self, device=None):
53 self.device = device_utils.DeviceUtils.HealthyDevices(
57 self.pushed = set()
59 def tear_down(self)
[all...]
/third_party/mesa3d/src/util/perf/
H A Du_trace.py35 def __init__(self, name, args=[], toggle_name=None,
53 self.name = name
54 self.args = args
57 self.tp_struct = tp_struct
58 self.tp_print = tp_print
59 self.tp_perfetto = tp_perfetto
60 self.end_of_pipe = end_of_pipe
61 self.toggle_name = toggle_name
63 TRACEPOINTS[name] = self
67 def can_generate_print(self)
[all...]
/third_party/python/Lib/test/test_importlib/import_/
H A Dtest_meta_path.py17 def test_first_called(self):
22 self.assertIs(self.__import__(mod), first.modules[mod])
24 def test_continuing(self):
29 first.find_spec = lambda self, fullname, path=None, parent=None: None
31 self.assertIs(self.__import__(mod_name), second.modules[mod_name])
33 def test_empty(self):
43 self.assertIsNone(importlib._bootstrap._find_spec('nothing',
45 self
[all...]
/third_party/vk-gl-cts/scripts/log/
H A Dlog_to_xml.py35 def __init__ (self, doc):
36 self.doc = doc
37 self.elementStack = []
38 self.rootElements = []
40 def getRootElements (self):
41 return self.rootElements
43 def pushElement (self, elem):
44 if len(self.elementStack) == 0:
45 self.rootElements.append(elem)
47 self
[all...]
/test/testfwk/developer_test/aw/python/distributed/
H A Dsample.py29 def setUp(self):
31 self.result_path = get_result_dir(__file__)
32 self.suits_dir = os.path.abspath(os.path.dirname(__file__))
33 self.manager = DeviceManager()
34 self.major = self.manager.PHONE1
35 self.angent_list = [self.manager.WATCH1, self.manager.PHONE2]
37 def test_dbinder(self)
[all...]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/packaging/
H A D_structures.py7 def __repr__(self) -> str:
10 def __hash__(self) -> int:
11 return hash(repr(self))
13 def __lt__(self, other: object) -> bool:
16 def __le__(self, other: object) -> bool:
19 def __eq__(self, other: object) -> bool:
20 return isinstance(other, self.__class__)
22 def __gt__(self, other: object) -> bool:
25 def __ge__(self, other: object) -> bool:
28 def __neg__(self
[all...]

Completed in 9 milliseconds

1...<<61626364656667686970>>...238