/PHP-7.1/sapi/phpdbg/ |
H A D | phpdbg_eol.h | 43 void phpdbg_eol_convert(char **str, int *len);
|
H A D | phpdbg_rinit_hook.c | 59 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 D | phpdbg_set.c | 147 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 D | phpdbg_lexer.h | 27 unsigned int len; member
|
H A D | phpdbg_watch.h | 132 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 D | pdo_sql_parser.re | 71 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 D | streams.c | 795 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 D | libmagic.patch | 210 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 D | mail.c | 68 #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 D | password.c | 60 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 D | link_win32.c | 129 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 D | versioning.c | 36 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 D | mbfilter_base64.c | 118 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 D | xml.c | 393 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 D | xbm.c | 166 int len; in gdCtxPrintf() local 170 len = vspprintf(&buf, 0, format, args); in gdCtxPrintf() 172 out->putBuf(out, buf, len); in gdCtxPrintf()
|
H A D | gd_io_dp.c | 58 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 D | php_hash_joaat.h | 32 static uint32_t joaat_buf(void *buf, size_t len, uint32_t hval);
|
H A D | php_hash_adler32.h | 31 …_HASH_API void PHP_ADLER32Update(PHP_ADLER32_CTX *context, const unsigned char *input, size_t len);
|
/PHP-7.1/scripts/dev/ |
H A D | check_parameters.php | 219 $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 D | pgsql_statement.c | 531 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 D | mbfl_string.h | 45 unsigned int len; member
|
/PHP-7.1/Zend/ |
H A D | zend_language_scanner.l | 116 #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 D | zend_accelerator_util_funcs.h | 40 unsigned int zend_adler32(unsigned int checksum, signed char *buf, uint len);
|
/PHP-7.1/ext/xmlrpc/libxmlrpc/ |
H A D | simplestring.h | 53 size_t len; /* length of string/buf */ member
|
/PHP-7.1/ext/zip/ |
H A D | php_zip.c | 141 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 …]
|