/dports/textproc/py-normality/normality-2.1.1/normality/ |
H A D | cleaning.py | 6 from normality.util import Categories, is_text 21 if not is_text(text): 28 if not is_text(text): 35 if not is_text(text): 42 if not is_text(text): 57 if not is_text(text): 75 if not is_text(text): 82 if not is_text(text): 89 if not is_text(text):
|
H A D | transliteration.py | 16 from normality.cleaning import compose_nfkc, is_text 33 if text is None or not is_text(text) or not len(text): 49 if text is None or not is_text(text):
|
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/adapter/gen-py/thrift/annotation/scope/ |
H A D | ttypes.pyi | 39 def readFromJson(self, json: str, is_text: bool = ..., **kwargs: __T.Any) -> None: ... 63 def readFromJson(self, json: str, is_text: bool = ..., **kwargs: __T.Any) -> None: ... 87 def readFromJson(self, json: str, is_text: bool = ..., **kwargs: __T.Any) -> None: ... 111 def readFromJson(self, json: str, is_text: bool = ..., **kwargs: __T.Any) -> None: ... 135 def readFromJson(self, json: str, is_text: bool = ..., **kwargs: __T.Any) -> None: ... 159 def readFromJson(self, json: str, is_text: bool = ..., **kwargs: __T.Any) -> None: ... 183 def readFromJson(self, json: str, is_text: bool = ..., **kwargs: __T.Any) -> None: ... 207 def readFromJson(self, json: str, is_text: bool = ..., **kwargs: __T.Any) -> None: ... 231 def readFromJson(self, json: str, is_text: bool = ..., **kwargs: __T.Any) -> None: ... 255 def readFromJson(self, json: str, is_text: bool = ..., **kwargs: __T.Any) -> None: ... [all …]
|
H A D | ttypes.py | 84 if is_text: 151 if is_text: 218 if is_text: 285 if is_text: 352 if is_text: 419 if is_text: 486 if is_text: 553 if is_text: 620 if is_text: 687 if is_text: [all …]
|
/dports/textproc/py-pykwalify/pykwalify-1.8.0/tests/ |
H A D | test_types.py | 58 assert types.is_text("foo") 59 assert types.is_text(1) 60 assert types.is_text(1.0) 61 assert not types.is_text([]) 62 assert not types.is_text(True)
|
/dports/graphics/py-altair/altair-4.1.0/altair/sphinxext/ |
H A D | schematable.py | 83 is_text = True 86 if is_text: 91 is_text = not is_text 110 is_text = True 113 if is_text: 117 is_text = not is_text
|
/dports/devel/p5-Data-Binary/Data-Binary-0.01/t/ |
H A D | 2-test.t | 6 use Data::Binary qw(is_text is_binary); 13 ok(is_text($text_test), "Plain text is text"); 16 ok(! is_text($binary1_test), "Data >30% control codes is not text"); 19 ok(! is_text($binary2_test), "Data with high-order bits is not text"); 22 ok(! is_text($binary3_test), "Data with a single null is not text");
|
/dports/multimedia/gaupol/gaupol-1.4-3-g6116d42b/gaupol/ |
H A D | enums.py | 36 is_text = False variable in FieldNumber 42 is_text = False variable in FieldStart 48 is_text = False variable in FieldEnd 54 is_text = False variable in FieldDuration 62 is_text = True variable in FieldMainText 68 is_text = True variable in FieldTranslationText
|
/dports/devel/py-pyface/pyface-7.2.0/pyface/data_view/tests/ |
H A D | test_abstract_data_exporter.py | 56 self.assertFalse(exporter.is_text) 60 self.assertTrue(exporter.is_text) 82 is_text=True, 93 is_text=True, 103 is_text=False, 114 is_text=False,
|
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/adapter/gen-py/thrift/annotation/cpp/ |
H A D | ttypes.pyi | 52 …def readFromJson(self, json: __T.Dict[str, __T.Any], is_text: bool = ..., **kwargs: __T.Any) -> No… 54 def readFromJson(self, json: str, is_text: bool = ..., **kwargs: __T.Any) -> None: ... 81 …def readFromJson(self, json: __T.Dict[str, __T.Any], is_text: bool = ..., **kwargs: __T.Any) -> No… 83 def readFromJson(self, json: str, is_text: bool = ..., **kwargs: __T.Any) -> None: ... 105 …def readFromJson(self, json: __T.Dict[str, __T.Any], is_text: bool = ..., **kwargs: __T.Any) -> No… 107 def readFromJson(self, json: str, is_text: bool = ..., **kwargs: __T.Any) -> None: ... 134 …def readFromJson(self, json: __T.Dict[str, __T.Any], is_text: bool = ..., **kwargs: __T.Any) -> No… 136 def readFromJson(self, json: str, is_text: bool = ..., **kwargs: __T.Any) -> None: ... 163 …def readFromJson(self, json: __T.Dict[str, __T.Any], is_text: bool = ..., **kwargs: __T.Any) -> No… 165 def readFromJson(self, json: str, is_text: bool = ..., **kwargs: __T.Any) -> None: ... [all …]
|
/dports/security/snort-rep/snort-rep-1.10/ |
H A D | snort-rep-mail | 72 my $is_text=1; 74 if($is_text and /^<<<<</) { $is_text=0; next; } 75 if($is_text) { $text .= $_; }
|
/dports/games/biloba/biloba-0.9.3/src/ |
H A D | widget.c | 56 int is_text; member 119 widget->is_text = 1; in text_widget_init() 148 assert(widget->is_text); in text_widget_set_editable() 161 assert(widget->is_text); in text_widget_set_text() 176 assert(widget->is_text); in text_widget_get_text() 217 widget->is_text = 0; in widget_create() 368 if (widget->is_text) in widget_show() 377 if (!widget->is_text) in widget_show() 529 assert(widget->is_text); in handle_input() 679 assert(widget->is_text); in text_widget_get_x_offset() [all …]
|
/dports/devel/z88dk/z88dk/src/z80asm/t/ |
H A D | TestZ80asm.pm | 146 is_text( $stdout, "", "stdout" ); 147 is_text( $stderr, $err_text, "stderr" ); 154 is_text( scalar(read_file($_)), $err_file{$_}, "$_ contents" ); 256 my $ok = is_text( $stdout, $expected_out, "$line stdout" ); 257 is_text( $stderr, "", "$line stderr" ); 274 sub is_text {
|
H A D | test_utils.pl | 128 my $ok_out = is_text($stdout, $args{out}, "$line out"); 135 my $ok_err_screen = is_text($stderr, $exp_err_screen, "$line err"); 141 is_text($exp_err_file, $got_err_file, "$line err file"); 248 is_text( $stderr, $expected_err, "$line stderr" ); 260 is_text( read_file(err_file(), err_mode => 'quiet'), 290 is_text( $stderr, $expected_warnings, "$line stderr" ); 344 is_text( $stdout, $expected_out, "$line stdout" ); 345 is_text( $stderr, $expected_err, "$line stderr" ); 593 is_text( $out, $expected_out ); 594 is_text( $err, $expected_err ); [all …]
|
/dports/devel/viewvc-devel/viewvc-c93d9da79c31457ecb0a771ff52d28353dc6e878/lib/ |
H A D | popen.py | 17 def __init__(self, cmd, args, is_text=False, capture_err=True): argument 20 universal_newlines=is_text, 52 def popen(cmd, args, is_text=False, capture_err=True): argument 53 return CommandReadPipe(cmd, args, is_text, capture_err)
|
/dports/mail/heirloom-mailx/mailx-12.4/ |
H A D | base64.c | 154 mime_fromb64(struct str *in, struct str *out, int is_text) in mime_fromb64() argument 179 if (is_text) { in mime_fromb64() 197 if (is_text) { in mime_fromb64() 215 if (is_text) { in mime_fromb64() 240 mime_fromb64_b(struct str *in, struct str *out, int is_text, FILE *f) in mime_fromb64_b() argument 269 mime_fromb64(&nin, out, is_text); in mime_fromb64_b()
|
/dports/accessibility/py-atspi/pyatspi-2.38.1/pyatspi/ |
H A D | deviceevent.py | 143 def __new__(cls, type, id, hw_code, modifiers, timestamp, event_string, is_text): argument 144 … return list.__new__(cls, (type, id, hw_code, modifiers, timestamp, event_string, is_text)) 145 def __init__(self, type, id, hw_code, modifiers, timestamp, event_string, is_text): argument 146 … list.__init__(self, (type, id, hw_code, modifiers, timestamp, event_string, is_text)) 182 is_text = property(fget=_get_is_text, fset=_set_is_text) variable in DeviceEvent 204 self.id, self.timestamp, self.is_text)
|
/dports/biology/py-ete3/ete3-3.1.2/ete3/tools/ete_build_lib/ |
H A D | configcheck.py | 347 def is_text(value): function 417 ("concatalg", "_default_aa_model"): (is_text, {}, True), 418 ("concatalg", "_default_nt_model"): (is_text, {}, True), 428 ("treesplitter", "_first_split"): (is_text, {}, True), 437 ("pmodeltest", "_aa_models"): (is_text, {}, True), 438 ("pmodeltest", "_nt_models"): (is_text, {}, True), 440 ("raxml", "_aa_model"): (is_text, {}, True), 443 ("raxml", "_model_suffix"): (is_text, {}, True), 445 ("raxml-sse", "_aa_model"): (is_text, {}, True), 449 ("raxml-avx", "_aa_model"): (is_text, {}, True),
|
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/surface/runtime_config/configs/variables/ |
H A D | set.py | 165 value=http_encoding.Encode(value) if not args.is_text else None, 166 text=value if args.is_text else None, 181 value=http_encoding.Encode(value) if not args.is_text else None, 182 text=value if args.is_text else None,
|
/dports/www/mitmproxy/mitmproxy-7.0.4/mitmproxy/proxy/layers/ |
H A D | websocket.py | 155 is_text = isinstance(ws_event.data, str) 156 if is_text: 166 fragmentizer = Fragmentizer(src_ws.frame_buf, is_text) 224 def __init__(self, fragments: List[bytes], is_text: bool): 226 self.is_text = is_text 229 if self.is_text:
|
/dports/www/hotcrp/hotcrp-2.102/src/ |
H A D | papercolumn.php | 50 function header(PaperList $pl, $is_text) { argument 51 if ($is_text) 88 function header(PaperList $pl, $is_text) { argument 107 function header(PaperList $pl, $is_text) { argument 108 return $is_text ? "Selected" : ""; 146 function header(PaperList $pl, $is_text) { argument 210 function header(PaperList $pl, $is_text) { argument 272 if ($is_text) 507 else if ($is_text) 557 if ($is_text) [all …]
|
/dports/devel/libiqxmlrpc/libiqxmlrpc-0.13.5/libiqxmlrpc/ |
H A D | parser2.cc | 125 bool is_text; member 138 is_text(type == XML_READER_TYPE_TEXT) in ParseStep() 202 if (!curr.is_text && !curr.element_end) in read_data() 205 if (!curr.is_text && !curr.element_end) { in read_data() 246 } else if (p.is_text && builder.expects_text()) { in parse()
|
/dports/accessibility/at-spi2-core/at-spi2-core-2.36.0/atspi/ |
H A D | atspi-device-listener.c | 128 dst->is_text = src->is_text; in atspi_device_event_copy() 306 dbus_bool_t is_text; in read_device_event_from_iter() local 335 dbus_message_iter_get_basic (&iter_struct, &is_text); in read_device_event_from_iter() 336 event->is_text = is_text; in read_device_event_from_iter()
|
/dports/lang/micropython/micropython-1.17/tests/extmod/ |
H A D | vfs_userfs.py | 21 self.is_text = mode.find("b") == -1 26 if self.is_text: 32 assert not self.is_text
|
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/pyi/gen-py/simple/example/ |
H A D | ttypes.pyi | 53 …def readFromJson(self, json: __T.Dict[str, __T.Any], is_text: bool = ..., **kwargs: __T.Any) -> No… 55 def readFromJson(self, json: str, is_text: bool = ..., **kwargs: __T.Any) -> None: ... 87 …def readFromJson(self, json: __T.Dict[str, __T.Any], is_text: bool = ..., **kwargs: __T.Any) -> No… 89 def readFromJson(self, json: str, is_text: bool = ..., **kwargs: __T.Any) -> None: ... 156 …def readFromJson(self, json: __T.Dict[str, __T.Any], is_text: bool = ..., **kwargs: __T.Any) -> No… 158 def readFromJson(self, json: str, is_text: bool = ..., **kwargs: __T.Any) -> None: ... 235 …def readFromJson(self, json: __T.Dict[str, __T.Any], is_text: bool = ..., **kwargs: __T.Any) -> No… 237 def readFromJson(self, json: str, is_text: bool = ..., **kwargs: __T.Any) -> None: ... 287 …def readFromJson(self, json: __T.Dict[str, __T.Any], is_text: bool = ..., **kwargs: __T.Any) -> No… 289 def readFromJson(self, json: str, is_text: bool = ..., **kwargs: __T.Any) -> None: ...
|