Home
last modified time | relevance | path

Searched refs:py3 (Results 1 – 25 of 2917) sorted by relevance

12345678910>>...117

/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/py3/gen-py3/module/
H A Dtypes.h18 namespace py3 {
23 ::py3::simple::AnEnum>::namesmap() { in namesmap()
35 ::py3::simple::Flags>::namesmap() { in namesmap()
46 ::py3::simple::BinaryUnion::Type>::namesmap() { in namesmap()
56 void reset_field<::py3::simple::SimpleException>(
66 void reset_field<::py3::simple::OptionalRefStruct>(
76 void reset_field<::py3::simple::SimpleStruct>(
104 void reset_field<::py3::simple::ComplexStruct>(
169 ::py3::simple::SimpleStruct>::namesmap() { in namesmap()
179 ::py3::simple::ComplexStruct>::namesmap() { in namesmap()
[all …]
H A Dclients_wrapper.cpp10 namespace py3 { namespace
389 ::py3::simple::ComplexStruct arg_counter) { in complex_sum_i32()
406 ::py3::simple::ComplexStruct arg_counter) { in repeat_name()
420 folly::Future<::py3::simple::SimpleStruct>
426 auto callback = std::make_unique<::thrift::py3::FutureCallback<::py3::simple::SimpleStruct>>( in get_struct()
486 folly::Future<::py3::simple::AnEnum>
489 ::py3::simple::AnEnum arg_in_enum) { in set_enum()
493 auto callback = std::make_unique<::thrift::py3::FutureCallback<::py3::simple::AnEnum>>( in set_enum()
682 …auto callback = std::make_unique<::thrift::py3::FutureCallback<std::vector<::py3::simple::AnEnum>>… in contain_enum()
695 ::py3::simple::BinaryUnion arg_u) { in get_binary_union_struct()
[all …]
H A Dclients.pyi9 import thrift.py3.types
10 import thrift.py3.client
11 import thrift.py3.common
21 class SimpleService(thrift.py3.client.Client):
25 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
31 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
36 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
43 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
49 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
55 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
[all …]
H A Dtypes.pxd23 from thrift.py3.exceptions cimport cTException
25 cimport thrift.py3.exceptions
26 cimport thrift.py3.types
27 from thrift.py3.types cimport (
34 from thrift.py3.common cimport (
44 cdef extern from "src/gen-py3/module/types.h":
69 cdef class Flags(thrift.py3.types.Flag):
252 cdef class List__i16(thrift.py3.types.List):
259 cdef class List__i32(thrift.py3.types.List):
266 cdef class List__i64(thrift.py3.types.List):
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/py3/gen-py3cpp/
H A Dmodule_data.cpp15 const std::array<::py3::simple::AnEnum, 5> TEnumDataStorage<::py3::simple::AnEnum>::values = {{
22 const std::array<folly::StringPiece, 5> TEnumDataStorage<::py3::simple::AnEnum>::names = {{
30 const std::array<::py3::simple::Flags, 4> TEnumDataStorage<::py3::simple::Flags>::values = {{
36 const std::array<folly::StringPiece, 4> TEnumDataStorage<::py3::simple::Flags>::names = {{
43 const std::array<::py3::simple::BinaryUnion::Type, 1> TEnumDataStorage<::py3::simple::BinaryUnion::…
46 const std::array<folly::StringPiece, 1> TEnumDataStorage<::py3::simple::BinaryUnion::Type>::names =…
53 const std::array<int16_t, 1> TStructDataStorage<::py3::simple::SimpleException>::fields_ids = {{
63 const std::array<int16_t, 1> TStructDataStorage<::py3::simple::OptionalRefStruct>::fields_ids = {{
80 const std::array<int16_t, 8> TStructDataStorage<::py3::simple::SimpleStruct>::fields_ids = {{
112 const std::array<int16_t, 9> TStructDataStorage<::py3::simple::ComplexStruct>::fields_ids = {{
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/mcpp2-compare/gen-py3/module/
H A Dclients.pyi9 import thrift.py3.types
10 import thrift.py3.client
11 import thrift.py3.common
22 class EmptyService(thrift.py3.client.Client):
30 class ReturnService(thrift.py3.client.Client):
34 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
39 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
44 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
49 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
54 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
[all …]
/dports/deskutils/py-py3status/py3status-3.40/py3status/modules/
H A Dmoc.py96 if not self.py3.check_commands("mocp"):
99 self.color_stopped = self.py3.COLOR_STOPPED or self.py3.COLOR_BAD
100 self.color_paused = self.py3.COLOR_PAUSED or self.py3.COLOR_DEGRADED
101 self.color_playing = self.py3.COLOR_PLAYING or self.py3.COLOR_GOOD
107 except self.py3.CommandError:
115 color = self.py3.COLOR_BAD
141 "full_text": self.py3.safe_format(
164 self.py3.command_run("mocp --stop")
166 self.py3.command_run("mocp --next")
168 self.py3.command_run("mocp --prev")
[all …]
H A Dinsync.py59 if not self.py3.check_commands("insync"):
65 queued = self.py3.command_output(
70 "cached_until": self.py3.time_in(self.cache_timeout),
71 "color": self.py3.COLOR_ERROR or self.py3.COLOR_BAD,
87 "color": self.py3.COLOR_ERROR or self.py3.COLOR_BAD,
91 color = self.py3.COLOR_DEGRADED
94 self.py3.error(STRING_ERROR)
96 color = self.py3.COLOR_BAD
99 color = self.py3.COLOR_GOOD
110 "cached_until": self.py3.time_in(self.cache_timeout),
[all …]
H A Darch_updates.py48 "pacman": self.py3.check_commands(["checkupdates"]),
49 "aur": self.py3.check_commands(
80 updates = self.py3.command_output(["checkupdates"])
82 except self.py3.CommandError as ce:
89 except self.py3.CommandError as ce:
94 self.py3.command_output(["cower", "-u"])
96 except self.py3.CommandError as ce:
103 except self.py3.CommandError:
108 updates = self.py3.command_output(["yay", "-Qua"])
110 except self.py3.CommandError:
[all …]
H A Ddeadbeef.py82 if not self.py3.check_commands("deadbeef"):
87 set(self.py3.get_placeholders_list(self.format) + ["isplaying"])
92 self.color_paused = self.py3.COLOR_PAUSED or self.py3.COLOR_DEGRADED
93 self.color_playing = self.py3.COLOR_PLAYING or self.py3.COLOR_GOOD
94 self.color_stopped = self.py3.COLOR_STOPPED or self.py3.COLOR_BAD
98 self.py3.command_output(["pgrep", "deadbeef"])
100 except self.py3.CommandError:
111 return self.py3.command_output(self.deadbeef_command)
112 except self.py3.CommandError as ce:
131 "cached_until": self.py3.time_in(cached_until),
[all …]
H A Dlm_sensors.py186 if not self.py3.check_commands(self.lm_sensors_command):
192 self.format_sensor = self.py3.update_placeholder_formats(
215 self.color_zero = self.py3.COLOR_ZERO or "red"
216 self.color_input = self.py3.COLOR_INPUT or "lime"
217 self.color_min = self.py3.COLOR_MIN or "lightgreen"
220 self.color_max = self.py3.COLOR_MAX or "orange"
222 self.color_crit = self.py3.COLOR_CRIT or "red"
274 self.py3.threshold_get_color(sensor[x], x)
302 self.py3.threshold_get_color(
325 "cached_until": self.py3.time_in(self.cache_timeout),
[all …]
H A Ddpms.py58 self.color_on = self.py3.COLOR_ON or self.py3.COLOR_GOOD
59 self.color_off = self.py3.COLOR_OFF or self.py3.COLOR_BAD
65 if "DPMS is Enabled" in self.py3.command_output("xset -q"):
72 icon = self.py3.safe_format(_format)
75 "cached_until": self.py3.time_in(self.cache_timeout),
76 "full_text": self.py3.safe_format(self.format, {"icon": icon}),
85 if "DPMS is Enabled" in self.py3.command_output("xset -q"):
86 self.py3.command_run("xset -dpms s off")
88 self.py3.command_run("xset +dpms s on")
91 self.py3.command_run("xset dpms force off")
H A Dcmus.py108 if not self.py3.check_commands("cmus-remote"):
111 self.color_stopped = self.py3.COLOR_STOPPED or self.py3.COLOR_BAD
112 self.color_paused = self.py3.COLOR_PAUSED or self.py3.COLOR_DEGRADED
113 self.color_playing = self.py3.COLOR_PLAYING or self.py3.COLOR_GOOD
125 except self.py3.CommandError:
169 color = self.py3.COLOR_BAD
192 "full_text": self.py3.safe_format(
212 self.py3.command_run("cmus-remote --stop")
214 self.py3.command_run("cmus-remote --next")
216 self.py3.command_run("cmus-remote --prev")
[all …]
H A Ddo_not_disturb.py112 self.parent.py3.command_run(
117 self.parent.py3.command_run("pkill -SIGUSR1 dunst")
121 self.parent.py3.command_run("pkill -SIGUSR2 dunst")
124 self.parent.py3.command_run("pkill -SIGTERM dunst")
139 self.parent.py3.command_run("makoctl set-mode default")
183 except self.py3.CommandError:
191 if not self.py3.check_commands(command):
203 self.state = self.py3.storage_get("state") or 0
220 self.py3.threshold_get_color(dnd_data[x], x)
223 "cached_until": self.py3.time_in(self.cache_timeout),
[all …]
H A Dgithub.py135 info = self.py3.request(url, auth=auth)
136 except self.py3.RequestException:
152 self.py3.notify_user(
165 except self.py3.RequestException:
183 last_page_info = self.py3.request(
186 except self.py3.RequestException:
218 notify = self.py3.safe_format(
233 cached_until = self.py3.time_in(self.cache_timeout)
256 self.py3.command_run(f"xdg-open {url}")
257 self.py3.prevent_refresh()
[all …]
H A Dxscreensaver.py52 self.color_on = self.py3.COLOR_ON or self.py3.COLOR_GOOD
53 self.color_off = self.py3.COLOR_OFF or self.py3.COLOR_BAD
54 if not self.py3.check_commands(["xscreensaver"]):
59 self.py3.command_output(["pidof", "xscreensaver"])
61 except self.py3.CommandError:
74 "cached_until": self.py3.time_in(self.cache_timeout),
75 "full_text": self.py3.safe_format(self.format, {"icon": icon}),
82 self.py3.command_run(["xscreensaver-command", "-activate"])
86 self.py3.command_run(["xscreensaver-command", "-exit"])
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/types/gen-py3/module/
H A Dbuilders.pxd11 cimport thrift.py3.builder
18 cdef class decorated_struct_Builder(thrift.py3.builder.StructBuilder):
22 cdef class ContainerStruct_Builder(thrift.py3.builder.StructBuilder):
33 cdef class CppTypeStruct_Builder(thrift.py3.builder.StructBuilder):
37 cdef class VirtualStruct_Builder(thrift.py3.builder.StructBuilder):
46 cdef class TrivialNumeric_Builder(thrift.py3.builder.StructBuilder):
56 cdef class ComplexString_Builder(thrift.py3.builder.StructBuilder):
66 cdef class MinPadding_Builder(thrift.py3.builder.StructBuilder):
74 cdef class MyStruct_Builder(thrift.py3.builder.StructBuilder):
81 cdef class MyDataItem_Builder(thrift.py3.builder.StructBuilder):
[all …]
H A Dbuilders.pyx7 cdef class decorated_struct_Builder(thrift.py3.builder.StructBuilder):
13 cdef class ContainerStruct_Builder(thrift.py3.builder.StructBuilder):
26 cdef class CppTypeStruct_Builder(thrift.py3.builder.StructBuilder):
32 cdef class VirtualStruct_Builder(thrift.py3.builder.StructBuilder):
45 cdef class TrivialNumeric_Builder(thrift.py3.builder.StructBuilder):
59 cdef class ComplexString_Builder(thrift.py3.builder.StructBuilder):
73 cdef class MinPadding_Builder(thrift.py3.builder.StructBuilder):
83 cdef class MyStruct_Builder(thrift.py3.builder.StructBuilder):
92 cdef class MyDataItem_Builder(thrift.py3.builder.StructBuilder):
98 cdef class Renaming_Builder(thrift.py3.builder.StructBuilder):
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/basic-stack-arguments/gen-py3/module/
H A Dclients.pyi9 import thrift.py3.types
10 import thrift.py3.client
11 import thrift.py3.common
21 class MyService(thrift.py3.client.Client):
26 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
32 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
39 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
46 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
54 class MyServiceFast(thrift.py3.client.Client):
59 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
[all …]
/dports/devel/py-multiprocess/multiprocess-0.70.12.2/
H A DMANIFEST.in8 recursive-include py3.1 *
9 recursive-include py3.10 *
10 recursive-include py3.2 *
11 recursive-include py3.3 *
12 recursive-include py3.4 *
13 recursive-include py3.5 *
14 recursive-include py3.6 *
15 recursive-include py3.7 *
16 recursive-include py3.8 *
17 recursive-include py3.9 *
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/interactions/gen-py3/test/fixtures/interactions/module/
H A Dclients.pyi9 import thrift.py3.types
10 import thrift.py3.client
11 import thrift.py3.common
21 class MyService(thrift.py3.client.Client):
25 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
35 class MyService_MyInteraction(thrift.py3.client.Client):
39 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
44 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
49 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
56 class MyService_MyInteractionFast(thrift.py3.client.Client):
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/basic/gen-py3/module/
H A Dclients.pyi9 import thrift.py3.types
10 import thrift.py3.client
11 import thrift.py3.common
21 class MyService(thrift.py3.client.Client):
25 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
30 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
36 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
43 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
49 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
55 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/basic-annotations/gen-py3/module/
H A Dclients.pyi9 import thrift.py3.types
10 import thrift.py3.client
11 import thrift.py3.common
21 class MyService(thrift.py3.client.Client):
25 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
30 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
36 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
42 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
49 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
56 rpc_options: _typing.Optional[thrift.py3.common.RpcOptions]=None
[all …]
/dports/deskutils/py-py3status/py3status-3.40/py3status/
H A D__init__.py35 py3 = None
37 py3 = Py3statusWrapper(options)
38 py3.setup()
40 if py3:
41 py3.notify_user("Setup interrupted")
44 if py3:
45 py3.report_exception("Setup error")
52 py3.run()
56 py3.report_exception("Runtime error")
59 py3.stop()
/dports/sysutils/py-execnet/execnet-1.6.0/testing/
H A Dtest_serializer.py113 def py3(request):
154 tp, v = py3.load(p)
163 tp, v = py3.load(p)
173 tp, v = py3.load(p)
180 tp, v = py3.load(p)
191 tp, v = py3.load(p)
207 tp, s = py3.load(p)
216 tp, v = py3.load(p)
221 def test_str(py2, py3):
239 tp, s = py3.load(p)
[all …]

12345678910>>...117