/dports/devel/sentry-cli/sentry-cli-1.71.0/cargo-crates/chardet-0.2.4/src/ |
H A D | jpcntx.rs | 7154 order = self.get_order(&byte_str[i..]); in feed() 7176 if ((byte_str[0] >= 0x81) && (byte_str[0] <= 0x9F)) || in get_order() 7177 ((byte_str[0] >= 0xE0) && (byte_str[0] <= 0xFC)) in get_order() 7180 if (byte_str[0] == 0x87) || ((byte_str[0] >= 0xFA) && (byte_str[0] <= 0xFC)) { in get_order() 7186 if byte_str.len() > 1 { in get_order() 7187 if (byte_str[0] == 0x82) && ((byte_str[1] >= 0x9F) && (byte_str[1] <= 0xF1)) { in get_order() 7250 if byte_str.len() <= 0 { in get_order() 7254 if (byte_str[0] == 0x8E) || ((byte_str[0] >= 0xA1) && (byte_str[0] <= 0xFE)) { in get_order() 7256 } else if byte_str[0] == 0x8F { in get_order() 7261 if byte_str.len() > 1 { in get_order() [all …]
|
H A D | charsetprober.rs | 14 for curr in 0..byte_str.len() { in filter_high_byte_only() 15 let buf_char = byte_str[curr]; in filter_high_byte_only() 29 for curr in 0..byte_str.len() { in filter_international_words() 30 let buf_char = byte_str[curr]; in filter_international_words() 45 if meet_msb && (byte_str.len() > prev) { in filter_international_words() 46 while prev < byte_str.len() { in filter_international_words() 47 filtered.push(byte_str[prev]); in filter_international_words() 58 for curr in 0..byte_str.len() { in filter_with_english_letters() 59 let buf_char = byte_str[curr]; in filter_with_english_letters() 81 while prev < byte_str.len() { in filter_with_english_letters() [all …]
|
H A D | lib.rs | 87 if byte_str.len() <= 0 { in feed() 92 match byte_str[0] { in feed() 94 if (byte_str.len() >= 4) && (byte_str[1] == 0x00) { in feed() 95 if (byte_str[2] == 0xfe) && (byte_str[3] == 0xff) { in feed() 97 } else if (byte_str[2] == 0xff) && (byte_str[3] == 0xfe) { in feed() 105 if (byte_str.len() > 2) && (byte_str[1] == 0xbb) && (byte_str[2] == 0xbf) { in feed() 113 if (byte_str.len() >= 4) && (byte_str[2] == 0x00) && in feed() 126 if (byte_str.len() >= 4) && (byte_str[2] == 0x00) && in feed() 146 for &ch in byte_str { in feed() 165 self.m_last_char = byte_str[byte_str.len() - 1]; in feed() [all …]
|
/dports/finance/electrum/Electrum-4.1.5/packages/pip/_vendor/chardet/ |
H A D | __init__.py | 27 def detect(byte_str): argument 34 if not isinstance(byte_str, bytearray): 35 if not isinstance(byte_str, bytes): 37 '{}'.format(type(byte_str))) 39 byte_str = bytearray(byte_str) 41 detector.feed(byte_str) 45 def detect_all(byte_str): argument 52 if not isinstance(byte_str, bytearray): 53 if not isinstance(byte_str, bytes): 57 byte_str = bytearray(byte_str) [all …]
|
H A D | chardistribution.py | 105 def get_order(self, byte_str): argument 120 def get_order(self, byte_str): argument 125 first_char = byte_str[0] 139 def get_order(self, byte_str): argument 144 first_char = byte_str[0] 158 def get_order(self, byte_str): argument 163 first_char, second_char = byte_str[0], byte_str[1] 177 def get_order(self, byte_str): argument 182 first_char, second_char = byte_str[0], byte_str[1] 204 first_char, second_char = byte_str[0], byte_str[1] [all …]
|
/dports/finance/electrum/Electrum-4.1.5/packages/chardet/ |
H A D | __init__.py | 27 def detect(byte_str): argument 34 if not isinstance(byte_str, bytearray): 35 if not isinstance(byte_str, bytes): 37 '{}'.format(type(byte_str))) 39 byte_str = bytearray(byte_str) 41 detector.feed(byte_str) 45 def detect_all(byte_str): argument 52 if not isinstance(byte_str, bytearray): 53 if not isinstance(byte_str, bytes): 57 byte_str = bytearray(byte_str) [all …]
|
H A D | chardistribution.py | 105 def get_order(self, byte_str): argument 120 def get_order(self, byte_str): argument 125 first_char = byte_str[0] 139 def get_order(self, byte_str): argument 144 first_char = byte_str[0] 158 def get_order(self, byte_str): argument 163 first_char, second_char = byte_str[0], byte_str[1] 177 def get_order(self, byte_str): argument 182 first_char, second_char = byte_str[0], byte_str[1] 204 first_char, second_char = byte_str[0], byte_str[1] [all …]
|
/dports/editors/cudatext/CudaText-1.151.0/app/py/sys/chardet/ |
H A D | __init__.py | 27 def detect(byte_str): argument 34 if not isinstance(byte_str, bytearray): 35 if not isinstance(byte_str, bytes): 37 '{}'.format(type(byte_str))) 39 byte_str = bytearray(byte_str) 41 detector.feed(byte_str) 45 def detect_all(byte_str): argument 52 if not isinstance(byte_str, bytearray): 53 if not isinstance(byte_str, bytes): 57 byte_str = bytearray(byte_str) [all …]
|
H A D | chardistribution.py | 105 def get_order(self, byte_str): argument 120 def get_order(self, byte_str): argument 125 first_char = byte_str[0] 139 def get_order(self, byte_str): argument 144 first_char = byte_str[0] 158 def get_order(self, byte_str): argument 163 first_char, second_char = byte_str[0], byte_str[1] 177 def get_order(self, byte_str): argument 182 first_char, second_char = byte_str[0], byte_str[1] 204 first_char, second_char = byte_str[0], byte_str[1] [all …]
|
/dports/www/firefox/firefox-99.0/third_party/python/pip/pip/_vendor/chardet/ |
H A D | __init__.py | 27 def detect(byte_str): argument 34 if not isinstance(byte_str, bytearray): 35 if not isinstance(byte_str, bytes): 37 '{}'.format(type(byte_str))) 39 byte_str = bytearray(byte_str) 41 detector.feed(byte_str) 45 def detect_all(byte_str): argument 52 if not isinstance(byte_str, bytearray): 53 if not isinstance(byte_str, bytes): 57 byte_str = bytearray(byte_str) [all …]
|
H A D | chardistribution.py | 105 def get_order(self, byte_str): argument 120 def get_order(self, byte_str): argument 125 first_char = byte_str[0] 139 def get_order(self, byte_str): argument 144 first_char = byte_str[0] 158 def get_order(self, byte_str): argument 163 first_char, second_char = byte_str[0], byte_str[1] 177 def get_order(self, byte_str): argument 182 first_char, second_char = byte_str[0], byte_str[1] 204 first_char, second_char = byte_str[0], byte_str[1] [all …]
|
/dports/www/firefox/firefox-99.0/third_party/python/chardet/chardet/ |
H A D | __init__.py | 27 def detect(byte_str): argument 34 if not isinstance(byte_str, bytearray): 35 if not isinstance(byte_str, bytes): 37 '{}'.format(type(byte_str))) 39 byte_str = bytearray(byte_str) 41 detector.feed(byte_str) 45 def detect_all(byte_str): argument 52 if not isinstance(byte_str, bytearray): 53 if not isinstance(byte_str, bytes): 57 byte_str = bytearray(byte_str) [all …]
|
H A D | chardistribution.py | 105 def get_order(self, byte_str): argument 120 def get_order(self, byte_str): argument 125 first_char = byte_str[0] 139 def get_order(self, byte_str): argument 144 first_char = byte_str[0] 158 def get_order(self, byte_str): argument 163 first_char, second_char = byte_str[0], byte_str[1] 177 def get_order(self, byte_str): argument 182 first_char, second_char = byte_str[0], byte_str[1] 204 first_char, second_char = byte_str[0], byte_str[1] [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/python/chardet/chardet/ |
H A D | __init__.py | 27 def detect(byte_str): argument 34 if not isinstance(byte_str, bytearray): 35 if not isinstance(byte_str, bytes): 37 '{}'.format(type(byte_str))) 39 byte_str = bytearray(byte_str) 41 detector.feed(byte_str) 45 def detect_all(byte_str): argument 52 if not isinstance(byte_str, bytearray): 53 if not isinstance(byte_str, bytes): 57 byte_str = bytearray(byte_str) [all …]
|
H A D | chardistribution.py | 105 def get_order(self, byte_str): argument 120 def get_order(self, byte_str): argument 125 first_char = byte_str[0] 139 def get_order(self, byte_str): argument 144 first_char = byte_str[0] 158 def get_order(self, byte_str): argument 163 first_char, second_char = byte_str[0], byte_str[1] 177 def get_order(self, byte_str): argument 182 first_char, second_char = byte_str[0], byte_str[1] 204 first_char, second_char = byte_str[0], byte_str[1] [all …]
|
/dports/editors/cudatext/CudaText-1.151.0/app/cudatext.app/Contents/Resources/py/sys/chardet/ |
H A D | __init__.py | 27 def detect(byte_str): argument 34 if not isinstance(byte_str, bytearray): 35 if not isinstance(byte_str, bytes): 37 '{}'.format(type(byte_str))) 39 byte_str = bytearray(byte_str) 41 detector.feed(byte_str) 45 def detect_all(byte_str): argument 52 if not isinstance(byte_str, bytearray): 53 if not isinstance(byte_str, bytes): 57 byte_str = bytearray(byte_str) [all …]
|
H A D | chardistribution.py | 105 def get_order(self, byte_str): argument 120 def get_order(self, byte_str): argument 125 first_char = byte_str[0] 139 def get_order(self, byte_str): argument 144 first_char = byte_str[0] 158 def get_order(self, byte_str): argument 163 first_char, second_char = byte_str[0], byte_str[1] 177 def get_order(self, byte_str): argument 182 first_char, second_char = byte_str[0], byte_str[1] 204 first_char, second_char = byte_str[0], byte_str[1] [all …]
|
/dports/textproc/py-chardet/chardet-4.0.0/build/lib/chardet/ |
H A D | __init__.py | 27 def detect(byte_str): argument 34 if not isinstance(byte_str, bytearray): 35 if not isinstance(byte_str, bytes): 37 '{}'.format(type(byte_str))) 39 byte_str = bytearray(byte_str) 41 detector.feed(byte_str) 45 def detect_all(byte_str): argument 52 if not isinstance(byte_str, bytearray): 53 if not isinstance(byte_str, bytes): 57 byte_str = bytearray(byte_str) [all …]
|
/dports/textproc/py-chardet/chardet-4.0.0/chardet/ |
H A D | __init__.py | 27 def detect(byte_str): argument 34 if not isinstance(byte_str, bytearray): 35 if not isinstance(byte_str, bytes): 37 '{}'.format(type(byte_str))) 39 byte_str = bytearray(byte_str) 41 detector.feed(byte_str) 45 def detect_all(byte_str): argument 52 if not isinstance(byte_str, bytearray): 53 if not isinstance(byte_str, bytes): 57 byte_str = bytearray(byte_str) [all …]
|
/dports/textproc/py-chardet/stage/usr/local/lib/python3.8/site-packages/chardet/ |
H A D | __init__.py | 27 def detect(byte_str): argument 34 if not isinstance(byte_str, bytearray): 35 if not isinstance(byte_str, bytes): 37 '{}'.format(type(byte_str))) 39 byte_str = bytearray(byte_str) 41 detector.feed(byte_str) 45 def detect_all(byte_str): argument 52 if not isinstance(byte_str, bytearray): 53 if not isinstance(byte_str, bytes): 57 byte_str = bytearray(byte_str) [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/python/chardet/chardet/ |
H A D | __init__.py | 27 def detect(byte_str): argument 34 if not isinstance(byte_str, bytearray): 35 if not isinstance(byte_str, bytes): 37 '{}'.format(type(byte_str))) 39 byte_str = bytearray(byte_str) 41 detector.feed(byte_str) 45 def detect_all(byte_str): argument 52 if not isinstance(byte_str, bytearray): 53 if not isinstance(byte_str, bytes): 57 byte_str = bytearray(byte_str) [all …]
|
/dports/devel/py-oci/oci-2.53.1/src/oci/_vendor/chardet/ |
H A D | __init__.py | 32 def detect(byte_str): argument 39 if not isinstance(byte_str, bytearray): 40 if not isinstance(byte_str, bytes): 42 '{}'.format(type(byte_str))) 44 byte_str = bytearray(byte_str) 46 detector.feed(byte_str) 50 def detect_all(byte_str): argument 57 if not isinstance(byte_str, bytearray): 58 if not isinstance(byte_str, bytes): 62 byte_str = bytearray(byte_str) [all …]
|
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/third_party/chardet/ |
H A D | chardistribution.py | 105 def get_order(self, byte_str): argument 120 def get_order(self, byte_str): argument 125 first_char = byte_str[0] 139 def get_order(self, byte_str): argument 144 first_char = byte_str[0] 158 def get_order(self, byte_str): argument 163 first_char, second_char = byte_str[0], byte_str[1] 177 def get_order(self, byte_str): argument 182 first_char, second_char = byte_str[0], byte_str[1] 204 first_char, second_char = byte_str[0], byte_str[1] [all …]
|
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/chardet/ |
H A D | chardistribution.py | 105 def get_order(self, byte_str): argument 120 def get_order(self, byte_str): argument 125 first_char = byte_str[0] 139 def get_order(self, byte_str): argument 144 first_char = byte_str[0] 158 def get_order(self, byte_str): argument 163 first_char, second_char = byte_str[0], byte_str[1] 177 def get_order(self, byte_str): argument 182 first_char, second_char = byte_str[0], byte_str[1] 204 first_char, second_char = byte_str[0], byte_str[1] [all …]
|
/dports/math/py-cypari2/cypari2-2.1.2/venv/lib/python3.7/site-packages/pip/_vendor/chardet/ |
H A D | chardistribution.py | 105 def get_order(self, byte_str): argument 120 def get_order(self, byte_str): argument 125 first_char = byte_str[0] 139 def get_order(self, byte_str): argument 144 first_char = byte_str[0] 158 def get_order(self, byte_str): argument 163 first_char, second_char = byte_str[0], byte_str[1] 177 def get_order(self, byte_str): argument 182 first_char, second_char = byte_str[0], byte_str[1] 204 first_char, second_char = byte_str[0], byte_str[1] [all …]
|