JavaScript is not currently enabled, but is required for full CodeSonar manual search and browse functionality.
If you are viewing this file in your hub's Web GUI, enable JavaScript in your browser: you will also need it for GUI functionality.
If you opened this file directly from disk, your browser may be directly suppressing JavaScript functionality: certain browsers perform this suppression on local files (but not files delivered by web servers) for security reasons.
| CodeSonar® 9.0p0 Hot Tips | CONFIDENTIAL | CodeSecure Inc |
Defines additional operations for cross-referencing: see also cs_xref.h.
| #define CS_XREF_COMMON_H |
| cs_const_string | cs_xr_kind_name ( cs_xr_kind k )
Get the name of a cs_xr_kind.
|
| cs_const_string | cs_xr_role_name ( cs_xr_role r )
Get the name of a cs_xr_role.
|
| cs_const_string | cs_xr_kind_role_name ( cs_xr_kind_role kr )
Get the name of a cs_xr_kind_role.
|
| csuint64 | cs_xref_namehash ( cs_const_string s )
Hash a token name.
|
| csuint64 | cs_xref_namehash_unterminated ( cs_const_string s, cs_size_t len )
Hash the token name obtained by taking a specified-length initial substring of a string.
|
| void | cs_xr_kind_role_decompose ( cs_xr_kind_role kr, cs_xr_kind * k, cs_xr_role * r ) |
| cs_xr_kind_role | cs_xr_kind_role_compose ( cs_xr_kind k, cs_xr_role r ) |
| Parameters |
|
|||
|---|---|---|---|---|
| Returns | A cs_const_string containing the name of k. Returns NULL if k is outside the defined range of cs_xr_kind. |
| Parameters |
|
|||
|---|---|---|---|---|
| Returns | A cs_const_string containing the name of r. Returns NULL if r is outside the defined range of cs_xr_role. |
| Parameters |
|
|||
|---|---|---|---|---|
| Returns | A cs_const_string containing the name of kr. Returns NULL if kr is outside the defined range of cs_xr_kind_role. |
| Parameters |
|
|||
|---|---|---|---|---|
| Returns | A hash of s, as a csuint64 | |||
| Notes | A procedure name token is the procedure basename as returned by cs_pdg_basename(). |
| Parameters |
|
||||||
|---|---|---|---|---|---|---|---|
| Returns | A hash of the first len characters of s. |
| Parameters |
|
|||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Returns | void |
| Parameters |
|
||||||
|---|---|---|---|---|---|---|---|
| Returns | The cs_xr_kind_role that represents the combination of kind k and role r. Returns csxrkr_count if k and r do not represent a valid token kind/role combination. |