Home
last modified time | relevance | path

Searched refs:self (Results 2801 - 2825 of 5853) sorted by relevance

1...<<111112113114115116117118119120>>...235

/third_party/python/Lib/idlelib/idle_test/
H A Dtest_debugobj_r.py9 def test_getattr(self):
11 self.assertEqual(ti.append, list.append)
15 def test_init(self):
17 self.assertEqual(ti.sockio, 'socket')
18 self.assertEqual(ti.oid, 1111)
/kernel/linux/linux-5.10/tools/testing/kunit/
H A Dkunit_parser.py20 def __init__(self):
21 self.status = None
22 self.name = None
23 self.cases = []
25 def __str__(self):
26 return 'TestSuite(' + self.status + ',' + self.name + ',' + str(self.cases) + ')'
28 def __repr__(self):
29 return str(self)
[all...]
/third_party/python/Tools/c-analyzer/cpython/
H A D_capi.py193 self = cls(filename, lno, name, kind, level)
195 self._text = (prev + line).rstrip().splitlines()
197 self._text = [line.rstrip()]
198 return self, None
201 def relfile(self):
202 return self.file[len(REPO_ROOT) + 1:]
205 def text(self):
207 return self._text
210 self._text = []
211 if self
[all...]
/third_party/python/Lib/test/
H A Daudit-tests.py20 def __init__(self, raise_on_events=None, exc_type=RuntimeError):
21 self.raise_on_events = raise_on_events or ()
22 self.exc_type = exc_type
23 self.seen = []
24 self.closed = False
26 def __enter__(self, *a):
27 sys.addaudithook(self)
28 return self
30 def __exit__(self, *a):
31 self
[all...]
/third_party/python/Objects/clinic/
H A Dcodeobject.c.h160 "replace($self, /, *, co_argcount=-1, co_posonlyargcount=-1,\n"
174 code_replace_impl(PyCodeObject *self, int co_argcount,
186 code_replace(PyCodeObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in code_replace() argument
193 int co_argcount = self->co_argcount; in code_replace()
194 int co_posonlyargcount = self->co_posonlyargcount; in code_replace()
195 int co_kwonlyargcount = self->co_kwonlyargcount; in code_replace()
196 int co_nlocals = self->co_nlocals; in code_replace()
197 int co_stacksize = self->co_stacksize; in code_replace()
198 int co_flags = self->co_flags; in code_replace()
199 int co_firstlineno = self in code_replace()
418 code__varname_from_oparg(PyCodeObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) code__varname_from_oparg() argument
[all...]
/third_party/skia/modules/canvaskit/
H A Dskottie_bindings.cpp289 .function("version", optional_override([](skottie::Animation& self)->std::string { in EMSCRIPTEN_BINDINGS()
290 return std::string(self.version().c_str()); in EMSCRIPTEN_BINDINGS()
292 .function("_size", optional_override([](skottie::Animation& self, in EMSCRIPTEN_BINDINGS()
295 *output = self.size(); in EMSCRIPTEN_BINDINGS()
299 .function("seek", optional_override([](skottie::Animation& self, SkScalar t)->void { in EMSCRIPTEN_BINDINGS()
300 self.seek(t); in EMSCRIPTEN_BINDINGS()
302 .function("seekFrame", optional_override([](skottie::Animation& self, double t)->void { in EMSCRIPTEN_BINDINGS()
303 self.seekFrame(t); in EMSCRIPTEN_BINDINGS()
305 .function("_render", optional_override([](skottie::Animation& self, SkCanvas* canvas, in EMSCRIPTEN_BINDINGS()
308 self in EMSCRIPTEN_BINDINGS()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/proc/
H A DMakefile13 TEST_GEN_PROGS += proc-self-map-files-001
14 TEST_GEN_PROGS += proc-self-map-files-002
15 TEST_GEN_PROGS += proc-self-syscall
16 TEST_GEN_PROGS += proc-self-wchan
22 TEST_GEN_PROGS += self
25 TEST_GEN_PROGS += thread-self
/third_party/node/deps/v8/tools/clusterfuzz/foozzie/
H A Dv8_fuzz_config.py24 def __init__(self, name, rng=None):
31 self.name = name
32 self.rng = rng or random.Random()
34 def choose_foozzie_flags(self, foozzie_experiments=None, additional_flags=None):
49 if self.rng.random() < p:
55 threshold = self.rng.random() * 100
/third_party/musl/porting/liteos_a/user/src/thread/
H A Dpthread_mutex_unlock.c5 pthread_t self; in __pthread_mutex_unlock() local
14 self = __pthread_self(); in __pthread_mutex_unlock()
17 if (own != self->tid) in __pthread_mutex_unlock()
24 self->robust_list.pending = &m->_m_next; in __pthread_mutex_unlock()
30 if (next != &self->robust_list.head) *(volatile void *volatile *) in __pthread_mutex_unlock()
37 self->robust_list.pending = 0; in __pthread_mutex_unlock()
/third_party/musl/src/stdio/
H A Dftrylockfile.c21 void __register_locked_file(FILE *f, pthread_t self) in __register_locked_file() argument
25 f->next_locked = self->stdio_locks; in __register_locked_file()
27 self->stdio_locks = f; in __register_locked_file()
32 pthread_t self = __pthread_self(); in ftrylockfile() local
33 int tid = self->tid; in ftrylockfile()
44 __register_locked_file(f, self); in ftrylockfile()
/third_party/python/Lib/encodings/
H A Dquopri_codec.py25 def encode(self, input, errors='strict'):
27 def decode(self, input, errors='strict'):
31 def encode(self, input, final=False):
32 return quopri_encode(input, self.errors)[0]
35 def decode(self, input, final=False):
36 return quopri_decode(input, self.errors)[0]
H A Dhex_codec.py22 def encode(self, input, errors='strict'):
24 def decode(self, input, errors='strict'):
28 def encode(self, input, final=False):
29 assert self.errors == 'strict'
33 def decode(self, input, final=False):
34 assert self.errors == 'strict'
H A Dbase64_codec.py22 def encode(self, input, errors='strict'):
24 def decode(self, input, errors='strict'):
28 def encode(self, input, final=False):
29 assert self.errors == 'strict'
33 def decode(self, input, final=False):
34 assert self.errors == 'strict'
/third_party/python/Lib/ctypes/test/
H A Dtest_array_in_pointer.py20 def test(self):
29 self.assertEqual("00-00-00-00", dump(val_array))
38 self.assertEqual(
43 def test_2(self):
48 self.assertEqual("00-00-00-00", dump(val_array))
58 self.assertEqual(
/third_party/python/Doc/includes/
H A Dsublist.c10 SubList_increment(SubListObject *self, PyObject *unused) in SubList_increment() argument
12 self->state++; in SubList_increment()
13 return PyLong_FromLong(self->state); in SubList_increment()
23 SubList_init(SubListObject *self, PyObject *args, PyObject *kwds) in SubList_init() argument
25 if (PyList_Type.tp_init((PyObject *) self, args, kwds) < 0) in SubList_init()
27 self->state = 0; in SubList_init()
/third_party/skia/third_party/externals/angle2/third_party/logdog/logdog/
H A Dbootstrap.py69 def stream_client(self, reg=None):
86 self.streamserver_uri,
87 project=self.project,
88 prefix=self.prefix,
89 coordinator_host=self.coordinator_host,
90 namespace=self.namespace)
/third_party/python/Modules/_ssl/clinic/
H A Dcert.c.h6 "public_bytes($self, /, format=Encoding.PEM)\n"
14 _ssl_Certificate_public_bytes_impl(PySSLCertificate *self, int format);
17 _ssl_Certificate_public_bytes(PySSLCertificate *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in _ssl_Certificate_public_bytes() argument
38 return_value = _ssl_Certificate_public_bytes_impl(self, format); in _ssl_Certificate_public_bytes()
45 "get_info($self, /)\n"
53 _ssl_Certificate_get_info_impl(PySSLCertificate *self);
56 _ssl_Certificate_get_info(PySSLCertificate *self, PyObject *Py_UNUSED(ignored)) in _ssl_Certificate_get_info() argument
58 return _ssl_Certificate_get_info_impl(self); in _ssl_Certificate_get_info()
/third_party/skia/infra/bots/
H A Dzip_utils_test.py22 def test_zip_unzip(self):
40 test_utils.compare_trees(self, 'input', 'output')
42 def test_to_skip(self):
58 # use self._compare_trees to check the results.
65 test_utils.compare_trees(self, 'input', 'output')
67 def test_nonexistent_dir(self):
69 with self.assertRaises(IOError):
/drivers/peripheral/audio/effect/model/src/mock_effect/
H A Dmock_effect_lib.c135 static int32_t MockEffectProcess(struct IEffectControlVdi *self, const struct AudioEffectBufferVdi *input, in MockEffectProcess() argument
138 if (self == NULL || input == NULL || output == NULL) { in MockEffectProcess()
146 static int32_t MockSendCommand(struct IEffectControlVdi *self, enum EffectCommandTableIndexVdi cmdId, in MockSendCommand() argument
149 if (self == NULL || commandData == NULL || replyData == NULL || replyDataLen == NULL) { in MockSendCommand()
169 static int32_t MockEffectReverse(struct IEffectControlVdi *self, const struct AudioEffectBufferVdi *input, in MockEffectReverse() argument
172 if (self == NULL || input == NULL || output == NULL) { in MockEffectReverse()
254 int32_t MockGetEffectDescriptor(struct IEffectControlVdi *self, struct EffectControllerDescriptorVdi *desc) in MockGetEffectDescriptor() argument
257 if (self == NULL || desc == NULL) { in MockGetEffectDescriptor()
271 static int32_t MockCreateController(struct EffectFactory *self, const struct EffectInfoVdi *info, in MockCreateController() argument
274 if (self in MockCreateController()
294 MockDestroyController(struct EffectFactory *self, struct IEffectControlVdi *handle) MockDestroyController() argument
308 MockGetDescriptor(struct EffectFactory *self, const char *uuid, struct EffectControllerDescriptorVdi *desc) MockGetDescriptor() argument
[all...]
/third_party/node/deps/v8/tools/testrunner/local/
H A Dstatusfile.py71 def __init__(self, path, variables):
76 self.variables = variables
78 self._rules, self._prefix_rules = ReadStatusFile(f.read(), variables)
80 def get_outcomes(self, testname, variant=None):
85 rules = self._rules.get(key, {})
86 prefix_rules = self._prefix_rules.get(key, {})
97 def warn_unused_rules(self, tests, check_variant_rules=False):
117 if testname in self._rules.get(variant, {}):
119 if SKIP in self
[all...]
/third_party/skia/third_party/externals/dawn/generator/
H A Dgenerator_lib.py59 def get_description(self):
63 def add_commandline_arguments(self, parser):
67 def get_file_renders(self, args):
71 def get_dependencies(self, args):
100 def __init__(self, path):
101 self.path = path
103 def get_source(self, environment, template):
104 path = os.path.join(self.path, template)
109 source = self.preprocess(f.read())
115 def preprocess(self, sourc
[all...]
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_dh895xcc/
H A Dadf_dh895xcc_hw_data.c28 static u32 get_accel_mask(struct adf_hw_device_data *self) in get_accel_mask() argument
30 u32 fuses = self->fuses; in get_accel_mask()
36 static u32 get_ae_mask(struct adf_hw_device_data *self) in get_ae_mask() argument
38 u32 fuses = self->fuses; in get_ae_mask()
43 static u32 get_misc_bar_id(struct adf_hw_device_data *self) in get_misc_bar_id() argument
48 static u32 get_ts_clock(struct adf_hw_device_data *self) in get_ts_clock() argument
53 return self->clock_frequency / 16; in get_ts_clock()
56 static u32 get_etr_bar_id(struct adf_hw_device_data *self) in get_etr_bar_id() argument
61 static u32 get_sram_bar_id(struct adf_hw_device_data *self) in get_sram_bar_id() argument
98 static enum dev_sku_info get_sku(struct adf_hw_device_data *self) in get_sku() argument
[all...]
/third_party/googletest/googlemock/scripts/generator/cpp/
H A Dtokenize.py71 def __init__(self, token_type, name, start, end):
72 self.token_type = token_type
73 self.name = name
74 self.start = start
75 self.end = end
76 self.whence = WHENCE_STREAM
78 def __str__(self):
80 return 'Token(%r)' % self.name
81 return 'Token(%r, %s, %s)' % (self.name, self
[all...]
/third_party/vixl/tools/test_generator/
H A Dparser.py54 def __init__(self, operand_types, operand_variants, input_types,
56 self.operand_types = operand_types
57 self.operand_variants = operand_variants
58 self.input_types = input_types
59 self.input_values = input_values
61 def BuildOperand(self, name, identifier):
66 type_name = self.operand_types[identifier]
67 variants, default = self.operand_variants[identifier]
72 def BuildInput(self, name, identifier):
77 type_name = self
[all...]
/third_party/python/Modules/_ctypes/
H A Dcallproc.c190 get_error_internal(PyObject *self, PyObject *args, int index) in get_error_internal() argument
204 set_error_internal(PyObject *self, PyObject *args, int index) in set_error_internal() argument
223 get_errno(PyObject *self, PyObject *args) in get_errno() argument
228 return get_error_internal(self, args, 0); in get_errno()
232 set_errno(PyObject *self, PyObject *args) in set_errno() argument
237 return set_error_internal(self, args, 0); in set_errno()
243 get_last_error(PyObject *self, PyObject *args) in get_last_error() argument
248 return get_error_internal(self, args, 1); in get_last_error()
252 set_last_error(PyObject *self, PyObject *args) in set_last_error() argument
257 return set_error_internal(self, arg in set_last_error()
449 check_hresult(PyObject *self, PyObject *args) check_hresult() argument
478 PyCArg_dealloc(PyCArgObject *self) PyCArg_dealloc() argument
491 PyCArg_repr(PyCArgObject *self) PyCArg_repr() argument
1323 format_error(PyObject *self, PyObject *args) format_error() argument
1349 load_library(PyObject *self, PyObject *args) load_library() argument
1397 free_library(PyObject *self, PyObject *args) free_library() argument
1420 copy_com_pointer(PyObject *self, PyObject *args) copy_com_pointer() argument
1478 py_dyld_shared_cache_contains_path(PyObject *self, PyObject *args) py_dyld_shared_cache_contains_path() argument
1513 py_dl_open(PyObject *self, PyObject *args) py_dl_open() argument
1551 py_dl_close(PyObject *self, PyObject *args) py_dl_close() argument
1565 py_dl_sym(PyObject *self, PyObject *args) py_dl_sym() argument
1593 call_function(PyObject *self, PyObject *args) call_function() argument
1628 call_cdeclfunction(PyObject *self, PyObject *args) call_cdeclfunction() argument
1666 sizeof_func(PyObject *self, PyObject *obj) sizeof_func() argument
1687 align_func(PyObject *self, PyObject *obj) align_func() argument
1714 byref(PyObject *self, PyObject *args) byref() argument
1753 addressof(PyObject *self, PyObject *obj) addressof() argument
1774 My_PyObj_FromPtr(PyObject *self, PyObject *args) My_PyObj_FromPtr() argument
1788 My_Py_INCREF(PyObject *self, PyObject *arg) My_Py_INCREF() argument
1796 My_Py_DECREF(PyObject *self, PyObject *arg) My_Py_DECREF() argument
1804 resize(PyObject *self, PyObject *args) resize() argument
1858 unpickle(PyObject *self, PyObject *args) unpickle() argument
1890 POINTER(PyObject *self, PyObject *cls) POINTER() argument
1955 pointer(PyObject *self, PyObject *arg) pointer() argument
1976 buffer_info(PyObject *self, PyObject *arg) buffer_info() argument
[all...]

Completed in 10 milliseconds

1...<<111112113114115116117118119120>>...235