Lines Matching refs:result
79 $result = preg_quote($format, '/');
80 $result = str_replace('%e', '\\' . DIRECTORY_SEPARATOR, $result);
81 $result = str_replace('%s', '[^\r\n]+', $result);
82 $result = str_replace('%S', '[^\r\n]*', $result);
83 $result = str_replace('%w', '\s*', $result);
84 $result = str_replace('%i', '[+-]?\d+', $result);
85 $result = str_replace('%d', '\d+', $result);
86 $result = str_replace('%x', '[0-9a-fA-F]+', $result);
87 $result = str_replace('%f', '[+-]?\.?\d+\.?\d*(?:[Ee][+-]?\d+)?', $result);
88 $result = str_replace('%c', '.', $result);
89 return "/^$result$/s";
103 $result = [];
106 $result[] = $elem->old;
108 $result[] = normalizeOutput($elem->new);
111 return implode("\n", $result);
206 $result = [];
221 $result[] = new DiffElem(DiffElem::TYPE_KEEP, $a[$x-1], $b[$y-1]);
231 $result[] = new DiffElem(DiffElem::TYPE_REMOVE, $a[$x-1], null);
236 $result[] = new DiffElem(DiffElem::TYPE_ADD, null, $b[$y-1]);
240 return array_reverse($result);