Home
last modified time | relevance | path

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

12345678910>>...25

/PHP-5.5/
H A DCODING_STANDARDS44 that PHP holds the length property of each string, and that it
46 a way so that they'll take advantage of the length property, both
49 doing so, should return that new length, so it doesn't have to be
H A DNEWS2394 different length). (Gustavo)
3090 chunksize length line is > 10 bytes). (Ilia)
7270 - Fixed bug #42142 (substr_replace() returns FALSE when length > string length).
7966 length). (Tony)
8068 length = 1"). (Ilia)
8442 than the actual length). (Tony)
8535 string length). (Ilia)
8706 string length). (Tony)
8787 length specified). (Tony)
9351 length). (Tony)
[all …]
H A DREADME.NEW-OUTPUT-API72 Retrieving output buffers length:
H A DREADME.PARAMETER_PARSING_API65 p - valid path (string without null bytes in the middle) and its length (char*, int)
67 s - string (with possible null bytes) and its length (char*, int)
92 and ints to strings length (i.e. for "s" you need to pass char * and int),
115 /* Gets a long, a string and its length, and a zval */
163 int length;
169 "s", &s, &length) == SUCCESS) {
H A DREADME.STREAMS122 which will be maxlen bytes in length, or will be the entire length of the
/PHP-5.5/TSRM/
H A Dtsrm_virtual_cwd.c502 *length = 1; in virtual_getcwd_ex()
525 retval[*length] = '\0'; in virtual_getcwd_ex()
537 size_t length; in virtual_getcwd() local
545 if (length > size-1) { in virtual_getcwd()
550 memcpy(buf, cwd, length+1); in virtual_getcwd()
1367 int length = strlen(path); in virtual_chdir_file() local
1372 if (length == 0) { in virtual_chdir_file()
1375 while(--length >= 0 && !IS_SLASH(path[length])) { in virtual_chdir_file()
1378 if (length == -1) { in virtual_chdir_file()
1385 length++; in virtual_chdir_file()
[all …]
H A Dtsrm_virtual_cwd.h154 CWD_API char *virtual_getcwd_ex(size_t *length TSRMLS_DC);
/PHP-5.5/Zend/
H A Dzend_API.c1291 ZEND_API int add_assoc_stringl_ex(zval *arg, const char *key, uint key_len, char *str, uint length,… in add_assoc_stringl_ex() argument
1296 ZVAL_STRINGL(tmp, str, length, duplicate); in add_assoc_stringl_ex()
1374 ZEND_API int add_index_stringl(zval *arg, ulong index, const char *str, uint length, int duplicate)… in add_index_stringl() argument
1379 ZVAL_STRINGL(tmp, str, length, duplicate); in add_index_stringl()
1457 ZEND_API int add_next_index_stringl(zval *arg, const char *str, uint length, int duplicate) /* {{{ … in add_next_index_stringl() argument
1462 ZVAL_STRINGL(tmp, str, length, duplicate); in add_next_index_stringl()
1490 ZVAL_STRINGL(tmp, str, length, duplicate); in add_get_assoc_stringl_ex()
1529 ZEND_API int add_get_index_stringl(zval *arg, ulong index, const char *str, uint length, void **des… in add_get_index_stringl() argument
1534 ZVAL_STRINGL(tmp, str, length, duplicate); in add_get_index_stringl()
1682 …ringl_ex(zval *arg, const char *key, uint key_len, const char *str, uint length, int duplicate TSR… in add_property_stringl_ex() argument
[all …]
H A Dzend_API.h382 ZEND_API int add_assoc_stringl_ex(zval *arg, const char *key, uint key_len, char *str, uint length,…
406 ZEND_API int add_index_stringl(zval *arg, ulong idx, const char *str, uint length, int duplicate);
415 ZEND_API int add_next_index_stringl(zval *arg, const char *str, uint length, int duplicate);
419 …ringl_ex(zval *arg, const char *key, uint key_len, const char *str, uint length, void **dest, int …
427 ZEND_API int add_get_index_stringl(zval *arg, ulong idx, const char *str, uint length, void **dest,…
437 …ingl_ex(zval *arg, const char *key, uint key_len, const char *str, uint length, int duplicate TSR…
H A Dzend_alloc.c2622 size_t length; in _estrdup() local
2630 length = strlen(s); in _estrdup()
2636 memcpy(p, s, length+1); in _estrdup()
2641 ZEND_API char *_estrndup(const char *s, uint length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) in _estrndup()
2655 memcpy(p, s, length); in _estrndup()
2656 p[length] = 0; in _estrndup()
2662 ZEND_API char *zend_strndup(const char *s, uint length) in zend_strndup() argument
2671 p = (char *) malloc(safe_address(length, 1, 1)); in zend_strndup()
2676 if (length) { in zend_strndup()
2677 memcpy(p, s, length); in zend_strndup()
[all …]
H A Dzend_alloc.h55 ZEND_API char *zend_strndup(const char *s, unsigned int length) ZEND_ATTRIBUTE_MALLOC;
66 ZEND_API char *_estrndup(const char *s, unsigned int length ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_D…
78 #define estrndup(s, length) _estrndup((s), (length) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC) argument
90 #define estrndup_rel(s, length) _estrndup((s), (length) ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_… argument
130 #define pestrndup(s, length, persistent) ((persistent)?zend_strndup((s),(length)):estrndup((s),(len… argument
H A Dzend_compile.c252 int length = strlen(new_compiled_filename); in zend_set_compiled_filename() local
258 p = estrndup(new_compiled_filename, length); in zend_set_compiled_filename()
2419 zend_uint length; in zend_do_build_full_name() local
2433 result->u.constant.value.str.len = length; in zend_do_build_full_name()
2440 result->u.constant.value.str.len = length; in zend_do_build_full_name()
3235 if (UNEXPECTED(offset - buf + size >= length)) { \
3236 length += size + 1; \
3237 buf = erealloc(buf, length); \
3243 zend_uint length = 1024; in zend_get_function_declaration() local
3245 offset = buf = (char *)emalloc(length * sizeof(char)); in zend_get_function_declaration()
[all …]
H A Dzend_hash.h310 #define ZEND_HANDLE_NUMERIC_EX(key, length, idx, func) do { \ in END_EXTERN_C() argument
317 const char *end = key + length - 1; \ in END_EXTERN_C()
320 || (*tmp == '0' && length > 2) /* numbers with leading zeros */ \ in END_EXTERN_C()
345 #define ZEND_HANDLE_NUMERIC(key, length, func) do { \ argument
348 ZEND_HANDLE_NUMERIC_EX(key, length, idx, return func); \
H A Dzend_ini_parser.y111 int length = Z_STRLEN_P(op1) + Z_STRLEN_P(op2); in zend_ini_add_string() local
113 Z_STRVAL_P(result) = (char *) realloc(Z_STRVAL_P(op1), length+1); in zend_ini_add_string()
115 Z_STRVAL_P(result)[length] = 0; in zend_ini_add_string()
116 Z_STRLEN_P(result) = length; in zend_ini_add_string()
H A Dzend_language_scanner.c715 if (length > original_offset) { in zend_get_scanned_file_offset()
720 } while (original_offset != length); in zend_get_scanned_file_offset()
841 size_t length; in zend_multibyte_yyinput_again() local
851 length = SCNG(script_org_size); in zend_multibyte_yyinput_again()
859 SCNG(script_filtered_size) = length; in zend_multibyte_yyinput_again()
1981 YYCURSOR += heredoc_label->length - 1; in lex_scan()
1982 yyleng = heredoc_label->length; in lex_scan()
3912 heredoc_label->length--; in lex_scan()
3917 heredoc_label->length -= 2; in lex_scan()
3923 heredoc_label->length -= 2; in lex_scan()
[all …]
H A Dzend_language_scanner.h56 int length; member
H A Dzend_language_scanner.l713 if (length > original_offset) { in zend_get_scanned_file_offset()
718 } while (original_offset != length); in zend_get_scanned_file_offset()
839 size_t length; in zend_multibyte_yyinput_again() local
849 length = SCNG(script_org_size); in zend_multibyte_yyinput_again()
857 SCNG(script_filtered_size) = length; in zend_multibyte_yyinput_again()
2131 heredoc_label->length--;
2136 heredoc_label->length -= 2;
2142 heredoc_label->length -= 2;
2151 if (heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, s, heredoc_label->length)) {
2178 YYCURSOR += heredoc_label->length - 1;
[all …]
H A Dzend_multibyte.c43 static const zend_encoding *dummy_encoding_detector(const unsigned char *string, size_t length, con… in dummy_encoding_detector() argument
143 …ng *zend_multibyte_encoding_detector(const unsigned char *string, size_t length, const zend_encodi… in zend_multibyte_encoding_detector() argument
145 return multibyte_functions.encoding_detector(string, length, list, list_size TSRMLS_CC); in zend_multibyte_encoding_detector()
H A Dzend_multibyte.h27 …ilter)(unsigned char **str, size_t *str_length, const unsigned char *buf, size_t length TSRMLS_DC);
32 typedef const zend_encoding *(*zend_encoding_detector)(const unsigned char *string, size_t length, …
68 …ng *zend_multibyte_encoding_detector(const unsigned char *string, size_t length, const zend_encodi…
H A Dzend_operators.c143 const char *end = number+length; in zend_string_to_double()
146 if (!length) { in zend_string_to_double()
1257 if (UNEXPECTED(length < 0)) { in add_char_to_string()
1268 buf[length] = 0; in add_char_to_string()
1280 if (UNEXPECTED(length < 0)) { in add_string_to_string()
1290 buf[length] = 0; in add_string_to_string()
1345 buf[length] = 0; in concat_function()
1991 return zend_str_tolower_copy((char *)emalloc(length+1), source, length); in zend_str_tolower_dup()
2032 return (MIN(length, len1) - MIN(length, len2)); in zend_binary_strncmp()
2078 return MIN(length, len1) - MIN(length, len2); in zend_binary_strncasecmp()
[all …]
H A Dzend_operators.h138 if (!length) {
150 length--;
161 if (length > 2 && *str == '0' && (str[1] == 'x' || str[1] == 'X')) {
229 if (ptr != str + length) {
269 return is_numeric_string_ex(str, length, lval, dval, allow_errors, NULL); in is_numeric_string()
344 ZEND_API double zend_string_to_double(const char *number, zend_uint length);
356 ZEND_API void zend_str_tolower(char *str, unsigned int length);
357 ZEND_API char *zend_str_tolower_copy(char *dest, const char *source, unsigned int length);
358 ZEND_API char *zend_str_tolower_dup(const char *source, unsigned int length);
365 ZEND_API int zend_binary_strncmp(const char *s1, uint len1, const char *s2, uint len2, uint length);
[all …]
/PHP-5.5/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.
4266 # What is the maximum length of a command?
H A Dmkdep.awk67 printf(" \\\n\t" substr($3,2,length($3)-2))
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);
H A Dscan_makefile_in.awk21 sources=sources substr($0, 0, length - 1)

Completed in 174 milliseconds

12345678910>>...25