Lines Matching refs:str

24      * @param (str) $url the url to <file>
25 * @param (str) $name if specified, it can be:
31 * @param (str) $subname if specified, it can be only:
34 * @param (str) $flag flag to indicate what kind of code we want to embed:
90 $str = ltrim($line);
92 strpos($str, $str_cls . $subname . "(") !== 0 and
93 strpos($str, $str_cls . $subname. ":") !== 0) {
97 (strpos($str, $str_cls . $subname . "(") === 0 or
98 strpos($str, $str_cls . $subname. ":") === 0)) {
99 $ind_cls = $length - strlen($str);
101 elseif (strpos($str, $str_def . $name . "(") === 0) {
102 $ind_def = $length - $ind_cls - strlen($str);
119 $str = trim(substr($line, 0, $ind_cls + $ind_def + 1));
120 if ((strlen($str) != 0 and $str[0] != "#")) {
124 elseif (strlen($str) == 0 and count($code_all) != $num + 1) {
127 elseif (strlen($str) == 0 and count($code_all) == $num + 1) {
144 $str = ltrim($line);
145 if (strpos($str, $str_cls . $name . "(") === 0 or
146 strpos($str, $str_cls . $name. ":") === 0) {
158 $str = trim(substr($line, 0, $ind_cls + 1));
159 if ((strlen($str) != 0 and $str[0] != "#")) {
163 elseif (strlen($str) == 0 and count($code_all) != $num + 1) {
166 elseif (strlen($str) == 0 and count($code_all) == $num + 1) {
190 * @param (str) $name it can be:
205 $str = $str_cls;
208 $str = $str_def;
216 if (strpos($trimmed, $str . $name . "(") === 0 or
217 strpos($trimmed, $str . $name. ":") === 0) {
316 * @param (str) $code the code of <file> to embed
317 * @param (str) $lang the language name used in <file>
318 * @return (str) $geshi_code the code cleaned
401 * @return (str) $code_dif a value which indicates if the code is
432 * @param (str) $raw_url the url to the raw code of <file> in the repo
437 * @param (str) $loc_url the url to the raw code of the copy of <file> in
569 * @param (str) $src_url the url to the source code of <file> in the repo
574 * @return (str) $raw_url the url to the raw code of <file> in the repo
622 * @param (str) $src_url the url to the source code of <file> in the repo
627 * @return (str) $name_host the name of the service hosting
628 * @return (str) $name_repo the name of the repository
629 * @return (str) $name_brch the name of the branch
630 * @return (str) $name_file the name of <file>
704 * @param (str) $name_file the name of path/to/<file>
705 * @return (str) $lang the language name used in <file>
797 * @param (str) $name_host the name of the service hosting
798 * @param (str) $name_repo the name of the repository
799 * @param (str) $name_brch the name of the branch
800 * @param (str) $name_file the name of <file>
801 * @return (str) $loc_url the url to the raw code of the copy of <file> in
815 * @param (str) $dir the root from which start to scan recursively,
858 $str = trim(substr($line, 0, $ind));
859 if (strlen($str) != 0 and $str[0] == "#") {
879 * @param (str) $match the text matched
880 * @return (str) $rest the text with multi withespace removed
919 * @param (str) $filename path to the file where to write the data.
972 * @param (str) $src_url the url to the source code of <file> in the repo
977 * @return (str) $src_url if the url is wrong it returns the string "error"