Home
last modified time | relevance | path

Searched refs:bytestostr (Results 1 – 25 of 115) sorted by relevance

12345

/dports/x11/xpra/xpra-4.3/xpra/platform/
H A Dkeyboard.py18 from xpra.os_util import WIN32, OSX, POSIX, bytestostr
49 print("Layout: '%s'" % bytestostr(layout or b""))
50 print("Layouts: %s" % csv("'%s'" % bytestostr(x) for x in (layouts or [])))
51 print("Variant: '%s'" % bytestostr(variant or b""))
52 print("Variants: %s" % csv("'%s'" % bytestostr(x) for x in (variants or [])))
H A Dkeyboard_base.py9 from xpra.os_util import bytestostr
57 self.modifier_keys[bytestostr(keyname)] = bytestostr(modifier)
58 self.modifier_names[bytestostr(modifier)] = bytestostr(keyname)
60 keycodes = self.modifier_keycodes.setdefault(bytestostr(keyname), [])
/dports/x11/xpra/xpra-4.3/xpra/
H A Dutil.py188 return bytestostr(v)
331 def bytestostr(x) -> str: function
344 return bytestostr(x)
360 return super().__getitem__(bytestostr(k))
371 return super().pop(bytestostr(k))
372 return super().pop(bytestostr(k), v)
461 x = bytestostr(x)
762 npath = path+sep+bytestostr(k)
766 npath = bytestostr(k)
826 return bytestostr(x)
[all …]
/dports/x11/xpra/xpra-4.3/xpra/client/auth/
H A Dprompt_handler.py7 from xpra.os_util import bytestostr
23 digest = bytestostr(packet[3])
27 prompt = std(bytestostr(packet[5]), extras="-,./: '")
H A Dgss_handler.py9 from xpra.os_util import bytestostr, OSX
28 digest = bytestostr(packet[3])
45 service = bytestostr(digest.split(b":", 1)[1])
H A Dkerberos_handler.py9 from xpra.os_util import bytestostr, WIN32
41 digest = bytestostr(packet[3])
H A Du2f_handler.py10 from xpra.os_util import bytestostr, load_binary_file, osexpand
28 digest = bytestostr(packet[3])
/dports/x11/xpra/xpra-4.3/xpra/server/auth/
H A Dmultifile_auth.py11 from xpra.os_util import strtobytes, bytestostr, hexstr
24 uid = parse_uid(bytestostr(ldata[2]))
25 gid = parse_gid(bytestostr(ldata[3]))
26 displays = bytestostr(ldata[4]).split(",")
70 log.error(" '%s'", bytestostr(line))
H A Dwin32_auth.py12 from xpra.os_util import bytestostr
50 password_str = bytestostr(password)
/dports/x11/xpra/xpra-4.3/xpra/clipboard/
H A Dclipboard_core.py86 targets_strs = tuple(bytestostr(x) for x in targets)
261 selection = bytestostr(packet[1])
286 target = bytestostr(target)
289 dtype = bytestostr(dtype)
386 selection = bytestostr(selection)
387 target = bytestostr(target)
421 dtype = bytestostr(dtype)
467 selection = bytestostr(selection)
468 wire_encoding = bytestostr(wire_encoding)
469 dtype = bytestostr(dtype)
[all …]
/dports/x11/xpra/xpra-4.3/tests/unittests/unit/
H A Dos_util_test.py11 strtobytes, bytestostr, memoryview_to_bytes, hexstr,
29 s = bytestostr(b)
36 mvs = bytestostr(mvb)
90 assert bytestostr(u"foo")==u"foo"
/dports/x11/xpra/xpra-4.3/xpra/sound/pulseaudio/
H A Dpulseaudio_pactl_util.py13 from xpra.os_util import which, WIN32, OSX, bytestostr, strtobytes
89 log.warn(" %s", bytestostr(x))
92 for line in bytestostr(out).splitlines():
183 dinfo[bytestostr(d)] = bytestostr(name)
/dports/x11/xpra/xpra-4.3/xpra/server/proxy/
H A Dproxy_instance.py21 get_hex_uuid, bytestostr, strtobytes,
280 if any(e for e in prefixes if bytestostr(k).startswith(e)):
309 packet_type = bytestostr(packet[0])
340 reasons = tuple(bytestostr(x) for x in packet[1:])
438 packet_type = bytestostr(packet[0])
444 reason = bytestostr(packet[1])
524 server_salt = bytestostr(packet[1])
526 digest = bytestostr(packet[3])
529 salt_digest = bytestostr(packet[4])
580 packet_type = bytestostr(packet[0])
[all …]
/dports/x11/xpra/xpra-4.3/xpra/x11/
H A Dxkbhelper.py11 from xpra.os_util import bytestostr
114bytestostr(rules), bytestostr(model), bytestostr(layout), bytestostr(variant), bytestostr(options))
201 if bool(set(DEBUG_KEYSYMS) & set(bytestostr(d[0]) for d in defs)):
204 keysym = bytestostr(bkeysym)
480 l("keycode_trans[(%s, %s)]=%s", keycode, bytestostr(name), server_keycode)
482 l("keycode_trans[%s]=%s", bytestostr(name), server_keycode)
674 mod = X11Keyboard.parse_modifier(bytestostr(modifier))
707 l = modifiers.setdefault(bytestostr(modifier), [])
708 kn = bytestostr(keyname)
H A Dxsettings_prop.py23 from xpra.os_util import strtobytes, bytestostr, hexstr
123 bytestostr(prop_name), XSettingsNames.get(setting_type, "INVALID!"))
142 …log.error("Error: invalid type %i for xsetting property '%s'", setting_type, bytestostr(prop_name))
148 log.error("Error processing XSettings property %s:", bytestostr(prop_name))
H A Dx11_server_base.py11 from xpra.os_util import bytestostr, strtobytes, hexstr
148 ("ADDRESS", bytestostr, _save_str),
328 settings = dict((bytestostr(k), v) for k,v in settings.items())
333 value = bytestostr(v)
389 if bytestostr(_n) in BLACKLISTED_XSETTINGS:
435 log.warn("Warning: unexpected setting '%s'", bytestostr(k))
/dports/x11/xpra/xpra-4.3/xpra/server/mixins/
H A Dfileprint_server.py14 from xpra.os_util import bytestostr, osexpand, load_binary_file, WIN32, POSIX
148 mimetype = bytestostr(packet[3])
150 source_uuid = bytestostr(packet[4])
154 printer = bytestostr(packet[6])
165 s = bytestostr(print_options)
209 … printlog("'%s' sent to %s for printing on '%s'", bytestostr(title or filename), ss, printer)
/dports/x11/xpra/xpra-4.3/xpra/net/websockets/
H A Dcommon.py12 from xpra.os_util import strtobytes, bytestostr
98 if bytestostr(accept_key)!=bytestostr(expected_key):
/dports/x11/xpra/xpra-4.3/xpra/client/mixins/
H A Dserverinfo_mixin.py8 from xpra.os_util import bytestostr
31 versions[x] = bytestostr(v)
92 return bytestostr(v)
/dports/graphics/py-pymaging-png/pymaging-png-83d85c4/pymaging_png/
H A Dcompat.py48 def bytestostr(x): return str(x, 'iso8859-1') function
51 bytestostr = str variable
/dports/x11/xpra/xpra-4.3/xpra/platform/xposix/
H A Dnetdev_query.pyx11 from xpra.os_util import strtobytes, bytestostr, load_binary_file, LINUX
155 dev_type = bytestostr(load_binary_file(type_file).rstrip(b"\n\r"))
206 info["driver"] = bytestostr(drvinfo.driver)
207 info["version"] = bytestostr(drvinfo.version)
208 info["firmware-version"] = bytestostr(drvinfo.fw_version)
209 info["bus-info"] = bytestostr(drvinfo.bus_info)
/dports/x11/xpra/xpra-4.3/xpra/sound/
H A Dgstreamer_util.py16 from xpra.os_util import WIN32, OSX, POSIX, bytestostr
599 return {"device" : bytestostr(device)}
657 kl = bytestostr(k).strip().lower()
658 vl = bytestostr(v).strip().lower()
683 if (bytestostr(k).strip().lower().find(match)>=0 or
684 bytestostr(v).strip().lower().find(match)>=0))
726 log.info(" * %s", bytestostr(v))
727 log.info(" %s", bytestostr(k))
738 log.info(" '%s'", bytestostr(device_name))
/dports/x11/xpra/xpra-4.3/xpra/net/rfb/
H A Drfb_encode.py12 from xpra.os_util import hexstr, bytestostr
31 if bytestostr(img.get_pixel_format())!="BGRX":
81 pixel_format = bytestostr(img.get_pixel_format())
/dports/x11/xpra/xpra-4.3/xpra/x11/bindings/
H A Dwait_for_x_server.pyx11 from xpra.os_util import bytestostr
38 …or("could not connect to X server on display '%s' after %i seconds" % (bytestostr(display_name), t…
/dports/x11/xpra/xpra-4.3/xpra/client/
H A Dui_client_base.py21 platform_name, bytestostr,
178 self.session_name = bytestostr(opts.session_name)
561 setting = bytestostr(setting)
577 … log.info("unknown server setting changed: %s=%s", setting, repr_ellipsized(bytestostr(value)))
606 command = bytestostr(packet[1])
626 self.server_session_name = bytestostr(args[0])
638 log_cmd = bytestostr(args[0])
648 log_cmd = bytestostr(args[0])
657 groups = [bytestostr(x) for x in args[1:]]

12345