Lines Matching refs:length

320 	ZEND_ARG_INFO(0, length)
327 ZEND_ARG_INFO(0, length)
2322 size_t mb_chunk_length; /* actual chunk length in chars */
2323 size_t split_length; /* split length in chars */
2363 php_error_docref(NULL, E_WARNING, "The length of each segment must be greater than zero");
2384 chunk_len = (size_t)split_length; /* chunk length in bytes */
2392 /* second scenario: variable width encodings with length table */
2400 chunk_len = 0; /* chunk length in bytes */
2404 char unsigned const m = mbtab[*(const unsigned char *)p]; /* single character length table */
2559 php_error_docref(NULL, E_WARNING, "Needle has not positive length");
2631 php_error_docref(NULL, E_WARNING, "Offset is greater than the length of haystack string");
2929 /* {{{ proto string mb_substr(string str, int start [, int length [, string encoding]])
2954 /* measures length */
2971 /* if "length" position is negative, set it to the length
3000 /* {{{ proto string mb_strcut(string str, int start [, int length [, string encoding]])
3033 /* if "length" position is negative, set it to the length
3165 MBSTRING_API char *php_mb_convert_encoding_ex(const char *input, size_t length, const mbfl_encoding *to_encoding, const mbfl_encoding *from_encoding, size_t *output_len)
3179 string.len = length;
3208 MBSTRING_API char *php_mb_convert_encoding(const char *input, size_t length, const char *_to_encoding, const char *_from_encodings, size_t *output_len)
3242 string.len = length;
3256 return php_mb_convert_encoding_ex(input, length, to_encoding, from_encoding, output_len);
4819 static inline int php_mb_check_encoding_impl(mbfl_buffer_converter *convd, const char *input, size_t length, const mbfl_encoding *encoding) {
4828 string.len = length;
4844 MBSTRING_API int php_mb_check_encoding(const char *input, size_t length, const char *enc)
4867 if (php_mb_check_encoding_impl(convd, input, length, encoding)) {
5362 php_error_docref(NULL, E_WARNING, "Offset is greater than the length of haystack string");