Home
last modified time | relevance | path

Searched refs:len (Results 251 – 275 of 535) sorted by relevance

1...<<11121314151617181920>>...22

/PHP-5.6/ext/standard/tests/file/
H A Dfwrite_error.phpt34 $len = 0;
35 var_dump( fwrite($file_handle, $data, $len) );
36 $len = -10;
37 var_dump( fwrite($file_handle, $data, $len) );
H A Dfread_error.phpt27 $len = 0;
28 var_dump( fread($file_handle, $len) );
29 $len = -10;
30 var_dump( fread($file_handle, $len) );
H A Dfgetcsv_error.phpt18 $len = 1024;
22 var_dump( fgetcsv($fp, $len, $delim, $enclosure, $escape, $fp) );
39 …var_dump( fgetcsv($invalid_args[$loop_counter - 1], $len, $delim, $enclosure, $escape) ); // all a…
/PHP-5.6/ext/pdo_sqlite/
H A Dsqlite_statement.c249 static int pdo_sqlite_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, unsigned long *len, int… in pdo_sqlite_stmt_get_col() argument
263 *len = 0; in pdo_sqlite_stmt_get_col()
268 *len = sqlite3_column_bytes(S->stmt, colno); in pdo_sqlite_stmt_get_col()
273 *len = sqlite3_column_bytes(S->stmt, colno); in pdo_sqlite_stmt_get_col()
/PHP-5.6/sapi/apache2handler/
H A Dsapi_apache2.c186 apr_size_t len, tlen=0; in php_apache_sapi_read_post() local
193 len = count_bytes; in php_apache_sapi_read_post()
201 …while (ap_get_brigade(r->input_filters, brigade, AP_MODE_READBYTES, APR_BLOCK_READ, len) == APR_SU… in php_apache_sapi_read_post()
202 apr_brigade_flatten(brigade, buf, &len); in php_apache_sapi_read_post()
204 tlen += len; in php_apache_sapi_read_post()
205 if (tlen == count_bytes || !len) { in php_apache_sapi_read_post()
208 buf += len; in php_apache_sapi_read_post()
209 len = count_bytes - tlen; in php_apache_sapi_read_post()
/PHP-5.6/ext/pgsql/
H A Dpgsql.c890 if (len) {
891 *len = i;
1058 if (len <= 2) { in _php_pgsql_detect_identifier_escape()
1755 int len; local
2376 str.len = 0;
3470 long len; local
3482 buf_len = len;
3504 int len; local
3521 len = z_len;
4827 int len; local
[all …]
/PHP-5.6/ext/standard/
H A Dmd5.h26 PHPAPI void make_digest_ex(char *md5str, const unsigned char *digest, int len);
/PHP-5.6/ext/mbstring/ucgendat/
H A Ducgendat.c71 int len; member
227 int i, j, k, len; in add_range() local
234 len = 2; in add_range()
240 len = 1; in add_range()
244 if (props[i].len == len && memcmp(props[i].name, name, len) == 0) in add_range()
323 ordered_range_insert(ac_uint4 c, char *name, int len) in ordered_range_insert() argument
329 if (len == 0) in ordered_range_insert()
335 if ((len == 2 && memcmp(name, "BN", 2) == 0) || in ordered_range_insert()
336 (len == 3 && in ordered_range_insert()
344 len = 2; in ordered_range_insert()
[all …]
/PHP-5.6/ext/zip/lib/
H A Dzip_close.c455 copy_data(FILE *fs, zip_uint64_t len, FILE *ft, struct zip_error *error) in copy_data() argument
460 if (len == 0) in copy_data()
463 while (len > 0) { in copy_data()
464 nn = len > sizeof(buf) ? sizeof(buf) : len > SIZE_MAX ? SIZE_MAX : (size_t)len; in copy_data()
481 len -= n; in copy_data()
/PHP-5.6/main/
H A Dmain.c702 int len; in php_log_err() local
789 size_t len; in php_verror() local
792 if (!replace || len < 1) { in php_verror()
800 buffer_len = len; in php_verror()
858 size_t len; in php_verror() local
1170 size_t len; in php_error_cb() local
1307 DWORD len = sizeof(name)-1; in php_get_current_user() local
1312 name[len] = '\0'; in php_get_current_user()
1416 size_t len, mapped_len; in php_stream_open_for_zend_ex() local
1433 if (len != 0 in php_stream_open_for_zend_ex()
[all …]
/PHP-5.6/ext/mysqli/tests/
H A Dmysqli_fetch_array_many_rows.phpt58 $len = strlen($row[1]);
59 if (!is_string($row[1]) || $len == 0 || $len > 1) {
/PHP-5.6/ext/date/lib/
H A Dtimelib.h87 timelib_time *timelib_strtotime(char *s, size_t len, timelib_error_container **errors, const timeli…
88 timelib_time *timelib_parse_from_format(char *format, char *s, size_t len, timelib_error_container …
95 void timelib_strtointerval(char *s, size_t len,
/PHP-5.6/Zend/
H A Dzend_highlight.h47 ZEND_API void zend_html_puts(const char *s, uint len TSRMLS_DC);
/PHP-5.6/sapi/webjames/
H A Dwebjames.c68 int len = sapi_header->header_len; in sapi_webjames_send_header() local
70 while (sapi_header && len > 0) { in sapi_webjames_send_header()
72 bytes = webjames_writebuffer(WG(conn), header, len); in sapi_webjames_send_header()
81 len -= bytes; in sapi_webjames_send_header()
/PHP-5.6/ext/standard/tests/strings/
H A Dstrcspn_variation1.phpt5 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]])
7 … If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars)
23 $len = 10;
96 var_dump( strcspn($value,$mask,$start) ); // with default len value
97 var_dump( strcspn($value,$mask,$start,$len) ); // with all args
H A Dstrcspn_variation2.phpt5 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]])
7 If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars)
22 $len = 10;
95 var_dump( strcspn($str,$value,$start) ); // with default len value
96 var_dump( strcspn($str,$value,$start,$len) ); // with all args
H A Dstrcspn_variation3.phpt5 /* Prototype : proto int strcspn(string str, string mask [,int start [,int len]])
7 … If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars)
23 $len = 10;
92 var_dump( strcspn($str,$mask,$value) ); // with default len value
93 var_dump( strcspn($str,$mask,$value,$len) ); // with all args
H A Dstrspn_variation1.phpt5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]])
7 … If start or/and length is provided works like strspn(substr($s,$start,$len),$good_chars)
23 $len = 10;
96 var_dump( strspn($value,$mask,$start) ); // with default len value
97 var_dump( strspn($value,$mask,$start,$len) ); // with all args
H A Dstrspn_variation2.phpt5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]])
7 If start or/and length is provided works like strspn(substr($s,$start,$len),$good_chars)
22 $len = 10;
95 var_dump( strspn($str,$value,$start) ); // with default len value
96 var_dump( strspn($str,$value,$start,$len) ); // with all args
H A Dstrspn_variation3.phpt5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]])
7 … If start or/and length is provided works like strspn(substr($s,$start,$len),$good_chars)
23 $len = 10;
92 var_dump( strspn($str,$mask,$value) ); // with default len value
93 var_dump( strspn($str,$mask,$value,$len) ); // with all args
/PHP-5.6/sapi/fpm/fpm/
H A Dfpm_sockets.c427 socklen_t len = sizeof(info); in fpm_socket_get_listening_queue() local
429 if (0 > getsockopt(sock, IPPROTO_TCP, TCP_INFO, &info, &len)) { in fpm_socket_get_listening_queue()
470 socklen_t len = sizeof(val); in fpm_socket_get_listening_queue() local
473 if (0 > getsockopt(sock, SOL_SOCKET, SO_LISTENQLEN, &val, &len)) { in fpm_socket_get_listening_queue()
481 if (0 > getsockopt(sock, SOL_SOCKET, SO_LISTENQLIMIT, &val, &len)) { in fpm_socket_get_listening_queue()
/PHP-5.6/ext/mbstring/libmbfl/tests/
H A Dsample.c30 string.len = strlen(input); in main()
/PHP-5.6/ext/pcre/pcrelib/
H A Dpcre_internal.h745 #define GETUTF8LEN(c, eptr, len) \ argument
750 len++; \
755 len += 2; \
761 len += 3; \
768 len += 4; \
775 len += 5; \
782 #define GETCHARLEN(c, eptr, len) \ argument
790 #define GETCHARLENTEST(c, eptr, len) \ argument
870 #define GETUTF16LEN(c, eptr, len) \ argument
877 #define GETCHARLEN(c, eptr, len) \ argument
[all …]
/PHP-5.6/ext/sockets/
H A Dsockets.c184 ZEND_ARG_INFO(0, len)
191 ZEND_ARG_INFO(0, len)
198 ZEND_ARG_INFO(0, len)
207 ZEND_ARG_INFO(0, len)
1567 long len, flags; local
1576 if ((len + 1) < 2) {
1580 recv_buf = emalloc(len + 1);
1581 memset(recv_buf, 0, len + 1);
1615 long len, flags; local
1624 retval = send(php_sock->bsd_socket, buf, (buf_len < len ? buf_len : len), flags);
[all …]
/PHP-5.6/sapi/phpdbg/
H A Dphpdbg_prompt.c84 &PHPDBG_G(registered), name->str, name->len+1)) { in phpdbg_call_register()
89 ZVAL_STRINGL(&fname, name->str, name->len, 1); in phpdbg_call_register()
117 next->len, 1); in phpdbg_call_register()
617 if (param && param->type != EMPTY_PARAM && param->len != 0) { in PHPDBG_COMMAND()
689 if (zend_eval_stringl(param->str, param->len, in PHPDBG_COMMAND()
821 phpdbg_set_breakpoint_expression(param->str, param->len TSRMLS_CC); in PHPDBG_COMMAND()
824 phpdbg_set_breakpoint_symbol(param->str, param->len TSRMLS_CC); in PHPDBG_COMMAND()
827 phpdbg_set_breakpoint_opcode(param->str, param->len TSRMLS_CC); in PHPDBG_COMMAND()
855 phpdbg_try_file_init(param->str, param->len, 0 TSRMLS_CC); in PHPDBG_COMMAND()
882 char *lcname = zend_str_tolower_dup(param->str, param->len); in PHPDBG_COMMAND()
[all …]

Completed in 169 milliseconds

1...<<11121314151617181920>>...22