Home
last modified time | relevance | path

Searched refs:quoter (Results 1 – 25 of 607) sorted by relevance

12345678910>>...25

/dports/www/py-yarl/yarl-1.7.2/tests/
H A Dtest_quoting.py12 def quoter(request): function
23 def quoter(request): function
73 assert quoter()("") == ""
77 s = quoter()(
83 assert quoter()(s) == s
100 def test_safe(quoter): argument
119 result = quoter()(char)
147 result = quoter()(" ")
277 quoter()(123)
429 s2 = quoter()(s1)
[all …]
/dports/textproc/p5-Text-Quoted/Text-Quoted-2.10/t/
H A Dbasics.t18 [[{text => 'foo',quoter => '>',raw => '> foo'},
19 [{text => 'Bar',quoter => '> #',raw => '> # Bar'}],
20 {text => 'baz',quoter => '>',raw => '> baz'}
22 {text => '',empty => '1',quoter => '',raw => ''},
23 {text => 'quux',quoter => '',raw => 'quux'}],
39 { text => 'foo', quoter => '>', raw => '> foo' },
42 { text => 'baz', quoter => '> > >',
49 { text => 'quuuux', quoter => '', raw => 'quuuux' }
162 'quoter' => '',
168 'quoter' => '!',
[all …]
H A Dseparator.t16 {text => 'foo', quoter => '', raw => 'foo'},
17 {text => '============', quoter => '', raw => '============', separator => 1 },
18 {text => 'bar', quoter => '', raw => 'bar'},
19 {text => '============', quoter => '', raw => '============', separator => 1 },
20 {text => 'baz', quoter => '', raw => 'baz'},
40 {text => 'foo', quoter => '', raw => 'foo'},
42 {text => 'bar', quoter => '>', raw => '> bar'},
43 {text => '============', quoter => '>', raw => '> ============', separator => 1 },
44 {text => 'baz', quoter => '>', raw => '> baz'},
45 {text => '============', quoter => '>', raw => '> ============', separator => 1 },
[all …]
H A Dlife_sample.1.t52 'quoter' => '',
69 'quoter' => '',
84 'quoter' => '',
90 'quoter' => '',
95 'quoter' => '',
101 'quoter' => '',
110 'quoter' => '',
116 'quoter' => '',
123 'quoter' => '',
130 'quoter' => '',
[all …]
/dports/textproc/p5-Text-Quote/Text-Quote-0.33/t/
H A Dquote.t4 use vars qw/$Class $quoter/;
17 $quoter=Text::Quote->new();
18 isa_ok($quoter, $Class);
34 #print $quoter->quote($binary.$binary),"\n";
40 #print $quoter->quote($all),"\n";
49 #print $quoter->quote($long),"\n";
63 is($quoter->quote(0),"0","Quote Number - 0");
65 is($quoter->quote(1),"1","Quote Number - 1");
93 $quoter->quote_prop("key_quote","0");
95 $quoter->quote_prop("key_quote","1");
[all …]
/dports/textproc/p5-Text-Quoted/Text-Quoted-2.10/lib/Text/
H A DQuoted.pm100 my $q = defined $line->{quoter}? $line->{quoter}: '';
105 if exists $line->{quoter}
113 push @next, shift @todo while defined $todo[0]->{quoter}
114 and $todo[0]->{quoter} =~ /^\Q$newquoter/;
143 map $_->{quoter},
167 my ($quotechar, $quotechunk, $quoter);
176 $quoter = qr/$quotechunk(?:[ \t]*$quotechunk)*/;
202 return { raw => undef, text => undef, quoter => undef }
211 @line{'quoter', 'text'} = (/\A *($quoter?) *(.*?)\s*\Z/);
225 || $line->{quoter} ne $chunks[-1][-1]->{quoter}
[all …]
/dports/finance/p5-Finance-Quote/Finance-Quote-1.51/lib/Finance/Quote/
H A DDWS.pm41 my $quoter = shift;
43 my $ua = $quoter->user_agent();
46 if (not exists $quoter->{DWS_CACHE}) {
47 $quoter->{DWS_CACHE} = {};
88 $quoter->{DWS_CACHE}->{$wkn} = $info;
89 $quoter->{DWS_CACHE}->{$isin} = $info;
98 if (exists $quoter->{DWS_CACHE}->{$symbol}) {
99 $info{$symbol, 'name'} = $quoter->{DWS_CACHE}->{$symbol}->{name};
100 $info{$symbol, 'last'} = $quoter->{DWS_CACHE}->{$symbol}->{last};
101 $info{$symbol, 'wkn'} = $quoter->{DWS_CACHE}->{$symbol}->{wkn};
[all …]
H A DAlphaVantage.pm156 my $quoter = shift;
161 my $ua = $quoter->user_agent();
164 my $token = exists $quoter->{module_specific_data}->{alphavantage}->{API_KEY} ?
165 $quoter->{module_specific_data}->{alphavantage}->{API_KEY} :
266 $quoter->store_date( \%info, $stock, { isodate => $quote->{'07. latest trading day'} } );
276 foreach my $field ( $quoter->default_currency_fields ) {
279 $quoter->scale_field( $info{ $stock, $field },
285 foreach my $field ( $quoter->default_currency_fields ) {
288 $quoter->scale_field( $info{ $stock, $field },
H A DHU.pm63 my $quoter = shift;
68 my %bse_info = bse( $quoter, $symbol );
74 my %bamosz_info = bamosz( $quoter, $symbol );
88 my $quoter = shift;
92 my $ua = $quoter->user_agent;
144 $quoter->store_date(\%info, $symbol, {isodate => $data->{date}});
163 my $quoter = shift;
167 my $ua = $quoter->user_agent;
201 $quoter->store_date( \%info, $symbol, { isodate => $date } );
H A DGoldMoney.pm54 my $quoter = shift;
58 my $ua = $quoter->user_agent;
100 my $currency = $quoter->{"currency"} || 'EUR';
133 $quoter->store_date( \%info, 'gold',
148 $quoter->store_date( \%info, 'silver',
166 $quoter->store_date( \%info, 'platinum',
H A DIEXCloud.pm49 my $quoter = shift;
51 my $token = exists $quoter->{module_specific_data}->{iexcloud}->{API_KEY} ?
52 $quoter->{module_specific_data}->{iexcloud}->{API_KEY} :
58 my $ua = $quoter->user_agent();
103 $quoter->store_date( \%info, $symbol, { isodate => $isodate } );
/dports/www/mediawiki136/mediawiki-1.36.3/vendor/wikimedia/purtle/src/
H A DN3RdfWriterBase.php16 protected $quoter; variable in Wikimedia\\Purtle\\N3RdfWriterBase
21 * @param N3Quoter|null $quoter
26 N3Quoter $quoter = null argument
30 $this->quoter = $quoter ?: new N3Quoter();
47 $iri = $this->quoter->escapeIRI( $iri );
53 $value = $this->quoter->escapeLiteral( $text );
67 $value = $this->quoter->escapeLiteral( $value );
H A DTurtleRdfWriter.php35 * @param N3Quoter|null $quoter
40 N3Quoter $quoter = null argument
42 parent::__construct( $role, $labeler, $quoter );
62 $this->write( "@prefix $prefix: <" . $this->quoter->escapeIRI( $uri ) . "> .\n" );
101 $writer = new self( $role, $labeler, $this->quoter );
/dports/www/mediawiki135/mediawiki-1.35.5/vendor/wikimedia/purtle/src/
H A DN3RdfWriterBase.php16 protected $quoter; variable in Wikimedia\\Purtle\\N3RdfWriterBase
21 * @param N3Quoter|null $quoter
26 N3Quoter $quoter = null argument
30 $this->quoter = $quoter ?: new N3Quoter();
47 $iri = $this->quoter->escapeIRI( $iri );
53 $value = $this->quoter->escapeLiteral( $text );
67 $value = $this->quoter->escapeLiteral( $value );
H A DTurtleRdfWriter.php35 * @param N3Quoter|null $quoter
40 N3Quoter $quoter = null argument
42 parent::__construct( $role, $labeler, $quoter );
62 $this->write( "@prefix $prefix: <" . $this->quoter->escapeIRI( $uri ) . "> .\n" );
101 $writer = new self( $role, $labeler, $this->quoter );
/dports/www/mediawiki137/mediawiki-1.37.1/vendor/wikimedia/purtle/src/
H A DN3RdfWriterBase.php16 protected $quoter; variable in Wikimedia\\Purtle\\N3RdfWriterBase
21 * @param N3Quoter|null $quoter
26 N3Quoter $quoter = null argument
30 $this->quoter = $quoter ?: new N3Quoter();
47 $iri = $this->quoter->escapeIRI( $iri );
53 $value = $this->quoter->escapeLiteral( $text );
67 $value = $this->quoter->escapeLiteral( $value );
H A DTurtleRdfWriter.php35 * @param N3Quoter|null $quoter
40 N3Quoter $quoter = null argument
42 parent::__construct( $role, $labeler, $quoter );
62 $this->write( "@prefix $prefix: <" . $this->quoter->escapeIRI( $uri ) . "> .\n" );
101 $writer = new self( $role, $labeler, $this->quoter );
/dports/finance/gnucash/gnucash-4.9/libgnucash/quotes/
H A DQuote_example.pl21 my $quoter = Finance::Quote->new();
25 %quotes = $quoter->fetch("alphavantage","IBM", "SGI");
46 %quotes = $quoter->fetch("fidelity",@funds);
57 %quotes = $quoter->fetch("fidelity",@funds);
70 %quotes = $quoter->fetch("troweprice",@funds);
84 %quotes = $quoter->fetch("australia",@funds);
/dports/databases/p5-Class-DBI-Loader/Class-DBI-Loader-0.34/lib/Class/DBI/Loader/
H A Dmysql.pm53 my $quoter = $dbh->get_info(29);
80 $comment =~ s/$quoter//g if ($quoter);
99 my $quoter = $dbh->get_info(29);
100 $table =~ s/$quoter//g if ($quoter);
/dports/devel/py-twisted/Twisted-22.1.0/docs/core/howto/listings/TwistedQuotes/
H A Dpbquote.py5 def __init__(self, quoter): argument
6 self.quoter = quoter
9 return self.quoter.getQuote()
H A Dquoteproto.py19 self.transport.write(self.factory.quoter.getQuote() + "\r\n")
34 def __init__(self, quoter): argument
35 self.quoter = quoter
H A Dquotetap2.py28 quoter = quoters.FortuneQuoter([config["file"]])
31 quoter = quoters.StaticQuoter(config["static"])
33 factory = quoteproto.QOTDFactory(quoter) # here we create a QOTDFactory
38 pbfact = pb.PBServerFactory(pbquote.QuoteReader(quoter))
/dports/audio/rhvoice/RHVoice-1.2.4/src/third-party/cldr/tools/java/org/unicode/cldr/util/
H A DUnicodeSetPrettyPrinter.java41 private StringTransform quoter = null; field in UnicodeSetPrettyPrinter
50 return quoter; in getQuoter()
53 public UnicodeSetPrettyPrinter setQuoter(StringTransform quoter) { in setQuoter() argument
54 this.quoter = quoter; in setQuoter()
225 if (toQuote.containsSome(s) && quoter != null) { in appendQuoted()
226 target.append(quoter.transform(s)); in appendQuoted()
239 if (quoter != null) { in appendQuoted()
240 target.append(quoter.transform(UTF16.valueOf(codePoint))); in appendQuoted()
/dports/www/grafana8/core/
H A Dfilter.go58 quoter := NewQuoter(dialect)
60 sql = strings.Replace(sql, " `(id)` ", " "+quoter.Quote(table.PrimaryKeys[0])+" ", -1)
61 …sql = strings.Replace(sql, " "+quoter.Quote("(id)")+" ", " "+quoter.Quote(table.PrimaryKeys[0])+" …
62 return strings.Replace(sql, " (id) ", " "+quoter.Quote(table.PrimaryKeys[0])+" ", -1)
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/
H A DTestHtmlQuoting.java71 HttpServer2.QuotingInputFilter.RequestQuoter quoter = in testRequestQuoting() local
76 "a&lt;b", quoter.getParameter("x")); in testRequestQuoting()
80 null, quoter.getParameter("x")); in testRequestQuoting()
84 new String[]{"a&lt;b", "b"}, quoter.getParameterValues("x")); in testRequestQuoting()
88 null, quoter.getParameterValues("x")); in testRequestQuoting()

12345678910>>...25