Home
last modified time | relevance | path

Searched refs:maybe_str (Results 1 – 13 of 13) sorted by relevance

/dports/dns/py-pycares/pycares-3.1.1/src/pycares/
H A D__init__.py9 from .utils import ascii_bytes, maybe_str, parse_name
600 self.cname = maybe_str(_ffi.string(host.h_name))
609 self.host = maybe_str(_ffi.string(mx.host))
621 self.flags = maybe_str(_ffi.string(naptr.flags))
623 self.regex = maybe_str(_ffi.string(naptr.regexp))
633 self.host = maybe_str(_ffi.string(ns))
642 self.name = maybe_str(_ffi.string(hostent.h_name))
652 self.nsname = maybe_str(_ffi.string(soa.nsname))
667 self.host = maybe_str(_ffi.string(srv.host))
679 self.text = maybe_str(txt_chunk.text)
[all …]
H A Derrno.py3 from .utils import maybe_str
44 return maybe_str(_ffi.string(_lib.ares_strerror(code)))
H A Dutils.py16 def maybe_str(data): function
/dports/devel/py-python-subunit/python-subunit-1.3.0/python/subunit/
H A D_to_disk.py90 maybe_str = json.dumps(
92 if not isinstance(maybe_str, bytes):
93 maybe_str = maybe_str.encode('utf-8')
94 f.write(maybe_str)
/dports/devel/py-graphql-core2/graphql-core-2.2.1/graphql/language/
H A Dprinter.py271 def wrap(start, maybe_str, end=""): argument
273 if maybe_str:
274 return start + maybe_str + end
278 def indent(maybe_str): argument
280 if maybe_str:
281 return maybe_str.replace("\n", "\n ")
/dports/textproc/py-asciinema/asciinema-2.0.2/asciinema/
H A D__main__.py47 def maybe_str(v): function
99 …ded idle time to given number of seconds', type=positive_float, default=maybe_str(cfg.record_idle_…
107 …ring playback to given number of seconds', type=positive_float, default=maybe_str(cfg.play_idle_ti…
/dports/devel/py-hvac/hvac-0.11.2/hvac/
H A Dutils.py358 def url_quote(maybe_str): argument
362 unicode_str = six.text_type(maybe_str)
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/powerpc/perf/
H A Dhv-24x7.c436 static char *memdup_to_str(char *maybe_str, int max_len, gfp_t gfp) in memdup_to_str() argument
438 return kasprintf(gfp, "%.*s", max_len, maybe_str); in memdup_to_str()
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/powerpc/perf/
H A Dhv-24x7.c436 static char *memdup_to_str(char *maybe_str, int max_len, gfp_t gfp) in memdup_to_str() argument
438 return kasprintf(gfp, "%.*s", max_len, maybe_str); in memdup_to_str()
/dports/multimedia/libv4l/linux-5.13-rc2/arch/powerpc/perf/
H A Dhv-24x7.c436 static char *memdup_to_str(char *maybe_str, int max_len, gfp_t gfp) in memdup_to_str() argument
438 return kasprintf(gfp, "%.*s", max_len, maybe_str); in memdup_to_str()
/dports/devel/py-mypy/mypy-0.910/test-data/unit/
H A Dcheck-incremental.test3263 def maybe_str(x: Optional[str]) -> str:
3268 y: str = attr.ib(converter=maybe_str)
3279 def maybe_str(x: Optional[str]) -> str:
3284 yy: str = attr.ib(converter=maybe_str)
3293 def maybe_str(x: Optional[str]) -> str:
3298 y: str = attr.ib(converter=maybe_str)
3310 def maybe_str(x: Optional[str]) -> str:
3315 yy: str = attr.ib(converter=maybe_str)
3327 def maybe_str(x: Optional[str]) -> str:
3332 yy: str = attr.ib(converter=maybe_str)
/dports/lang/v8/v8-9.6.180.12/src/d8/
H A Dd8.cc3483 MaybeLocal<String> maybe_str = v8::String::NewFromUtf8( in ReadLines() local
3487 if (!maybe_str.ToLocal(&str)) { in ReadLines()
/dports/lang/v8/v8-9.6.180.12/test/cctest/
H A Dtest-api.cc858 v8::MaybeLocal<v8::String> maybe_str = in THREADED_TEST() local
860 CHECK(maybe_str.IsEmpty()); in THREADED_TEST()
868 v8::MaybeLocal<v8::String> maybe_str = in THREADED_TEST() local
870 CHECK(maybe_str.IsEmpty()); in THREADED_TEST()