Lines Matching refs:n
173 for ($n = 0; $n <= $distance; ++$n) {
174 if (array_key_exists($n, $cache)) {
176 if ($n % 2 === 0 && in_array($target, $cache[$n], true)) {
181 $cache[$n] = [];
182 if ($n % 2 === 0) {
184 foreach ($cache[$n - 1] as $family) {
188 … if ($individual instanceof self && !in_array($individual, $cache[$n - 2], true)) {
189 $cache[$n][] = $individual;
193 if (in_array($target, $cache[$n], true)) {
198 foreach ($cache[$n - 1] as $individual) {
202 … if ($family instanceof Family && !in_array($family, $cache[$n - 2], true)) {
203 $cache[$n][] = $family;
981 foreach ($SURNS as $n => $SURN) {
983 $SURNS[$n] = preg_replace('/^(?:[a-z]+ |[a-z]+\' ?|\'[a-z]+ )+/', '', $SURN);