/base/security/certificate_framework/interfaces/inner_api/certificate/ |
H A D | x509_cert_chain.h | 34 CfResult (*getCertList)(HcfCertChain *self, HcfX509CertificateArray *out); 38 HcfCertChain *self, const HcfX509CertChainValidateParams *params, HcfX509CertChainValidateResult *result); 41 CfResult (*toString)(HcfCertChain *self, CfBlob *out); 44 CfResult (*hashCode)(HcfCertChain *self, CfBlob *out);
|
/drivers/peripheral/wlan/test/hdi_service/ |
H A D | hostapd_callback_impl.c | 22 static int32_t HostapdCallbackStaJoin(struct IHostapdCallback *self,
in HostapdCallbackStaJoin() argument 25 (void)self;
in HostapdCallbackStaJoin() 34 static int32_t HostapdCallbackApState(struct IHostapdCallback *self,
in HostapdCallbackApState() argument 37 (void)self;
in HostapdCallbackApState()
|
/foundation/communication/dsoftbus/tests/core/discovery/ipc/ |
H A D | remote_object_mock.cpp | 36 void RemoteObjectMock::SetSelf(const sptr<RemoteObjectMock> &self) in SetSelf() argument 38 instance_ = self; in SetSelf() 46 void RemoteObjectMock::SetupStub(const sptr<RemoteObjectMock> &self) in SetupStub() argument 48 SetSelf(self); in SetupStub()
|
/third_party/mbedtls/scripts/mbedtls_dev/ |
H A D | logging_util.py | 26 def __init__(self, max_level, name=''): 28 self.max_level = max_level 30 def filter(self, record: logging.LogRecord) -> bool: 31 return record.levelno <= self.max_level
|
/third_party/jinja2/ |
H A D | optimizer.py | 27 def __init__(self, environment: "t.Optional[Environment]") -> None: 28 self.environment = environment 31 self, node: nodes.Node, *args: t.Any, **kwargs: t.Any 42 environment=self.environment,
|
/third_party/mesa3d/src/mapi/glapi/gen/ |
H A D | api_vtxfmt_init_h.py | 35 def __init__(self): 38 self.name = 'api_vtxfmt_init_h.py' 39 self.license = license.bsd_license_template % ( 44 def printBody(self, api):
|
/third_party/ltp/testcases/realtime/func/pi-tests/ |
H A D | parse-testpi2.py | 34 def __init__(self,filename): 35 Log.__init__(self,filename) 37 def eval(self): 44 for line in self.read():
|
H A D | parse-testpi1.py | 33 def __init__(self,filename): 34 Log.__init__(self,filename) 36 def eval(self): 41 for line in self.read():
|
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | target-s390.c | 7 static void init_s390(const struct target *self) in init_s390() argument 18 static void predefine_s390(const struct target *self) in predefine_s390() argument 51 static void predefine_s390x(const struct target *self) in predefine_s390x() argument 56 predefine_s390(self); in predefine_s390x()
|
/third_party/python/Tools/c-analyzer/c_common/ |
H A D | logging.py | 57 def __init__(self, verbosity=VERBOSITY): 58 self.verbosity = verbosity 60 def info(self, *args, **kwargs): 61 if self.verbosity < 3:
|
/third_party/python/Lib/distutils/tests/ |
H A D | test_log.py | 11 def test_non_ascii(self): 17 with self.subTest(errors=errors): 32 self.assertEqual(stdout.read().rstrip(), 37 self.assertEqual(stderr.read().rstrip(),
|
/third_party/python/Lib/encodings/ |
H A D | raw_unicode_escape.py | 21 def encode(self, input, final=False): 22 return codecs.raw_unicode_escape_encode(input, self.errors)[0] 25 def _buffer_decode(self, input, errors, final): 32 def decode(self, input, errors='strict'):
|
H A D | latin_1.py | 21 def encode(self, input, final=False): 22 return codecs.latin_1_encode(input,self.errors)[0] 25 def decode(self, input, final=False): 26 return codecs.latin_1_decode(input,self.errors)[0]
|
H A D | unicode_escape.py | 21 def encode(self, input, final=False): 22 return codecs.unicode_escape_encode(input, self.errors)[0] 25 def _buffer_decode(self, input, errors, final): 32 def decode(self, input, errors='strict'):
|
H A D | ascii.py | 21 def encode(self, input, final=False): 22 return codecs.ascii_encode(input, self.errors)[0] 25 def decode(self, input, final=False): 26 return codecs.ascii_decode(input, self.errors)[0]
|
/third_party/python/Lib/test/ |
H A D | test_startfile.py | 23 def test_nonexisting(self): 24 self.assertRaises(OSError, startfile, "nonexisting.vbs") 26 def test_empty(self): 37 def test_python(self):
|
H A D | test_wait4.py | 19 def wait_impl(self, cpid, *, exitcode): 33 self.assertEqual(spid, cpid) 34 self.assertEqual(os.waitstatus_to_exitcode(status), exitcode) 35 self.assertTrue(rusage)
|
H A D | test_type_cache.py | 17 def test_tp_version_tag_unique(self): 28 self.skipTest("Out of type version tags") 33 assertNotEqual = self.assertNotEqual 42 self.assertEqual(len(set(all_version_tags)), 30,
|
/third_party/python/Lib/email/ |
H A D | iterators.py | 21 def walk(self): 27 yield self 28 if self.is_multipart(): 29 for subpart in self.get_payload():
|
/third_party/protobuf/python/google/protobuf/pyext/ |
H A D | descriptor_pool.h | 97 PyObject* FindFieldByName(PyDescriptorPool* self, PyObject* name); 103 PyObject* FindExtensionByName(PyDescriptorPool* self, PyObject* arg); 109 PyObject* FindEnumTypeByName(PyDescriptorPool* self, PyObject* arg); 115 PyObject* FindOneofByName(PyDescriptorPool* self, PyObject* arg);
|
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/ |
H A D | js_panel.h | 89 napi_value self = nullptr; in PanelContentContext() local 90 napi_status status = napi_get_cb_info(env, info, 0, nullptr, &self, nullptr); in PanelContentContext() 91 CHECK_RETURN_VOID((status == napi_ok) && (self != nullptr), "get callback info failed."); in PanelContentContext() 93 status = napi_unwrap(env, self, &native); in PanelContentContext() 98 napi_status operator()(napi_env env, size_t argc, napi_value *argv, napi_value self) override 100 CHECK_RETURN(self != nullptr, "self is nullptr", napi_invalid_arg); 101 return Context::operator()(env, argc, argv, self);
|
/foundation/ai/ai_engine/services/server/plugin_manager/ |
H A D | get_config_ini.py | 62 def optionxform(self, optionstr): 94 def __init__(self): 97 def get_files_in_folder(self, build_folder, plugin_list): 123 def get_config_ini(self, file_path_list, board_name): 153 def copy_config_ini(self, build_folder, out_folder, board_name, 165 ini_file_list = self.get_files_in_folder(build_folder, plugin_list) 166 ini_cfg_obj = self.get_config_ini(ini_file_list, board_name)
|
/third_party/jerryscript/targets/mbedos5/tools/ |
H A D | generate_pins.py | 95 def __init__(self, filter_names=None): 96 self.names = filter_names or [] 98 def visit(self, node): 102 value = self.visit_typedecl(node) 106 value = value or self.visit(child_node) 110 def visit_typedecl(self, node): 114 if node.declname in self.names:
|
/third_party/node/src/ |
H A D | base_object.cc | 32 metadata->self = nullptr; in ~BaseObject() 101 metadata->self = this; in pointer_data() 129 BaseObject* self = static_cast<BaseObject*>(data); in DeleteMe() local 130 if (self->has_pointer_data() && self->pointer_data()->strong_ptr_count > 0) { in DeleteMe() 131 return self->Detach(); in DeleteMe() 133 delete self; in DeleteMe()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
H A D | 1-6.c | 200 static int get_prio(struct tcase *self) in get_prio() argument 202 switch (self->prio) { in get_prio() 204 return sched_get_priority_min(self->sched_policy); in get_prio() 207 return (sched_get_priority_min(self->sched_policy) + in get_prio() 208 sched_get_priority_max(self->sched_policy)) / 2; in get_prio() 211 return sched_get_priority_max(self->sched_policy) - 1; in get_prio() 215 printf("Wrong self->prio %i\n", self->prio); in get_prio()
|