Home
last modified time | relevance | path

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

1...<<11121314151617181920

/PHP-5.5/ext/standard/tests/strings/
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.5/sapi/fpm/fpm/
H A Dfpm_sockets.c429 socklen_t len = sizeof(info); in fpm_socket_get_listening_queue() local
431 if (0 > getsockopt(sock, IPPROTO_TCP, TCP_INFO, &info, &len)) { in fpm_socket_get_listening_queue()
472 socklen_t len = sizeof(val); in fpm_socket_get_listening_queue() local
475 if (0 > getsockopt(sock, SOL_SOCKET, SO_LISTENQLEN, &val, &len)) { in fpm_socket_get_listening_queue()
483 if (0 > getsockopt(sock, SOL_SOCKET, SO_LISTENQLIMIT, &val, &len)) { in fpm_socket_get_listening_queue()
/PHP-5.5/ext/iconv/
H A Diconv.c356 int len; in php_iconv_output_handler() local
399 out_p = (d)->c + (d)->len; in _php_iconv_appendl()
425 (d)->len += (buf_growth - out_left); in _php_iconv_appendl()
436 out_p = (d)->c + (d)->len; in _php_iconv_appendl()
778 if (len < 0) { in _php_iconv_substr()
790 if(len > total_len) { in _php_iconv_substr()
791 len = total_len; in _php_iconv_substr()
799 if ((offset + len) > total_len ) { in _php_iconv_substr()
801 len = total_len - offset; in _php_iconv_substr()
804 if (len == 0) { in _php_iconv_substr()
[all …]
/PHP-5.5/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.5/ext/mysqlnd/
H A Dmysqlnd_result.c673 unsigned int len; in mysqlnd_fetch_row_unbuffered_c() local
678 len = Z_STRLEN_P(data); in mysqlnd_fetch_row_unbuffered_c()
681 len = 0; in mysqlnd_fetch_row_unbuffered_c()
685 lengths[i] = len; in mysqlnd_fetch_row_unbuffered_c()
688 if (field->max_length < len) { in mysqlnd_fetch_row_unbuffered_c()
689 field->max_length = len; in mysqlnd_fetch_row_unbuffered_c()
788 lengths[i] = len; in mysqlnd_fetch_row_unbuffered()
816 if (field->max_length < len) { in mysqlnd_fetch_row_unbuffered()
817 field->max_length = len; in mysqlnd_fetch_row_unbuffered()
951 field->max_length = len; in mysqlnd_fetch_row_buffered_c()
[all …]
H A Dmysqlnd_alloc.c600 …ret = (persistent) ? __zend_malloc(tmp_str.len + sizeof(size_t)) : _emalloc(REAL_SIZE(tmp_str.len in _mysqlnd_pestrdup()
601 memcpy(FAKE_PTR(ret), tmp_str.c, tmp_str.len); in _mysqlnd_pestrdup()
604 *(size_t *) ret = tmp_str.len; in _mysqlnd_pestrdup()
617 int len; in _mysqlnd_sprintf() local
620 len = vspprintf(pbuf, max_len, format, ap); in _mysqlnd_sprintf()
622 return len; in _mysqlnd_sprintf()
/PHP-5.5/ext/mbstring/libmbfl/tests/
H A Dsample.c30 string.len = strlen(input); in main()
/PHP-5.5/ext/opcache/
H A Dzend_persist.c37 # define zend_accel_memdup_interned_string(str, len) \ argument
38 IS_INTERNED(str) ? str : zend_accel_memdup(str, len)
40 # define zend_accel_store_interned_string(str, len) do { \ argument
41 if (!IS_INTERNED(str)) { zend_accel_store(str, len); } \
44 # define zend_accel_memdup_interned_string(str, len) \ argument
45 zend_accel_memdup(str, len)
47 # define zend_accel_store_interned_string(str, len) \ argument
48 zend_accel_store(str, len)
150 zend_accel_store_interned_string(z->value.str.val, z->value.str.len + 1);
H A Dzend_accelerator_util_funcs.c958 int len, clen; local
963 if (!zend_hash_exists(EG(zend_constants), name, len + 1)) {
1037 unsigned int zend_adler32(unsigned int checksum, signed char *buf, uint len) argument
1043 while (len >= ADLER32_NMAX) {
1044 len -= ADLER32_NMAX;
1054 if (len) {
1055 if (len >= 16) {
1056 end = buf + (len & 0xfff0);
1057 len &= 0xf;
1063 if (len) {
[all …]
/PHP-5.5/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.5/Zend/
H A Dzend_string.h27 ZEND_API extern const char *(*zend_new_interned_string)(const char *str, int len, int free_src TSRM…
/PHP-5.5/ext/phar/
H A Dshortarc.php226 $len = unpack('V', substr($m, $start, 4));
229 $savepath = substr($m, $start, $len[1]);
230 $start += $len[1];
/PHP-5.5/ext/standard/tests/file/
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.5/scripts/dev/
H A Dcheck_parameters.php216 $len = strlen($m[1][0]);
218 for ($i = 0; $i < $len; ++$i) {
226 if ($i == $len-1) {
/PHP-5.5/ext/pcre/pcrelib/sljit/
H A DsljitConfigInternal.h214 #define SLJIT_MEMMOVE(dest, src, len) memmove(dest, src, len) argument
218 #define SLJIT_ZEROMEM(dest, len) memset(dest, 0, len) argument
/PHP-5.5/ext/mbstring/
H A Dmb_gpc.c278 string.len = len_list[n]; in _php_mb_encoding_handler_ex()
315 string.len = len_list[n]; in _php_mb_encoding_handler_ex()
323 string.len = len_list[n]; in _php_mb_encoding_handler_ex()
326 val_len = resval.len; in _php_mb_encoding_handler_ex()
/PHP-5.5/tests/strings/
H A D001.phpt185 $len = 29;
187 if (strlen($ui1) == strlen($ui2) && strlen($ui1) == $len && $ui1 != $ui2) {
199 $len = strncasecmp(PHP_OS, 'CYGWIN', 6) ? 19 : 29;
201 if (strlen($ui1) == strlen($ui2) && strlen($ui1) == $len && $ui1 != $ui2) {
/PHP-5.5/win32/
H A Dglob.c722 u_int newsize, len; local
747 len = (size_t)(p - path);
748 *limitp += len;
749 if ((copy = malloc(len)) != NULL) {
750 if (g_Ctoc(path, copy, len)) {
901 g_Ctoc(str, buf, len) in g_Ctoc() argument
904 u_int len;
907 while (len--) {
/PHP-5.5/ext/date/lib/
H A Dparse_iso_intervals.re90 unsigned int line, len;
135 int len = 0;
144 while ((**ptr >= '0') && (**ptr <= '9') && len < max_length) {
146 ++len;
248 s->len = 0;
401 void timelib_strtointerval(char *s, int len,
408 char *e = s + len - 1;
417 if (len > 0) {
/PHP-5.5/ext/pdo_dblib/tests/
H A Dbug_45876.phpt31 ["len"]=>
/PHP-5.5/ext/standard/
H A Dphp_incomplete_class.h62 PHPAPI void php_store_class_name(zval *object, const char *name, zend_uint len);

Completed in 107 milliseconds

1...<<11121314151617181920