Home
last modified time | relevance | path

Searched refs:len (Results 151 – 175 of 461) sorted by relevance

12345678910>>...19

/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_webdata_transfer.h23 PHPDBG_API void phpdbg_webdata_compress(char **msg, size_t *len);
H A Dphpdbg_webdata_transfer.c20 static int phpdbg_is_auto_global(char *name, int len) { in phpdbg_is_auto_global() argument
22 zend_string *str = zend_string_init(name, len, 0); in phpdbg_is_auto_global()
28 PHPDBG_API void phpdbg_webdata_compress(char **msg, size_t *len) { in phpdbg_webdata_compress() argument
169 *len = ZSTR_LEN(buf.s); in phpdbg_webdata_compress()
H A Dphpdbg_eol.c94 void phpdbg_eol_convert(char **str, int *len) in phpdbg_eol_convert() argument
97 int in_len = *len, cursor, i; in phpdbg_eol_convert()
171 *len = cursor; in phpdbg_eol_convert()
H A Dphpdbg_eol.h41 void phpdbg_eol_convert(char **str, int *len);
H A Dphpdbg_lexer.l18 #define yyleng LEX(len)
37 LEX(len) = strlen(input); in ZEND_EXTERN_MODULE_GLOBALS()
H A Dphpdbg_lexer.h25 unsigned int len; member
/PHP-8.0/ext/ffi/tests/
H A D200.phpt27 $zend->zend_write = function($str, $len) {
30 $ret = $orig_zend_write($str, $len);
/PHP-8.0/Zend/
H A Dzend_smart_string_public.h25 size_t len; member
H A Dzend_highlight.c56 ZEND_API void zend_html_puts(const char *s, size_t len) in zend_html_puts() argument
58 const unsigned char *ptr = (const unsigned char*)s, *end = ptr + len; in zend_html_puts()
63 LANG_SCNG(output_filter)(&filtered, &filtered_len, ptr, len); in zend_html_puts()
/PHP-8.0/ext/hash/
H A Dhash_md.c80 static void Encode(unsigned char *output, uint32_t *input, unsigned int len) in Encode() argument
84 for (i = 0, j = 0; j < len; i++, j += 4) { in Encode()
97 static void Decode(uint32_t *output, const unsigned char *input, unsigned int len) in Decode() argument
101 for (i = 0, j = 0; j < len; i++, j += 4) in Decode()
318 PHP_HASH_API void PHP_MD2Update(PHP_MD2_CTX *context, const unsigned char *buf, size_t len) in PHP_MD2Update() argument
320 const unsigned char *p = buf, *e = buf + len; in PHP_MD2Update()
323 if (context->in_buffer + len < 16) { in PHP_MD2Update()
325 memcpy(context->buffer + context->in_buffer, p, len); in PHP_MD2Update()
326 context->in_buffer += (char) len; in PHP_MD2Update()
H A Dhash_tiger.c194 PHP_HASH_API void PHP_TIGERUpdate(PHP_TIGER_CTX *context, const unsigned char *input, size_t len) in PHP_TIGERUpdate() argument
196 if (context->length + len < 64) { in PHP_TIGERUpdate()
197 memcpy(&context->buffer[context->length], input, len); in PHP_TIGERUpdate()
198 context->length += len; in PHP_TIGERUpdate()
200 size_t i = 0, r = (context->length + len) % 64; in PHP_TIGERUpdate()
210 for (; i + 64 <= len; i += 64) { in PHP_TIGERUpdate()
/PHP-8.0/ext/fileinfo/libmagic/
H A Dascmagic.c112 size_t mlen, i, len; in file_ascmagic_with_encoding() local
213 len = file_printedlen(ms); in file_ascmagic_with_encoding()
216 if (len) { in file_ascmagic_with_encoding()
233 if (len) { in file_ascmagic_with_encoding()
338 encode_utf8(unsigned char *buf, size_t len, unicodechar *ubuf, size_t ulen) in encode_utf8() argument
341 unsigned char *end = buf + len; in encode_utf8()
/PHP-8.0/main/streams/
H A Dstreams.c818 size_t len; in _php_stream_puts() local
1475 len += ret; in _php_stream_copy_to_mem()
1478 if (len) { in _php_stream_copy_to_mem()
1510 len += ret; in _php_stream_copy_to_mem()
1519 if (len) { in _php_stream_copy_to_mem()
1538 if (!len) { in _php_stream_copy_to_stream_ex()
1539 len = &dummy; in _php_stream_copy_to_stream_ex()
1543 *len = 0; in _php_stream_copy_to_stream_ex()
1632 *len = haveread; in _php_stream_copy_to_stream_ex()
1642 size_t len; in _php_stream_copy_to_stream() local
[all …]
/PHP-8.0/ext/intl/locale/
H A Dlocale_methods.c176 size_t len = 0; in getSingletonPos() local
178 if( str && ((len=strlen(str))>0) ){ in getSingletonPos()
180 for( i=0; (size_t)i < len ; i++){ in getSingletonPos()
367 tag_value->len = strlen(tag_value->val); in get_icu_value_internal()
937 size_t len = 0; in get_private_subtags() local
946 if( singletonPos + 2 == len){ in get_private_subtags()
962 len = strlen(mod_loc_name); in get_private_subtags()
1497 int len; in PHP_FUNCTION() local
1509 size_t len; in PHP_FUNCTION() local
1513 if(len > ULOC_FULLNAME_CAPACITY) { in PHP_FUNCTION()
[all …]
/PHP-8.0/ext/opcache/
H A Dzend_file_cache.c242 size_t len; local
255 size_t new_len = info->str_size + len;
262 info->str_size += len;
910 size_t len; local
917 filename[len] = '/';
927 filename[len] = '\\';
929 len += 1 + 32;
930 filename[len] = '\\';
936 *(filename + len + 33) = '\\';
939 *(filename + len + 38) = '\\';
[all …]
/PHP-8.0/ext/phar/
H A Dtar.c68 int s = len; in phar_tar_octal()
80 while (len-- > 0) in phar_tar_octal()
90 char *end = buf + len; in phar_tar_checksum()
1026 if (len < 0) { in phar_tar_flush()
1034 if (len == -1) { in phar_tar_flush()
1037 len = -len; in phar_tar_flush()
1046 len = ZSTR_LEN(str); in phar_tar_flush()
1051 len = 0; in phar_tar_flush()
1055 if (!len || !user_stub) { in phar_tar_flush()
1080 len = pos - user_stub + 18; in phar_tar_flush()
[all …]
/PHP-8.0/sapi/fpm/fpm/
H A Dfpm_main.c321 int len; in sapi_cgi_send_headers() local
331 if (len > SAPI_CGI_MAX_HEADER_LENGTH) { in sapi_cgi_send_headers()
332 len = SAPI_CGI_MAX_HEADER_LENGTH; in sapi_cgi_send_headers()
343 len = slprintf(buf, sizeof(buf), "Status:%s", s); in sapi_cgi_send_headers()
375 PHPWRITE_H(buf, len); in sapi_cgi_send_headers()
1102 int len = script_path_translated_len; in init_request_info() local
1125 int slen = len - ptlen; in init_request_info()
1585 int len = strlen(php_optarg); in main() local
1597 ini_entries_len += len - (val - php_optarg); in main()
1604 ini_entries_len += len + sizeof("\n\0") - 2; in main()
[all …]
H A Dfpm_php.c147 int len;
149 len = sprintf(max_workers, "%u", (unsigned int) wp->config->pm_max_children);
151 fcgi_set_mgmt_var("FCGI_MAX_CONNS", sizeof("FCGI_MAX_CONNS")-1, max_workers, len);
152 fcgi_set_mgmt_var("FCGI_MAX_REQS", sizeof("FCGI_MAX_REQS")-1, max_workers, len);
/PHP-8.0/ext/gd/libgd/
H A Dgdtest.c16 static int freadWrapper (void *context, char *buf, int len);
17 static int fwriteWrapper (void *context, const char *buffer, int len);
399 freadWrapper (void *context, char *buf, int len) in freadWrapper() argument
401 int got = fread (buf, 1, len, (FILE *) context); in freadWrapper()
406 fwriteWrapper (void *context, const char *buffer, int len) in fwriteWrapper() argument
408 return fwrite (buffer, 1, len, (FILE *) context); in fwriteWrapper()
/PHP-8.0/ext/standard/
H A Dhead.c37 size_t len; in PHP_FUNCTION() local
40 Z_PARAM_STRING(line, len) in PHP_FUNCTION()
47 ctr.line_len = (uint32_t)len; in PHP_FUNCTION()
57 size_t len = 0; in PHP_FUNCTION() local
61 Z_PARAM_STRING_OR_NULL(line, len) in PHP_FUNCTION()
65 ctr.line_len = (uint32_t)len; in PHP_FUNCTION()
/PHP-8.0/ext/date/lib/
H A Dtimelib.c235 size_t len; in timelib_strcasecmp() local
244 len = MIN(len1, len2); in timelib_strcasecmp()
245 while (len--) { in timelib_strcasecmp()
258 size_t len; in timelib_strncasecmp() local
266 len = MIN(length, MIN(len1, len2)); in timelib_strncasecmp()
267 while (len--) { in timelib_strncasecmp()
/PHP-8.0/ext/standard/tests/strings/
H A Dstrcspn_variation10.phpt2 Test strcspn() function : usage variations - with varying mask & default start and len args
6 * Testing strcspn() : with varying mask and default start and len arguments
9 echo "*** Testing strcspn() : with different mask strings and default start and len arguments ***\n…
60 *** Testing strcspn() : with different mask strings and default start and len arguments ***
/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_charset.c139 unsigned int len = check_mb_utf8mb3_sequence(start, end); in check_mb_utf8mb3_valid() local
140 return (len > 1)? len:0; in check_mb_utf8mb3_valid()
145 unsigned int len = check_mb_utf8_sequence(start, end); in check_mb_utf8_valid() local
146 return (len > 1)? len:0; in check_mb_utf8_valid()
785 unsigned int len = 0; in mysqlnd_cset_escape_quotes() local
788 if (cset->char_maxlen > 1 && (len = cset->mb_valid(escapestr, end))) { in mysqlnd_cset_escape_quotes()
791 if ((newstr + len) > newstr_e) { in mysqlnd_cset_escape_quotes()
796 while (len--) { in mysqlnd_cset_escape_quotes()
841 unsigned int len = 0; in mysqlnd_cset_escape_slashes() local
846 if ((newstr + len) > newstr_e) { in mysqlnd_cset_escape_slashes()
[all …]
/PHP-8.0/ext/pdo/tests/
H A Dpdo_033.phpt22 $len = strlen($unquoted);
26 $db->query("CREATE TABLE test (t char($len))");
/PHP-8.0/win32/
H A Dioutil.c488 DWORD tmp_len = (DWORD)len; in php_win32_ioutil_getcwd_w()
497 } else if (tmp_len > len) { in php_win32_ioutil_getcwd_w()
527 if (len == 0) { in php_win32_ioutil_dirname()
545 if (2 == len) { in php_win32_ioutil_dirname()
547 return len; in php_win32_ioutil_dirname()
604 size_t ret_len = len; in php_win32_ioutil_normalize_path_w()
606 if (len >= MAXPATHLEN) { in php_win32_ioutil_normalize_path_w()
624 *new_len = len; in php_win32_ioutil_normalize_path_w()
628 if (ret_len != len) { in php_win32_ioutil_normalize_path_w()
629 if (ret_len > len) { in php_win32_ioutil_normalize_path_w()
[all …]

Completed in 81 milliseconds

12345678910>>...19