/third_party/python/Objects/ |
H A D | unicodeobject.c | 82 def converter_init(self): 83 if self.default is not unspecified: 84 self.c_default = ascii(self.default) 85 if len(self.c_default) > 4 or self.c_default[0] != "'": 86 self.c_default = hex(ord(self.default)) 8381 EncodingMap_size_impl(struct encoding_map *self) in EncodingMap_size_impl() argument 8384 return PyLong_FromLong((sizeof(*self) in EncodingMap_size_impl() 9725 tailmatch(PyObject *self, PyObject *substring, Py_ssize_t start, Py_ssize_t end, int direction) tailmatch() argument 9805 ascii_upper_or_lower(PyObject *self, int lower) ascii_upper_or_lower() argument 9991 case_operation(PyObject *self, Py_ssize_t (*perform)(int, const void *, Py_ssize_t, Py_UCS4 *, Py_UCS4 *)) case_operation() argument 10284 pad(PyObject *self, Py_ssize_t left, Py_ssize_t right, Py_UCS4 fill) pad() argument 10360 split(PyObject *self, PyObject *substring, Py_ssize_t maxcount) split() argument 10452 rsplit(PyObject *self, PyObject *substring, Py_ssize_t maxcount) rsplit() argument 10605 replace(PyObject *self, PyObject *str1, PyObject *str2, Py_ssize_t maxcount) replace() argument 10895 unicode_title_impl(PyObject *self) unicode_title_impl() argument 10913 unicode_capitalize_impl(PyObject *self) unicode_capitalize_impl() argument 10930 unicode_casefold_impl(PyObject *self) unicode_casefold_impl() argument 10978 unicode_center_impl(PyObject *self, Py_ssize_t width, Py_UCS4 fillchar) unicode_center_impl() argument 11592 unicode_count(PyObject *self, PyObject *args) unicode_count() argument 11671 unicode_encode_impl(PyObject *self, const char *encoding, const char *errors) unicode_encode_impl() argument 11688 unicode_expandtabs_impl(PyObject *self, int tabsize) unicode_expandtabs_impl() argument 11776 unicode_find(PyObject *self, PyObject *args) unicode_find() argument 11799 unicode_getitem(PyObject *self, Py_ssize_t index) unicode_getitem() argument 11825 unicode_hash(PyObject *self) unicode_hash() argument 11853 unicode_index(PyObject *self, PyObject *args) unicode_index() argument 11890 unicode_isascii_impl(PyObject *self) unicode_isascii_impl() argument 11909 unicode_islower_impl(PyObject *self) unicode_islower_impl() argument 11954 unicode_isupper_impl(PyObject *self) unicode_isupper_impl() argument 11999 unicode_istitle_impl(PyObject *self) unicode_istitle_impl() argument 12057 unicode_isspace_impl(PyObject *self) unicode_isspace_impl() argument 12097 unicode_isalpha_impl(PyObject *self) unicode_isalpha_impl() argument 12136 unicode_isalnum_impl(PyObject *self) unicode_isalnum_impl() argument 12178 unicode_isdecimal_impl(PyObject *self) unicode_isdecimal_impl() argument 12217 unicode_isdigit_impl(PyObject *self) unicode_isdigit_impl() argument 12257 unicode_isnumeric_impl(PyObject *self) unicode_isnumeric_impl() argument 12287 _PyUnicode_ScanIdentifier(PyObject *self) _PyUnicode_ScanIdentifier() argument 12324 PyUnicode_IsIdentifier(PyObject *self) PyUnicode_IsIdentifier() argument 12386 unicode_isidentifier_impl(PyObject *self) unicode_isidentifier_impl() argument 12402 unicode_isprintable_impl(PyObject *self) unicode_isprintable_impl() argument 12443 unicode_join(PyObject *self, PyObject *iterable) unicode_join() argument 12450 unicode_length(PyObject *self) unicode_length() argument 12470 unicode_ljust_impl(PyObject *self, Py_ssize_t width, Py_UCS4 fillchar) unicode_ljust_impl() argument 12489 unicode_lower_impl(PyObject *self) unicode_lower_impl() argument 12510 _PyUnicode_XStrip(PyObject *self, int striptype, PyObject *sepobj) _PyUnicode_XStrip() argument 12560 PyUnicode_Substring(PyObject *self, Py_ssize_t start, Py_ssize_t end) PyUnicode_Substring() argument 12597 do_strip(PyObject *self, int striptype) do_strip() argument 12663 do_argstrip(PyObject *self, int striptype, PyObject *sep) do_argstrip() argument 12692 unicode_strip_impl(PyObject *self, PyObject *chars) unicode_strip_impl() argument 12711 unicode_lstrip_impl(PyObject *self, PyObject *chars) unicode_lstrip_impl() argument 12730 unicode_rstrip_impl(PyObject *self, PyObject *chars) unicode_rstrip_impl() argument 12823 unicode_replace_impl(PyObject *self, PyObject *old, PyObject *new, Py_ssize_t count) unicode_replace_impl() argument 12845 unicode_removeprefix_impl(PyObject *self, PyObject *prefix) unicode_removeprefix_impl() argument 12873 unicode_removesuffix_impl(PyObject *self, PyObject *suffix) unicode_removesuffix_impl() argument 13062 unicode_rfind(PyObject *self, PyObject *args) unicode_rfind() argument 13094 unicode_rindex(PyObject *self, PyObject *args) unicode_rindex() argument 13134 unicode_rjust_impl(PyObject *self, Py_ssize_t width, Py_UCS4 fillchar) unicode_rjust_impl() argument 13177 unicode_split_impl(PyObject *self, PyObject *sep, Py_ssize_t maxsplit) unicode_split_impl() argument 13311 unicode_partition(PyObject *self, PyObject *sep) unicode_partition() argument 13331 unicode_rpartition(PyObject *self, PyObject *sep) unicode_rpartition() argument 13355 unicode_rsplit_impl(PyObject *self, PyObject *sep, Py_ssize_t maxsplit) unicode_rsplit_impl() argument 13381 unicode_splitlines_impl(PyObject *self, int keepends) unicode_splitlines_impl() argument 13388 unicode_str(PyObject *self) unicode_str() argument 13400 unicode_swapcase_impl(PyObject *self) unicode_swapcase_impl() argument 13554 unicode_translate(PyObject *self, PyObject *table) unicode_translate() argument 13567 unicode_upper_impl(PyObject *self) unicode_upper_impl() argument 13589 unicode_zfill_impl(PyObject *self, Py_ssize_t width) unicode_zfill_impl() argument 13634 unicode_startswith(PyObject *self, PyObject *args) unicode_startswith() argument 13688 unicode_endswith(PyObject *self, PyObject *args) unicode_endswith() argument 14095 unicode___format___impl(PyObject *self, PyObject *format_spec) unicode___format___impl() argument 14121 unicode_sizeof_impl(PyObject *self) unicode_sizeof_impl() argument 14241 unicode_subscript(PyObject* self, PyObject* item) unicode_subscript() argument 15305 PyObject *self; unicode_subtype_new() local [all...] |
/third_party/python/Modules/_ctypes/ |
H A D | callbacks.c | 33 CThunkObject *self = (CThunkObject *)myself; in CThunkObject_dealloc() local 34 PyObject_GC_UnTrack(self); in CThunkObject_dealloc() 35 Py_XDECREF(self->converters); in CThunkObject_dealloc() 36 Py_XDECREF(self->callable); in CThunkObject_dealloc() 37 Py_XDECREF(self->restype); in CThunkObject_dealloc() 38 if (self->pcl_write) in CThunkObject_dealloc() 39 Py_ffi_closure_free(self->pcl_write); in CThunkObject_dealloc() 40 PyObject_GC_Del(self); in CThunkObject_dealloc() 46 CThunkObject *self = (CThunkObject *)myself; in CThunkObject_traverse() local 47 Py_VISIT(self in CThunkObject_traverse() 56 CThunkObject *self = (CThunkObject *)myself; CThunkObject_clear() local [all...] |
/drivers/hdf_core/interfaces/inner_api/hdi/ |
H A D | servmgr_hdi.h | 64 * @param self Indicates the pointer to the service manager object. 68 struct HdfRemoteService *(*GetService)(struct HDIServiceManager *self, const char *serviceName); 73 * @param self Indicates the pointer to the service manager object. 79 struct HDIServiceManager *self, struct ServiceStatusListener *listener, uint16_t deviceClass); 84 * @param self Indicates the pointer to the service manager object. 88 int32_t (*UnregisterServiceStatusListener)(struct HDIServiceManager *self, struct ServiceStatusListener *listener); 96 struct HdiServiceSet *(*ListServiceByInterfaceDesc)(struct HDIServiceManager *self, const char *interfaceName);
|
/drivers/peripheral/audio/effect/model/include/ |
H A D | effect_host_common.h | 62 int32_t EffectControlEffectProcess(struct IEffectControl *self, const struct AudioEffectBuffer *input,
64 int32_t EffectControlSendCommand(struct IEffectControl *self, enum EffectCommandTableIndex cmdId, const int8_t *cmdData,
66 int32_t EffectGetOwnDescriptor(struct IEffectControl *self, struct EffectControllerDescriptor *desc);
67 int32_t EffectControlEffectReverse(struct IEffectControl *self, const struct AudioEffectBuffer *input,
|
/drivers/peripheral/audio/interfaces/effect/v1_0/ |
H A D | ieffect_control_vdi.h | 30 int32_t (*EffectProcess)(struct IEffectControlVdi *self, const struct AudioEffectBufferVdi *input, 32 int32_t (*SendCommand)(struct IEffectControlVdi *self, enum EffectCommandTableIndexVdi cmdId, 34 int32_t (*GetEffectDescriptor)(struct IEffectControlVdi *self, struct EffectControllerDescriptorVdi *desc); 35 int32_t (*EffectReverse)(struct IEffectControlVdi *self, const struct AudioEffectBufferVdi *input,
|
/drivers/peripheral/wlan/hdi_service/service_extend/service_extend_vdi/ |
H A D | wlan_extend_cmd_vdi.h | 25 int32_t (*startChannelMeas)(struct IWlanInterface *self, const char *ifName,
27 int32_t (*getChannelMeasResult)(struct IWlanInterface *self, const char *ifName,
29 int32_t (*sendCmdIoctl)(struct IWlanInterface *self, const char *ifName, int32_t cmdId,
31 int32_t (*getCoexChannelList)(struct IWlanInterface *self, const char *ifName,
|
/third_party/mesa3d/src/mapi/glapi/gen/ |
H A D | api_save_h.py | 35 def __init__(self): 38 self.name = 'api_save_h.py' 39 self.license = license.bsd_license_template % ( 44 def printBody(self, api):
|
H A D | api_exec_decl_h.py | 36 def __init__(self): 39 self.name = 'api_exec_decl_h.py' 40 self.license = license.bsd_license_template % ( 45 def printBody(self, api):
|
/third_party/python/Include/ |
H A D | bytearrayobject.h | 24 #define PyByteArray_Check(self) PyObject_TypeCheck(self, &PyByteArray_Type) 25 #define PyByteArray_CheckExact(self) Py_IS_TYPE(self, &PyByteArray_Type)
|
/third_party/python/Lib/encodings/ |
H A D | undefined.py | 18 def encode(self,input,errors='strict'): 21 def decode(self,input,errors='strict'): 25 def encode(self, input, final=False): 29 def decode(self, input, final=False):
|
/third_party/python/Lib/tkinter/test/test_tkinter/ |
H A D | test_simpledialog.py | 12 def test_askinteger(self): 22 self.assertEqual(ismapped, False) 27 self.assertEqual(ismapped, True) 31 self.assertRaises(RuntimeError, askinteger, "Go To Line", "Line number")
|
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_autocomplete_w.py | 27 def test_init(self): 28 self.assertEqual(self.acw.widget, self.text)
|
H A D | test_calltip_w.py | 25 def test_init(self): 26 self.assertEqual(self.calltip.anchor_widget, self.text)
|
H A D | test_tree.py | 22 def test_init(self): 25 self.root, bg="white", highlightthickness=0, takefocus=1) 34 def test_wheel_event(self): 40 self.assertTupleEqual(widget.expected, args) 56 self.assertEqual(res, "break")
|
/third_party/python/Lib/tkinter/ |
H A D | colorchooser.py | 35 def _fixoptions(self): 41 color = self.options["initialcolor"] 44 self.options["initialcolor"] = "#%02x%02x%02x" % color 48 def _fixresult(self, widget, result):
|
/third_party/python/Modules/ |
H A D | _json.c | 83 py_encode_basestring_ascii(PyObject* Py_UNUSED(self), PyObject *pystr); 91 scanner_dealloc(PyObject *self); 93 scanner_clear(PyScannerObject *self); 97 encoder_dealloc(PyObject *self); 99 encoder_clear(PyEncoderObject *self); 570 py_scanstring(PyObject* Py_UNUSED(self), PyObject *args) 599 py_encode_basestring_ascii(PyObject* Py_UNUSED(self), PyObject *pystr) 624 py_encode_basestring(PyObject* Py_UNUSED(self), PyObject *pystr) 642 scanner_dealloc(PyObject *self) in scanner_dealloc() argument 644 PyTypeObject *tp = Py_TYPE(self); in scanner_dealloc() 653 scanner_traverse(PyScannerObject *self, visitproc visit, void *arg) scanner_traverse() argument 666 scanner_clear(PyScannerObject *self) scanner_clear() argument 1139 scanner_call(PyScannerObject *self, PyObject *args, PyObject *kwds) scanner_call() argument 1292 encoder_call(PyEncoderObject *self, PyObject *args, PyObject *kwds) encoder_call() argument 1739 encoder_dealloc(PyObject *self) encoder_dealloc() argument 1750 encoder_traverse(PyEncoderObject *self, visitproc visit, void *arg) encoder_traverse() argument 1763 encoder_clear(PyEncoderObject *self) encoder_clear() argument [all...] |
/third_party/littlefs/scripts/ |
H A D | perfbd.py | 51 def __str__(self): 52 if self.x == m.inf: 54 elif self.x == -m.inf: 57 return str(self.x) 59 def __int__(self): 60 assert not m.isinf(self.x) 61 return self.x 63 def __float__(self): 64 return float(self.x) 67 def table(self) [all...] |
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | ohci-s3c2410.c | 57 return dev_get_platdata(hcd->self.controller); in to_s3c2410_info() 124 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_status_data() 175 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control() 193 dev_dbg(hcd->self.controller, "SetPortFeat: POWER\n"); in ohci_s3c2410_hub_control() 202 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control() 213 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control() 222 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control() 247 dev_dbg(hcd->self.controller, "wHubCharacteristics 0x%04x\n", in ohci_s3c2410_hub_control() 265 dev_dbg(hcd->self.controller, "wHubCharacteristics after 0x%04x\n", in ohci_s3c2410_hub_control() 273 dev_dbg(hcd->self in ohci_s3c2410_hub_control() [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | ohci-s3c2410.c | 55 return dev_get_platdata(hcd->self.controller); in to_s3c2410_info() 122 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_status_data() 173 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control() 191 dev_dbg(hcd->self.controller, "SetPortFeat: POWER\n"); in ohci_s3c2410_hub_control() 200 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control() 211 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control() 220 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control() 245 dev_dbg(hcd->self.controller, "wHubCharacteristics 0x%04x\n", in ohci_s3c2410_hub_control() 263 dev_dbg(hcd->self.controller, "wHubCharacteristics after 0x%04x\n", in ohci_s3c2410_hub_control() 271 dev_dbg(hcd->self in ohci_s3c2410_hub_control() [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/packaging/ |
H A D | _parser.py | 14 def __init__(self, value: str) -> None: 15 self.value = value 17 def __str__(self) -> str: 18 return self.value 20 def __repr__(self) -> str: 21 return f"<{self.__class__.__name__}('{self}')>" 23 def serialize(self) -> str: 28 def serialize(self) -> str: 29 return str(self) [all...] |
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_state_observer_manager.cpp | 207 auto self = weak.lock(); in OnAppStarted() 208 if (self == nullptr) { in OnAppStarted() 209 TAG_LOGE(AAFwkTag::APPMGR, "null self"); in OnAppStarted() 213 self->HandleOnAppStarted(appRecord); in OnAppStarted() 226 auto self = weak.lock(); in OnAppStopped() 227 if (self == nullptr) { in OnAppStopped() 228 TAG_LOGE(AAFwkTag::APPMGR, "null self"); in OnAppStopped() 232 self->HandleOnAppStopped(appRecord); in OnAppStopped() 250 auto self = weak.lock(); in OnAppStateChanged() 251 if (self in OnAppStateChanged() [all...] |
/third_party/benchmark/bindings/python/google_benchmark/ |
H A D | __init__.py | 84 def __init__(self, func): 85 self.func = func 86 self.builder_calls = [] 95 def __getattr__(self, builder_name): 104 options = self.make(func_or_options)
|
/third_party/python/Lib/xml/dom/ |
H A D | __init__.py | 66 def __init__(self, *args, **kw): 67 if self.__class__ is DOMException: 70 Exception.__init__(self, *args, **kw) 72 def _get_code(self): 73 return self.code
|
/third_party/python/Lib/test/test_email/ |
H A D | torture_test.py | 35 def _msgobj(self, filename): 47 def test_mondo_message(self): 48 eq = self.assertEqual 49 neq = self.ndiffAssertEqual 50 msg = self._msgobj('crispin-torture.txt')
|
/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)
|