Lines Matching refs:n
40 $this->Lexer->addEntryPattern('\n#[^\n#]+\|[^\n#]+#\n', $mode, 'plugin_complex_lists');
84 function romanNum($n) argument
88 while ($n >= 1000)
90 $n -= 1000;
93 if ($n >= 900)
96 $n -= 900;
98 if ($n >= 500)
101 $n -= 500;
103 if ($n > 400)
106 $n -= 400;
108 while ($n >= 100)
111 $n -= 100;
113 if ($n >= 90)
116 $n -= 90;
118 if ($n >= '50')
121 $n -= 50;
123 if ($n >= '40')
126 $n -= 40;
128 while ($n >= 10)
131 $n -= 10;
133 if ($n == 9)
136 $n = 0;
138 if ($n >= 5)
141 $n -= 5;
143 if ($n == 4)
146 $n = 0;
148 while ($n > 0)
151 --$n;
156 function latinNum($n) argument
160 while ($n > 0 && $j < 20)
162 $d = $n % 27;
164 $n = ($n - $d) / 27;
165 if ($n > 0)
166 ++$n;
177 $n = $counters[$level];
191 $numtext = $n;
195 $numtext = $this->latinNum($n);
199 $numtext = strtoupper($this->latinNum($n));
203 $numtext = $this->romanNum($n);
207 $numtext = strtoupper($this->romanNum($n));