/PHP-7.0/ext/standard/ |
H A D | ftp_fopen_wrapper.c | 140 int result, use_ssl, use_ssl_on_data = 0, tmp_len; in php_ftp_fopen_connect() local 252 PHP_FTP_CNTRL_CHK(resource->user, tmp_len, "Invalid login %s") in php_ftp_fopen_connect() 615 size_t tmp_len; in php_ftp_dirstream_read() local 632 basename = php_basename(ent->d_name, tmp_len, NULL, 0); in php_ftp_dirstream_read() 634 tmp_len = MIN(sizeof(ent->d_name), ZSTR_LEN(basename) - 1); in php_ftp_dirstream_read() 635 memcpy(ent->d_name, ZSTR_VAL(basename), tmp_len); in php_ftp_dirstream_read() 636 ent->d_name[tmp_len - 1] = '\0'; in php_ftp_dirstream_read() 640 while (tmp_len > 0 && in php_ftp_dirstream_read() 641 (ent->d_name[tmp_len - 1] == '\n' || ent->d_name[tmp_len - 1] == '\r' || in php_ftp_dirstream_read() 642 ent->d_name[tmp_len - 1] == '\t' || ent->d_name[tmp_len - 1] == ' ')) { in php_ftp_dirstream_read() [all …]
|
H A D | var.c | 440 size_t tmp_len; in php_var_export_ex() local 461 tmp_len = spprintf(&tmp_str, 0,"%.*H", PG(serialize_precision), Z_DVAL_P(struc)); in php_var_export_ex() 462 smart_str_appendl(buf, tmp_str, tmp_len); in php_var_export_ex()
|
H A D | string.c | 2395 zval *tmp_str = NULL, *tmp_from = NULL, *tmp_repl = NULL, *tmp_len= NULL; local 2556 tmp_len = &Z_ARRVAL_P(len)->arData[len_idx].val; 2557 if (Z_TYPE_P(tmp_len) != IS_UNDEF) { 2563 l = zval_get_long(tmp_len);
|
/PHP-7.0/ext/phar/ |
H A D | phar_internal.h | 526 int tmp_len; in phar_set_inode() local 529 tmp_len = MIN(MAXPATHLEN, entry->filename_len + entry->phar->fname_len); in phar_set_inode() 531 len1 = MIN(entry->phar->fname_len, tmp_len); in phar_set_inode() 534 len2 = MIN(tmp_len - len1, entry->filename_len); in phar_set_inode() 537 entry->inode = (unsigned short) zend_hash_func(tmp, tmp_len); in phar_set_inode()
|
H A D | phar.c | 671 php_uint32 manifest_len, manifest_count, manifest_flags, manifest_index, tmp_len, sig_flags; local 985 SAFE_PHAR_GET_32(buffer, endbuffer, tmp_len); 987 if (buffer + tmp_len > endbuffer) { 991 if (manifest_len < MANIFEST_FIXED_LEN + tmp_len) { 996 if (tmp_len) { 998 if (alias && alias_len && (alias_len != (int)tmp_len || strncmp(alias, buffer, tmp_len))) 1007 … \"%s\" with implicit alias \"%.*s\" under different alias \"%s\"", fname, tmp_len, buffer, alias); 1014 alias_len = tmp_len; 1016 buffer += tmp_len; 1029 if (manifest_count > ((manifest_len - MANIFEST_FIXED_LEN - tmp_len) / (5 * 4 + 1))) {
|
H A D | phar_object.c | 3472 int tmp_len = 0; in PHP_METHOD() local 3516 tmp_len = (int)newfile_len; in PHP_METHOD() 3517 if (phar_path_check(&newfile, &tmp_len, &pcr_error) > pcr_is_ok) { in PHP_METHOD() 3522 newfile_len = tmp_len; in PHP_METHOD()
|
/PHP-7.0/ext/pdo_pgsql/ |
H A D | pgsql_statement.c | 529 size_t tmp_len; in pgsql_stmt_get_col() local 572 char *tmp_ptr = (char *)PQunescapeBytea((unsigned char *)*ptr, &tmp_len); in pgsql_stmt_get_col() 578 if (!tmp_len) { in pgsql_stmt_get_col() 584 *ptr = estrndup(tmp_ptr, tmp_len); in pgsql_stmt_get_col() 586 *len = tmp_len; in pgsql_stmt_get_col()
|
H A D | pgsql_driver.c | 337 size_t tmp_len; in pgsql_handle_quoter() local 342 escaped = PQescapeByteaConn(H->server, (unsigned char *)unquoted, unquotedlen, &tmp_len); in pgsql_handle_quoter() 343 *quotedlen = tmp_len + 1; in pgsql_handle_quoter()
|
/PHP-7.0/ext/mysqlnd/ |
H A D | mysqlnd_ps_codec.c | 61 size_t tmp_len = 0; in ps_fetch_from_1_to_8_bytes() local 82 tmp_len = sprintf((char *)&tmp, MYSQLND_LLU_SPEC, uval); in ps_fetch_from_1_to_8_bytes() 90 tmp_len = sprintf((char *)&tmp, MYSQLND_LLU_SPEC, uval); in ps_fetch_from_1_to_8_bytes() 112 tmp_len = sprintf((char *)&tmp, MYSQLND_LL_SPEC, lval); in ps_fetch_from_1_to_8_bytes() 120 if (tmp_len) { in ps_fetch_from_1_to_8_bytes() 121 ZVAL_STRINGL(zv, tmp, tmp_len); in ps_fetch_from_1_to_8_bytes()
|
H A D | mysqlnd_wireprotocol.c | 1036 size_t tmp_len = packet->arg_len + 1 + MYSQLND_HEADER_SIZE; in php_mysqlnd_cmd_write() local 1038 tmp = (tmp_len > net->cmd_buffer.length)? mnd_emalloc(tmp_len):net->cmd_buffer.buffer; in php_mysqlnd_cmd_write() 1049 …sent = net->data->m.send_ex(net, tmp, tmp_len - MYSQLND_HEADER_SIZE, conn->stats, conn->error_info… in php_mysqlnd_cmd_write()
|
/PHP-7.0/ext/reflection/ |
H A D | php_reflection.c | 3041 size_t name_len, tmp_len; in ZEND_METHOD() local 3055 tmp_len = tmp - name_str; in ZEND_METHOD() 3056 ZVAL_STRINGL(classname, name_str, tmp_len); in ZEND_METHOD() 3057 name_len = name_len - (tmp_len + 2); in ZEND_METHOD()
|
/PHP-7.0/ext/pgsql/ |
H A D | pgsql.c | 807 size_t tmp_len; in php_pgsql_PQescapeInternal() local 845 tmp_len = strspn(str, "\\"); in php_pgsql_PQescapeInternal() 846 if (tmp_len != len) { in php_pgsql_PQescapeInternal()
|