Home
last modified time | relevance | path

Searched refs:parse_line (Results 1 – 25 of 1712) sorted by relevance

12345678910>>...69

/dports/textproc/py-line-protocol-parser/line-protocol-parser-1.1.0/tests/
H A Dtest_parse_line.py27 p = parse_line('foobar,tag1=1 f1=0 1234')
35 p = parse_line('foobar f1=0 1234')
61 p = parse_line('foobar,tag1=1 f1=3.14')
69 p = parse_line('foobar,tag1=1 f1=123i')
81 p = parse_line('foobar,tag1=1 f1=t 0')
91 p = parse_line('foobar,tag1=1 f1=f 0')
136 parse_line('')
140 parse_line('measurement')
144 parse_line('measurement,tag')
168 parse_line(123)
[all …]
/dports/www/fswiki/wiki3_6_2/lib/Wiki/
H A DParser.pm91 my @obj = $self->parse_line($line);
103 my @obj = $self->parse_line(substr($line,3));
107 my @obj = $self->parse_line(substr($line,2));
111 my @obj = $self->parse_line(substr($line,1));
165 my @obj1 = $self->parse_line($dt);
166 my @obj2 = $self->parse_line($dd);
178 my @cell = $self->parse_line($value);
188 my @obj = $self->parse_line($line);
208 my @obj1 = $self->parse_line($self->{dt});
209 my @obj2 = $self->parse_line($self->{dd});
[all …]
/dports/converters/nomyso/nomyso-4.3/
H A Dnomyso.pl890 my $parse_line = $_[0];
909 if ($parse_line =~ m {
963 my $parse_line = $_[0];
1698 substr($parse_line, length($parse_line), 0) = "]";
1861 if ($parse_line =~ m {
1920 if ($parse_line =~ m {
1986 if ($parse_line =~ m {
2036 if ($parse_line =~ s {
2084 if ($parse_line =~ m {
2132 if ($parse_line =~ m {
[all …]
/dports/lang/ruby26/ruby-2.6.9/test/csv/parse/
H A Dtest_general.rb23 CSV.parse_line(ex) )
55 assert_equal(csv_test.last, CSV.parse_line(csv_test.first))
74 assert_equal(csv_test.last, CSV.parse_line(csv_test.first))
97 assert_equal(edge_case.last, CSV.parse_line(edge_case.first))
103 assert_equal(nil, CSV.parse_line(""))
110 assert_equal(Array.new, CSV.parse_line("\n1,2,3\n"))
125 assert_equal(edge_case.last, CSV.parse_line(edge_case.first))
133 assert_equal(edge_case.last, CSV.parse_line(edge_case.first))
137 CSV.parse_line("1,\"23\"4\"5\", 6")
143 CSV.parse_line("1,2\r,3", row_sep: "\n")
[all …]
H A Dtest_strip.rb11 CSV.parse_line(%Q{ a , b }, strip: true))
16 CSV.parse_line(%Q{ a, b}, strip: true))
21 CSV.parse_line(%Q{a ,b }, strip: true))
26 CSV.parse_line(%Q{" a "," b "}, strip: true))
31 CSV.parse_line(%Q{" a ", b , " c "," d " },
38 CSV.parse_line(%Q{ a , " b" },
44 CSV.parse_line(%Q{" a ", b },
H A Dtest_liberal_parsing.rb12 CSV.parse_line(input)
17 CSV.parse_line(input, liberal_parsing: true))
23 CSV.parse_line(input)
28 CSV.parse_line(input, liberal_parsing: true))
33 CSV.parse_line('is,this "three," or four,fields', liberal_parsing: true)
41 CSV.parse_line('is,this "three, or four",fields',
51 CSV.parse_line('1,' +
H A Dtest_unconverted_fields.rb22 row = CSV.parse_line("Numbers,:integer,1,:float,3.015",
36 row = CSV.parse_line("\n",
50 row = CSV.parse_line(@data,
66 row = CSV.parse_line(@data,
83 row = CSV.parse_line(@data,
101 row = CSV.parse_line("\n",
/dports/lang/perl5.34/perl-5.34.0/cpan/Text-ParseWords/t/
H A DParseWords.t29 $result = join('|', parse_line('\s+', 1, $string));
33 $result = join('|', parse_line('\s+', 0, $string));
38 $result = join('|', parse_line('\s+', 0, $string));
54 @words = parse_line('s+', 0, $string);
68 $result = join('|', parse_line(':', 0, 'foo::0:"":::'));
72 $result = join('|', parse_line(':', 0, ':"0":'));
76 $result = join('|', parse_line(':', 0, ':"' . "\001" . '":'));
84 $result = join('|', parse_line('\s+', 0, $string));
94 $result = join('|', parse_line("\t", 1, $string));
97 $result = join('|', parse_line("\t", 0, $string));
[all …]
/dports/lang/perl5.30/perl-5.30.3/cpan/Text-ParseWords/t/
H A DParseWords.t29 $result = join('|', parse_line('\s+', 1, $string));
33 $result = join('|', parse_line('\s+', 0, $string));
38 $result = join('|', parse_line('\s+', 0, $string));
54 @words = parse_line('s+', 0, $string);
68 $result = join('|', parse_line(':', 0, 'foo::0:"":::'));
72 $result = join('|', parse_line(':', 0, ':"0":'));
76 $result = join('|', parse_line(':', 0, ':"' . "\001" . '":'));
84 $result = join('|', parse_line('\s+', 0, $string));
94 $result = join('|', parse_line("\t", 1, $string));
97 $result = join('|', parse_line("\t", 0, $string));
[all …]
/dports/lang/perl5.32/perl-5.32.1/cpan/Text-ParseWords/t/
H A DParseWords.t29 $result = join('|', parse_line('\s+', 1, $string));
33 $result = join('|', parse_line('\s+', 0, $string));
38 $result = join('|', parse_line('\s+', 0, $string));
54 @words = parse_line('s+', 0, $string);
68 $result = join('|', parse_line(':', 0, 'foo::0:"":::'));
72 $result = join('|', parse_line(':', 0, ':"0":'));
76 $result = join('|', parse_line(':', 0, ':"' . "\001" . '":'));
84 $result = join('|', parse_line('\s+', 0, $string));
94 $result = join('|', parse_line("\t", 1, $string));
97 $result = join('|', parse_line("\t", 0, $string));
[all …]
/dports/textproc/p5-Text-ParseWords/Text-ParseWords-3.30/t/
H A DParseWords.t29 $result = join('|', parse_line('\s+', 1, $string));
33 $result = join('|', parse_line('\s+', 0, $string));
38 $result = join('|', parse_line('\s+', 0, $string));
54 @words = parse_line('s+', 0, $string);
68 $result = join('|', parse_line(':', 0, 'foo::0:"":::'));
72 $result = join('|', parse_line(':', 0, ':"0":'));
76 $result = join('|', parse_line(':', 0, ':"' . "\001" . '":'));
84 $result = join('|', parse_line('\s+', 0, $string));
94 $result = join('|', parse_line("\t", 1, $string));
97 $result = join('|', parse_line("\t", 0, $string));
[all …]
/dports/lang/perl5-devel/perl5-5.35.4-102-ge43d289c7c/cpan/Text-ParseWords/t/
H A DParseWords.t29 $result = join('|', parse_line('\s+', 1, $string));
33 $result = join('|', parse_line('\s+', 0, $string));
38 $result = join('|', parse_line('\s+', 0, $string));
54 @words = parse_line('s+', 0, $string);
68 $result = join('|', parse_line(':', 0, 'foo::0:"":::'));
72 $result = join('|', parse_line(':', 0, ':"0":'));
76 $result = join('|', parse_line(':', 0, ':"' . "\001" . '":'));
84 $result = join('|', parse_line('\s+', 0, $string));
94 $result = join('|', parse_line("\t", 1, $string));
97 $result = join('|', parse_line("\t", 0, $string));
[all …]
/dports/net/samba412/samba-4.12.15/source3/printing/
H A Dlpq_parse.c880 parse_line->space1 = '\0'; in parse_lpq_nt()
884 if (!strlen(parse_line->owner)) { in parse_lpq_nt()
889 parse_line->space2 = '\0'; in parse_lpq_nt()
897 parse_line->space3 = '\0'; in parse_lpq_nt()
900 buf->sysjob = atoi(parse_line->jobid); in parse_lpq_nt()
902 buf->size = atoi(parse_line->size); in parse_lpq_nt()
961 buf->sysjob = atoi(parse_line->jobid); in parse_lpq_os2()
964 parse_line->space2[0] = '\0'; in parse_lpq_os2()
969 buf->size = atoi(parse_line->size); in parse_lpq_os2()
973 if (!strlen(parse_line->owner)) { in parse_lpq_os2()
[all …]
/dports/net/p5-Net-Gnats/Net-Gnats-0.22/t/
H A Dprparser.t7 use Net::Gnats::PR qw(deserialize parse_line);
19 is_deeply parse_line('From: Doctor Wifflechumps', \@known), ['From','Doctor Wifflechumps'];
20 is_deeply parse_line('Reply-To: Doctor Wifflechumps', \@known), ['Reply-To','Doctor Wifflechumps'];
21 is_deeply parse_line('To: bugs', \@known), ['To', 'bugs'];
22 is_deeply parse_line('Cc:', \@known), ['Cc',''];
28 is_deeply parse_line('>Field: value', \@known), ['Field','value'];
29 is_deeply parse_line('>Field: value', \@known), ['Field', 'value'];
32 is_deeply parse_line('>Field: value ', \@known), ['Field', 'value'];
33 is_deeply parse_line('a multiline line', \@known), [ undef, 'a multiline line' ];
34 is_deeply parse_line('', \@known), [ undef, ''];
[all …]
/dports/devel/cxref/cxref-1.6e/src/
H A Dparse.l47 int parse_line=0; variable
138 <COMMENT>{N} { parse_line++; }
153 <SPECIAL_COMMENT>{N}{W}*[+*|:]/{W} { parse_line++;
156 <SPECIAL_COMMENT>{N}{W}*[+*|:]/\n { parse_line++;
159 <SPECIAL_COMMENT>{N}{W}*[+*|:]/\r\n { parse_line++;
203 <CPP>\\{N} { parse_line++; }
204 <CPP>{N} { parse_line++; BEGIN(INITIAL); }
209 <CPP_DEFINE>\\{N} { parse_line++; }
214 <CPP_DEFINE_ARGP>{N} { parse_line++; BEGIN(INITIAL); }
216 <CPP_DEFINE_ARGP>\\{N} { parse_line++; }
[all …]
/dports/textproc/p5-RDF-Trine/RDF-Trine-1.019/t/
H A Dparser-rdfpatch.t17 $parser->parse_line( 'X 1 .' );
24 $parser->parse_line( 'A 1 .' );
30 my $op = $parser->parse_line( "A _:a a 3 ." );
42 my $op = $parser->parse_line( "D _:a a 3 ." );
53 my $op = $parser->parse_line( "D _:a a 3 _:g ." );
64 $parser->parse_line( "A <s> <p> 1 ." )->execute($model);
65 $parser->parse_line( "A <s> <p> 2 ." )->execute($model);
66 $parser->parse_line( "A <q> <r> 3 ." )->execute($model);
68 my $op = $parser->parse_line( "Q U <p> U ." );
86 $parser->parse_line( '@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .' );
[all …]
/dports/devel/elixir-hex/hex-1.0.1/lib/hex/netrc/
H A Dparser.ex20 |> Enum.reduce({%{}, nil}, &parse_line/2)
32 defp parse_line(_, :parse_error), do: :parse_error function
34 defp parse_line(["machine", host], {machines, nil}) do function
38 defp parse_line(["machine", next_host], {machines, %{username: _, password: _} = current}) do function
43 defp parse_line(["login", username], {machines, %{} = current}) do function
47 defp parse_line(["password", password], {machines, %{} = current}) do function
51 defp parse_line(_line, _parse_state), do: :parse_error function
/dports/mail/libvmime/vmime-0.9.2/cmake/cmake-cxx11/Modules/CheckCXX11Features/
H A Dcxx11-test-regex.cpp4 int parse_line(std::string const& line) in parse_line() function
21 bool test = (parse_line("f 7/7/7 -3/3/-3 2/-2/2") == 3) && in main()
22 (parse_line("f 7//7 3//-3 -2//2") == 3) && in main()
23 (parse_line("f 7/7 3/-3 -2/2") == 3) && in main()
24 (parse_line("f 7 3 -2") == 3); in main()
/dports/devel/gitui/gitui-0.10.1/cargo-crates/inferno-0.10.0/src/flamegraph/color/
H A Dpalette_map.rs49 if let Ok((name, color)) = parse_line(&line) { in from_reader()
123 fn parse_line(line: &str) -> io::Result<(&str, Color)> { in parse_line() function
236 parse_line("func->rgb(0, 0, 0)").unwrap(), in parse_line_test()
240 parse_line("->rgb(255, 255, 255)").unwrap(), in parse_line_test()
244 assert!(parse_line("").is_err()); in parse_line_test()
245 assert!(parse_line("func->(0, 0, 0)").is_err()); in parse_line_test()
246 assert!(parse_line("func->").is_err()); in parse_line_test()
247 assert!(parse_line("func->foo->rgb(0, 0, 0)").is_err()); in parse_line_test()
248 assert!(parse_line("func->rgb(0, 0, 0)->foo").is_err()); in parse_line_test()
249 assert!(parse_line("func->rgb(255, 255, 256)").is_err()); in parse_line_test()
[all …]
/dports/benchmarks/inferno/inferno-0.10.9/src/flamegraph/color/
H A Dpalette_map.rs49 if let Ok((name, color)) = parse_line(&line) { in from_reader()
126 fn parse_line(line: &str) -> io::Result<(&str, Color)> { in parse_line() function
239 parse_line("func->rgb(0, 0, 0)").unwrap(), in parse_line_test()
243 parse_line("->rgb(255, 255, 255)").unwrap(), in parse_line_test()
247 assert!(parse_line("").is_err()); in parse_line_test()
248 assert!(parse_line("func->(0, 0, 0)").is_err()); in parse_line_test()
249 assert!(parse_line("func->").is_err()); in parse_line_test()
250 assert!(parse_line("func->foo->rgb(0, 0, 0)").is_err()); in parse_line_test()
251 assert!(parse_line("func->rgb(0, 0, 0)->foo").is_err()); in parse_line_test()
252 assert!(parse_line("func->rgb(255, 255, 256)").is_err()); in parse_line_test()
[all …]
/dports/textproc/p5-Text-LTSV/Text-LTSV-0.08/t/
H A D01_parse_line.t8 my $hash = $p->parse_line("hoge:foo\tbar:baz\ttime:20:30:58\n");
16 my $hash1 = $p->parse_line("hoge:foo\tbar:baz\ttime:20:30:58\n");
18 my $hash2 = Text::LTSV->parse_line("hoge:foo\tbar:baz\ttime:20:30:58\n");
26 my $hash = $p->parse_line("hoge:foo\tbar:baz\ttime:20:30:58\n");
36 my $hash = $p->parse_line("hoge:foo\tbar:baz\ttime:20:30:58\n");
46 my $hash = $p->parse_line("hoge:foo\tbar:baz\ttime:20:30:58\n");
/dports/audio/cmus/cmus-2.9.1/
H A Dsearch_mode.c74 static void parse_line(const char **text, int *restricted) in parse_line() function
110 parse_line(&text, &search_restricted); in delete()
165 parse_line(&text, &restricted); in search_mode_ch()
173 parse_line(&text, &restricted); in search_mode_ch()
212 parse_line(&text, &search_restricted); in search_mode_ch()
268 parse_line(&text, &restricted); in search_mode_key()
277 parse_line(&text, &restricted); in search_mode_key()
298 parse_line(&text, &restricted); in search_mode_mouse()
/dports/devel/efl/efl-1.25.1/src/lib/elementary/
H A Delm_code_parse.c17 void (*parse_line)(Elm_Code_Line *, void *); member
37 if (parser->parse_line) in _elm_code_parse_line()
38 parser->parse_line(line, parser->data); in _elm_code_parse_line()
68 _elm_code_parser_new(void (*parse_line)(Elm_Code_Line *, void *), in _elm_code_parser_new()
77 parser->parse_line = parse_line; in _elm_code_parser_new()
86 void (*parse_line)(Elm_Code_Line *, void *), in elm_code_parser_add()
91 parser = _elm_code_parser_new(parse_line, parse_file); in elm_code_parser_add()
/dports/chinese/bitchx/bitchx-1.2.1/source/
H A Dif.c161 parse_line(NULL, current_line, subargs, 0, 0, 1); in BUILT_IN_COMMAND()
194 parse_line (NULL, body, subargs ? subargs : empty_string, 0, 0, 1); in BUILT_IN_COMMAND()
222 parse_line (NULL, body, subargs ? subargs : empty_string, 0, 0, 1); in BUILT_IN_COMMAND()
225 parse_line (NULL, args, subargs ? subargs : empty_string, 0, 0, 1); in BUILT_IN_COMMAND()
260 parse_line(NULL, body, subargs ? subargs : empty_string, 0, 0, 0); in BUILT_IN_COMMAND()
337 parse_line(NULL, body, subargs ? subargs:empty_string, 0, 0, 0); in BUILT_IN_COMMAND()
577 parse_line(NULL, commence, sa, 0, 0, 0); in BUILT_IN_COMMAND()
594 parse_line(NULL, commands, sa, 0, 0, 0); in BUILT_IN_COMMAND()
604 parse_line(NULL, iteration, sa, 0, 0, 0); in BUILT_IN_COMMAND()
711 parse_line(NULL, commands, subargs, 0, 0, 0); in BUILT_IN_COMMAND()
[all …]
/dports/irc/bitchx/bitchx-1.2.1/source/
H A Dif.c161 parse_line(NULL, current_line, subargs, 0, 0, 1); in BUILT_IN_COMMAND()
194 parse_line (NULL, body, subargs ? subargs : empty_string, 0, 0, 1); in BUILT_IN_COMMAND()
222 parse_line (NULL, body, subargs ? subargs : empty_string, 0, 0, 1); in BUILT_IN_COMMAND()
225 parse_line (NULL, args, subargs ? subargs : empty_string, 0, 0, 1); in BUILT_IN_COMMAND()
260 parse_line(NULL, body, subargs ? subargs : empty_string, 0, 0, 0); in BUILT_IN_COMMAND()
337 parse_line(NULL, body, subargs ? subargs:empty_string, 0, 0, 0); in BUILT_IN_COMMAND()
577 parse_line(NULL, commence, sa, 0, 0, 0); in BUILT_IN_COMMAND()
594 parse_line(NULL, commands, sa, 0, 0, 0); in BUILT_IN_COMMAND()
604 parse_line(NULL, iteration, sa, 0, 0, 0); in BUILT_IN_COMMAND()
711 parse_line(NULL, commands, subargs, 0, 0, 0); in BUILT_IN_COMMAND()
[all …]

12345678910>>...69