Lines Matching refs:str
84 function parse($str) { argument
85 $lines = explode("\n", $str);
146 return array($attributes, $caption, $board, $width, $height, $str);
251 function weiqi_code($str, $x, $y, $width, $height) { argument
252 $str = trim($str);
253 if (strlen($str) == 1) {
255 switch ($str) {
347 if (is_numeric($str)) return $str.'#';
350 $ch1 = substr($str, 0, 1);
351 $ch2 = substr($str, 1, 1);
436 function parse_goban_attributes($str) { argument
437 $str = trim($str);
438 if ($str=='') return array();
441 $attributes = explode(' ', $str);
490 $this->error_data = array('attributes_str' => $str, 'errors' => $errors);