Fix the line counting in string function

The line counter becomes invalid, when the rules with linewrap are
used. This issue appears, because the parsing FSM does not rollback
the line counter after attempting such rule.
Add unit test for string fun in leex test suite
Fix line counting in token and tokens functions

The line counter becomes invalid, when the rules with linewrap are
used. This issue appears, because the parsing FSM does not rollback
the line counter after attempting such rule.
Unit tests for 'token' and 'tokens' are also added.
Merge branch 'master' of git-server:otp
erts: Fix erlang:port_set_data/2 for non immediate data

hsize field was not set leading to VM crash
erts: Fix race between port_set_data, port_get_data and port termination

Always update prt->data with atomic xchg-op.
Check for NULL data to detect racing port terminator.
Use NULL, as THE_NON_VALUE can be a valid pointer on debug VM.
erts: Add test case for port_set_data and port_get_data
erts: Mend port_set_data with non-immed data for halfword VM
ssh: testcase
ssh: Corrected ret val from ssh_connection:subsystem/4.
Merge branch 'hans/ssh/closed_int/OTP-12004' into maint
Merge branch 'maint'
ssl: Separate session cache for client and server

Even though in the most common case an erlang node will not be both client
and server, it may happen (for instance when running the erlang ditribution
over TLS).

Also try to mitigate the affect of dumb clients that could cause a
very lagre session cache on the client side that can cause long delays
in the client. The server will have other means to handle a large
session table and will not do any select operations on it anyhow.
Merge branch 'ia/ssl/seperate-clinet-server-session-table/OTP-11365'

* ia/ssl/seperate-clinet-server-session-table/OTP-11365:
  ssl: Separate session cache for client and server
Merge branch 'archimed-shaman/leex_line_wrap_issue' into maint

OTP-12238

* archimed-shaman/leex_line_wrap_issue:
  Fix line counting in token and tokens functions
  Add unit test for string fun in leex test suite
  Fix the line counting in string function
Merge branch 'maint'
Merge branch 'sverk/port_get_data-race/OTP-12208' into maint

* sverk/port_get_data-race/OTP-12208:
  erts: Mend port_set_data with non-immed data for halfword VM
  erts: Add test case for port_set_data and port_get_data
  erts: Fix race between port_set_data, port_get_data and port termination
  erts: Fix erlang:port_set_data/2 for non immediate data
Merge branch 'maint'