Home
last modified time | relevance | path

Searched refs:scan_string (Results 1 – 25 of 299) sorted by relevance

12345678910>>...12

/dports/audio/giada/giada-0.17.1/src/deps/json/test/src/
H A Dunit-class_lexer.cpp41 json::lexer::token_type scan_string(const char* s, const bool ignore_comments) in scan_string() function
63 CHECK((scan_string("[") == json::lexer::token_type::begin_array));
64 CHECK((scan_string("]") == json::lexer::token_type::end_array));
65 CHECK((scan_string("{") == json::lexer::token_type::begin_object));
66 CHECK((scan_string("}") == json::lexer::token_type::end_object));
68 CHECK((scan_string(":") == json::lexer::token_type::name_separator));
80 CHECK((scan_string("0") == json::lexer::token_type::value_unsigned));
94 CHECK((scan_string("1.1") == json::lexer::token_type::value_float));
102 CHECK((scan_string(" ") == json::lexer::token_type::end_of_input));
103 CHECK((scan_string("\t") == json::lexer::token_type::end_of_input));
[all …]
/dports/devel/nlohmann-json/json-3.10.4/test/src/
H A Dunit-class_lexer.cpp39 json::lexer::token_type scan_string(const char* s, bool ignore_comments = false);
40 json::lexer::token_type scan_string(const char* s, const bool ignore_comments) in scan_string() function
62 CHECK((scan_string("[") == json::lexer::token_type::begin_array));
63 CHECK((scan_string("]") == json::lexer::token_type::end_array));
64 CHECK((scan_string("{") == json::lexer::token_type::begin_object));
65 CHECK((scan_string("}") == json::lexer::token_type::end_object));
67 CHECK((scan_string(":") == json::lexer::token_type::name_separator));
93 CHECK((scan_string("1.1") == json::lexer::token_type::value_float));
101 CHECK((scan_string(" ") == json::lexer::token_type::end_of_input));
102 CHECK((scan_string("\t") == json::lexer::token_type::end_of_input));
[all …]
/dports/www/libdatachannel/libdatachannel-0.16.1/deps/json/test/src/
H A Dunit-class_lexer.cpp40 json::lexer::token_type scan_string(const char* s);
41 json::lexer::token_type scan_string(const char* s) in scan_string() function
53 CHECK((scan_string("[") == json::lexer::token_type::begin_array));
54 CHECK((scan_string("]") == json::lexer::token_type::end_array));
55 CHECK((scan_string("{") == json::lexer::token_type::begin_object));
56 CHECK((scan_string("}") == json::lexer::token_type::end_object));
58 CHECK((scan_string(":") == json::lexer::token_type::name_separator));
70 CHECK((scan_string("0") == json::lexer::token_type::value_unsigned));
84 CHECK((scan_string("1.1") == json::lexer::token_type::value_float));
92 CHECK((scan_string(" ") == json::lexer::token_type::end_of_input));
[all …]
/dports/print/texlive-base/texlive-20150521-source/texk/makeindexk/
H A Dscanst.c113 static int scan_string (char *str);
128 (void) scan_string(preamble); in scan_sty()
131 (void) scan_string(postamble); in scan_sty()
160 (void) scan_string(item_r[0]); in scan_sty()
182 (void) scan_string(encap_p); in scan_sty()
184 (void) scan_string(encap_i); in scan_sty()
186 (void) scan_string(encap_s); in scan_sty()
195 (void) scan_string(delim_n); in scan_sty()
197 (void) scan_string(delim_r); in scan_sty()
199 (void) scan_string(delim_t); in scan_sty()
[all …]
/dports/print/makeindex/makeindex/src-2.11/
H A Dscanst.c124 (void) scan_string(preamble); in scan_sty()
127 (void) scan_string(postamble); in scan_sty()
156 (void) scan_string(item_r[0]); in scan_sty()
159 (void) scan_string(item_r[1]); in scan_sty()
178 (void) scan_string(encap_p); in scan_sty()
180 (void) scan_string(encap_i); in scan_sty()
182 (void) scan_string(encap_s); in scan_sty()
191 (void) scan_string(delim_n); in scan_sty()
193 (void) scan_string(delim_r); in scan_sty()
195 (void) scan_string(delim_t); in scan_sty()
[all …]
/dports/net-mgmt/nagios-check_bacula11/bacula-11.0.5/src/lib/
H A Dscan.c505 int scan_string(const char *buf, const char *fmt, ...) in scan_string() function
814 cnt=scan_string("-223\n", "%u\n", &u); in main()
865 cnt=scan_string("", "%d", &a); in main()
869 cnt=scan_string("", "", &a); in main()
873 cnt=scan_string("Hello", "", &a); in main()
882 cnt=scan_string("3.14 17", "%d %d", &a, &b); in main()
978 cnt=scan_string("Literal", "Literal"); in main()
983 cnt=scan_string("YES", "NO"); in main()
989 cnt=scan_string("Hello", "HelloFormat"); in main()
992 cnt=scan_string("Hello", "Hello Format"); in main()
[all …]
/dports/sysutils/bacula11-server/bacula-11.0.5/src/lib/
H A Dscan.c505 int scan_string(const char *buf, const char *fmt, ...) in scan_string() function
814 cnt=scan_string("-223\n", "%u\n", &u); in main()
865 cnt=scan_string("", "%d", &a); in main()
869 cnt=scan_string("", "", &a); in main()
873 cnt=scan_string("Hello", "", &a); in main()
882 cnt=scan_string("3.14 17", "%d %d", &a, &b); in main()
978 cnt=scan_string("Literal", "Literal"); in main()
983 cnt=scan_string("YES", "NO"); in main()
989 cnt=scan_string("Hello", "HelloFormat"); in main()
992 cnt=scan_string("Hello", "Hello Format"); in main()
[all …]
/dports/sysutils/bacula11-client-static/bacula-11.0.5/src/lib/
H A Dscan.c505 int scan_string(const char *buf, const char *fmt, ...) in scan_string() function
814 cnt=scan_string("-223\n", "%u\n", &u); in main()
865 cnt=scan_string("", "%d", &a); in main()
869 cnt=scan_string("", "", &a); in main()
873 cnt=scan_string("Hello", "", &a); in main()
882 cnt=scan_string("3.14 17", "%d %d", &a, &b); in main()
978 cnt=scan_string("Literal", "Literal"); in main()
983 cnt=scan_string("YES", "NO"); in main()
989 cnt=scan_string("Hello", "HelloFormat"); in main()
992 cnt=scan_string("Hello", "Hello Format"); in main()
[all …]
/dports/sysutils/bacula11-client/bacula-11.0.5/src/lib/
H A Dscan.c505 int scan_string(const char *buf, const char *fmt, ...) in scan_string() function
814 cnt=scan_string("-223\n", "%u\n", &u); in main()
865 cnt=scan_string("", "%d", &a); in main()
869 cnt=scan_string("", "", &a); in main()
873 cnt=scan_string("Hello", "", &a); in main()
882 cnt=scan_string("3.14 17", "%d %d", &a, &b); in main()
978 cnt=scan_string("Literal", "Literal"); in main()
983 cnt=scan_string("YES", "NO"); in main()
989 cnt=scan_string("Hello", "HelloFormat"); in main()
992 cnt=scan_string("Hello", "Hello Format"); in main()
[all …]
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/syntax_tools/src/
H A Derl_comment_scan.erl215 scan_string([Quote | Cs], Quote, L, Col, Ack) -> function
218 scan_string([$\t | Cs], Quote, L, Col, Ack) -> function
219 scan_string(Cs, Quote, L, tab(Col), Ack);
220 scan_string([$\n | Cs], Quote, L, _Col, Ack) -> function
223 scan_string(Cs, Quote, L + 1, 0, Ack);
225 scan_string(Cs, Quote, L + 1, 0, Ack);
226 scan_string([$\r | Cs], Quote, L, _Col, Ack) -> function
227 scan_string(Cs, Quote, L + 1, 0, Ack);
230 scan_string([_C | Cs], Quote, L, Col, Ack) -> function
231 scan_string(Cs, Quote, L, Col + 1, Ack);
[all …]
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/syntax_tools/src/
H A Derl_comment_scan.erl215 scan_string([Quote | Cs], Quote, L, Col, Ack) -> function
218 scan_string([$\t | Cs], Quote, L, Col, Ack) -> function
219 scan_string(Cs, Quote, L, tab(Col), Ack);
220 scan_string([$\n | Cs], Quote, L, _Col, Ack) -> function
223 scan_string(Cs, Quote, L + 1, 0, Ack);
225 scan_string(Cs, Quote, L + 1, 0, Ack);
226 scan_string([$\r | Cs], Quote, L, _Col, Ack) -> function
227 scan_string(Cs, Quote, L + 1, 0, Ack);
230 scan_string([_C | Cs], Quote, L, Col, Ack) -> function
231 scan_string(Cs, Quote, L, Col + 1, Ack);
[all …]
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/syntax_tools/src/
H A Derl_comment_scan.erl215 scan_string([Quote | Cs], Quote, L, Col, Ack) -> function
218 scan_string([$\t | Cs], Quote, L, Col, Ack) -> function
219 scan_string(Cs, Quote, L, tab(Col), Ack);
220 scan_string([$\n | Cs], Quote, L, _Col, Ack) -> function
223 scan_string(Cs, Quote, L + 1, 0, Ack);
225 scan_string(Cs, Quote, L + 1, 0, Ack);
226 scan_string([$\r | Cs], Quote, L, _Col, Ack) -> function
227 scan_string(Cs, Quote, L + 1, 0, Ack);
230 scan_string([_C | Cs], Quote, L, Col, Ack) -> function
231 scan_string(Cs, Quote, L, Col + 1, Ack);
[all …]
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/syntax_tools/src/
H A Derl_comment_scan.erl215 scan_string([Quote | Cs], Quote, L, Col, Ack) -> function
218 scan_string([$\t | Cs], Quote, L, Col, Ack) -> function
219 scan_string(Cs, Quote, L, tab(Col), Ack);
220 scan_string([$\n | Cs], Quote, L, _Col, Ack) -> function
223 scan_string(Cs, Quote, L + 1, 0, Ack);
225 scan_string(Cs, Quote, L + 1, 0, Ack);
226 scan_string([$\r | Cs], Quote, L, _Col, Ack) -> function
227 scan_string(Cs, Quote, L + 1, 0, Ack);
230 scan_string([_C | Cs], Quote, L, Col, Ack) -> function
231 scan_string(Cs, Quote, L, Col + 1, Ack);
[all …]
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/syntax_tools/src/
H A Derl_comment_scan.erl215 scan_string([Quote | Cs], Quote, L, Col, Ack) -> function
218 scan_string([$\t | Cs], Quote, L, Col, Ack) -> function
219 scan_string(Cs, Quote, L, tab(Col), Ack);
220 scan_string([$\n | Cs], Quote, L, _Col, Ack) -> function
223 scan_string(Cs, Quote, L + 1, 0, Ack);
225 scan_string(Cs, Quote, L + 1, 0, Ack);
226 scan_string([$\r | Cs], Quote, L, _Col, Ack) -> function
227 scan_string(Cs, Quote, L + 1, 0, Ack);
230 scan_string([_C | Cs], Quote, L, Col, Ack) -> function
231 scan_string(Cs, Quote, L, Col + 1, Ack);
[all …]
/dports/lang/erlang/otp-OTP-24.1.7/lib/syntax_tools/src/
H A Derl_comment_scan.erl215 scan_string([Quote | Cs], Quote, L, Col, Ack) -> function
218 scan_string([$\t | Cs], Quote, L, Col, Ack) -> function
219 scan_string(Cs, Quote, L, tab(Col), Ack);
220 scan_string([$\n | Cs], Quote, L, _Col, Ack) -> function
223 scan_string(Cs, Quote, L + 1, 0, Ack);
225 scan_string(Cs, Quote, L + 1, 0, Ack);
226 scan_string([$\r | Cs], Quote, L, _Col, Ack) -> function
227 scan_string(Cs, Quote, L + 1, 0, Ack);
230 scan_string([_C | Cs], Quote, L, Col, Ack) -> function
231 scan_string(Cs, Quote, L, Col + 1, Ack);
[all …]
/dports/lang/erlang-java/otp-OTP-24.1.7/lib/syntax_tools/src/
H A Derl_comment_scan.erl215 scan_string([Quote | Cs], Quote, L, Col, Ack) -> function
218 scan_string([$\t | Cs], Quote, L, Col, Ack) -> function
219 scan_string(Cs, Quote, L, tab(Col), Ack);
220 scan_string([$\n | Cs], Quote, L, _Col, Ack) -> function
223 scan_string(Cs, Quote, L + 1, 0, Ack);
225 scan_string(Cs, Quote, L + 1, 0, Ack);
226 scan_string([$\r | Cs], Quote, L, _Col, Ack) -> function
227 scan_string(Cs, Quote, L + 1, 0, Ack);
230 scan_string([_C | Cs], Quote, L, Col, Ack) -> function
231 scan_string(Cs, Quote, L, Col + 1, Ack);
[all …]
/dports/net-mgmt/nagios-check_bacula11/bacula-11.0.5/src/stored/
H A Dhello.c95 if (scan_string(dir->msg, "Hello SD: Bacula Director %127s calling %d tlspsk=%d", in validate_dir_hello()
97 scan_string(dir->msg, "Hello SD: Bacula Director %127s calling %d", in validate_dir_hello()
99 scan_string(dir->msg, "Hello SD: Bacula Director %127s calling", in validate_dir_hello()
168scan_string(fd->msg, "Hello Bacula SD: Start Job %127s %d %d", job_name, &fd_version, &sd_version)… in handle_client_connection()
170 scan_string(fd->msg, "Hello Bacula SD: Start Job %127s %d", job_name, &fd_version) != 2 && in handle_client_connection()
171scan_string(fd->msg, "Hello FD: Bacula Storage calling Start Job %127s %d", job_name, &sd_version)… in handle_client_connection()
172 scan_string(fd->msg, "Hello Start Job %127s", job_name) != 1) { in handle_client_connection()
272 scan_string(bs->msg, "Hello Bacula SD: Start Job ") == 0 || in is_client_connection()
273 scan_string(bs->msg, "Hello FD: Bacula Storage calling Start Job ") == 0 || in is_client_connection()
274 scan_string(bs->msg, "Hello Start Job ") == 0; in is_client_connection()
[all …]
/dports/sysutils/bacula11-client-static/bacula-11.0.5/src/stored/
H A Dhello.c95 if (scan_string(dir->msg, "Hello SD: Bacula Director %127s calling %d tlspsk=%d", in validate_dir_hello()
97 scan_string(dir->msg, "Hello SD: Bacula Director %127s calling %d", in validate_dir_hello()
99 scan_string(dir->msg, "Hello SD: Bacula Director %127s calling", in validate_dir_hello()
168scan_string(fd->msg, "Hello Bacula SD: Start Job %127s %d %d", job_name, &fd_version, &sd_version)… in handle_client_connection()
170 scan_string(fd->msg, "Hello Bacula SD: Start Job %127s %d", job_name, &fd_version) != 2 && in handle_client_connection()
171scan_string(fd->msg, "Hello FD: Bacula Storage calling Start Job %127s %d", job_name, &sd_version)… in handle_client_connection()
172 scan_string(fd->msg, "Hello Start Job %127s", job_name) != 1) { in handle_client_connection()
272 scan_string(bs->msg, "Hello Bacula SD: Start Job ") == 0 || in is_client_connection()
273 scan_string(bs->msg, "Hello FD: Bacula Storage calling Start Job ") == 0 || in is_client_connection()
274 scan_string(bs->msg, "Hello Start Job ") == 0; in is_client_connection()
[all …]
/dports/sysutils/bacula11-server/bacula-11.0.5/src/stored/
H A Dhello.c95 if (scan_string(dir->msg, "Hello SD: Bacula Director %127s calling %d tlspsk=%d", in validate_dir_hello()
97 scan_string(dir->msg, "Hello SD: Bacula Director %127s calling %d", in validate_dir_hello()
99 scan_string(dir->msg, "Hello SD: Bacula Director %127s calling", in validate_dir_hello()
168scan_string(fd->msg, "Hello Bacula SD: Start Job %127s %d %d", job_name, &fd_version, &sd_version)… in handle_client_connection()
170 scan_string(fd->msg, "Hello Bacula SD: Start Job %127s %d", job_name, &fd_version) != 2 && in handle_client_connection()
171scan_string(fd->msg, "Hello FD: Bacula Storage calling Start Job %127s %d", job_name, &sd_version)… in handle_client_connection()
172 scan_string(fd->msg, "Hello Start Job %127s", job_name) != 1) { in handle_client_connection()
272 scan_string(bs->msg, "Hello Bacula SD: Start Job ") == 0 || in is_client_connection()
273 scan_string(bs->msg, "Hello FD: Bacula Storage calling Start Job ") == 0 || in is_client_connection()
274 scan_string(bs->msg, "Hello Start Job ") == 0; in is_client_connection()
[all …]
/dports/sysutils/bacula11-client/bacula-11.0.5/src/stored/
H A Dhello.c95 if (scan_string(dir->msg, "Hello SD: Bacula Director %127s calling %d tlspsk=%d", in validate_dir_hello()
97 scan_string(dir->msg, "Hello SD: Bacula Director %127s calling %d", in validate_dir_hello()
99 scan_string(dir->msg, "Hello SD: Bacula Director %127s calling", in validate_dir_hello()
168scan_string(fd->msg, "Hello Bacula SD: Start Job %127s %d %d", job_name, &fd_version, &sd_version)… in handle_client_connection()
170 scan_string(fd->msg, "Hello Bacula SD: Start Job %127s %d", job_name, &fd_version) != 2 && in handle_client_connection()
171scan_string(fd->msg, "Hello FD: Bacula Storage calling Start Job %127s %d", job_name, &sd_version)… in handle_client_connection()
172 scan_string(fd->msg, "Hello Start Job %127s", job_name) != 1) { in handle_client_connection()
272 scan_string(bs->msg, "Hello Bacula SD: Start Job ") == 0 || in is_client_connection()
273 scan_string(bs->msg, "Hello FD: Bacula Storage calling Start Job ") == 0 || in is_client_connection()
274 scan_string(bs->msg, "Hello Start Job ") == 0; in is_client_connection()
[all …]
/dports/net-mgmt/nagios-check_bacula11/bacula-11.0.5/src/filed/
H A Dauthenticate.c68 if (scan_string(dir->msg, "Hello Director %127s calling %d tlspsk=%d", dirname, in validate_dir_hello()
70 scan_string(dir->msg, "Hello Director %127s calling %d", dirname, in validate_dir_hello()
72 scan_string(dir->msg, "Hello Director %127s calling", dirname) != 1 && in validate_dir_hello()
73 scan_string(dir->msg, "Hello %127s calling %d tlspsk=%d", dirname, in validate_dir_hello()
75 scan_string(dir->msg, "Hello %127s calling %d", dirname, &dir_version) != 2 ) { in validate_dir_hello()
/dports/sysutils/bacula11-server/bacula-11.0.5/src/filed/
H A Dauthenticate.c68 if (scan_string(dir->msg, "Hello Director %127s calling %d tlspsk=%d", dirname, in validate_dir_hello()
70 scan_string(dir->msg, "Hello Director %127s calling %d", dirname, in validate_dir_hello()
72 scan_string(dir->msg, "Hello Director %127s calling", dirname) != 1 && in validate_dir_hello()
73 scan_string(dir->msg, "Hello %127s calling %d tlspsk=%d", dirname, in validate_dir_hello()
75 scan_string(dir->msg, "Hello %127s calling %d", dirname, &dir_version) != 2 ) { in validate_dir_hello()
/dports/sysutils/bacula11-client-static/bacula-11.0.5/src/filed/
H A Dauthenticate.c68 if (scan_string(dir->msg, "Hello Director %127s calling %d tlspsk=%d", dirname, in validate_dir_hello()
70 scan_string(dir->msg, "Hello Director %127s calling %d", dirname, in validate_dir_hello()
72 scan_string(dir->msg, "Hello Director %127s calling", dirname) != 1 && in validate_dir_hello()
73 scan_string(dir->msg, "Hello %127s calling %d tlspsk=%d", dirname, in validate_dir_hello()
75 scan_string(dir->msg, "Hello %127s calling %d", dirname, &dir_version) != 2 ) { in validate_dir_hello()
/dports/sysutils/bacula11-client/bacula-11.0.5/src/filed/
H A Dauthenticate.c68 if (scan_string(dir->msg, "Hello Director %127s calling %d tlspsk=%d", dirname, in validate_dir_hello()
70 scan_string(dir->msg, "Hello Director %127s calling %d", dirname, in validate_dir_hello()
72 scan_string(dir->msg, "Hello Director %127s calling", dirname) != 1 && in validate_dir_hello()
73 scan_string(dir->msg, "Hello %127s calling %d tlspsk=%d", dirname, in validate_dir_hello()
75 scan_string(dir->msg, "Hello %127s calling %d", dirname, &dir_version) != 2 ) { in validate_dir_hello()
/dports/devel/p5-Perl-PrereqScanner-NotQuiteLite/Perl-PrereqScanner-NotQuiteLite-0.9914/t/scan/
H A DUtil.pm24 my $c = $scanner->scan_string($string);
33 my $c = $scanner->scan_string($string);

12345678910>>...12