Home
last modified time | relevance | path

Searched refs:len (Results 326 – 350 of 496) sorted by relevance

1...<<11121314151617181920

/PHP-5.5/ext/standard/tests/strings/
H A Dstrncasecmp_variation8.phpt5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
H A Dstrncmp_variation8.phpt5 /* Prototype : int strncmp ( string $str1, string $str2, int $len );
H A Dstrspn_variation8.phpt2 Test strspn() function : usage variations - with heredoc strings, varying start and len args
5 /* 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)
13 * Testing strspn() : with heredoc string, varying start and len arguments
16 echo "*** Testing strspn() : with different start and len values ***\n";
85 // defining array of different len values
96 // loop through each element of the array for heredoc str, mask str , start values and len values
104 foreach($len_array as $len) {
105 var_dump( strspn($str,$mask,$start,$len) );
115 *** Testing strspn() : with different start and len values ***
H A Dstrncasecmp_variation2.phpt5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
H A Dstrncmp_variation2.phpt5 /* Prototype : int strncmp ( string $str1, string $str2, int $len );
H A Dstrncmp_variation9.phpt5 /* Prototype : int strncmp ( string $str1, string $str2, int $len );
H A Dstrncasecmp_basic.phpt5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
H A Dstrncmp_basic.phpt5 /* Prototype : int strncmp ( string $str1, string $str2, int $len );
H A Dstrcspn_variation8.phpt2 Test strcspn() function : usage variations - with heredoc strings, varying start and len args
5 /* 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)
13 * Testing strcspn() : with heredoc string, varying start and len arguments
16 echo "*** Testing strcspn() : with different start and len values ***\n";
84 // defining array of len values
102 foreach($len_array as $len) {
103 var_dump( strcspn($str,$mask,$start,$len) );
113 *** Testing strcspn() : with different start and len values ***
/PHP-5.5/ext/libxml/
H A Dlibxml.c370 static int php_libxml_streams_IO_read(void *context, char *buffer, int len) in php_libxml_streams_IO_read() argument
373 return php_stream_read((php_stream*)context, buffer, len); in php_libxml_streams_IO_read()
376 static int php_libxml_streams_IO_write(void *context, const char *buffer, int len) in php_libxml_streams_IO_write() argument
379 return php_stream_write((php_stream*)context, buffer, len); in php_libxml_streams_IO_write()
532 int len, len_iter, output = 0; in php_libxml_internal_error_handler() local
536 len = vspprintf(&buf, 0, *msg, ap); in php_libxml_internal_error_handler()
537 len_iter = len; in php_libxml_internal_error_handler()
545 smart_str_appendl(&LIBXML(error_buffer), buf, len); in php_libxml_internal_error_handler()
/PHP-5.5/ext/spl/
H A Dphp_spl.c65 static zend_class_entry * spl_find_ce_by_name(char *name, int len, zend_bool autoload TSRMLS_DC) in spl_find_ce_by_name() argument
74 lc_name = do_alloca(len + 1, use_heap); in spl_find_ce_by_name()
75 zend_str_tolower_copy(lc_name, name, len); in spl_find_ce_by_name()
77 found = zend_hash_find(EG(class_table), lc_name, len +1, (void **) &ce); in spl_find_ce_by_name()
80 found = zend_lookup_class(name, len, &ce TSRMLS_CC); in spl_find_ce_by_name()
751 uint len; in PHP_FUNCTION() local
753 … zend_hash_get_current_key_ex(SPL_G(autoload_functions), &key, &len, &dummy, 0, &function_pos); in PHP_FUNCTION()
754 add_next_index_stringl(return_value, key, len - 1, 1); in PHP_FUNCTION()
H A Dspl_directory.h48 PHPAPI char* spl_filesystem_object_get_path(spl_filesystem_object *intern, int *len TSRMLS_DC);
/PHP-5.5/ext/pcre/pcrelib/sljit/
H A DsljitNativeARM_64.c355 if (len & LOGICAL_IMM_CHECK) { in logical_imm()
356 len &= ~LOGICAL_IMM_CHECK; in logical_imm()
367 if (len <= 0) { in logical_imm()
371 mask = ((sljit_uw)1 << len) - 1; in logical_imm()
374 len >>= 1; in logical_imm()
377 len <<= 1; in logical_imm()
385 if (len < 64) in logical_imm()
386 uimm &= ((sljit_uw)1 << len) - 1; in logical_imm()
400 if (len == 64) in logical_imm()
403 ins = (0x3f - ((len << 1) - 1)) << 10; in logical_imm()
[all …]
/PHP-5.5/ext/pdo_odbc/
H A Dphp_pdo_odbc_int.h160 SQLLEN len; member
/PHP-5.5/ext/standard/
H A Dhttp.c147 if (formstr->len) { in php_url_encode_hash_ex()
240 RETURN_STRINGL(formstr.c, formstr.len, 0); in PHP_FUNCTION()
H A Dstreamsfuncs.c410 long len; in PHP_FUNCTION() local
439 len = php_stream_copy_to_mem(stream, &contents, maxlen, 0); in PHP_FUNCTION()
442 if (len > INT_MAX) { in PHP_FUNCTION()
443 …php_error_docref(NULL TSRMLS_CC, E_WARNING, "content truncated from %ld to %d bytes", len, INT_MAX… in PHP_FUNCTION()
444 len = INT_MAX; in PHP_FUNCTION()
446 RETVAL_STRINGL(contents, len, 0); in PHP_FUNCTION()
460 size_t len; in PHP_FUNCTION() local
475 ret = php_stream_copy_to_stream_ex(src, dest, maxlen, &len); in PHP_FUNCTION()
480 RETURN_LONG(len); in PHP_FUNCTION()
/PHP-5.5/ext/fileinfo/libmagic/
H A Dascmagic.c311 encode_utf8(unsigned char *buf, size_t len, unichar *ubuf, size_t ulen) in encode_utf8() argument
314 unsigned char *end = buf + len; in encode_utf8()
/PHP-5.5/Zend/
H A Dzend_string.c32 ZEND_API const char *(*zend_new_interned_string)(const char *str, int len, int free_src TSRMLS_DC);
36 static const char *zend_new_interned_string_int(const char *str, int len, int free_src TSRMLS_DC);
/PHP-5.5/ext/pdo_mysql/
H A Dmysql_statement.c705 static int pdo_mysql_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, unsigned long *len, int … argument
730 *len = sizeof(zval);
737 *len = 0;
745 *len = S->out_length[colno];
748 *len = S->out_length[colno];
753 *len = S->current_lengths[colno];
/PHP-5.5/ext/phar/tests/
H A Dphar_createdefaultstub.phpt260 $len = unpack('V', substr($m, $start, 4));
262 $savepath = substr($m, $start, $len[1]);
263 $start += $len[1];
554 $len = unpack('V', substr($m, $start, 4));
556 $savepath = substr($m, $start, $len[1]);
557 $start += $len[1];
856 $len = unpack('V', substr($m, $start, 4));
858 $savepath = substr($m, $start, $len[1]);
859 $start += $len[1];
H A Dphar_setdefaultstub.phpt280 $len = unpack('V', substr($m, $start, 4));
282 $savepath = substr($m, $start, $len[1]);
283 $start += $len[1];
575 $len = unpack('V', substr($m, $start, 4));
577 $savepath = substr($m, $start, $len[1]);
578 $start += $len[1];
870 $len = unpack('V', substr($m, $start, 4));
872 $savepath = substr($m, $start, $len[1]);
873 $start += $len[1];
/PHP-5.5/ext/ftp/
H A Dftp.c89 static int my_send(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t len);
90 static int my_recv(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t len);
1228 my_send(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t len) in my_send() argument
1233 size = len; in my_send()
1266 return len; in my_send()
1273 my_recv(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t len) in my_recv() argument
1289 nr_bytes = SSL_read(ftp->ssl_handle, buf, len); in my_recv()
1291 nr_bytes = SSL_read(ftp->data->ssl_handle, buf, len); in my_recv()
1294 nr_bytes = recv(s, buf, len, 0); in my_recv()
/PHP-5.5/ext/pdo_mysql/tests/
H A Dbug_33689.phpt62 [len] => 11
/PHP-5.5/ext/xml/
H A Dphp_xml.h138 PHPAPI char *xml_utf8_encode(const char *s, int len, int *newlen, const XML_Char *encoding);
/PHP-5.5/main/
H A Dphp_output.h210 PHPAPI int php_output_write_unbuffered(const char *str, size_t len TSRMLS_DC);
211 PHPAPI int php_output_write(const char *str, size_t len TSRMLS_DC);

Completed in 140 milliseconds

1...<<11121314151617181920