Home
last modified time | relevance | path

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

1...<<1112131415161718192021

/PHP-7.0/main/
H A Dfastcgi.h119 int fcgi_read(fcgi_request *req, char *str, int len);
121 int fcgi_write(fcgi_request *req, fcgi_request_type type, const char *str, int len);
/PHP-7.0/Zend/
H A Dzend_highlight.h47 ZEND_API void zend_html_puts(const char *s, size_t len);
/PHP-7.0/ext/standard/tests/file/
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 Dfwrite_error.phpt34 $len = 0;
35 var_dump( fwrite($file_handle, $data, $len) );
36 $len = -10;
37 var_dump( fwrite($file_handle, $data, $len) );
/PHP-7.0/ext/pdo_sqlite/
H A Dsqlite_statement.c264 static int pdo_sqlite_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, zend_ulong *len, int *c… in pdo_sqlite_stmt_get_col() argument
278 *len = 0; in pdo_sqlite_stmt_get_col()
283 *len = sqlite3_column_bytes(S->stmt, colno); in pdo_sqlite_stmt_get_col()
288 *len = sqlite3_column_bytes(S->stmt, colno); in pdo_sqlite_stmt_get_col()
/PHP-7.0/sapi/apache2handler/
H A Dsapi_apache2.c183 apr_size_t len, tlen=0; in php_apache_sapi_read_post() local
190 len = count_bytes; in php_apache_sapi_read_post()
198 …while (ap_get_brigade(r->input_filters, brigade, AP_MODE_READBYTES, APR_BLOCK_READ, len) == APR_SU… in php_apache_sapi_read_post()
199 apr_brigade_flatten(brigade, buf, &len); in php_apache_sapi_read_post()
201 tlen += len; in php_apache_sapi_read_post()
202 if (tlen == count_bytes || !len) { in php_apache_sapi_read_post()
205 buf += len; in php_apache_sapi_read_post()
206 len = count_bytes - tlen; in php_apache_sapi_read_post()
/PHP-7.0/sapi/phpdbg/
H A Dphpdbg.c886 size_t len; in php_sapi_phpdbg_register_vars() local
894 len = PHPDBG_G(exec_len); in php_sapi_phpdbg_register_vars()
911 len = 0; in php_sapi_phpdbg_register_vars()
912 if (sapi_module.input_filter(PARSE_SERVER, "DOCUMENT_ROOT", &docroot, len, &len)) { in php_sapi_phpdbg_register_vars()
1446 int len = strlen(php_optarg); in main() local
1458 ini_entries_len += len - (val - php_optarg); in main()
1463 memcpy(ini_entries + ini_entries_len, php_optarg, len); in main()
1465 ini_entries_len += len + sizeof("\n\0") - 2; in main()
1469 memcpy(ini_entries + ini_entries_len, php_optarg, len); in main()
1471 ini_entries_len += len + sizeof("=1\n\0") - 2; in main()
[all …]
H A Dphpdbg_list.h46 size_t len; member
/PHP-7.0/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-7.0/ext/mbstring/
H A Dphp_mbregex.c478 size_t len_left = len; in _php_mb_regex_get_option_string()
572 if (len < len_req) { in _php_mb_regex_get_option_string()
1193 int n, i, err, pos, len, beg, end; in _php_mb_regex_ereg_search_exec() local
1218 len = 0; in _php_mb_regex_ereg_search_exec()
1221 len = Z_STRLEN(MBREX(search_str)); in _php_mb_regex_ereg_search_exec()
1239 err = onig_search(MBREX(search_re), str, str + len, str + pos, str + len, MBREX(search_regs), 0); in _php_mb_regex_ereg_search_exec()
1241 MBREX(search_pos) = len; in _php_mb_regex_ereg_search_exec()
1263 if (beg >= 0 && beg <= end && end <= len) { in _php_mb_regex_ereg_search_exec()
1369 int n, i, len, beg, end; in PHP_FUNCTION() local
1376 len = Z_STRLEN(MBREX(search_str)); in PHP_FUNCTION()
[all …]
/PHP-7.0/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-7.0/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-7.0/ext/phar/
H A Dphar.c673 php_uint32 len; local
1041 if (!len) {
1052 buffer += len;
1123 PHAR_GET_32(buffer, len);
1137 buffer += len;
2080 (len >= 2 && !php_check_dots(element, len))
2421 while (len--) {
2579 if (len < 0) {
2591 if (len == -1) {
2594 len = -len;
[all …]
/PHP-7.0/ext/fileinfo/libmagic/
H A Dreadcdf.c142 int len; in cdf_file_property_info() local
182 len = info[i].pi_str.s_len; in cdf_file_property_info()
183 if (len > 1) { in cdf_file_property_info()
190 for (j = 0; j < sizeof(vbuf) && len--; s += k) { in cdf_file_property_info()
344 format_clsid(char *buf, size_t len, const uint64_t uuid[2]) { in format_clsid() argument
345 snprintf(buf, len, "%.8" PRIx64 "-%.4" PRIx64 "-%.4" PRIx64 "-%.4" in format_clsid()
/PHP-7.0/ext/standard/
H A Dincomplete_class.c152 PHPAPI void php_store_class_name(zval *object, const char *name, size_t len) in php_store_class_name() argument
157 ZVAL_STRINGL(&val, name, len); in php_store_class_name()
H A Dphp_incomplete_class.h57 PHPAPI void php_store_class_name(zval *object, const char *name, size_t len);
/PHP-7.0/ext/mbstring/libmbfl/tests/
H A Dsample.c30 string.len = strlen(input); in main()
/PHP-7.0/ext/mysqlnd/
H A Dmysqlnd_result.c74 if (meta->fields[i].max_length < len) { in MYSQLND_METHOD()
75 meta->fields[i].max_length = len; in MYSQLND_METHOD()
130 meta->fields[i].max_length = len; in MYSQLND_METHOD()
749 lengths[i] = len; in MYSQLND_METHOD()
752 if (field->max_length < len) { in MYSQLND_METHOD()
753 field->max_length = len; in MYSQLND_METHOD()
878 lengths[i] = len; in MYSQLND_METHOD()
881 if (field->max_length < len) { in MYSQLND_METHOD()
882 field->max_length = len; in MYSQLND_METHOD()
1097 meta->fields[i].max_length = len; in MYSQLND_METHOD()
[all …]
/PHP-7.0/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-7.0/ext/zip/lib/
H A Dzip_close.c395 copy_data(zip_t *za, zip_uint64_t len) in copy_data() argument
400 while (len > 0) { in copy_data()
401 n = len > sizeof(buf) ? sizeof(buf) : len; in copy_data()
410 len -= n; in copy_data()

Completed in 73 milliseconds

1...<<1112131415161718192021