Home
last modified time | relevance | path

Searched refs:self (Results 1601 - 1625 of 6521) sorted by relevance

1...<<61626364656667686970>>...261

/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_native/Mock/v1_1/
H A Diwpa_callback.h91 int32_t (*OnEventDisconnected)(struct IWpaCallback *self, const struct HdiWpaDisconnectParam* disconnectParam,
94 int32_t (*OnEventConnected)(struct IWpaCallback *self, const struct HdiWpaConnectParam* connectParam,
97 int32_t (*OnEventBssidChanged)(struct IWpaCallback *self, const struct HdiWpaBssidChangedParam* bssidChangedParam,
100 int32_t (*OnEventStateChanged)(struct IWpaCallback *self, const struct HdiWpaStateChangedParam* statechangedParam,
103 int32_t (*OnEventTempDisabled)(struct IWpaCallback *self, const struct HdiWpaTempDisabledParam* tempDisabledParam,
106 int32_t (*OnEventAssociateReject)(struct IWpaCallback *self,
109 int32_t (*OnEventWpsOverlap)(struct IWpaCallback *self, const char* ifName);
111 int32_t (*OnEventWpsTimeout)(struct IWpaCallback *self, const char* ifName);
113 int32_t (*OnEventScanResult)(struct IWpaCallback *self, const struct HdiWpaRecvScanResultParam* recvScanResultParam,
116 int32_t (*OnEventDeviceFound)(struct IWpaCallback *self, cons
[all...]
/third_party/PyYAML/lib/yaml/
H A Dcyaml.py18 def __init__(self, stream):
19 CParser.__init__(self, stream)
20 BaseConstructor.__init__(self)
21 BaseResolver.__init__(self)
25 def __init__(self, stream):
26 CParser.__init__(self, stream)
27 SafeConstructor.__init__(self)
28 Resolver.__init__(self)
32 def __init__(self, stream):
33 CParser.__init__(self, strea
[all...]
/third_party/libxml2/
H A Dgenerate_header.py27 def __init__(self, config_json_path):
28 self.read_buffer = []
29 self.write_buffer = []
31 self.configs = json.load(file)
33 def parse_file(self, file_path):
35 self.read_buffer = file.readlines()
36 for item in self.read_buffer:
38 self.write_buffer.append(item)
46 self.write_buffer.append("/* " + item + " */")
50 if key_index not in self
[all...]
/third_party/python/Doc/includes/
H A Dtzinfo_examples.py23 def fromutc(self, dt):
24 assert dt.tzinfo is self
25 stamp = (dt - datetime(1970, 1, 1, tzinfo=self)) // SECOND
31 tzinfo=self, fold=fold)
33 def utcoffset(self, dt):
34 if self._isdst(dt):
39 def dst(self, dt):
40 if self._isdst(dt):
45 def tzname(self, dt):
46 return _time.tzname[self
[all...]
/third_party/python/Modules/
H A D_datetimemodule.c677 PyObject *self = (PyObject *)PyObject_Malloc(size); in time_alloc() local
678 if (self == NULL) { in time_alloc()
681 _PyObject_Init(self, type); in time_alloc()
682 return self; in time_alloc()
689 PyObject *self = (PyObject *)PyObject_Malloc(size); in datetime_alloc() local
690 if (self == NULL) { in datetime_alloc()
693 _PyObject_Init(self, type); in datetime_alloc()
694 return self; in datetime_alloc()
704 set_date_fields(PyDateTime_Date *self, int y, int m, int d) in set_date_fields() argument
706 self in set_date_fields()
947 PyDateTime_Date *self; new_date_ex() local
991 PyDateTime_DateTime *self; new_datetime_ex2() local
1072 PyDateTime_Time *self; new_time_ex2() local
1119 PyDateTime_Delta *self; new_delta_ex() local
1162 PyDateTime_TimeZone *self; create_timezone() local
1231 get_tzinfo_member(PyObject *self) get_tzinfo_member() argument
1847 delta_to_microseconds(PyDateTime_Delta *self) delta_to_microseconds() argument
2176 delta_negative(PyDateTime_Delta *self) delta_negative() argument
2185 delta_positive(PyDateTime_Delta *self) delta_positive() argument
2197 delta_abs(PyDateTime_Delta *self) delta_abs() argument
2235 delta_cmp(PyObject *self, PyObject *other) delta_cmp() argument
2248 delta_richcompare(PyObject *self, PyObject *other, int op) delta_richcompare() argument
2262 delta_hash(PyDateTime_Delta *self) delta_hash() argument
2512 PyObject *self = NULL; delta_new() local
2622 delta_bool(PyDateTime_Delta *self) delta_bool() argument
2630 delta_repr(PyDateTime_Delta *self) delta_repr() argument
2679 delta_str(PyDateTime_Delta *self) delta_str() argument
2711 delta_getstate(PyDateTime_Delta *self) delta_getstate() argument
2719 delta_total_seconds(PyObject *self, PyObject *Py_UNUSED(ignored)) delta_total_seconds() argument
2735 delta_reduce(PyDateTime_Delta* self, PyObject *Py_UNUSED(ignored)) delta_reduce() argument
2857 date_year(PyDateTime_Date *self, void *unused) date_year() argument
2863 date_month(PyDateTime_Date *self, void *unused) date_month() argument
2869 date_day(PyDateTime_Date *self, void *unused) date_day() argument
2902 PyObject *self = NULL; date_new() local
3222 date_repr(PyDateTime_Date *self) date_repr() argument
3230 date_isoformat(PyDateTime_Date *self, PyObject *Py_UNUSED(ignored)) date_isoformat() argument
3238 date_str(PyDateTime_Date *self) date_str() argument
3245 date_ctime(PyDateTime_Date *self, PyObject *Py_UNUSED(ignored)) date_ctime() argument
3251 date_strftime(PyDateTime_Date *self, PyObject *args, PyObject *kw) date_strftime() argument
3276 date_format(PyDateTime_Date *self, PyObject *args) date_format() argument
3294 date_isoweekday(PyDateTime_Date *self, PyObject *Py_UNUSED(ignored)) date_isoweekday() argument
3312 iso_calendar_date_repr(PyDateTime_IsoCalendarDate *self) iso_calendar_date_repr() argument
3332 iso_calendar_date_reduce(PyObject *self, PyObject *Py_UNUSED(ignored)) iso_calendar_date_reduce() argument
3346 iso_calendar_date_year(PyDateTime_IsoCalendarDate *self, void *unused) iso_calendar_date_year() argument
3357 iso_calendar_date_week(PyDateTime_IsoCalendarDate *self, void *unused) iso_calendar_date_week() argument
3368 iso_calendar_date_weekday(PyDateTime_IsoCalendarDate *self, void *unused) iso_calendar_date_weekday() argument
3418 PyDateTime_IsoCalendarDate *self; iso_calendar_date_new_impl() local
3432 date_isocalendar(PyDateTime_Date *self, PyObject *Py_UNUSED(ignored)) date_isocalendar() argument
3462 date_richcompare(PyObject *self, PyObject *other, int op) date_richcompare() argument
3475 date_timetuple(PyDateTime_Date *self, PyObject *Py_UNUSED(ignored)) date_timetuple() argument
3484 date_replace(PyDateTime_Date *self, PyObject *args, PyObject *kw) date_replace() argument
3513 date_hash(PyDateTime_Date *self) date_hash() argument
3524 date_toordinal(PyDateTime_Date *self, PyObject *Py_UNUSED(ignored)) date_toordinal() argument
3531 date_weekday(PyDateTime_Date *self, PyObject *Py_UNUSED(ignored)) date_weekday() argument
3542 date_getstate(PyDateTime_Date *self) date_getstate() argument
3551 date_reduce(PyDateTime_Date *self, PyObject *arg) date_reduce() argument
3709 tzinfo_tzname(PyDateTime_TZInfo *self, PyObject *dt) tzinfo_tzname() argument
3715 tzinfo_utcoffset(PyDateTime_TZInfo *self, PyObject *dt) tzinfo_utcoffset() argument
3721 tzinfo_dst(PyDateTime_TZInfo *self, PyObject *dt) tzinfo_dst() argument
3734 tzinfo_fromutc(PyDateTime_TZInfo *self, PyObject *dt) tzinfo_fromutc() argument
3812 tzinfo_reduce(PyObject *self, PyObject *Py_UNUSED(ignored)) tzinfo_reduce() argument
3922 timezone_dealloc(PyDateTime_TimeZone *self) timezone_dealloc() argument
3930 timezone_richcompare(PyDateTime_TimeZone *self, PyDateTime_TimeZone *other, int op) timezone_richcompare() argument
3942 timezone_hash(PyDateTime_TimeZone *self) timezone_hash() argument
3962 timezone_repr(PyDateTime_TimeZone *self) timezone_repr() argument
3980 timezone_str(PyDateTime_TimeZone *self) timezone_str() argument
4026 timezone_tzname(PyDateTime_TimeZone *self, PyObject *dt) timezone_tzname() argument
4035 timezone_utcoffset(PyDateTime_TimeZone *self, PyObject *dt) timezone_utcoffset() argument
4045 timezone_dst(PyObject *self, PyObject *dt) timezone_dst() argument
4054 timezone_fromutc(PyDateTime_TimeZone *self, PyDateTime_DateTime *dt) timezone_fromutc() argument
4071 timezone_getinitargs(PyDateTime_TimeZone *self, PyObject *Py_UNUSED(ignored)) timezone_getinitargs() argument
4150 time_hour(PyDateTime_Time *self, void *unused) time_hour() argument
4156 time_minute(PyDateTime_Time *self, void *unused) time_minute() argument
4163 py_time_second(PyDateTime_Time *self, void *unused) py_time_second() argument
4169 time_microsecond(PyDateTime_Time *self, void *unused) time_microsecond() argument
4175 time_tzinfo(PyDateTime_Time *self, void *unused) time_tzinfo() argument
4183 time_fold(PyDateTime_Time *self, void *unused) time_fold() argument
4241 PyObject *self = NULL; time_new() local
4302 time_dealloc(PyDateTime_Time *self) time_dealloc() argument
4316 time_utcoffset(PyObject *self, PyObject *unused) time_utcoffset() argument
4321 time_dst(PyObject *self, PyObject *unused) time_dst() argument
4326 time_tzname(PyDateTime_Time *self, PyObject *unused) time_tzname() argument
4335 time_repr(PyDateTime_Time *self) time_repr() argument
4361 time_str(PyDateTime_Time *self) time_str() argument
4367 time_isoformat(PyDateTime_Time *self, PyObject *args, PyObject *kw) time_isoformat() argument
4432 time_strftime(PyDateTime_Time *self, PyObject *args, PyObject *kw) time_strftime() argument
4467 time_richcompare(PyObject *self, PyObject *other, int op) time_richcompare() argument
4540 time_hash(PyDateTime_Time *self) time_hash() argument
4596 time_replace(PyDateTime_Time *self, PyObject *args, PyObject *kw) time_replace() argument
4693 time_getstate(PyDateTime_Time *self, int proto) time_getstate() argument
4714 time_reduce_ex(PyDateTime_Time *self, PyObject *args) time_reduce_ex() argument
4724 time_reduce(PyDateTime_Time *self, PyObject *arg) time_reduce() argument
4826 datetime_hour(PyDateTime_DateTime *self, void *unused) datetime_hour() argument
4832 datetime_minute(PyDateTime_DateTime *self, void *unused) datetime_minute() argument
4838 datetime_second(PyDateTime_DateTime *self, void *unused) datetime_second() argument
4844 datetime_microsecond(PyDateTime_DateTime *self, void *unused) datetime_microsecond() argument
4850 datetime_tzinfo(PyDateTime_DateTime *self, void *unused) datetime_tzinfo() argument
4858 datetime_fold(PyDateTime_DateTime *self, void *unused) datetime_fold() argument
4918 PyObject *self = NULL; datetime_new() local
5151 PyObject *self; datetime_datetime_now_impl() local
5183 PyObject *self; datetime_fromtimestamp() local
5529 datetime_dealloc(PyDateTime_DateTime *self) datetime_dealloc() argument
5543 datetime_utcoffset(PyObject *self, PyObject *unused) datetime_utcoffset() argument
5548 datetime_dst(PyObject *self, PyObject *unused) datetime_dst() argument
5553 datetime_tzname(PyObject *self, PyObject *unused) datetime_tzname() argument
5703 datetime_repr(PyDateTime_DateTime *self) datetime_repr() argument
5740 datetime_str(PyDateTime_DateTime *self) datetime_str() argument
5746 datetime_isoformat(PyDateTime_DateTime *self, PyObject *args, PyObject *kw) datetime_isoformat() argument
5813 datetime_ctime(PyDateTime_DateTime *self, PyObject *Py_UNUSED(ignored)) datetime_ctime() argument
5859 pep495_eq_exception(PyObject *self, PyObject *other, PyObject *offset_self, PyObject *offset_other) pep495_eq_exception() argument
5888 datetime_richcompare(PyObject *self, PyObject *other, int op) datetime_richcompare() argument
5985 datetime_hash(PyDateTime_DateTime *self) datetime_hash() argument
6049 datetime_replace(PyDateTime_DateTime *self, PyObject *args, PyObject *kw) datetime_replace() argument
6199 datetime_astimezone(PyDateTime_DateTime *self, PyObject *args, PyObject *kw) datetime_astimezone() argument
6303 datetime_timetuple(PyDateTime_DateTime *self, PyObject *Py_UNUSED(ignored)) datetime_timetuple() argument
6378 datetime_timestamp(PyDateTime_DateTime *self, PyObject *Py_UNUSED(ignored)) datetime_timestamp() argument
6408 datetime_getdate(PyDateTime_DateTime *self, PyObject *Py_UNUSED(ignored)) datetime_getdate() argument
6416 datetime_gettime(PyDateTime_DateTime *self, PyObject *Py_UNUSED(ignored)) datetime_gettime() argument
6427 datetime_gettimetz(PyDateTime_DateTime *self, PyObject *Py_UNUSED(ignored)) datetime_gettimetz() argument
6438 datetime_utctimetuple(PyDateTime_DateTime *self, PyObject *Py_UNUSED(ignored)) datetime_utctimetuple() argument
6486 datetime_getstate(PyDateTime_DateTime *self, int proto) datetime_getstate() argument
6507 datetime_reduce_ex(PyDateTime_DateTime *self, PyObject *args) datetime_reduce_ex() argument
6517 datetime_reduce(PyDateTime_DateTime *self, PyObject *arg) datetime_reduce() argument
[all...]
/foundation/systemabilitymgr/samgr/test/autotest/testcases/level0/
H A Dcase25_selinux001.py26 def __init__(self, configs):
27 self.TAG = self.__class__.__name__
28 TestCase.__init__(self, self.TAG, configs)
29 self.tests = [
32 self.driver = UiDriver(self.device1)
33 self.sn = 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...]
/third_party/protobuf/php/src/Google/Protobuf/Internal/FieldDescriptorProto/
H A DType.php110 self::TYPE_DOUBLE => 'TYPE_DOUBLE',
111 self::TYPE_FLOAT => 'TYPE_FLOAT',
112 self::TYPE_INT64 => 'TYPE_INT64',
113 self::TYPE_UINT64 => 'TYPE_UINT64',
114 self::TYPE_INT32 => 'TYPE_INT32',
115 self::TYPE_FIXED64 => 'TYPE_FIXED64',
116 self::TYPE_FIXED32 => 'TYPE_FIXED32',
117 self::TYPE_BOOL => 'TYPE_BOOL',
118 self::TYPE_STRING => 'TYPE_STRING',
119 self
[all...]
/kernel/linux/linux-5.10/scripts/gdb/linux/
H A Dsymbols.py23 def __init__(self, spec, gdb_command):
24 super(LoadModuleBreakpoint, self).__init__(spec, internal=True)
25 self.silent = True
26 self.gdb_command = gdb_command
28 def stop(self):
31 cmd = self.gdb_command
70 def __init__(self):
71 super(LxSymbols, self).__init__("lx-symbols", gdb.COMMAND_FILES,
74 def _update_module_files(self):
75 self
[all...]
/kernel/linux/linux-6.6/scripts/gdb/linux/
H A Dsymbols.py23 def __init__(self, spec, gdb_command):
24 super(LoadModuleBreakpoint, self).__init__(spec, internal=True)
25 self.silent = True
26 self.gdb_command = gdb_command
28 def stop(self):
31 cmd = self.gdb_command
70 def __init__(self):
71 super(LxSymbols, self).__init__("lx-symbols", gdb.COMMAND_FILES,
74 def _update_module_files(self):
75 self
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dso_incoming_cpu.c96 self->servers = malloc(sizeof(int) * nr_server); in FIXTURE_SETUP()
97 ASSERT_NE(self->servers, NULL); in FIXTURE_SETUP()
99 self->in_addr.sin_family = AF_INET; in FIXTURE_SETUP()
100 self->in_addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in FIXTURE_SETUP()
101 self->in_addr.sin_port = htons(0); in FIXTURE_SETUP()
102 self->addrlen = sizeof(struct sockaddr_in); in FIXTURE_SETUP()
110 close(self->servers[i]); in FIXTURE_TEARDOWN()
112 free(self->servers); in FIXTURE_TEARDOWN()
124 FIXTURE_DATA(so_incoming_cpu) *self, in create_server()
139 ret = bind(fd, &self in create_server()
123 create_server(struct __test_metadata *_metadata, FIXTURE_DATA(so_incoming_cpu) *self, const FIXTURE_VARIANT(so_incoming_cpu) *variant, int cpu) create_server() argument
157 create_servers(struct __test_metadata *_metadata, FIXTURE_DATA(so_incoming_cpu) *self, const FIXTURE_VARIANT(so_incoming_cpu) *variant) create_servers() argument
178 create_clients(struct __test_metadata *_metadata, FIXTURE_DATA(so_incoming_cpu) *self) create_clients() argument
209 verify_incoming_cpu(struct __test_metadata *_metadata, FIXTURE_DATA(so_incoming_cpu) *self) verify_incoming_cpu() argument
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/user_events/
H A Dabi_test.c99 USER_EVENT_FIXTURE_SETUP(return, self->umount); in FIXTURE_SETUP()
102 self->check = 0; in FIXTURE_SETUP()
103 self->check_long = 0; in FIXTURE_SETUP()
107 USER_EVENT_FIXTURE_TEARDOWN(self->umount); in FIXTURE_TEARDOWN()
112 ASSERT_EQ(0, self->check); in TEST_F()
113 ASSERT_EQ(0, reg_enable(&self->check, sizeof(int), 0)); in TEST_F()
115 ASSERT_EQ(1, self->check); in TEST_F()
117 ASSERT_EQ(0, self->check); in TEST_F()
121 ASSERT_EQ(1, self->check); in TEST_F()
122 ASSERT_EQ(0, reg_disable(&self in TEST_F()
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/
H A Degd_tables.py36 def __init__(self):
37 self.table = []
38 self.length = 0
40 def add(self, string):
42 for te in self.table:
48 idx = self.length
49 self.table.append((string, idx, set((idx,))))
50 self.length += len(string) + 1
54 def emit(self, filp, name, static=True):
65 for te in self
[all...]
/third_party/python/Lib/test/
H A Dtest_unicode_file_functions.py65 def setUp(self):
70 self.addCleanup(os_helper.rmtree, os_helper.TESTFN)
73 for name in self.files:
74 name = os.path.join(os_helper.TESTFN, self.norm(name))
79 self.files = files
81 def norm(self, s):
82 if self.normal_form:
83 return normalize(self.normal_form, s)
86 def _apply_failure(self, fn, filename,
89 with self
[all...]
/third_party/python/Tools/i18n/
H A Dpygettext.py317 def __init__(self, options):
318 self.__options = options
319 self.__messages = {}
320 self.__state = self.__waiting
321 self.__data = []
322 self.__lineno = -1
323 self.__freshmodule = 1
324 self.__curfile = None
325 self
[all...]
/third_party/python/Modules/_sre/
H A Dsre.c575 pattern_traverse(PatternObject *self, visitproc visit, void *arg) in pattern_traverse() argument
577 Py_VISIT(Py_TYPE(self)); in pattern_traverse()
578 Py_VISIT(self->groupindex); in pattern_traverse()
579 Py_VISIT(self->indexgroup); in pattern_traverse()
580 Py_VISIT(self->pattern); in pattern_traverse()
585 pattern_clear(PatternObject *self) in pattern_clear() argument
587 Py_CLEAR(self->groupindex); in pattern_clear()
588 Py_CLEAR(self->indexgroup); in pattern_clear()
589 Py_CLEAR(self->pattern); in pattern_clear()
594 pattern_dealloc(PatternObject* self) in pattern_dealloc() argument
642 _sre_SRE_Pattern_match_impl(PatternObject *self, PyTypeObject *cls, PyObject *string, Py_ssize_t pos, Py_ssize_t endpos) _sre_SRE_Pattern_match_impl() argument
685 _sre_SRE_Pattern_fullmatch_impl(PatternObject *self, PyTypeObject *cls, PyObject *string, Py_ssize_t pos, Py_ssize_t endpos) _sre_SRE_Pattern_fullmatch_impl() argument
731 _sre_SRE_Pattern_search_impl(PatternObject *self, PyTypeObject *cls, PyObject *string, Py_ssize_t pos, Py_ssize_t endpos) _sre_SRE_Pattern_search_impl() argument
798 _sre_SRE_Pattern_findall_impl(PatternObject *self, PyObject *string, Py_ssize_t pos, Py_ssize_t endpos) _sre_SRE_Pattern_findall_impl() argument
899 _sre_SRE_Pattern_finditer_impl(PatternObject *self, PyTypeObject *cls, PyObject *string, Py_ssize_t pos, Py_ssize_t endpos) _sre_SRE_Pattern_finditer_impl() argument
936 _sre_SRE_Pattern_scanner_impl(PatternObject *self, PyTypeObject *cls, PyObject *string, Py_ssize_t pos, Py_ssize_t endpos) _sre_SRE_Pattern_scanner_impl() argument
956 _sre_SRE_Pattern_split_impl(PatternObject *self, PyObject *string, Py_ssize_t maxsplit) _sre_SRE_Pattern_split_impl() argument
1050 pattern_subx(_sremodulestate* module_state, PatternObject* self, PyObject* ptemplate, PyObject* string, Py_ssize_t count, Py_ssize_t subn) pattern_subx() argument
1247 _sre_SRE_Pattern_sub_impl(PatternObject *self, PyTypeObject *cls, PyObject *repl, PyObject *string, Py_ssize_t count) _sre_SRE_Pattern_sub_impl() argument
1269 _sre_SRE_Pattern_subn_impl(PatternObject *self, PyTypeObject *cls, PyObject *repl, PyObject *string, Py_ssize_t count) _sre_SRE_Pattern_subn_impl() argument
1285 _sre_SRE_Pattern___copy___impl(PatternObject *self) _sre_SRE_Pattern___copy___impl() argument
1301 _sre_SRE_Pattern___deepcopy__(PatternObject *self, PyObject *memo) _sre_SRE_Pattern___deepcopy__() argument
1392 pattern_groupindex(PatternObject *self, void *Py_UNUSED(ignored)) pattern_groupindex() argument
1422 PatternObject* self; _sre_compile_impl() local
1976 _validate(PatternObject *self) _validate() argument
1992 match_traverse(MatchObject *self, visitproc visit, void *arg) match_traverse() argument
2002 match_clear(MatchObject *self) match_clear() argument
2011 match_dealloc(MatchObject* self) match_dealloc() argument
2022 match_getslice_by_index(MatchObject* self, Py_ssize_t index, PyObject* def) match_getslice_by_index() argument
2055 match_getindex(MatchObject* self, PyObject* index) match_getindex() argument
2088 match_getslice(MatchObject* self, PyObject* index, PyObject* def) match_getslice() argument
2108 _sre_SRE_Match_expand_impl(MatchObject *self, PyObject *template) _sre_SRE_Match_expand_impl() argument
2119 match_group(MatchObject* self, PyObject* args) match_group() argument
2154 match_getitem(MatchObject* self, PyObject* name) match_getitem() argument
2169 _sre_SRE_Match_groups_impl(MatchObject *self, PyObject *default_value) _sre_SRE_Match_groups_impl() argument
2202 _sre_SRE_Match_groupdict_impl(MatchObject *self, PyObject *default_value) _sre_SRE_Match_groupdict_impl() argument
2247 _sre_SRE_Match_start_impl(MatchObject *self, PyObject *group) _sre_SRE_Match_start_impl() argument
2270 _sre_SRE_Match_end_impl(MatchObject *self, PyObject *group) _sre_SRE_Match_end_impl() argument
2320 _sre_SRE_Match_span_impl(MatchObject *self, PyObject *group) _sre_SRE_Match_span_impl() argument
2334 match_regs(MatchObject* self) match_regs() argument
2365 _sre_SRE_Match___copy___impl(MatchObject *self) _sre_SRE_Match___copy___impl() argument
2381 _sre_SRE_Match___deepcopy__(MatchObject *self, PyObject *memo) _sre_SRE_Match___deepcopy__() argument
2398 match_lastindex_get(MatchObject *self, void *Py_UNUSED(ignored)) match_lastindex_get() argument
2406 match_lastgroup_get(MatchObject *self, void *Py_UNUSED(ignored)) match_lastgroup_get() argument
2421 match_regs_get(MatchObject *self, void *Py_UNUSED(ignored)) match_regs_get() argument
2431 match_repr(MatchObject *self) match_repr() argument
2527 scanner_traverse(ScannerObject *self, visitproc visit, void *arg) scanner_traverse() argument
2535 scanner_clear(ScannerObject *self) scanner_clear() argument
2542 scanner_dealloc(ScannerObject* self) scanner_dealloc() argument
2554 scanner_begin(ScannerObject* self) scanner_begin() argument
2566 scanner_end(ScannerObject* self) scanner_end() argument
2581 _sre_SRE_Scanner_match_impl(ScannerObject *self, PyTypeObject *cls) _sre_SRE_Scanner_match_impl() argument
2631 _sre_SRE_Scanner_search_impl(ScannerObject *self, PyTypeObject *cls) _sre_SRE_Scanner_search_impl() argument
2672 pattern_scanner(_sremodulestate *module_state, PatternObject *self, PyObject *string, Py_ssize_t pos, Py_ssize_t endpos) pattern_scanner() argument
2701 pattern_hash(PatternObject *self) pattern_hash() argument
[all...]
/third_party/skia/third_party/externals/wuffs/release/c/
H A Dwuffs-v0.2.c102 // WUFFS_INITIALIZE__ALREADY_ZEROED means that the "self" receiver struct value
107 // WUFFS_INITIALIZE__ALREADY_ZEROED, only some of the "self" receiver struct
2452 // For any given "wuffs_foo__bar* self", "wuffs_foo__bar__initialize(self,
2453 // etc)" should be called before any other "wuffs_foo__bar__xxx(self, etc)".
2455 // Pass sizeof(*self) and WUFFS_VERSION for sizeof_star_self and wuffs_version.
2459 wuffs_adler32__hasher__initialize(wuffs_adler32__hasher* self,
2470 wuffs_adler32__hasher__update_u32(wuffs_adler32__hasher* self,
2569 // For any given "wuffs_foo__bar* self", "wuffs_foo__bar__initialize(self,
4760 wuffs_adler32__hasher__initialize(wuffs_adler32__hasher* self, size_t sizeof_star_self, uint64_t wuffs_version, uint32_t initialize_flags) wuffs_adler32__hasher__initialize() argument
4812 wuffs_adler32__hasher__update_u32(wuffs_adler32__hasher* self, wuffs_base__slice_u8 a_x) wuffs_adler32__hasher__update_u32() argument
5770 wuffs_crc32__ieee_hasher__initialize(wuffs_crc32__ieee_hasher* self, size_t sizeof_star_self, uint64_t wuffs_version, uint32_t initialize_flags) wuffs_crc32__ieee_hasher__initialize() argument
5822 wuffs_crc32__ieee_hasher__update_u32(wuffs_crc32__ieee_hasher* self, wuffs_base__slice_u8 a_x) wuffs_crc32__ieee_hasher__update_u32() argument
6059 wuffs_deflate__decoder__initialize(wuffs_deflate__decoder* self, size_t sizeof_star_self, uint64_t wuffs_version, uint32_t initialize_flags) wuffs_deflate__decoder__initialize() argument
6111 wuffs_deflate__decoder__add_history(wuffs_deflate__decoder* self, wuffs_base__slice_u8 a_hist) wuffs_deflate__decoder__add_history() argument
6158 wuffs_deflate__decoder__workbuf_len(const wuffs_deflate__decoder* self) wuffs_deflate__decoder__workbuf_len() argument
6173 wuffs_deflate__decoder__decode_io_writer(wuffs_deflate__decoder* self, wuffs_base__io_buffer* a_dst, wuffs_base__io_buffer* a_src, wuffs_base__slice_u8 a_workbuf) wuffs_deflate__decoder__decode_io_writer() argument
6278 wuffs_deflate__decoder__decode_blocks(wuffs_deflate__decoder* self, wuffs_base__io_buffer* a_dst, wuffs_base__io_buffer* a_src) wuffs_deflate__decoder__decode_blocks() argument
6426 wuffs_deflate__decoder__decode_uncompressed(wuffs_deflate__decoder* self, wuffs_base__io_buffer* a_dst, wuffs_base__io_buffer* a_src) wuffs_deflate__decoder__decode_uncompressed() argument
6552 wuffs_deflate__decoder__init_fixed_huffman(wuffs_deflate__decoder* self) wuffs_deflate__decoder__init_fixed_huffman() argument
6590 wuffs_deflate__decoder__init_dynamic_huffman(wuffs_deflate__decoder* self, wuffs_base__io_buffer* a_src) wuffs_deflate__decoder__init_dynamic_huffman() argument
6843 wuffs_deflate__decoder__init_huff(wuffs_deflate__decoder* self, uint32_t a_which, uint32_t a_n_codes0, uint32_t a_n_codes1, uint32_t a_base_symbol) wuffs_deflate__decoder__init_huff() argument
7108 wuffs_deflate__decoder__decode_huffman_fast(wuffs_deflate__decoder* self, wuffs_base__io_buffer* a_dst, wuffs_base__io_buffer* a_src) wuffs_deflate__decoder__decode_huffman_fast() argument
7394 wuffs_deflate__decoder__decode_huffman_slow(wuffs_deflate__decoder* self, wuffs_base__io_buffer* a_dst, wuffs_base__io_buffer* a_src) wuffs_deflate__decoder__decode_huffman_slow() argument
7817 wuffs_lzw__decoder__initialize(wuffs_lzw__decoder* self, size_t sizeof_star_self, uint64_t wuffs_version, uint32_t initialize_flags) wuffs_lzw__decoder__initialize() argument
7869 wuffs_lzw__decoder__set_literal_width(wuffs_lzw__decoder* self, uint32_t a_lw) wuffs_lzw__decoder__set_literal_width() argument
7888 wuffs_lzw__decoder__workbuf_len(const wuffs_lzw__decoder* self) wuffs_lzw__decoder__workbuf_len() argument
7903 wuffs_lzw__decoder__decode_io_writer(wuffs_lzw__decoder* self, wuffs_base__io_buffer* a_dst, wuffs_base__io_buffer* a_src, wuffs_base__slice_u8 a_workbuf) wuffs_lzw__decoder__decode_io_writer() argument
8007 wuffs_lzw__decoder__read_from(wuffs_lzw__decoder* self, wuffs_base__io_buffer* a_src) wuffs_lzw__decoder__read_from() argument
8198 wuffs_lzw__decoder__write_to(wuffs_lzw__decoder* self, wuffs_base__io_buffer* a_dst) wuffs_lzw__decoder__write_to() argument
8270 wuffs_lzw__decoder__flush(wuffs_lzw__decoder* self) wuffs_lzw__decoder__flush() argument
8412 wuffs_gif__decoder__initialize(wuffs_gif__decoder* self, size_t sizeof_star_self, uint64_t wuffs_version, uint32_t initialize_flags) wuffs_gif__decoder__initialize() argument
8472 wuffs_gif__decoder__set_quirk_enabled(wuffs_gif__decoder* self, uint32_t a_quirk, bool a_enabled) wuffs_gif__decoder__set_quirk_enabled() argument
8507 wuffs_gif__decoder__decode_image_config(wuffs_gif__decoder* self, wuffs_base__image_config* a_dst, wuffs_base__io_buffer* a_src) wuffs_gif__decoder__decode_image_config() argument
8604 wuffs_gif__decoder__set_report_metadata(wuffs_gif__decoder* self, uint32_t a_fourcc, bool a_report) wuffs_gif__decoder__set_report_metadata() argument
8625 wuffs_gif__decoder__ack_metadata_chunk(wuffs_gif__decoder* self, wuffs_base__io_buffer* a_src) wuffs_gif__decoder__ack_metadata_chunk() argument
8729 wuffs_gif__decoder__metadata_fourcc(const wuffs_gif__decoder* self) wuffs_gif__decoder__metadata_fourcc() argument
8744 wuffs_gif__decoder__metadata_chunk_length(const wuffs_gif__decoder* self) wuffs_gif__decoder__metadata_chunk_length() argument
8759 wuffs_gif__decoder__num_animation_loops(const wuffs_gif__decoder* self) wuffs_gif__decoder__num_animation_loops() argument
8777 wuffs_gif__decoder__num_decoded_frame_configs(const wuffs_gif__decoder* self) wuffs_gif__decoder__num_decoded_frame_configs() argument
8792 wuffs_gif__decoder__num_decoded_frames(const wuffs_gif__decoder* self) wuffs_gif__decoder__num_decoded_frames() argument
8807 wuffs_gif__decoder__frame_dirty_rect(const wuffs_gif__decoder* self) wuffs_gif__decoder__frame_dirty_rect() argument
8830 wuffs_gif__decoder__workbuf_len(const wuffs_gif__decoder* self) wuffs_gif__decoder__workbuf_len() argument
8845 wuffs_gif__decoder__restart_frame(wuffs_gif__decoder* self, uint64_t a_index, uint64_t a_io_position) wuffs_gif__decoder__restart_frame() argument
8873 wuffs_gif__decoder__decode_frame_config(wuffs_gif__decoder* self, wuffs_base__frame_config* a_dst, wuffs_base__io_buffer* a_src) wuffs_gif__decoder__decode_frame_config() argument
9037 wuffs_gif__decoder__skip_frame(wuffs_gif__decoder* self, wuffs_base__io_buffer* a_src) wuffs_gif__decoder__skip_frame() argument
9139 wuffs_gif__decoder__decode_frame(wuffs_gif__decoder* self, wuffs_base__pixel_buffer* a_dst, wuffs_base__io_buffer* a_src, wuffs_base__slice_u8 a_workbuf, wuffs_base__decode_frame_options* a_opts) wuffs_gif__decoder__decode_frame() argument
9224 wuffs_gif__decoder__reset_gc(wuffs_gif__decoder* self) wuffs_gif__decoder__reset_gc() argument
9236 wuffs_gif__decoder__decode_up_to_id_part1(wuffs_gif__decoder* self, wuffs_base__io_buffer* a_src) wuffs_gif__decoder__decode_up_to_id_part1() argument
9351 wuffs_gif__decoder__decode_header(wuffs_gif__decoder* self, wuffs_base__io_buffer* a_src) wuffs_gif__decoder__decode_header() argument
9420 wuffs_gif__decoder__decode_lsd(wuffs_gif__decoder* self, wuffs_base__io_buffer* a_src) wuffs_gif__decoder__decode_lsd() argument
9636 wuffs_gif__decoder__decode_extension(wuffs_gif__decoder* self, wuffs_base__io_buffer* a_src) wuffs_gif__decoder__decode_extension() argument
9732 wuffs_gif__decoder__skip_blocks(wuffs_gif__decoder* self, wuffs_base__io_buffer* a_src) wuffs_gif__decoder__skip_blocks() argument
9805 wuffs_gif__decoder__decode_ae(wuffs_gif__decoder* self, wuffs_base__io_buffer* a_src) wuffs_gif__decoder__decode_ae() argument
10060 wuffs_gif__decoder__decode_gc(wuffs_gif__decoder* self, wuffs_base__io_buffer* a_src) wuffs_gif__decoder__decode_gc() argument
10193 wuffs_gif__decoder__decode_id_part0(wuffs_gif__decoder* self, wuffs_base__io_buffer* a_src) wuffs_gif__decoder__decode_id_part0() argument
10365 wuffs_gif__decoder__decode_id_part1(wuffs_gif__decoder* self, wuffs_base__pixel_buffer* a_dst, wuffs_base__io_buffer* a_src) wuffs_gif__decoder__decode_id_part1() argument
10562 wuffs_gif__decoder__decode_id_part2(wuffs_gif__decoder* self, wuffs_base__pixel_buffer* a_dst, wuffs_base__io_buffer* a_src, wuffs_base__slice_u8 a_workbuf) wuffs_gif__decoder__decode_id_part2() argument
10795 wuffs_gif__decoder__copy_to_image_buffer(wuffs_gif__decoder* self, wuffs_base__pixel_buffer* a_pb, wuffs_base__slice_u8 a_src) wuffs_gif__decoder__copy_to_image_buffer() argument
10975 wuffs_gzip__decoder__initialize(wuffs_gzip__decoder* self, size_t sizeof_star_self, uint64_t wuffs_version, uint32_t initialize_flags) wuffs_gzip__decoder__initialize() argument
11043 wuffs_gzip__decoder__set_ignore_checksum(wuffs_gzip__decoder* self, bool a_ic) wuffs_gzip__decoder__set_ignore_checksum() argument
11058 wuffs_gzip__decoder__workbuf_len(const wuffs_gzip__decoder* self) wuffs_gzip__decoder__workbuf_len() argument
11073 wuffs_gzip__decoder__decode_io_writer(wuffs_gzip__decoder* self, wuffs_base__io_buffer* a_dst, wuffs_base__io_buffer* a_src, wuffs_base__slice_u8 a_workbuf) wuffs_gzip__decoder__decode_io_writer() argument
11456 wuffs_zlib__decoder__initialize(wuffs_zlib__decoder* self, size_t sizeof_star_self, uint64_t wuffs_version, uint32_t initialize_flags) wuffs_zlib__decoder__initialize() argument
11533 wuffs_zlib__decoder__dictionary_id(const wuffs_zlib__decoder* self) wuffs_zlib__decoder__dictionary_id() argument
11548 wuffs_zlib__decoder__add_dictionary(wuffs_zlib__decoder* self, wuffs_base__slice_u8 a_dict) wuffs_zlib__decoder__add_dictionary() argument
11571 wuffs_zlib__decoder__set_ignore_checksum(wuffs_zlib__decoder* self, bool a_ic) wuffs_zlib__decoder__set_ignore_checksum() argument
11586 wuffs_zlib__decoder__workbuf_len(const wuffs_zlib__decoder* self) wuffs_zlib__decoder__workbuf_len() argument
11601 wuffs_zlib__decoder__decode_io_writer(wuffs_zlib__decoder* self, wuffs_base__io_buffer* a_dst, wuffs_base__io_buffer* a_src, wuffs_base__slice_u8 a_workbuf) wuffs_zlib__decoder__decode_io_writer() argument
[all...]
/third_party/ltp/testcases/network/nfsv4/acl/
H A Drandom_gen.py31 def createUser(self,username):
32 group = self.gList[random.randint(0,len(self.gList)-1)][0]
38 def createFile(self,path,n):
42 self.fList.append(fName)
44 def createGroup(self, grpname, gid):
49 def createNGroup(self, n):
53 self.createGroup(gName, gid)
57 def createNUser(self,n):
60 self
[all...]
/third_party/python/Lib/wsgiref/
H A Dvalidate.py193 def __init__(self, wsgi_input):
194 self.input = wsgi_input
196 def read(self, *args):
198 v = self.input.read(*args)
202 def readline(self, *args):
204 v = self.input.readline(*args)
208 def readlines(self, *args):
210 lines = self.input.readlines(*args)
216 def __iter__(self):
218 line = self
[all...]
/third_party/node/deps/v8/tools/
H A Dlocs.py178 def __init__(self, loc, in_bytes, expanded, expanded_bytes):
179 self.loc = loc
180 self.in_bytes = in_bytes
181 self.expanded = expanded
182 self.expanded_bytes = expanded_bytes
184 def ratio(self):
185 return self.expanded / (self.loc+1)
187 def to_string(self):
188 exp_bytes, exp_unit = fmt_bytes(self
[all...]
/third_party/skia/third_party/externals/angle2/src/common/spirv/
H A Dgen_spirv_builder_and_parser.py175 def __init__(self):
176 self.path_prefix = os.path.dirname(os.path.realpath(__file__)) + os.path.sep
177 self.grammar = load_grammar(self.path_prefix + SPIRV_GRAMMAR_FILE)
180 self.unsupported_kinds = set(['LiteralSpecConstantOpInteger'])
182 self.unsupported_capabilities = set(['Kernel', 'Addresses'])
184 self.supported_extensions = set([])
186 self.bit_mask_types = set([])
189 self.instruction_builder_prototypes = [BUILDER_HELPER_FUNCTION_PROTOTYPE]
190 self
[all...]
/third_party/skia/tools/skpbench/
H A Dskpbench.py122 def __init__(self, message, value=None):
123 self.message = message
124 self.value = value
127 def __init__(self, queue, proc):
128 self._queue = queue
129 self._proc = proc
130 Thread.__init__(self)
132 def run(self):
134 for line in iter(self._proc.stdout.readline, b''):
135 self
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/hid/tests/
H A Dtest_mouse.py35 def __init__(self, rdesc, name=None, input_info=None):
38 self.left = False
39 self.right = False
40 self.middle = False
42 def create_report(self, x, y, buttons=None, wheels=None, reportID=None):
57 self.left = l
59 self.right = r
61 self.middle = m
62 left = self.left
63 right = self
[all...]
/test/testfwk/developer_test/aw/python/distributed/common/
H A Dmanager.py28 def __init__(self, result_path):
29 self.is_hdc = True
30 self.phone_device_list = []
31 self.ivi_device_list = []
32 self.tv_device_list = []
33 self.watch_device_list = []
34 self.make_device_list(result_path)
53 def make_device_adapter(self, device_info_list, device_name):
54 device = DeviceShell(self.is_hdc, device_sn=device_info_list[0],
60 def make_device_list(self, result_pat
[all...]

Completed in 27 milliseconds

1...<<61626364656667686970>>...261