Home
last modified time | relevance | path

Searched refs:len (Results 226 – 250 of 539) sorted by relevance

12345678910>>...22

/PHP-7.1/sapi/phpdbg/
H A Dphpdbg_eol.h43 void phpdbg_eol_convert(char **str, int *len);
H A Dphpdbg_rinit_hook.c59 int len = strlen(PHPDBG_WG(path)) + sizeof(sock.sun_family); in PHP_RINIT_FUNCTION() local
65 if (connect(s, (struct sockaddr *)&sock, len) == -1) { in PHP_RINIT_FUNCTION()
H A Dphpdbg_set.c147 const phpdbg_color_t *color = phpdbg_get_color(param->next->str, param->next->len); in PHPDBG_SET()
154 switch (phpdbg_get_element(param->str, param->len)) { in PHPDBG_SET()
256 if (param->len == sizeof("opcode") - 1 && !memcmp(param->str, "opcode", sizeof("opcode"))) { in PHPDBG_SET()
258 } else if (param->len == sizeof("line") - 1 && !memcmp(param->str, "line", sizeof("line"))) { in PHPDBG_SET()
H A Dphpdbg_lexer.h27 unsigned int len; member
H A Dphpdbg_watch.h132 int phpdbg_delete_var_watchpoint(char *input, size_t len);
133 int phpdbg_create_var_watchpoint(char *input, size_t len);
/PHP-7.1/ext/pdo/
H A Dpdo_sql_parser.re71 size_t len;
105 int len = s.cur - s.tok;
106 if ((inquery < (s.cur - len)) && isalnum(*(s.cur - len - 1))) {
118 plc->len = s.cur - s.tok;
172 if ((param = zend_hash_str_find_ptr(params, plc->pos, plc->len)) == NULL) {
197 param = zend_hash_str_find_ptr(params, plc->pos, plc->len);
308 ptr = plc->pos + plc->len;
340 name = estrndup(plc->pos, plc->len);
357 zend_hash_str_update_mem(stmt->bound_param_map, name, plc->len, idxbuf, plc->qlen + 1);
380 name = estrndup(plc->pos, plc->len);
[all …]
/PHP-7.1/main/streams/
H A Dstreams.c795 size_t len; in _php_stream_puts() local
1445 len += ret; in _php_stream_copy_to_mem()
1448 if (len) { in _php_stream_copy_to_mem()
1474 len += ret; in _php_stream_copy_to_mem()
1483 if (len) { in _php_stream_copy_to_mem()
1504 if (!len) { in _php_stream_copy_to_stream_ex()
1505 len = &dummy; in _php_stream_copy_to_stream_ex()
1509 *len = 0; in _php_stream_copy_to_stream_ex()
1523 *len = 0; in _php_stream_copy_to_stream_ex()
1604 size_t len; in _php_stream_copy_to_stream() local
[all …]
/PHP-7.1/ext/fileinfo/
H A Dlibmagic.patch210 len = (ms->c.len = 10) * sizeof(*ms->c.li);
397 - ssize_t len;
398 + size_t len;
725 - if (read(fd, map->p, map->len) != (ssize_t)map->len) {
834 size_t len;
872 - if (write(fd, map->magic[i], len) != (ssize_t)len) {
995 - if (pread(info->i_fd, buf, len, off) != (ssize_t)len)
2029 - int len;
2064 + int len;
2231 len = (ms->c.len = 20 + level) * sizeof(*ms->c.li);
[all …]
/PHP-7.1/ext/standard/
H A Dmail.c68 #define MAIL_ASCIIZ_CHECK(str, len) \ argument
70 e = p + len; \
304 size_t len; in php_mail() local
309 len = spprintf(&tmp, 0, "[%s] %s%s", date_str->val, logline, PHP_EOL); in php_mail()
311 php_mail_log_to_file(mail_log, tmp, len); in php_mail()
H A Dpassword.c60 static php_password_algo php_password_determine_algo(const char *hash, const size_t len) in php_password_determine_algo() argument
62 if (len > 3 && hash[0] == '$' && hash[1] == '2' && hash[2] == 'y' && len == 60) { in php_password_determine_algo()
69 static int php_password_salt_is_alphabet(const char *str, const size_t len) /* {{{ */ in php_password_salt_is_alphabet() argument
73 for (i = 0; i < len; i++) { in php_password_salt_is_alphabet()
H A Dlink_win32.c129 size_t len; in PHP_FUNCTION() local
143 len = php_dirname(dirname, strlen(dirname)); in PHP_FUNCTION()
145 if (!expand_filepath_ex(topath, dest_p, dirname, len)) { in PHP_FUNCTION()
H A Dversioning.c36 size_t len = strlen(version); in php_canonicalize_version() local
37 char *buf = safe_emalloc(len, 2, 1), *q, lp, lq; in php_canonicalize_version()
40 if (len == 0) { in php_canonicalize_version()
/PHP-7.1/ext/mbstring/libmbfl/filters/
H A Dmbfilter_base64.c118 int status, cache, len; in mbfl_filt_conv_base64enc_flush() local
122 len = (filter->status & 0xff00) >> 8; in mbfl_filt_conv_base64enc_flush()
128 if (len > 72){ in mbfl_filt_conv_base64enc_flush()
/PHP-7.1/ext/xml/
H A Dxml.c393 if (len == 0) { in _xml_xmlchar_zval()
394 len = _xml_xmlcharlen(s); in _xml_xmlchar_zval()
567 size_t pos = len; in xml_utf8_encode()
582 str = zend_string_init(s, len, 0); in xml_utf8_encode()
587 str = zend_string_safe_alloc(len, 4, 0, 0); in xml_utf8_encode()
636 str = zend_string_alloc(len, 0); in xml_utf8_decode()
638 while (pos < len) { in xml_utf8_decode()
649 if (ZSTR_LEN(str) < len) { in xml_utf8_decode()
660 int len = 0; in _xml_xmlcharlen() local
663 len++; in _xml_xmlcharlen()
[all …]
/PHP-7.1/ext/gd/libgd/
H A Dxbm.c166 int len; in gdCtxPrintf() local
170 len = vspprintf(&buf, 0, format, args); in gdCtxPrintf()
172 out->putBuf(out, buf, len); in gdCtxPrintf()
H A Dgd_io_dp.c58 static int dynamicGetbuf (gdIOCtxPtr ctx, void *buf, int len);
227 static int dynamicGetbuf (gdIOCtxPtr ctx, void *buf, int len) in dynamicGetbuf() argument
237 if (remain >= len) { in dynamicGetbuf()
238 rlen = len; in dynamicGetbuf()
/PHP-7.1/ext/hash/
H A Dphp_hash_joaat.h32 static uint32_t joaat_buf(void *buf, size_t len, uint32_t hval);
H A Dphp_hash_adler32.h31 …_HASH_API void PHP_ADLER32Update(PHP_ADLER32_CTX *context, const unsigned char *input, size_t len);
/PHP-7.1/scripts/dev/
H A Dcheck_parameters.php219 $len = strlen($spec);
220 for ($i = 0; $i < $len; ++$i) {
229 if ($i == $len-1) {
283 $allow_uninit = $i+1 < $len && $spec[$i+1] === '!'
/PHP-7.1/ext/pdo_pgsql/
H A Dpgsql_statement.c531 static int pgsql_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, zend_ulong *len, int *caller… in pgsql_stmt_get_col() argument
544 *len = 0; in pgsql_stmt_get_col()
547 *len = PQgetlength(S->result, S->current_row - 1, colno); in pgsql_stmt_get_col()
554 *len = sizeof(zend_long); in pgsql_stmt_get_col()
560 *len = sizeof(zend_bool); in pgsql_stmt_get_col()
571 *len = 0; in pgsql_stmt_get_col()
575 *len = 0; in pgsql_stmt_get_col()
581 *len = 0; in pgsql_stmt_get_col()
588 *len = 0; in pgsql_stmt_get_col()
592 *len = tmp_len; in pgsql_stmt_get_col()
/PHP-7.1/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_string.h45 unsigned int len; member
/PHP-7.1/Zend/
H A Dzend_language_scanner.l116 #define SET_DOUBLE_QUOTES_SCANNED_LENGTH(len) SCNG(scanned_string_len) = (len) argument
956 size_t len = 0; in zend_scan_escape_string() local
971 len++; in zend_scan_escape_string()
978 len++; in zend_scan_escape_string()
984 len++; in zend_scan_escape_string()
989 if (len <= 2) { in zend_scan_escape_string()
1621 int len = yyleng - 2;
1627 --len;
1631 if (len == 0) {
1698 len--;
[all …]
/PHP-7.1/ext/opcache/
H A Dzend_accelerator_util_funcs.h40 unsigned int zend_adler32(unsigned int checksum, signed char *buf, uint len);
/PHP-7.1/ext/xmlrpc/libxmlrpc/
H A Dsimplestring.h53 size_t len; /* length of string/buf */ member
/PHP-7.1/ext/zip/
H A Dphp_zip.c141 int n, len, ret; in php_zip_extract_file() local
216 if (!len) { in php_zip_extract_file()
721 ZEND_ARG_INFO(0, len)
796 int len = 0; in php_zip_property_reader() local
1277 zend_long len = 0; in PHP_NAMED_FUNCTION() local
1290 if (len <= 0) { in PHP_NAMED_FUNCTION()
1291 len = 1024; in PHP_NAMED_FUNCTION()
1547 int zep, syp, len; in ZIPARCHIVE_METHOD() local
2704 zend_long len = 0; in php_zip_get_from() local
2733 if (len < 1) { in php_zip_get_from()
[all …]

Completed in 95 milliseconds

12345678910>>...22