Home
last modified time | relevance | path

Searched refs:length (Results 1 – 25 of 588) sorted by path

12345678910>>...24

/PHP-7.4/
H A D.gdbinit618 print the length and contents of a zend string
619 usage: print_zstr <ptr> [max length]
H A DCODING_STANDARDS.md41 holds the length property of each string, and that it shouldn't be
43 they'll take advantage of the length property, both for efficiency and in
45 their new lengths while doing so, should return that new length, so it
H A DNEWS324 . Fixed bug #73246 (XMLReader: encoding length not checked). (cmb)
1085 . Fixed bug #79315 (ZipArchive::addFile doesn't honor start/length
1654 . Fixed bug #67619 (Validate length on socket_write). (thiagooak)
1704 with fixed length buffer). (Albert Casademont)
1898 with invalid length). (Nikita)
1901 with fixed length buffer). (Albert Casademont)
2278 . Fixed bug #77369 (memcpy with negative length via crafted DNS response). (Stas)
2405 . Fixed bug #77382 (heap buffer overflow due to incorrect length in
2745 . Fixed bug #67619 (Validate length on socket_write). (thiagooak)
/PHP-7.4/Zend/tests/
H A Dflexible-heredoc-error5.phpt2 Flexible heredoc syntax error 5: mixing spaces and tabs in ending marker for 0 length body
H A Dflexible-heredoc-error6.phpt2 Flexible heredoc syntax error 6: no ending token on 0 length body
H A Dflexible-nowdoc-error5.phpt2 Flexible nowdoc syntax error 5: mixing spaces and tabs in ending marker for 0 length body
H A Dflexible-nowdoc-error6.phpt2 Flexible nowdoc syntax error 6: no ending token on 0 length body
/PHP-7.4/Zend/tests/varSyntax/
H A Dmethod_call_on_string_literal.phpt5 "string"->length();
8 Fatal error: Uncaught Error: Call to a member function length() on string in %s:%d
/PHP-7.4/Zend/
H A Dzend_API.c1512 …oc_stringl_ex(zval *arg, const char *key, size_t key_len, const char *str, size_t length) /* {{{ */ in add_assoc_stringl_ex() argument
1516 ZVAL_STRINGL(&tmp, str, length); in add_assoc_stringl_ex()
1599 ZEND_API int add_index_stringl(zval *arg, zend_ulong index, const char *str, size_t length) /* {{{ … in add_index_stringl() argument
1603 ZVAL_STRINGL(&tmp, str, length); in add_index_stringl()
1672 ZEND_API int add_next_index_stringl(zval *arg, const char *str, size_t length) /* {{{ */ in add_next_index_stringl() argument
1676 ZVAL_STRINGL(&tmp, str, length); in add_next_index_stringl()
1791 …ty_stringl_ex(zval *arg, const char *key, size_t key_len, const char *str, size_t length) /* {{{ */ in add_property_stringl_ex() argument
1795 ZVAL_STRINGL(&tmp, str, length); in add_property_stringl_ex()
H A Dzend_API.h399 …t add_assoc_stringl_ex(zval *arg, const char *key, size_t key_len, const char *str, size_t length);
419 ZEND_API int add_index_stringl(zval *arg, zend_ulong index, const char *str, size_t length);
433 ZEND_API int add_next_index_stringl(zval *arg, const char *str, size_t length);
449 …d_property_stringl_ex(zval *arg, const char *key, size_t key_len, const char *str, size_t length);
H A Dzend_alloc.c2615 size_t length; local
2618 length = strlen(s);
2619 if (UNEXPECTED(length + 1 == 0)) {
2623 memcpy(p, s, length+1);
2631 if (UNEXPECTED(length + 1 == 0)) {
2635 memcpy(p, s, length);
2636 p[length] = 0;
2648 p = (char *) malloc(length + 1);
2652 if (EXPECTED(length)) {
2653 memcpy(p, s, length);
[all …]
H A Dzend_alloc.h71 ZEND_API char* ZEND_FASTCALL zend_strndup(const char *s, size_t length) ZEND_ATTRIBUTE_MALLOC;
83 ZEND_API char* ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FILE_LINE_DC ZEND_FILE_LI…
171 #define estrndup(s, length) _estrndup((s), (length) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC) argument
185 #define estrndup_rel(s, length) _estrndup((s), (length) ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_… argument
211 #define pestrndup(s, length, persistent) ((persistent)?zend_strndup((s),(length)):estrndup((s),(len… argument
H A Dzend_hash.c2685 ZEND_API int ZEND_FASTCALL _zend_handle_numeric_str_ex(const char *key, size_t length, zend_ulong *… in _zend_handle_numeric_str_ex() argument
2689 const char *end = key + length; in _zend_handle_numeric_str_ex()
2695 if ((*tmp == '0' && length > 1) /* numbers with leading zeros */ in _zend_handle_numeric_str_ex()
H A Dzend_hash.h308 ZEND_API int ZEND_FASTCALL _zend_handle_numeric_str_ex(const char *key, size_t length, zend_ulong *…
334 static zend_always_inline int _zend_handle_numeric_str(const char *key, size_t length, zend_ulong *… in END_EXTERN_C()
349 return _zend_handle_numeric_str_ex(key, length, idx); in END_EXTERN_C()
352 #define ZEND_HANDLE_NUMERIC_STR(key, length, idx) \ argument
353 _zend_handle_numeric_str(key, length, &idx)
H A Dzend_ini_parser.y119 int length, op1_len; in zend_ini_add_string() local
137 length = op1_len + (int)Z_STRLEN_P(op2); in zend_ini_add_string()
139 ZVAL_NEW_STR(result, zend_string_extend(Z_STR_P(op1), length, ZEND_SYSTEM_INI)); in zend_ini_add_string()
H A Dzend_language_scanner.h61 int length; member
H A Dzend_language_scanner.l748 if (length > original_offset) { in zend_get_scanned_file_offset()
750 } else if (length < original_offset) { in zend_get_scanned_file_offset()
753 } while (original_offset != length); in zend_get_scanned_file_offset()
843 size_t length; in zend_multibyte_yyinput_again() local
853 length = SCNG(script_org_size); in zend_multibyte_yyinput_again()
864 SCNG(script_filtered_size) = length; in zend_multibyte_yyinput_again()
870 SCNG(yy_limit) = new_yy_start + length; in zend_multibyte_yyinput_again()
2376 heredoc_label->length--;
2381 heredoc_label->length -= 2;
2388 heredoc_label->length -= 2;
[all …]
H A Dzend_multibyte.c41 static const zend_encoding *dummy_encoding_detector(const unsigned char *string, size_t length, con… in dummy_encoding_detector() argument
148 …ng *zend_multibyte_encoding_detector(const unsigned char *string, size_t length, const zend_encodi… in zend_multibyte_encoding_detector() argument
150 return multibyte_functions.encoding_detector(string, length, list, list_size); in zend_multibyte_encoding_detector()
H A Dzend_multibyte.h25 …encoding_filter)(unsigned char **str, size_t *str_length, const unsigned char *buf, size_t length);
30 typedef const zend_encoding *(*zend_encoding_detector)(const unsigned char *string, size_t length, …
67 …ng *zend_multibyte_encoding_detector(const unsigned char *string, size_t length, const zend_encodi…
H A Dzend_operators.c2649 return zend_str_tolower_copy((char *)emalloc(length+1), source, length); in zend_str_tolower_dup()
2656 register unsigned char *end = p + length; in zend_str_tolower()
2672 char *res = (char*)emalloc(length + 1); in zend_str_tolower_dup_ex()
2746 return (int)(MIN(length, len1) - MIN(length, len2)); in zend_binary_strncmp()
2783 len = MIN(length, MIN(len1, len2)); in zend_binary_strncasecmp()
2792 return (int)(MIN(length, len1) - MIN(length, len2)); in zend_binary_strncasecmp()
2826 len = MIN(length, MIN(len1, len2)); in zend_binary_strncasecmp_l()
2835 return (int)(MIN(length, len1) - MIN(length, len2)); in zend_binary_strncasecmp_l()
3034 if (!length) {
3046 length--;
[all …]
H A Dzend_operators.h84 ZEND_API zend_uchar ZEND_FASTCALL _is_numeric_string_ex(const char *str, size_t length, zend_long *…
138 return _is_numeric_string_ex(str, length, lval, dval, allow_errors, oflow_info); in is_numeric_string_ex()
141 static zend_always_inline zend_uchar is_numeric_string(const char *str, size_t length, zend_long *l… in is_numeric_string() argument
142 return is_numeric_string_ex(str, length, lval, dval, allow_errors, NULL); in is_numeric_string()
399 ZEND_API void ZEND_FASTCALL zend_str_tolower(char *str, size_t length);
400 …PI char* ZEND_FASTCALL zend_str_tolower_copy(char *dest, const char *source, size_t length);
401 ZEND_API char* ZEND_FASTCALL zend_str_tolower_dup(const char *source, size_t length);
402 ZEND_API char* ZEND_FASTCALL zend_str_tolower_dup_ex(const char *source, size_t length);
412 …TCALL zend_binary_strncmp(const char *s1, size_t len1, const char *s2, size_t len2, size_t length);
414 …L zend_binary_strncasecmp(const char *s1, size_t len1, const char *s2, size_t len2, size_t length);
[all …]
H A Dzend_virtual_cwd.c267 *length = 1; in virtual_getcwd_ex()
284 retval[*length] = '\0'; in virtual_getcwd_ex()
289 *length = 0; in virtual_getcwd_ex()
301 size_t length; in virtual_getcwd() local
309 if (length > size-1) { in virtual_getcwd()
317 memcpy(buf, cwd, length+1); in virtual_getcwd()
1214 if (length == 0) { in virtual_chdir_file()
1217 while(--length < SIZE_MAX && !IS_SLASH(path[length])) { in virtual_chdir_file()
1220 if (length == SIZE_MAX) { in virtual_chdir_file()
1227 length++; in virtual_chdir_file()
[all …]
H A Dzend_virtual_cwd.h163 CWD_API char *virtual_getcwd_ex(size_t *length);
/PHP-7.4/build/
H A Dlibtool.m4807 [# find the maximum length of command line arguments
808 AC_MSG_CHECKING([the maximum length of command line arguments])
824 # no limit to the length of command line arguments.
834 # the test eventually succeeds (with a max line length of 256k).
842 # So we just punt and use a minimum line length of 8192.
4262 # What is the maximum length of a command?
H A Dorder_by_dep.awk17 if (!length($5)) {
40 mod_name_len = length(module_name);
47 ext = substr(ext, mod_name_len+2, length(ext)-mod_name_len);

Completed in 116 milliseconds

12345678910>>...24