Searched refs:line (Results 1 - 25 of 108) sorted by relevance

12345

/PHP_TRUNK/ext/pdo/tests/
H A Dpdo_test.inc7 foreach(file(dirname($_SERVER['PHP_SELF']).'/common.phpt') as $line) {
9 $common .= $line;
10 } elseif (trim($line) == '--REDIRECTTEST--') {
/PHP_TRUNK/ext/pdo_mysql/
H A Dget_error_codes.php6 $line = fgets(STDIN); variable
8 if (ereg('^\{[[:space:]]+(ER_.*)[[:space:]]+,[[:space:]]*"(.*)",[[:space:]]*"(.*)"', $line, $matches)) {
/PHP_TRUNK/ext/skeleton/
H A Dcreate_stubs5 sub(/^ /, "", line)
6 match(line, "^" "(" s ")")
7 x = substr(line, 1, RLENGTH)
8 line = substr(line, RLENGTH+1)
105 line = $0
157 sub(/^[ \t]+/, "", line)
158 fcomments[num_funcs] = line
/PHP_TRUNK/ext/spl/internal/
H A Dsplfileobject.inc25 private $line = NULL;
60 /** increase current line number
61 * @return next line from stream
153 * @note a new line character does not increase $this->lnum
172 /** Get a line from the file and strip HTML tags
180 /** Scan the next line
192 * @param $length maximum line length to write
232 * @param $max_len set the maximum line length read
240 * @return current setting for max line
264 * Invalidate current line buffe
[all...]
/PHP_TRUNK/ext/standard/tests/http/
H A Dserver.inc56 $line = stream_get_line($sock, 8192, "\r\n");
57 if ($line === b'') {
60 } else if ($line !== false) {
61 fwrite($output, b"$line\r\n");
63 if (preg_match(b'#^Content-Length\s*:\s*([[:digit:]]+)\s*$#i', $line, $matches)) {
/PHP_TRUNK/ext/sybase_ct/tests/
H A Dtest.inc13 // {{{ bool sybase_msg_handler(int msgnumber, int severity, int state, int line, string text)
15 function sybase_msg_handler($msgnumber, $severity, $state, $line, $text) {
17 "*** Caught Sybase Server Message #%d [Severity %d, state %d] at line %d\n '%s'\n",
21 $line,
30 // {{{ public static bool static_handler(int msgnumber, int severity, int state, int line, string text)
32 static function static_handler($msgnumber, $severity, $state, $line, $text) {
33 return sybase_msg_handler($msgnumber, $severity, $state, $line, $text);
37 // {{{ public bool static_handler(int msgnumber, int severity, int state, int line, string text)
39 function handler($msgnumber, $severity, $state, $line, $text) {
40 return sybase_msg_handler($msgnumber, $severity, $state, $line,
[all...]
/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dbase64.h32 void *_malloc_real(size_t s, char *file, int line);
33 void _free_real(void *p, char *file, int line);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dzlog.c101 void zlog_ex(const char *function, int line, int flags, const char *fmt, ...) /* {{{ */ argument
133 len += snprintf(buf, buf_size, "[%s] %s(), line %d: ", level_names[flags & ZLOG_LEVEL_MASK], function, line);
146 len += snprintf(buf + len, buf_size - len, "%s: pid %d, %s(), line %d: ", level_names[flags & ZLOG_LEVEL_MASK], getpid(), function, line);
148 len += snprintf(buf + len, buf_size - len, "%s: %s(), line %d: ", level_names[flags & ZLOG_LEVEL_MASK], function, line);
H A Dzlog.h20 void zlog_ex(const char *function, int line, int flags, const char *fmt, ...)
/PHP_TRUNK/sapi/fpm/tests/
H A Dinclude.inc62 $line = fgets($tail);
63 if(preg_match($needle, $line) === 1) {
68 $line = false;
75 return $line;
/PHP_TRUNK/ext/openssl/tests/
H A DServerClientTestCase.inc77 $line = fgets(STDIN);
79 if (trim($line) === "---") {
83 $code .= $line;
/PHP_TRUNK/ext/phar/
H A Dphar_path_check.c2 #line 1 "ext/phar/phar_path_check.re"
46 #line 47 "ext/phar/phar_path_check.c"
110 #line 88 "ext/phar/phar_path_check.re"
114 #line 115 "ext/phar/phar_path_check.c"
117 #line 72 "ext/phar/phar_path_check.re"
122 #line 123 "ext/phar/phar_path_check.c"
125 #line 76 "ext/phar/phar_path_check.re"
130 #line 131 "ext/phar/phar_path_check.c"
133 #line 80 "ext/phar/phar_path_check.re"
142 #line 14
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_parser.h44 #line 31 "/var/root/php-src/sapi/phpdbg/phpdbg_parser.y"
54 #line 55 "sapi/phpdbg/phpdbg_parser.h"
H A Dphpdbg_lexer.c2 #line 1 "/var/root/php-src/sapi/phpdbg/phpdbg_lexer.l"
47 #line 48 "/var/root/php-src/sapi/phpdbg/phpdbg_lexer.c"
146 #line 161 "/var/root/php-src/sapi/phpdbg/phpdbg_lexer.l"
153 #line 154 "/var/root/php-src/sapi/phpdbg/phpdbg_lexer.c"
167 #line 68 "/var/root/php-src/sapi/phpdbg/phpdbg_lexer.l"
171 #line 172 "/var/root/php-src/sapi/phpdbg/phpdbg_lexer.c"
238 #line 155 "/var/root/php-src/sapi/phpdbg/phpdbg_lexer.l"
244 #line 245 "/var/root/php-src/sapi/phpdbg/phpdbg_lexer.c"
271 #line 150 "/var/root/php-src/sapi/phpdbg/phpdbg_lexer.l"
277 #line 27
[all...]
H A Dphpdbg_list.c64 phpdbg_list_file(param->file.name, param->file.line, 0, 0 TSRMLS_CC);
132 long line = 0; local
156 ++line;
158 if (offset <= line) {
160 phpdbg_write("%05ld: %s", line, buffer);
162 if (highlight != line) {
163 phpdbg_write(" %05ld: %s", line, buffer);
165 phpdbg_write(">%05ld: %s", line, buffer);
174 if (count > 0 && count + offset - 1 < line) {
/PHP_TRUNK/sapi/phpdbg/tests/
H A Drun-tests.php136 * @param array command line
242 printf("\t--width\t\tset line width%s", PHP_EOL);
299 * Expect exact line for line match
362 while (($line = fgets($handle))) {
363 $trim = trim($line);
399 $line = preg_replace( variable
402 $line = trim($line); variable
408 self::$format['replace'], preg_quote($line));
478 $line = trim($line); variable
[all...]
/PHP_TRUNK/Zend/
H A Dzend_ini_scanner_defs.h2 #line 3 "Zend/zend_ini_scanner_defs.h"
H A Dzend_language_scanner_defs.h2 #line 3 "Zend/zend_language_scanner_defs.h"
/PHP_TRUNK/ext/pdo_sqlite/
H A Dphp_pdo_sqlite_int.h28 int line; member in struct:__anon185
73 extern int _pdo_sqlite_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line TSRMLS_DC);
/PHP_TRUNK/ext/standard/
H A Dvar_unserializer.c2 #line 1 "ext/standard/var_unserializer.re"
236 #line 241 "ext/standard/var_unserializer.re"
484 #line 485 "ext/standard/var_unserializer.c"
544 #line 826 "ext/standard/var_unserializer.re"
546 #line 547 "ext/standard/var_unserializer.c"
589 #line 820 "ext/standard/var_unserializer.re"
595 #line 596 "ext/standard/var_unserializer.c"
625 #line 681 "ext/standard/var_unserializer.re"
764 #line 765 "ext/standard/var_unserializer.c"
789 #line 67
[all...]
H A Durl_scanner_ex.c2 #line 1 "ext/standard/url_scanner_ex.re"
103 #line 107 "ext/standard/url_scanner_ex.re"
122 #line 123 "ext/standard/url_scanner_ex.c"
168 #line 125 "ext/standard/url_scanner_ex.re"
170 #line 171 "ext/standard/url_scanner_ex.c"
173 #line 126 "ext/standard/url_scanner_ex.re"
175 #line 176 "ext/standard/url_scanner_ex.c"
178 #line 127 "ext/standard/url_scanner_ex.re"
180 #line 181 "ext/standard/url_scanner_ex.c"
188 #line 12
[all...]
/PHP_TRUNK/main/
H A Drfc1867.c49 static char *php_ap_getword(const zend_encoding *encoding, char **line, char stop TSRMLS_DC);
321 * Gets the next CRLF terminated line from the input buffer.
323 * NULL; otherwise, returns the beginning of the null-terminated line,
334 char* line = self->buf_begin; local
340 if ((ptr - line) > 0 && *(ptr-1) == '\r') {
348 self->bytes_in_buffer -= (self->buf_begin - line);
356 /* return entire buffer as a partial line */
357 line[self->bufsize] = 0;
362 return line;
365 /* Returns the next CRLF terminated line fro
392 char *line; local
410 char *line; local
486 php_ap_getword(const zend_encoding *encoding, char **line, char stop TSRMLS_DC) argument
[all...]
/PHP_TRUNK/sapi/cli/
H A Dgenerate_mime_type_map.php17 array_walk($types, function ($line) use (&$extensions) {
18 $line = trim($line); variable
19 if ($line && $line[0] != '#') {
20 $fields = preg_split('/\s+/', $line);
/PHP_TRUNK/sapi/isapi/stresstest/
H A Dstresstest.cpp97 void stripcrlf(char *line) argument
99 DWORD l = strlen(line)-1;
100 if (line[l]==10 || line[l]==13) line[l]=0;
101 l = strlen(line)-1;
102 if (line[l]==10 || line[l]==13) line[l]=0;
196 char line[204 local
218 char line[2048]; local
301 char line[1024]; local
[all...]
/PHP_TRUNK/ext/readline/
H A Dreadline_cli.c590 char *line; local
616 while ((line = readline(prompt->val)) != NULL) {
617 if (strcmp(line, "exit") == 0 || strcmp(line, "quit") == 0) {
618 free(line);
622 if (!pos && !*line) {
623 free(line);
627 len = strlen(line);
629 if (line[0] == '#') {
630 char *param = strstr(&line[
[all...]

Completed in 65 milliseconds

12345