Home
last modified time | relevance | path

Searched refs:utf8_state (Results 1 – 25 of 106) sorted by relevance

12345

/dports/net-p2p/c-lightning/lightning-0.10.2/ccan/ccan/utf8/
H A Dutf8.c59 bool utf8_decode(struct utf8_state *utf8_state, char c) in utf8_decode() argument
61 if (utf8_state->used_len == utf8_state->total_len) { in utf8_decode()
62 utf8_state->used_len = 1; in utf8_decode()
68 utf8_state->total_len = 1; in utf8_decode()
69 utf8_state->c = c; in utf8_decode()
72 utf8_state->total_len = 2; in utf8_decode()
90 utf8_state->c <<= 6; in utf8_decode()
93 utf8_state->used_len++; in utf8_decode()
94 if (utf8_state->used_len == utf8_state->total_len) in utf8_decode()
99 if (utf8_state->c == 0 || utf8_state->c > 0x10FFFF) in utf8_decode()
[all …]
H A Dutf8.h11 struct utf8_state { struct
22 static inline void utf8_state_init(struct utf8_state *utf8_state) in utf8_state_init() argument
24 memset(utf8_state, 0, sizeof(*utf8_state)); in utf8_state_init()
43 bool utf8_decode(struct utf8_state *utf8_state, char c);
H A D_info17 * struct utf8_state utf8_state = UTF8_STATE_INIT;
21 * decoded = utf8_decode(&utf8_state, argv[1][i]);
25 * i - utf8_state.used_len, i);
26 * printf("Character %u\n", utf8_state.c);
/dports/net-p2p/c-lightning/lightning-0.10.2/ccan/ccan/utf8/test/
H A Drun-encode-decode.c10 struct utf8_state utf8_state = UTF8_STATE_INIT; in utf8_check() local
14 decoded = utf8_decode(&utf8_state, src[i]); in utf8_check()
H A Drun-decode.c83 struct utf8_state utf8_state = UTF8_STATE_INIT; in utf8_check() local
87 decoded = utf8_decode(&utf8_state, src[i]); in utf8_check()
/dports/sysutils/tmate-ssh-server/tmate-ssh-server-97d2024/
H A Dutf8.c64 enum utf8_state
81 enum utf8_state
124 enum utf8_state
139 enum utf8_state
166 enum utf8_state more; in utf8_strvis()
206 enum utf8_state more; in utf8_sanitize()
248 enum utf8_state more; in utf8_fromcstr()
301 enum utf8_state more; in utf8_cstrwidth()
/dports/sysutils/tmux23/tmux-2.3/
H A Dutf8.c59 enum utf8_state
76 enum utf8_state
139 enum utf8_state
160 enum utf8_state
191 enum utf8_state more;
231 enum utf8_state more;
273 enum utf8_state more;
326 enum utf8_state more;
/dports/sysutils/tmate/tmate-2.4.0/
H A Dutf8.c64 enum utf8_state
81 enum utf8_state
124 enum utf8_state
139 enum utf8_state
166 enum utf8_state more; in utf8_strvis()
206 enum utf8_state more; in utf8_sanitize()
248 enum utf8_state more; in utf8_fromcstr()
301 enum utf8_state more; in utf8_cstrwidth()
/dports/net/rabbitmq/rabbitmq-server-3.9.11/deps/gun/src/
H A Dgun_ws.erl42 utf8_state = 0 :: cow_ws:utf8_state(),
93 …unmasked=Unmasked, unmasked_len=UnmaskedLen}, frag_state=FragState, utf8_state=Utf8State, extensio…
96 …dispatch(Rest, State#ws_state{in=head, utf8_state=Utf8State2}, Type, << Unmasked/binary, Payload/b…
98 …dispatch(Rest, State#ws_state{in=head, utf8_state=Utf8State2}, Type, << Unmasked/binary, Payload/b…
101 len=Len - byte_size(Data), unmasked_len=2 + byte_size(Data)}, utf8_state=Utf8State2};
104 len=Len - byte_size(Data), unmasked_len=UnmaskedLen + byte_size(Data)}, utf8_state=Utf8State2};
/dports/sysutils/tmux/tmux-3.2a/
H A Dutf8.c126 enum utf8_state
214 static enum utf8_state
265 enum utf8_state
282 enum utf8_state
318 enum utf8_state more;
384 enum utf8_state more;
412 enum utf8_state more;
476 enum utf8_state more;
521 enum utf8_state more;
/dports/net-p2p/c-lightning/lightning-0.10.2/common/
H A Dutils.c182 struct utf8_state utf8_state = UTF8_STATE_INIT; in utf8_check() local
186 if (!utf8_decode(&utf8_state, buf[i])) { in utf8_check()
/dports/japanese/w3m/w3m-2b59b9e/libwc/
H A Ddetect.c93 int utf8_state = 0; in wc_auto_detect() local
410 switch (utf8_state) { in wc_auto_detect()
422 utf8_state = WC_UTF8_NEXT; in wc_auto_detect()
429 utf8_state = WC_UTF8_NOSTATE; in wc_auto_detect()
436 utf8_state = WC_UTF8_NOSTATE; in wc_auto_detect()
/dports/japanese/w3m-img/w3m-2b59b9e/libwc/
H A Ddetect.c93 int utf8_state = 0; in wc_auto_detect() local
410 switch (utf8_state) { in wc_auto_detect()
422 utf8_state = WC_UTF8_NEXT; in wc_auto_detect()
429 utf8_state = WC_UTF8_NOSTATE; in wc_auto_detect()
436 utf8_state = WC_UTF8_NOSTATE; in wc_auto_detect()
/dports/www/w3m/w3m-2b59b9e/libwc/
H A Ddetect.c93 int utf8_state = 0; in wc_auto_detect() local
410 switch (utf8_state) { in wc_auto_detect()
422 utf8_state = WC_UTF8_NEXT; in wc_auto_detect()
429 utf8_state = WC_UTF8_NOSTATE; in wc_auto_detect()
436 utf8_state = WC_UTF8_NOSTATE; in wc_auto_detect()
/dports/www/w3m-img/w3m-2b59b9e/libwc/
H A Ddetect.c93 int utf8_state = 0; in wc_auto_detect() local
410 switch (utf8_state) { in wc_auto_detect()
422 utf8_state = WC_UTF8_NEXT; in wc_auto_detect()
429 utf8_state = WC_UTF8_NOSTATE; in wc_auto_detect()
436 utf8_state = WC_UTF8_NOSTATE; in wc_auto_detect()
/dports/www/erlang-cowboy/cowboy-1.1.2/src/
H A Dcowboy_websocket.erl50 utf8_state = <<>> :: binary(),
350 websocket_payload(State=#state{utf8_state=Incomplete},
362 websocket_payload_loop(State2#state{utf8_state=Utf8State},
367 websocket_payload(State=#state{utf8_state=Incomplete},
377 websocket_dispatch(State2#state{utf8_state= <<>>},
384 websocket_payload(State=#state{frag_state={_, 1, _}, utf8_state=Incomplete},
395 websocket_payload_loop(State2#state{utf8_state=Utf8State},
400 websocket_payload(State=#state{frag_state={Fin, 1, _}, utf8_state=Incomplete},
409 websocket_dispatch(State2#state{utf8_state= <<>>},
413 websocket_dispatch(State2#state{utf8_state=Utf8State},
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/regex-automata-0.1.10/src/nfa/
H A Dcompiler.rs189 utf8_state: RefCell<Utf8State>, field
258 utf8_state: RefCell::new(Utf8State::new()), in new()
671 let mut utf8_state = self.utf8_state.borrow_mut(); in c_unicode_class() localVariable
672 let mut utf8c = Utf8Compiler::new(self, &mut *utf8_state); in c_unicode_class()
683 let mut utf8_state = self.utf8_state.borrow_mut(); in c_unicode_class() localVariable
684 let mut utf8c = Utf8Compiler::new(self, &mut *utf8_state); in c_unicode_class()
/dports/multimedia/librav1e/rav1e-0.5.1/cargo-crates/regex-automata-0.1.10/src/nfa/
H A Dcompiler.rs189 utf8_state: RefCell<Utf8State>, field
258 utf8_state: RefCell::new(Utf8State::new()), in new()
671 let mut utf8_state = self.utf8_state.borrow_mut(); in c_unicode_class() localVariable
672 let mut utf8c = Utf8Compiler::new(self, &mut *utf8_state); in c_unicode_class()
683 let mut utf8_state = self.utf8_state.borrow_mut(); in c_unicode_class() localVariable
684 let mut utf8c = Utf8Compiler::new(self, &mut *utf8_state); in c_unicode_class()
/dports/multimedia/rav1e/rav1e-0.5.1/cargo-crates/regex-automata-0.1.10/src/nfa/
H A Dcompiler.rs189 utf8_state: RefCell<Utf8State>, field
258 utf8_state: RefCell::new(Utf8State::new()), in new()
671 let mut utf8_state = self.utf8_state.borrow_mut(); in c_unicode_class() localVariable
672 let mut utf8c = Utf8Compiler::new(self, &mut *utf8_state); in c_unicode_class()
683 let mut utf8_state = self.utf8_state.borrow_mut(); in c_unicode_class() localVariable
684 let mut utf8c = Utf8Compiler::new(self, &mut *utf8_state); in c_unicode_class()
/dports/net-im/zkgroup/zkgroup-0.7.4/cargo-crates/regex-automata-0.1.10/src/nfa/
H A Dcompiler.rs189 utf8_state: RefCell<Utf8State>, field
258 utf8_state: RefCell::new(Utf8State::new()), in new()
671 let mut utf8_state = self.utf8_state.borrow_mut(); in c_unicode_class() localVariable
672 let mut utf8c = Utf8Compiler::new(self, &mut *utf8_state); in c_unicode_class()
683 let mut utf8_state = self.utf8_state.borrow_mut(); in c_unicode_class() localVariable
684 let mut utf8c = Utf8Compiler::new(self, &mut *utf8_state); in c_unicode_class()
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/regex-automata-0.1.10/src/nfa/
H A Dcompiler.rs189 utf8_state: RefCell<Utf8State>, field
258 utf8_state: RefCell::new(Utf8State::new()), in new()
671 let mut utf8_state = self.utf8_state.borrow_mut(); in c_unicode_class() localVariable
672 let mut utf8c = Utf8Compiler::new(self, &mut *utf8_state); in c_unicode_class()
683 let mut utf8_state = self.utf8_state.borrow_mut(); in c_unicode_class() localVariable
684 let mut utf8c = Utf8Compiler::new(self, &mut *utf8_state); in c_unicode_class()
/dports/misc/broot/broot-1.7.0/cargo-crates/regex-automata-0.1.10/src/nfa/
H A Dcompiler.rs189 utf8_state: RefCell<Utf8State>, field
258 utf8_state: RefCell::new(Utf8State::new()), in new()
671 let mut utf8_state = self.utf8_state.borrow_mut(); in c_unicode_class() localVariable
672 let mut utf8c = Utf8Compiler::new(self, &mut *utf8_state); in c_unicode_class()
683 let mut utf8_state = self.utf8_state.borrow_mut(); in c_unicode_class() localVariable
684 let mut utf8c = Utf8Compiler::new(self, &mut *utf8_state); in c_unicode_class()
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/cargo-crates/regex-automata-0.1.10/src/nfa/
H A Dcompiler.rs189 utf8_state: RefCell<Utf8State>, field
258 utf8_state: RefCell::new(Utf8State::new()), in new()
671 let mut utf8_state = self.utf8_state.borrow_mut(); in c_unicode_class() localVariable
672 let mut utf8c = Utf8Compiler::new(self, &mut *utf8_state); in c_unicode_class()
683 let mut utf8_state = self.utf8_state.borrow_mut(); in c_unicode_class() localVariable
684 let mut utf8c = Utf8Compiler::new(self, &mut *utf8_state); in c_unicode_class()
/dports/devel/bingrep/bingrep-0.8.5/cargo-crates/regex-automata-0.1.9/src/nfa/
H A Dcompiler.rs189 utf8_state: RefCell<Utf8State>, field
258 utf8_state: RefCell::new(Utf8State::new()), in new()
671 let mut utf8_state = self.utf8_state.borrow_mut(); in c_unicode_class() localVariable
672 let mut utf8c = Utf8Compiler::new(self, &mut *utf8_state); in c_unicode_class()
683 let mut utf8_state = self.utf8_state.borrow_mut(); in c_unicode_class() localVariable
684 let mut utf8c = Utf8Compiler::new(self, &mut *utf8_state); in c_unicode_class()
/dports/lang/gleam/gleam-0.18.2/cargo-crates/regex-automata-0.1.10/src/nfa/
H A Dcompiler.rs189 utf8_state: RefCell<Utf8State>, field
258 utf8_state: RefCell::new(Utf8State::new()), in new()
671 let mut utf8_state = self.utf8_state.borrow_mut(); in c_unicode_class() localVariable
672 let mut utf8c = Utf8Compiler::new(self, &mut *utf8_state); in c_unicode_class()
683 let mut utf8_state = self.utf8_state.borrow_mut(); in c_unicode_class() localVariable
684 let mut utf8c = Utf8Compiler::new(self, &mut *utf8_state); in c_unicode_class()

12345