Home
last modified time | relevance | path

Searched refs:self (Results 2876 - 2900 of 4420) sorted by relevance

1...<<111112113114115116117118119120>>...177

/third_party/ltp/tools/sparse/sparse-src/
H A Dtarget-riscv.c79 static void init_riscv(const struct target *self) in init_riscv() argument
87 riscv_flags = self->flags; in init_riscv()
90 static void init_riscv32(const struct target *self) in init_riscv32() argument
97 init_riscv(self); in init_riscv32()
100 static void predefine_riscv(const struct target *self) in predefine_riscv() argument
/third_party/python/Lib/email/
H A D_encoded_words.py77 def __missing__(self, key):
78 if key in self.safe:
79 self[key] = chr(key)
81 self[key] = "={:02X}".format(key)
82 return self[key]
/third_party/skia/third_party/externals/brotli/python/tests/
H A D_test_utils.py62 return lambda self: method(self, *args, **kwargs)
98 def tearDown(self):
109 def assertFilesMatch(self, first, second):
110 self.assertTrue(
/third_party/skia/experimental/tools/
H A Dget_examples.py29 def __init__(self):
30 HTMLParser.__init__(self)
31 self.attrs = {}
32 def handle_starttag(self, tag, attrs):
34 self.attrs = dict(attrs)
/third_party/vk-gl-cts/scripts/
H A Dconvert_case_list_to_xml.py26 def __init__(self, casePath, description, caseType):
27 self.casePath = casePath
28 self.description = description
29 self.caseType = caseType
30 self.children = []
/vendor/hisilicon/hispark_pegasus/demo/oledplayer_demo/
H A Dbin2stream.py37 def handle(self):
38 addr = self.request.getpeername()
43 req = self.rfile.read(REQUEST_SIZE)
62 self.wfile.write(head + body)
68 self.wfile.close()
/third_party/benchmark/cmake/
H A Dpthread_affinity.cpp9 pthread_t self = pthread_self(); in main() local
11 ret = pthread_getaffinity_np(self, sizeof(set), &set); in main()
13 ret = pthread_setaffinity_np(self, sizeof(set), &set); in main()
/third_party/googletest/googletest/test/
H A Dgoogletest-setuptestsuite-test.py42 def testSetupErrorAndTearDownError(self):
44 self.assertNotEqual(p.exit_code, 0, msg=p.output)
46 self.assertIn(
/third_party/musl/src/locale/
H A Duselocale.c7 pthread_t self = __pthread_self(); in __uselocale() local
8 locale_t old = self->locale; in __uselocale()
11 if (new) self->locale = new == LC_GLOBAL_LOCALE ? global : new; in __uselocale()
/third_party/python/Lib/email/mime/
H A Dtext.py18 def __init__(self, _text, _subtype='plain', _charset=None, *, policy=None):
40 MIMENonMultipart.__init__(self, 'text', _subtype, policy=policy,
43 self.set_payload(_text, _charset)
H A Dimage.py16 def __init__(self, _imagedata, _subtype=None,
40 MIMENonMultipart.__init__(self, 'image', _subtype, policy=policy,
42 self.set_payload(_imagedata)
43 _encoder(self)
/third_party/python/Modules/clinic/
H A D_lsprof.c.h6 "getstats($self, /)\n"
37 _lsprof_Profiler_getstats_impl(ProfilerObject *self, PyTypeObject *cls);
40 _lsprof_Profiler_getstats(ProfilerObject *self, PyTypeObject *cls, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in _lsprof_Profiler_getstats() argument
46 return _lsprof_Profiler_getstats_impl(self, cls); in _lsprof_Profiler_getstats()
/third_party/protobuf/php/src/Google/Protobuf/
H A DNullValue.php26 self::NULL_VALUE => 'NULL_VALUE',
31 if (!isset(self::$valueToName[$value])) {
35 return self::$valueToName[$value];
/third_party/skia/infra/bots/recipe_modules/env/
H A Dapi.py10 def __call__(self, env_dict):
11 env = self.m.context.env
20 return self.m.context(env=env)
/kernel/linux/common_modules/tzdriver/core/
H A Dmailbox_mempool.c191 struct mb_page_t *self = NULL; in add_max_order_block() local
200 self = &g_m_zone->pages[0]; in add_max_order_block()
201 list_add_tail(&self->node, in add_max_order_block()
222 struct mb_page_t *self = NULL; in mailbox_free() local
237 self = &g_m_zone->pages[self_idx]; in mailbox_free()
238 if (self->count == 0) { in mailbox_free()
244 for (i = (unsigned int)self->order; i < in mailbox_free()
248 self = &g_m_zone->pages[self_idx]; in mailbox_free()
250 self->count = 0; in mailbox_free()
255 /* combine self an in mailbox_free()
[all...]
/third_party/skia/experimental/skottiekit/
H A Dskottiekit_bindings.cpp304 // .function("getResourceCacheLimitBytes", optional_override([](GrDirectContext& self)->size_t { in EMSCRIPTEN_BINDINGS()
307 // self.getResourceCacheLimits(&maxResources, &currMax); in EMSCRIPTEN_BINDINGS()
310 // .function("getResourceCacheUsageBytes", optional_override([](GrDirectContext& self)->size_t { in EMSCRIPTEN_BINDINGS()
313 // self.getResourceCacheUsage(&usedResources, &currUsage); in EMSCRIPTEN_BINDINGS()
317 // .function("setResourceCacheLimitBytes", optional_override([](GrDirectContext& self, size_t maxResourceBytes) { in EMSCRIPTEN_BINDINGS()
320 // self.getResourceCacheLimits(&maxResources, &currMax); in EMSCRIPTEN_BINDINGS()
321 // self.setResourceCacheLimits(maxResources, maxResourceBytes); in EMSCRIPTEN_BINDINGS()
338 .function("_clear", optional_override([](SkCanvas& self, uintptr_t /* float* */ cPtr) { in EMSCRIPTEN_BINDINGS()
346 self.drawPaint(p); in EMSCRIPTEN_BINDINGS()
356 .function("version", optional_override([](skottie::Animation& self) in EMSCRIPTEN_BINDINGS()
[all...]
/third_party/python/Modules/
H A D_xxsubinterpretersmodule.c1456 channelid *self = PyObject_New(channelid, cls); in newchannelid() local
1457 if (self == NULL) { in newchannelid()
1460 self->id = cid; in newchannelid()
1461 self->end = end; in newchannelid()
1462 self->resolve = resolve; in newchannelid()
1463 self->channels = channels; in newchannelid()
1470 Py_DECREF((PyObject *)self); in newchannelid()
1475 return self; in newchannelid()
1526 channelid_repr(PyObject *self) in channelid_repr() argument
1528 PyTypeObject *type = Py_TYPE(self); in channelid_repr()
1546 channelid_str(PyObject *self) channelid_str() argument
1553 channelid_int(PyObject *self) channelid_int() argument
1600 channelid_hash(PyObject *self) channelid_hash() argument
1613 channelid_richcompare(PyObject *self, PyObject *other, int op) channelid_richcompare() argument
1733 channelid_end(PyObject *self, void *end) channelid_end() argument
1994 interp_create(PyObject *self, PyObject *args, PyObject *kwds) interp_create() argument
2036 interp_destroy(PyObject *self, PyObject *args, PyObject *kwds) interp_destroy() argument
2090 interp_list_all(PyObject *self, PyObject *Py_UNUSED(ignored)) interp_list_all() argument
2128 interp_get_current(PyObject *self, PyObject *Py_UNUSED(ignored)) interp_get_current() argument
2144 interp_get_main(PyObject *self, PyObject *Py_UNUSED(ignored)) interp_get_main() argument
2158 interp_run_string(PyObject *self, PyObject *args, PyObject *kwds) interp_run_string() argument
2203 object_is_shareable(PyObject *self, PyObject *args, PyObject *kwds) object_is_shareable() argument
2227 interp_is_running(PyObject *self, PyObject *args, PyObject *kwds) interp_is_running() argument
2256 channel_create(PyObject *self, PyObject *Py_UNUSED(ignored)) channel_create() argument
2280 channel_destroy(PyObject *self, PyObject *args, PyObject *kwds) channel_destroy() argument
2302 channel_list_all(PyObject *self, PyObject *Py_UNUSED(ignored)) channel_list_all() argument
2339 channel_list_interpreters(PyObject *self, PyObject *args, PyObject *kwds) channel_list_interpreters() argument
2401 channel_send(PyObject *self, PyObject *args, PyObject *kwds) channel_send() argument
2423 channel_recv(PyObject *self, PyObject *args, PyObject *kwds) channel_recv() argument
2458 channel_close(PyObject *self, PyObject *args, PyObject *kwds) channel_close() argument
2505 channel_release(PyObject *self, PyObject *args, PyObject *kwds) channel_release() argument
2540 channel__channel_id(PyObject *self, PyObject *args, PyObject *kwds) channel__channel_id() argument
[all...]
H A D_collectionsmodule.c1966 if self.default_factory is None: raise KeyError((key,))\n\
1967 self[key] = value = self.default_factory()\n\
2139 PyObject *self, *other; in defdict_or() local
2141 self = left; in defdict_or()
2145 self = right; in defdict_or()
2153 PyObject *new = new_defdict((defdictobject*)self, left); in defdict_or()
2169 defdict_traverse(PyObject *self, visitproc visit, void *arg) in defdict_traverse() argument
2171 Py_VISIT(((defdictobject *)self)->default_factory); in defdict_traverse()
2172 return PyDict_Type.tp_traverse(self, visi in defdict_traverse()
2183 defdict_init(PyObject *self, PyObject *args, PyObject *kwds) defdict_init() argument
2411 _tuplegetterobject* self; tuplegetter_new_impl() local
2423 tuplegetter_descr_get(PyObject *self, PyObject *obj, PyObject *type) tuplegetter_descr_get() argument
2456 tuplegetter_descr_set(PyObject *self, PyObject *obj, PyObject *value) tuplegetter_descr_set() argument
2467 tuplegetter_traverse(PyObject *self, visitproc visit, void *arg) tuplegetter_traverse() argument
2475 tuplegetter_clear(PyObject *self) tuplegetter_clear() argument
2483 tuplegetter_dealloc(_tuplegetterobject *self) tuplegetter_dealloc() argument
2491 tuplegetter_reduce(_tuplegetterobject *self, PyObject *Py_UNUSED(ignored)) tuplegetter_reduce() argument
2497 tuplegetter_repr(_tuplegetterobject *self) tuplegetter_repr() argument
[all...]
/third_party/musl/src/malloc/liteos_a/user_debug/
H A Dmemory_check.c414 bool is_invalid(struct chunk *self) in is_invalid() argument
417 checksum = CHUNK_SIZE(self) ^ CHUNK_PSIZE(self) ^ NODE_MAGIC; in is_invalid()
418 if (checksum != self->checksum) { in is_invalid()
487 void insert_block_list(struct chunk *self) in insert_block_list() argument
489 struct heap_block *block = CHUNK_TO_BLOCK(self); in insert_block_list()
799 void insert_free_tail(struct chunk *self) in insert_free_tail() argument
807 self->next = cur->next; in insert_free_tail()
808 self->prev = cur; in insert_free_tail()
809 cur->next = self; in insert_free_tail()
836 struct chunk *self = NULL; clean_recycle_list() local
[all...]
/third_party/musl/porting/liteos_a/user_debug/src/malloc/
H A Dmemory_check.c399 bool is_invalid(struct chunk *self) in is_invalid() argument
402 checksum = CHUNK_SIZE(self) ^ CHUNK_PSIZE(self) ^ NODE_MAGIC; in is_invalid()
403 if (checksum != self->checksum) { in is_invalid()
472 void insert_block_list(struct chunk *self) in insert_block_list() argument
474 struct heap_block *block = CHUNK_TO_BLOCK(self); in insert_block_list()
784 void insert_free_tail(struct chunk *self) in insert_free_tail() argument
792 self->next = cur->next; in insert_free_tail()
793 self->prev = cur; in insert_free_tail()
794 cur->next = self; in insert_free_tail()
821 struct chunk *self = NULL; clean_recycle_list() local
[all...]
/third_party/musl/src/thread/
H A Dsynccall.c49 pthread_t self = __pthread_self(), td; in __synccall() local
66 if (!libc.threads_minus_1 || __syscall(SYS_gettid) != self->tid) in __synccall()
79 for (td=self->next; td!=self; td=td->next) { in __synccall()
/third_party/python/Include/cpython/
H A Dbytesobject.h44 PyBytesObject *self = _PyBytes_CAST(op); in PyBytes_GET_SIZE() local
45 return Py_SIZE(self); in PyBytes_GET_SIZE()
48 # define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
/third_party/python/Lib/test/
H A Dtest_fork1.py22 def test_threaded_import_lock_fork(self):
57 self.wait_impl(pid, exitcode=exitcode)
65 def test_nested_import_lock_fork(self):
90 self.wait_impl(pid, exitcode=exitcode)
/third_party/python/Lib/test/test_zoneinfo/
H A D_support.py69 def tzpath_context(self, tzpath, block_tzdata=True, lock=TZPATH_LOCK):
90 old_path = self.module.TZPATH
92 self.module.reset_tzpath(tzpath)
100 self.module.reset_tzpath(old_path)
/third_party/python/Lib/lib2to3/fixes/
H A Dfix_map.py64 def transform(self, node, results):
65 if self.should_skip(node):
74 self.warning(node, "You should use a for loop here")
95 self.warning(node, "cannot convert map(None, ...) "

Completed in 15 milliseconds

1...<<111112113114115116117118119120>>...177