Home
last modified time | relevance | path

Searched refs:code_unit (Results 1 – 25 of 371) sorted by relevance

12345678910>>...15

/dports/sysutils/istio/istio-1.6.7/vendor/github.com/antlr/antlr4/runtime/Python2/src/antlr4/
H A DCodePoints.py10 def is_leading_surrogate(code_unit): argument
11 return 0xD800 <= code_unit <= 0xDBFF
13 def is_trailing_surrogate(code_unit): argument
14 return 0xDC00 <= code_unit <= 0xDFFF
26 code_unit = ord(utf16)
28 if is_leading_surrogate(code_unit):
29 leading_surrogate = code_unit
31 yield code_unit
33 if is_trailing_surrogate(code_unit):
41 if is_leading_surrogate(code_unit):
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/editing/state_machines/
H A Dbackward_grapheme_boundary_state_machine.cc68 if (U16_IS_TRAIL(code_unit)) { in FeedPrecedingCodeUnit()
69 trail_surrogate_ = code_unit; in FeedPrecedingCodeUnit()
72 if (U16_IS_LEAD(code_unit)) { in FeedPrecedingCodeUnit()
77 next_code_point_ = code_unit; in FeedPrecedingCodeUnit()
85 if (!U16_IS_LEAD(code_unit)) { in FeedPrecedingCodeUnit()
99 if (U16_IS_TRAIL(code_unit)) { in FeedPrecedingCodeUnit()
104 if (U16_IS_LEAD(code_unit)) in FeedPrecedingCodeUnit()
108 next_code_point_ = code_unit; in FeedPrecedingCodeUnit()
116 if (!U16_IS_LEAD(code_unit)) in FeedPrecedingCodeUnit()
138 if (U16_IS_TRAIL(code_unit)) { in FeedPrecedingCodeUnit()
[all …]
H A Dforward_grapheme_boundary_state_machine.cc65 if (U16_IS_TRAIL(code_unit)) { in FeedPrecedingCodeUnit()
66 pending_code_unit_ = code_unit; in FeedPrecedingCodeUnit()
72 if (U16_IS_LEAD(code_unit)) { in FeedPrecedingCodeUnit()
112 if (U16_IS_TRAIL(code_unit)) { in FeedFollowingCodeUnit()
117 if (U16_IS_LEAD(code_unit)) { in FeedFollowingCodeUnit()
121 prev_code_point_ = code_unit; in FeedFollowingCodeUnit()
128 if (U16_IS_TRAIL(code_unit)) { in FeedFollowingCodeUnit()
141 if (U16_IS_LEAD(code_unit)) { in FeedFollowingCodeUnit()
145 if (U16_IS_TRAIL(code_unit)) in FeedFollowingCodeUnit()
149 prev_code_point_ = code_unit; in FeedFollowingCodeUnit()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/editing/state_machines/
H A Dbackward_grapheme_boundary_state_machine.cc68 if (U16_IS_TRAIL(code_unit)) { in FeedPrecedingCodeUnit()
69 trail_surrogate_ = code_unit; in FeedPrecedingCodeUnit()
72 if (U16_IS_LEAD(code_unit)) { in FeedPrecedingCodeUnit()
77 next_code_point_ = code_unit; in FeedPrecedingCodeUnit()
85 if (!U16_IS_LEAD(code_unit)) { in FeedPrecedingCodeUnit()
99 if (U16_IS_TRAIL(code_unit)) { in FeedPrecedingCodeUnit()
104 if (U16_IS_LEAD(code_unit)) in FeedPrecedingCodeUnit()
108 next_code_point_ = code_unit; in FeedPrecedingCodeUnit()
116 if (!U16_IS_LEAD(code_unit)) in FeedPrecedingCodeUnit()
138 if (U16_IS_TRAIL(code_unit)) { in FeedPrecedingCodeUnit()
[all …]
H A Dforward_grapheme_boundary_state_machine.cc65 if (U16_IS_TRAIL(code_unit)) { in FeedPrecedingCodeUnit()
66 pending_code_unit_ = code_unit; in FeedPrecedingCodeUnit()
72 if (U16_IS_LEAD(code_unit)) { in FeedPrecedingCodeUnit()
112 if (U16_IS_TRAIL(code_unit)) { in FeedFollowingCodeUnit()
117 if (U16_IS_LEAD(code_unit)) { in FeedFollowingCodeUnit()
121 prev_code_point_ = code_unit; in FeedFollowingCodeUnit()
128 if (U16_IS_TRAIL(code_unit)) { in FeedFollowingCodeUnit()
141 if (U16_IS_LEAD(code_unit)) { in FeedFollowingCodeUnit()
145 if (U16_IS_TRAIL(code_unit)) in FeedFollowingCodeUnit()
149 prev_code_point_ = code_unit; in FeedFollowingCodeUnit()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/v8/src/parsing/
H A Dliteral-buffer.h21 V8_INLINE void AddChar(char code_unit) { in AddChar() argument
22 DCHECK(IsValidAscii(code_unit)); in AddChar()
23 AddOneByteChar(static_cast<byte>(code_unit)); in AddChar()
26 V8_INLINE void AddChar(uc32 code_unit) { in AddChar() argument
28 if (code_unit <= static_cast<uc32>(unibrow::Latin1::kMaxChar)) { in AddChar()
29 AddOneByteChar(static_cast<byte>(code_unit)); in AddChar()
34 AddTwoByteChar(code_unit); in AddChar()
74 inline bool IsValidAscii(char code_unit) { in IsValidAscii() argument
79 return iscntrl(code_unit) || isprint(code_unit); in IsValidAscii()
89 void AddTwoByteChar(uc32 code_unit);
/dports/www/chromium-legacy/chromium-88.0.4324.182/v8/src/parsing/
H A Dliteral-buffer.h21 V8_INLINE void AddChar(char code_unit) { in AddChar() argument
22 DCHECK(IsValidAscii(code_unit)); in AddChar()
23 AddOneByteChar(static_cast<byte>(code_unit)); in AddChar()
26 V8_INLINE void AddChar(uc32 code_unit) { in AddChar() argument
28 if (code_unit <= static_cast<uc32>(unibrow::Latin1::kMaxChar)) { in AddChar()
29 AddOneByteChar(static_cast<byte>(code_unit)); in AddChar()
34 AddTwoByteChar(code_unit); in AddChar()
74 inline bool IsValidAscii(char code_unit) { in IsValidAscii() argument
79 return iscntrl(code_unit) || isprint(code_unit); in IsValidAscii()
89 void AddTwoByteChar(uc32 code_unit);
/dports/lang/v8/v8-9.6.180.12/src/parsing/
H A Dliteral-buffer.h25 V8_INLINE void AddChar(char code_unit) { in AddChar() argument
26 DCHECK(IsValidAscii(code_unit)); in AddChar()
27 AddOneByteChar(static_cast<byte>(code_unit)); in AddChar()
30 V8_INLINE void AddChar(base::uc32 code_unit) { in AddChar() argument
32 if (code_unit <= static_cast<base::uc32>(unibrow::Latin1::kMaxChar)) { in AddChar()
33 AddOneByteChar(static_cast<byte>(code_unit)); in AddChar()
38 AddTwoByteChar(code_unit); in AddChar()
80 inline bool IsValidAscii(char code_unit) { in IsValidAscii() argument
85 return iscntrl(code_unit) || isprint(code_unit); in IsValidAscii()
95 void AddTwoByteChar(base::uc32 code_unit);
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/editing/iterators/
H A Dtext_iterator_text_state.cc158 PopulateStringBufferFromChar16(code_unit); in EmitChar16AfterNode()
161 void TextIteratorTextState::EmitChar16AsNode(UChar code_unit, in EmitChar16AsNode() argument
164 PopulateStringBufferFromChar16(code_unit); in EmitChar16AsNode()
168 UChar code_unit, in EmitChar16BeforeChildren() argument
175 PopulateStringBufferFromChar16(code_unit); in EmitChar16BeforeChildren()
181 PopulateStringBufferFromChar16(code_unit); in EmitChar16BeforeNode()
184 void TextIteratorTextState::EmitChar16Before(UChar code_unit, in EmitChar16Before() argument
195 PopulateStringBufferFromChar16(code_unit); in EmitChar16Before()
202 PopulateStringBufferFromChar16(code_unit); in EmitReplacmentCodeUnit()
209 single_character_buffer_ = code_unit; in PopulateStringBufferFromChar16()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/editing/iterators/
H A Dtext_iterator_text_state.cc158 PopulateStringBufferFromChar16(code_unit); in EmitChar16AfterNode()
161 void TextIteratorTextState::EmitChar16AsNode(UChar code_unit, in EmitChar16AsNode() argument
164 PopulateStringBufferFromChar16(code_unit); in EmitChar16AsNode()
168 UChar code_unit, in EmitChar16BeforeChildren() argument
175 PopulateStringBufferFromChar16(code_unit); in EmitChar16BeforeChildren()
181 PopulateStringBufferFromChar16(code_unit); in EmitChar16BeforeNode()
184 void TextIteratorTextState::EmitChar16Before(UChar code_unit, in EmitChar16Before() argument
195 PopulateStringBufferFromChar16(code_unit); in EmitChar16Before()
202 PopulateStringBufferFromChar16(code_unit); in EmitReplacmentCodeUnit()
209 single_character_buffer_ = code_unit; in PopulateStringBufferFromChar16()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/third_party/rust/encoding_rs/src/
H A Dascii.rs46 if code_unit > 127 {
47 return Some((code_unit, i));
105 if code_unit > 127 {
129 if code_unit > 127 {
190 if code_unit > 127 {
213 if code_unit > 127 {
351 if code_unit > 127 {
468 if code_unit > 127 {
876 if code_unit > 127 {
928 if code_unit > 127 {
[all …]
/dports/devel/sccache/sccache-0.2.15/cargo-crates/encoding_rs-0.8.26/src/
H A Dascii.rs77 if code_unit > 127 {
141 if code_unit > 127 {
167 if code_unit > 127 {
269 if code_unit > 127 {
421 if code_unit > 127 {
544 if code_unit > 127 {
720 if code_unit > 127 {
1237 if code_unit > 127 {
1337 if code_unit > 127 {
1387 if code_unit > 127 {
[all …]
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/encoding_rs-0.8.29/src/
H A Dascii.rs77 if code_unit > 127 {
141 if code_unit > 127 {
167 if code_unit > 127 {
269 if code_unit > 127 {
421 if code_unit > 127 {
544 if code_unit > 127 {
720 if code_unit > 127 {
1237 if code_unit > 127 {
1337 if code_unit > 127 {
1387 if code_unit > 127 {
[all …]
/dports/net/routinator/routinator-0.10.2/cargo-crates/encoding_rs-0.8.28/src/
H A Dascii.rs77 if code_unit > 127 {
141 if code_unit > 127 {
167 if code_unit > 127 {
269 if code_unit > 127 {
421 if code_unit > 127 {
544 if code_unit > 127 {
720 if code_unit > 127 {
1237 if code_unit > 127 {
1337 if code_unit > 127 {
1387 if code_unit > 127 {
[all …]
/dports/editors/helix/helix-0.5.0/cargo-crates/encoding_rs-0.8.29/src/
H A Dascii.rs77 if code_unit > 127 {
141 if code_unit > 127 {
167 if code_unit > 127 {
269 if code_unit > 127 {
421 if code_unit > 127 {
544 if code_unit > 127 {
720 if code_unit > 127 {
1237 if code_unit > 127 {
1337 if code_unit > 127 {
1387 if code_unit > 127 {
[all …]
/dports/textproc/angle-grinder/angle-grinder-0.18.0/cargo-crates/encoding_rs-0.8.28/src/
H A Dascii.rs77 if code_unit > 127 {
141 if code_unit > 127 {
167 if code_unit > 127 {
269 if code_unit > 127 {
421 if code_unit > 127 {
544 if code_unit > 127 {
720 if code_unit > 127 {
1237 if code_unit > 127 {
1337 if code_unit > 127 {
1387 if code_unit > 127 {
[all …]
/dports/www/rearx/rearx-0.1.4/cargo-crates/encoding_rs-0.8.28/src/
H A Dascii.rs77 if code_unit > 127 {
141 if code_unit > 127 {
167 if code_unit > 127 {
269 if code_unit > 127 {
421 if code_unit > 127 {
544 if code_unit > 127 {
720 if code_unit > 127 {
1237 if code_unit > 127 {
1337 if code_unit > 127 {
1387 if code_unit > 127 {
[all …]
/dports/sysutils/vector/vector-0.10.0/cargo-crates/encoding_rs-0.8.22/src/
H A Dascii.rs77 if code_unit > 127 {
141 if code_unit > 127 {
167 if code_unit > 127 {
265 if code_unit > 127 {
413 if code_unit > 127 {
536 if code_unit > 127 {
712 if code_unit > 127 {
1229 if code_unit > 127 {
1329 if code_unit > 127 {
1379 if code_unit > 127 {
[all …]
/dports/databases/ods2sql/ods2sql-aca63183274038487cecb6be17d7f65e92178b8c/cargo-crates/encoding_rs-0.8.24/src/
H A Dascii.rs77 if code_unit > 127 {
141 if code_unit > 127 {
167 if code_unit > 127 {
265 if code_unit > 127 {
413 if code_unit > 127 {
536 if code_unit > 127 {
712 if code_unit > 127 {
1229 if code_unit > 127 {
1329 if code_unit > 127 {
1379 if code_unit > 127 {
[all …]
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/encoding_rs-0.8.28/src/
H A Dascii.rs77 if code_unit > 127 {
141 if code_unit > 127 {
167 if code_unit > 127 {
269 if code_unit > 127 {
421 if code_unit > 127 {
544 if code_unit > 127 {
720 if code_unit > 127 {
1237 if code_unit > 127 {
1337 if code_unit > 127 {
1387 if code_unit > 127 {
[all …]
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/encoding_rs-0.8.20/src/
H A Dascii.rs77 if code_unit > 127 {
141 if code_unit > 127 {
167 if code_unit > 127 {
265 if code_unit > 127 {
413 if code_unit > 127 {
536 if code_unit > 127 {
712 if code_unit > 127 {
1229 if code_unit > 127 {
1329 if code_unit > 127 {
1379 if code_unit > 127 {
[all …]
/dports/databases/xls2txt/xls2txt-1222f8069428f6bcedfcccf9e80523db34c0d343/cargo-crates/encoding_rs-0.8.26/src/
H A Dascii.rs77 if code_unit > 127 {
141 if code_unit > 127 {
167 if code_unit > 127 {
269 if code_unit > 127 {
421 if code_unit > 127 {
544 if code_unit > 127 {
720 if code_unit > 127 {
1237 if code_unit > 127 {
1337 if code_unit > 127 {
1387 if code_unit > 127 {
[all …]
/dports/audio/gnome-podcasts/podcasts-c86f7bfdef7692bbf20f315a90450321f6ca9ce7/cargo-crates/encoding_rs-0.8.30/src/
H A Dascii.rs77 if code_unit > 127 {
141 if code_unit > 127 {
167 if code_unit > 127 {
269 if code_unit > 127 {
421 if code_unit > 127 {
544 if code_unit > 127 {
720 if code_unit > 127 {
1237 if code_unit > 127 {
1337 if code_unit > 127 {
1387 if code_unit > 127 {
[all …]
/dports/textproc/ripgrep/ripgrep-13.0.0/cargo-crates/encoding_rs-0.8.28/src/
H A Dascii.rs77 if code_unit > 127 {
141 if code_unit > 127 {
167 if code_unit > 127 {
269 if code_unit > 127 {
421 if code_unit > 127 {
544 if code_unit > 127 {
720 if code_unit > 127 {
1237 if code_unit > 127 {
1337 if code_unit > 127 {
1387 if code_unit > 127 {
[all …]
/dports/textproc/ripgrep-all/ripgrep-all-0.9.6/cargo-crates/encoding_rs-0.8.23/src/
H A Dascii.rs77 if code_unit > 127 {
141 if code_unit > 127 {
167 if code_unit > 127 {
265 if code_unit > 127 {
413 if code_unit > 127 {
536 if code_unit > 127 {
712 if code_unit > 127 {
1229 if code_unit > 127 {
1329 if code_unit > 127 {
1379 if code_unit > 127 {
[all …]

12345678910>>...15