A Discrete-Event Network Simulator
API
check-style-clang-format Namespace Reference

Functions

bool check_formatting (List[str] filenames, bool fix, int n_jobs)
 CHECK FORMATTING. More...
 
Tuple[str, bool] check_formatting_file (str filename, str clang_format_path, bool fix)
 
None check_style (str path, bool enable_check_formatting, bool enable_check_whitespace, bool enable_check_tabs, bool fix, int n_jobs=1)
 CHECK STYLE. More...
 
bool check_tabs (List[str] filenames, bool fix, int n_jobs)
 CHECK TABS. More...
 
Tuple[str, bool] check_tabs_file (str filename, bool fix)
 
bool check_trailing_whitespace (List[str] filenames, bool fix, int n_jobs)
 CHECK TRAILING WHITESPACE. More...
 
Tuple[str, bool] check_trailing_whitespace_file (str filename, bool fix)
 
str find_clang_format_path ()
 
Tuple[List[str], List[str], List[str]] find_files_to_check_style (str path)
 
bool skip_directory (str dirpath)
 AUXILIARY FUNCTIONS. More...
 
bool skip_file_formatting (str path)
 
bool skip_file_tabs (str path)
 
bool skip_file_whitespace (str path)
 

Variables

 action
 
 args = parser.parse_args()
 
string CLANG_FORMAT_GUARD_OFF = '// clang-format off'
 
string CLANG_FORMAT_GUARD_ON = '// clang-format on'
 
list CLANG_FORMAT_VERSIONS
 PARAMETERS. More...
 
 default
 
list DIRECTORIES_TO_SKIP
 
 enable_check_formatting
 
 enable_check_tabs
 
 enable_check_whitespace
 
list FILE_EXTENSIONS_TO_CHECK_FORMATTING
 
list FILE_EXTENSIONS_TO_CHECK_TABS
 
list FILE_EXTENSIONS_TO_CHECK_WHITESPACE
 
list FILES_TO_CHECK_WHITESPACE
 
list FILES_TO_SKIP
 
 fix
 
 help
 
 int
 
 n_jobs
 
 parser
 MAIN. More...
 
 path
 
int TAB_SIZE = 4
 
 type
 

Function Documentation

◆ check_formatting()

bool check-style-clang-format.check_formatting ( List[str]  filenames,
bool  fix,
int  n_jobs 
)

CHECK FORMATTING.

Check / fix the coding style of a list of files with clang-format.

@param filenames List of filenames to be checked.
@param fix Whether to fix the formatting of the file (True) or
           just check if the file is well-formatted (False).
@param n_jobs Number of parallel jobs.
@return True if all files are well formatted after the check process.
        False if there are non-formatted files after the check process.

Definition at line 355 of file check-style-clang-format.py.

References find_clang_format_path().

Referenced by check_style().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ check_formatting_file()

Tuple[str, bool] check-style-clang-format.check_formatting_file ( str  filename,
str  clang_format_path,
bool  fix 
)
Check / fix the coding style of a file with clang-format.

@param filename Name of the file to be checked.
@param clang_format_path Path to clang-format.
@param fix Whether to fix the style of the file (True) or
           just check if the file is well-formatted (False).
@return Tuple [Filename, Whether the file is well-formatted].

Definition at line 405 of file check-style-clang-format.py.

◆ check_style()

None check-style-clang-format.check_style ( str  path,
bool  enable_check_formatting,
bool  enable_check_whitespace,
bool  enable_check_tabs,
bool  fix,
int   n_jobs = 1 
)

CHECK STYLE.

Check / fix the coding style of a list of files, including formatting and
trailing whitespace.

@param path Path to the files.
@param fix Whether to fix the style of the file (True) or
           just check if the file is well-formatted (False).
@param enable_check_formatting Whether to enable code formatting checking.
@param enable_check_whitespace Whether to enable trailing whitespace checking.
@param enable_check_tabs Whether to enable tabs checking.
@param n_jobs Number of parallel jobs.

Definition at line 300 of file check-style-clang-format.py.

References check_formatting(), check_tabs(), check_trailing_whitespace(), and find_files_to_check_style().

+ Here is the call graph for this function:

◆ check_tabs()

bool check-style-clang-format.check_tabs ( List[str]  filenames,
bool  fix,
int  n_jobs 
)

CHECK TABS.

Check / fix tabs in a list of files.

@param filename Name of the file to be checked.
@param fix Whether to fix the file (True) or just check if it has tabs (False).
@param n_jobs Number of parallel jobs.
@return True if no files have tabs after the check process.
        False if there are tabs after the check process.

Definition at line 546 of file check-style-clang-format.py.

Referenced by check_style().

+ Here is the caller graph for this function:

◆ check_tabs_file()

Tuple[str, bool] check-style-clang-format.check_tabs_file ( str  filename,
bool  fix 
)
Check / fix tabs in a file.

@param filename Name of the file to be checked.
@param fix Whether to fix the file (True) or just check if it has tabs (False).
@return Tuple [Filename, Whether the file has tabs].

Definition at line 595 of file check-style-clang-format.py.

◆ check_trailing_whitespace()

bool check-style-clang-format.check_trailing_whitespace ( List[str]  filenames,
bool  fix,
int  n_jobs 
)

CHECK TRAILING WHITESPACE.

Check / fix trailing whitespace in a list of files.

@param filename Name of the file to be checked.
@param fix Whether to fix the file (True) or
           just check if it has trailing whitespace (False).
@param n_jobs Number of parallel jobs.
@return True if no files have trailing whitespace after the check process.
        False if there are trailing whitespace after the check process.

Definition at line 457 of file check-style-clang-format.py.

Referenced by check_style().

+ Here is the caller graph for this function:

◆ check_trailing_whitespace_file()

Tuple[str, bool] check-style-clang-format.check_trailing_whitespace_file ( str  filename,
bool  fix 
)
Check / fix trailing whitespace in a file.

@param filename Name of the file to be checked.
@param fix Whether to fix the file (True) or
           just check if it has trailing whitespace (False).
@return Tuple [Filename, Whether the file has trailing whitespace].

Definition at line 507 of file check-style-clang-format.py.

◆ find_clang_format_path()

str check-style-clang-format.find_clang_format_path ( )
Find the path to one of the supported versions of clang-format.
If no supported version of clang-format is found, raise an exception.

@return Path to clang-format.

Definition at line 258 of file check-style-clang-format.py.

References int.

Referenced by check_formatting().

+ Here is the caller graph for this function:

◆ find_files_to_check_style()

Tuple[List[str], List[str], List[str]] check-style-clang-format.find_files_to_check_style ( str  path)
Find all files to be checked in a given path.

@param path Path to check.
@return Tuple [List of files to check formatting,
               List of files to check trailing whitespace,
               List of files to check tabs].

Definition at line 203 of file check-style-clang-format.py.

References skip_directory(), skip_file_formatting(), skip_file_tabs(), and skip_file_whitespace().

Referenced by check_style().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ skip_directory()

bool check-style-clang-format.skip_directory ( str  dirpath)

AUXILIARY FUNCTIONS.

Check if a directory should be skipped.

@param dirpath Directory path.
@return Whether the directory should be skipped or not.

Definition at line 134 of file check-style-clang-format.py.

Referenced by find_files_to_check_style().

+ Here is the caller graph for this function:

◆ skip_file_formatting()

bool check-style-clang-format.skip_file_formatting ( str  path)
Check if a file should be skipped from formatting analysis.

@param path Path to the file.
@return Whether the file should be skipped or not.

Definition at line 148 of file check-style-clang-format.py.

Referenced by find_files_to_check_style().

+ Here is the caller graph for this function:

◆ skip_file_tabs()

bool check-style-clang-format.skip_file_tabs ( str  path)
Check if a file should be skipped from tabs analysis.

@param path Path to the file.
@return Whether the file should be skipped or not.

Definition at line 185 of file check-style-clang-format.py.

Referenced by find_files_to_check_style().

+ Here is the caller graph for this function:

◆ skip_file_whitespace()

bool check-style-clang-format.skip_file_whitespace ( str  path)
Check if a file should be skipped from trailing whitespace analysis.

@param path Path to the file.
@return Whether the file should be skipped or not.

Definition at line 166 of file check-style-clang-format.py.

Referenced by find_files_to_check_style().

+ Here is the caller graph for this function:

Variable Documentation

◆ action

◆ args

check-style-clang-format.args = parser.parse_args()

Definition at line 675 of file check-style-clang-format.py.

Referenced by MpiTestSuite.MpiTestSuite(), ns3::NodeContainer.NodeContainer(), ns3::ObjectFactory.ObjectFactory(), TidToLinkMappingElementTest.TidToLinkMappingElementTest(), ns3::NodeContainer.Add(), ns3::TrafficControlHelper.AddChildQueueDisc(), ns3::TrafficControlHelper.AddChildQueueDiscs(), ns3::TrafficControlHelper.AddInternalQueues(), ns3::TrafficControlHelper.AddPacketFilter(), ns3::SpectrumChannelHelper.AddPropagationLoss(), ns3::YansWifiChannelHelper.AddPropagationLoss(), ns3::TrafficControlHelper.AddQueueDiscClasses(), ns3::SpectrumChannelHelper.AddSpectrumPropagationLoss(), ns3::WifiHelper.ConfigEhtOptions(), ns3::WifiHelper.ConfigHeOptions(), ns3::WifiHelper.ConfigHtOptions(), ns3::WifiHelper.ConfigVhtOptions(), ns3.Create(), ns3.CreateObject(), ns3.CreateObjectWithAttributes(), ns3::WifiInformationElement.DeserializeIfPresent(), ns3::CommandLine.HandleHardOptions(), ns3::DesMetrics.Initialize(), ns3.MakeEnumChecker(), ns3::TracedCallback< Ts >.operator()(), ns3.operator<<(), ns3::CommandLine.Parse(), ns3::Simulator.Schedule(), ns3::Simulator.ScheduleDestroy(), ns3::Simulator.ScheduleNow(), ns3::Simulator.ScheduleWithContext(), ns3::TupleValue< Args >.Set(), ns3::ObjectFactory.Set(), ns3::WifiTxTimer.Set(), ns3::WifiMacHelper.SetAckManager(), ns3::AdhocAlohaNoackIdealPhyHelper.SetAntenna(), ns3::SpectrumAnalyzerHelper.SetAntenna(), ns3::WaveformGeneratorHelper.SetAntenna(), ns3::TrickleTimer.SetArguments(), ns3::Watchdog.SetArguments(), ns3::Timer.SetArguments(), ns3::WifiMacHelper.SetAssocManager(), ns3::SimpleNetDeviceHelper.SetChannel(), ns3::SpectrumChannelHelper.SetChannel(), ns3::WaveHelper.SetChannelScheduler(), ns3::WifiPhyHelper.SetErrorRateModel(), ns3::WifiPhyHelper.SetFrameCaptureModel(), ns3::WifiPhyHelper.SetInterferenceHelper(), TidToLinkMappingElementTest.SetLinkMapping(), ns3::UanHelper.SetMac(), ns3::WifiMacHelper.SetMacQueueScheduler(), ns3::MeshHelper.SetMacType(), ns3::GroupMobilityHelper.SetMemberMobilityModel(), ns3::GroupMobilityHelper.SetMemberPositionAllocator(), ns3::MobilityHelper.SetMobilityModel(), ns3::WifiMacHelper.SetMultiUserScheduler(), ns3::WifiHelper.SetObssPdAlgorithm(), ns3::SpectrumPhyHelper.SetPhy(), ns3::UanHelper.SetPhy(), ns3::MobilityHelper.SetPositionAllocator(), ns3::WifiPhyHelper.SetPreambleDetectionModel(), ns3::SpectrumChannelHelper.SetPropagationDelay(), ns3::YansWifiChannelHelper.SetPropagationDelay(), ns3::WifiMacHelper.SetProtectionManager(), ns3::CsmaHelper.SetQueue(), ns3::SimpleNetDeviceHelper.SetQueue(), ns3::PointToPointHelper.SetQueue(), ns3::TrafficControlHelper.SetQueueLimits(), ns3::GroupMobilityHelper.SetReferenceMobilityModel(), ns3::GroupMobilityHelper.SetReferencePositionAllocator(), ns3::WifiHelper.SetRemoteStationManager(), ns3::MeshHelper.SetRemoteStationManager(), ns3::WaveHelper.SetRemoteStationManager(), ns3::TrafficControlHelper.SetRootQueueDisc(), ns3::MeshHelper.SetStackInstaller(), ns3::UanHelper.SetTransducer(), ns3::WifiRadioEnergyModelHelper.SetTxCurrentModel(), ns3::WifiMacHelper.SetType(), ns3::NqosWaveMacHelper.SetType(), ns3::QosWaveMacHelper.SetType(), ns3::HeaderSerializationTestCase.TestHeaderSerialization(), LengthTestCase.TestTryParseReturnsTrue(), ns3::WifiTxTimer.Timeout(), and ns3::DesMetrics.TraceWithContext().

◆ CLANG_FORMAT_GUARD_OFF

string check-style-clang-format.CLANG_FORMAT_GUARD_OFF = '// clang-format off'

Definition at line 60 of file check-style-clang-format.py.

◆ CLANG_FORMAT_GUARD_ON

string check-style-clang-format.CLANG_FORMAT_GUARD_ON = '// clang-format on'

Definition at line 59 of file check-style-clang-format.py.

◆ CLANG_FORMAT_VERSIONS

list check-style-clang-format.CLANG_FORMAT_VERSIONS
Initial value:
1 = [
2  16,
3  15,
4  14,
5 ]

PARAMETERS.

Definition at line 53 of file check-style-clang-format.py.

◆ default

check-style-clang-format.default

Definition at line 672 of file check-style-clang-format.py.

◆ DIRECTORIES_TO_SKIP

list check-style-clang-format.DIRECTORIES_TO_SKIP
Initial value:
1 = [
2  '__pycache__',
3  '.vscode',
4  'bindings',
5  'build',
6  'cmake-cache',
7  'testpy-output',
8 ]

Definition at line 62 of file check-style-clang-format.py.

◆ enable_check_formatting

check-style-clang-format.enable_check_formatting

Definition at line 680 of file check-style-clang-format.py.

◆ enable_check_tabs

check-style-clang-format.enable_check_tabs

Definition at line 682 of file check-style-clang-format.py.

◆ enable_check_whitespace

check-style-clang-format.enable_check_whitespace

Definition at line 681 of file check-style-clang-format.py.

◆ FILE_EXTENSIONS_TO_CHECK_FORMATTING

list check-style-clang-format.FILE_EXTENSIONS_TO_CHECK_FORMATTING
Initial value:
1 = [
2  '.c',
3  '.cc',
4  '.h',
5 ]

Definition at line 77 of file check-style-clang-format.py.

◆ FILE_EXTENSIONS_TO_CHECK_TABS

list check-style-clang-format.FILE_EXTENSIONS_TO_CHECK_TABS
Initial value:
1 = [
2  '.c',
3  '.cc',
4  '.h',
5  '.md',
6  '.py',
7  '.rst',
8  '.sh',
9  '.yml',
10 ]

Definition at line 118 of file check-style-clang-format.py.

◆ FILE_EXTENSIONS_TO_CHECK_WHITESPACE

list check-style-clang-format.FILE_EXTENSIONS_TO_CHECK_WHITESPACE
Initial value:
1 = [
2  '.c',
3  '.cc',
4  '.click',
5  '.cmake',
6  '.conf',
7  '.css',
8  '.dot',
9  '.gnuplot',
10  '.gp',
11  '.h',
12  '.html',
13  '.js',
14  '.json',
15  '.m',
16  '.md',
17  '.mob',
18  '.ns_params',
19  '.ns_movements',
20  '.params',
21  '.pl',
22  '.plt',
23  '.py',
24  '.rst',
25  '.seqdiag',
26  '.sh',
27  '.txt',
28  '.yml',
29 ]

Definition at line 83 of file check-style-clang-format.py.

◆ FILES_TO_CHECK_WHITESPACE

list check-style-clang-format.FILES_TO_CHECK_WHITESPACE
Initial value:
1 = [
2  'Makefile',
3  'ns3',
4 ]

Definition at line 113 of file check-style-clang-format.py.

◆ FILES_TO_SKIP

list check-style-clang-format.FILES_TO_SKIP
Initial value:
1 = [
2  'valgrind.h',
3 ]

Definition at line 73 of file check-style-clang-format.py.

◆ fix

check-style-clang-format.fix

Definition at line 683 of file check-style-clang-format.py.

◆ help

◆ int

check-style-clang-format.int

Definition at line 672 of file check-style-clang-format.py.

Referenced by grid.TimelineDataRange.__search(), grid.TimelineEvent.__search(), bianchi11ax.bianchi_ax(), EpcTftClassifierTestCase.BuildNameString(), ns3::UanPhyPerCommonModes.CalcPer(), Bug2831TestCase.ChangeSupportedChannelWidth(), ns3::EmuFdNetDeviceHelper.CreateFileDescriptor(), ns3::NetmapNetDeviceHelper.CreateFileDescriptor(), ns3::TapFdNetDeviceHelper.CreateFileDescriptor(), ns3::TapBridge.CreateTap(), ns3::Asn1Header.DeserializeInteger(), ns3::AarfWifiManager.DoReportDataFailed(), ns3::AarfcdWifiManager.DoReportDataFailed(), LrWpanCollisionTestCase.DoRun(), Bug2831TestCase.DoRun(), ns3::CqaFfMacScheduler.DoSchedDlTriggerReq(), ns3::PssFfMacScheduler.DoSchedDlTriggerReq(), TestUlOfdmaPpduUid.DoSetup(), TestMultipleHeTbPreambles.DoSetup(), TestPhyPaddingExclusion.DoSetup(), grid.ScaleRenderer.draw(), grid.TimelinesRenderer.draw_events(), grid.TimelinesRenderer.draw_ranges(), ns3::TcpBbr.EnterProbeBW(), find_clang_format_path(), ns3::TvSpectrumTransmitterHelper.GenerateRegionalTransmitterIndices(), anonymous_namespace{packet-test-suite.cc}::ATestTagBase.GetData(), ns3::TvSpectrumTransmitterHelper.InstallRandomRegionalTransmitters(), ns3.operator<<(), ns3::olsr.operator<<(), ns3::Ipv6Prefix.Print(), ns3::RipRte.Print(), ns3::RipHeader.Print(), ns3::RipNgRte.Print(), ns3::RipNgHeader.Print(), ns3::EpcX2HandoverRequestHeader.Print(), ns3::EpcX2HandoverRequestAckHeader.Print(), ns3::EpcX2SnStatusTransferHeader.Print(), ns3::LteRlcAmHeader.Print(), ns3::RrcConnectionSetupHeader.Print(), ns3::RrcConnectionSetupCompleteHeader.Print(), ns3::RrcConnectionReconfigurationCompleteHeader.Print(), ns3::RrcConnectionReconfigurationHeader.Print(), ns3::HandoverPreparationInfoHeader.Print(), ns3::RrcConnectionReestablishmentRequestHeader.Print(), ns3::RrcConnectionReestablishmentHeader.Print(), ns3::RrcConnectionReestablishmentCompleteHeader.Print(), ns3::RrcConnectionRejectHeader.Print(), ns3::MeasurementReportHeader.Print(), ns3::dot11s::IeRann.Print(), ns3::VendorSpecificActionHeader.Print(), ns3::WifiMacHeader.Print(), ns3::PbbMessage.Print(), ns3::PbbAddressBlock.Print(), ns3::PbbTlv.Print(), ns3::RrcAsn1Header.Print(), ns3::WifiMacHeader.PrintFrameControl(), IpAddressHelper.PrintIpAddresses(), ns3::Ipv6StaticRouting.PrintRoutingTable(), ns3::Rip.PrintRoutingTable(), ns3::RipNg.PrintRoutingTable(), grid.read_data(), InterferenceExperiment.Run(), SpectrumWifiPhyFilterTest.RunOne(), TestDlOfdmaPhyTransmission.RunOne(), TestUlOfdmaPhyTransmission.RunOne(), ns3::olsr.SecondsToEmf(), SendSocket(), ns3.SendSocket(), ns3::EpcX2HandoverRequestHeader.Serialize(), ns3::EpcX2HandoverRequestAckHeader.Serialize(), ns3::EpcX2SnStatusTransferHeader.Serialize(), ns3::EpcX2LoadInformationHeader.Serialize(), ns3::EpcX2ResourceStatusUpdateHeader.Serialize(), ns3::Ipv4FlowClassifier.SerializeToXmlStream(), ns3::Ipv6FlowClassifier.SerializeToXmlStream(), ns3::EpcX2LoadInformationHeader.SetCellInformationList(), ns3::Time.SetResolution(), ns3::dot11s::PeerManagementProtocol.ShiftOwnBeacon(), InterferenceHelperSequenceTest.SwitchCh(), PowerRateAdaptationTest.TestAparf(), PowerRateAdaptationTest.TestParf(), PowerRateAdaptationTest.TestRrpaa(), visualizer.hud.Axes.update_view(), and ns3::UplinkSchedulerMBQoS.UplinkSchedWindowTimer().

◆ n_jobs

check-style-clang-format.n_jobs

Definition at line 684 of file check-style-clang-format.py.

◆ parser

check-style-clang-format.parser
Initial value:
1 = argparse.ArgumentParser(
2  description='Check and apply the ns-3 coding style to all files in a given PATH. '
3  'The script checks the formatting of the file with clang-format. '
4  'Additionally, it checks the presence of trailing whitespace and tabs. '
5  'Formatting and tabs checks respect clang-format guards. '
6  'When used in "check mode" (default), the script checks if all files are well '
7  'formatted and do not have trailing whitespace nor tabs. '
8  'If it detects non-formatted files, they will be printed and this process exits with a '
9  'non-zero code. When used in "fix mode", this script automatically fixes the files.')

MAIN.

Definition at line 647 of file check-style-clang-format.py.

◆ path

check-style-clang-format.path

Definition at line 679 of file check-style-clang-format.py.

Referenced by ns3::Config::MatchContainer.MatchContainer(), ns3::Config::Resolver.Resolver(), ns3::LteHelper.ActivateDataRadioBearer(), ns3::NamesPriv.Add(), ns3::Names.Add(), ns3::FileHelper.AddProbe(), ns3::GnuplotHelper.AddProbe(), ns3::WimaxHelper.AsciiRxEvent(), ns3::WimaxHelper.AsciiTxEvent(), ns3::RandomVariableStreamHelper.AssignStreams(), ns3::XmlConfigLoad.Attributes(), ns3::TracedCallback< Ts >.Connect(), ns3::TracedValue< T >.Connect(), ns3::Config.Connect(), ns3::ApplicationPacketProbe.ConnectByPath(), ns3::Ipv4PacketProbe.ConnectByPath(), ns3::Ipv6PacketProbe.ConnectByPath(), ns3::PacketProbe.ConnectByPath(), ns3::BooleanProbe.ConnectByPath(), ns3::DoubleProbe.ConnectByPath(), ns3::TimeProbe.ConnectByPath(), ns3::Uinteger16Probe.ConnectByPath(), ns3::Uinteger32Probe.ConnectByPath(), ns3::Uinteger8Probe.ConnectByPath(), ns3::Config::ConfigImpl.ConnectFailSafe(), ns3::Config.ConnectFailSafe(), ns3::FileHelper.ConnectProbeToAggregator(), ns3::GnuplotHelper.ConnectProbeToAggregator(), ns3::Config.ConnectWithoutContext(), ns3::Config::ConfigImpl.ConnectWithoutContextFailSafe(), ns3::Config.ConnectWithoutContextFailSafe(), CourseChangeCallback(), ns3::EmuFdNetDeviceHelper.CreateFileDescriptor(), ns3::NetmapNetDeviceHelper.CreateFileDescriptor(), ns3::TapFdNetDeviceHelper.CreateFileDescriptor(), ns3::TapBridge.CreateTap(), ns3::SystemPath.CreateValidSystemPath(), ns3::SystemPath.Dirname(), ns3::TracedCallback< Ts >.Disconnect(), ns3::TracedValue< T >.Disconnect(), ns3::Config::ConfigImpl.Disconnect(), ns3::Config.Disconnect(), ns3::Config::ConfigImpl.DisconnectWithoutContext(), ns3::Config.DisconnectWithoutContext(), ns3::PhyRxStatsCalculator.DlPhyReceptionCallback(), ns3::PhyTxStatsCalculator.DlPhyTransmissionCallback(), ns3.DlRxPduCallback(), ns3::MacStatsCalculator.DlSchedulingCallback(), ns3.DlTxPduCallback(), ns3::Config::Resolver.DoArrayResolve(), ns3::Config::Resolver.DoResolve(), SetChannelFrequencyTest.DoRun(), ns3::SystemPath.Exists(), ns3::LteStatsCalculator.ExistsCellIdPath(), ns3::LteStatsCalculator.ExistsImsiPath(), ns3::NamesPriv.Find(), ns3::Names.Find(), ns3::LteStatsCalculator.FindCellIdFromEnbMac(), ns3::LteStatsCalculator.FindCellIdFromEnbRlcPath(), ns3::LteStatsCalculator.FindImsiForEnb(), ns3::LteStatsCalculator.FindImsiForUe(), ns3::LteStatsCalculator.FindImsiFromEnbMac(), ns3::LteStatsCalculator.FindImsiFromEnbRlcPath(), ns3::LteStatsCalculator.FindImsiFromLteNetDevice(), ns3::LteStatsCalculator.FindImsiFromUePhy(), ns3::Names.FindInternal(), ns3::NamesPriv.FindPath(), ns3::LteStatsCalculator.GetCellIdPath(), ns3::LteStatsCalculator.GetImsiPath(), ns3::TestRunnerImpl.GetTopLevelSourceDir(), ns3::TestRunnerImpl.IsTopLevelSourceDir(), ns3::Config::ConfigImpl.LookupMatches(), ns3::Config.LookupMatches(), ns3::dsr::DsrRouteCache.LookupRoute_Link(), ns3.LteSimpleHelperDlRxPduCallback(), ns3.LteSimpleHelperDlTxPduCallback(), ns3.LteSimpleHelperUlRxPduCallback(), ns3.LteSimpleHelperUlTxPduCallback(), ns3::SystemPath.MakeDirectories(), ns3::SystemPath.MakeTemporaryDirectoryName(), ns3::Config::ConfigImpl.ParsePath(), ns3::GnuplotHelper.PlotProbe(), PrintConfigPaths(), ns3::CommandLine.PrintDoxygenUsage(), ns3::dsr::DsrRouteCache.PrintRouteVector(), ns3::SystemPath.ReadFiles(), ns3::anonymous_namespace{system-path.cc}.ReadFilesNoThrow(), ns3::NamesPriv.Rename(), ns3::Names.Rename(), ns3::PhyStatsCalculator.ReportCurrentCellRsrpSinrCallback(), ns3::PhyStatsCalculator.ReportInterference(), ns3::PhyStatsCalculator.ReportUeSinr(), SendSocket(), ns3.SendSocket(), ns3::Config::ConfigImpl.Set(), ns3::Config.Set(), ns3::LteStatsCalculator.SetCellIdPath(), ns3::Config::ConfigImpl.SetFailSafe(), ns3::Config.SetFailSafe(), ns3::LteStatsCalculator.SetImsiPath(), ns3::SimpleOfdmWimaxPhy.SetTraceFilePath(), ns3::BooleanProbe.SetValueByPath(), ns3::DoubleProbe.SetValueByPath(), ns3::PacketProbe.SetValueByPath(), ns3::ApplicationPacketProbe.SetValueByPath(), ns3::Ipv4PacketProbe.SetValueByPath(), ns3::Ipv6PacketProbe.SetValueByPath(), ns3::TimeProbe.SetValueByPath(), ns3::Uinteger16Probe.SetValueByPath(), ns3::Uinteger32Probe.SetValueByPath(), ns3::Uinteger8Probe.SetValueByPath(), ns3::SystemPath.Split(), ns3::tests::ObjectVectorTraceConfigTestCase.TraceWithPath(), ns3::PhyRxStatsCalculator.UlPhyReceptionCallback(), ns3::PhyTxStatsCalculator.UlPhyTransmissionCallback(), ns3.UlRxPduCallback(), ns3::MacStatsCalculator.UlSchedulingCallback(), ns3.UlTxPduCallback(), and ns3::FileHelper.WriteProbe().

◆ TAB_SIZE

int check-style-clang-format.TAB_SIZE = 4

Definition at line 128 of file check-style-clang-format.py.

◆ type

check-style-clang-format.type

Definition at line 657 of file check-style-clang-format.py.

Referenced by ns3::Address.Address(), ns3::CtrlTriggerHeader.CtrlTriggerHeader(), ns3::TestSuite.TestSuite(), ns3::Tlv.Tlv(), ns3::UanHeaderCommon.UanHeaderCommon(), ns3::WifiMacHeader.WifiMacHeader(), ns3::TrafficControlHelper.AddChildQueueDisc(), ns3::TrafficControlHelper.AddChildQueueDiscs(), ns3::ConnectionManager.AddConnection(), ns3::TrafficControlHelper.AddInternalQueues(), ns3::TrafficControlHelper.AddPacketFilter(), ns3::TrafficControlHelper.AddQueueDiscClasses(), ns3::CidFactory.Allocate(), ns3::RawTextConfigLoad.Attributes(), ns3::XmlConfigLoad.Attributes(), ns3::tests::HashTestCase.Check(), ns3::Address.CheckCompatible(), ns3::ConnectionManager.CreateConnection(), ns3::UanTxModeFactory.CreateMode(), TestPrimary20CoveredByPpdu.CreatePpdu(), ns3::RawTextConfigLoad.Default(), ns3::XmlConfigLoad.Default(), ns3::aodv::TypeHeader.Deserialize(), ns3::SfVectorTlvValue.Deserialize(), ns3::CsParamVectorTlvValue.Deserialize(), ns3::ClassificationRuleVectorTlvValue.Deserialize(), ns3::GtpcIes.DeserializeBearerContextHeader(), ns3::GtpcIes.DeserializeBearerQos(), ns3::GtpcIes.DeserializeBearerTft(), ns3::GtpcIes.DeserializeCause(), ns3::GtpcIes.DeserializeEbi(), ns3::GtpcIes.DeserializeFteid(), ns3::GtpcIes.DeserializeImsi(), ns3::GtpcIes.DeserializeUliEcgi(), ns3::BaseStationNetDevice.DoReceive(), ns3::SubscriberStationNetDevice.DoReceive(), TestNonHtDuplicatePhyReception.DoRun(), WifiPrimaryChannelsTest.DoRun(), Ns3WimaxFragmentationTestCase.DoRun(), TestNonHtDuplicatePhyReception.DoSetup(), ns3::WifiDefaultAssocManager.DoStartScanning(), ns3::TapBridge.Filter(), ns3::Ipv6EndPoint.ForwardIcmp(), ns3::TapBridge.ForwardToBridgedDevice(), ns3::Ipv4RawSocketImpl.ForwardUp(), ns3::Ipv6RawSocketImpl.ForwardUp(), ns3::WaveNetDevice.ForwardUp(), ns3::WifiNetDevice.ForwardUp(), ns3.GetBlockAckRequestSize(), ns3.GetBlockAckSize(), ns3::ConnectionManager.GetConnections(), ns3::Ipv6ExtensionFragment.GetFragments(), ns3::ConnectionManager.GetNPackets(), ns3::InetSocketAddress.GetType(), ns3::Inet6SocketAddress.GetType(), ns3::Ipv4Address.GetType(), ns3::Ipv6Address.GetType(), ns3::Mac16Address.GetType(), ns3::Mac48Address.GetType(), ns3::Mac64Address.GetType(), ns3::Mac8Address.GetType(), ns3::PacketSocketAddress.GetType(), ns3::OrganizationIdentifier.GetType(), ns3::CtrlTriggerHeader.GetTypeString(), ns3::RawTextConfigLoad.Global(), ns3::XmlConfigLoad.Global(), ns3::Icmpv6L4Protocol.HandleNA(), ns3::Icmpv6L4Protocol.HandleNS(), ns3::Icmpv6L4Protocol.HandleRA(), ns3::Radvd.HandleRead(), ns3::Icmpv6L4Protocol.HandleRedirection(), ns3::Icmpv6L4Protocol.HandleRS(), ns3::ArpQueueDiscItem.Hash(), ns3::Ipv6RawSocketImpl.Icmpv6FilterSetBlock(), ns3::Ipv6RawSocketImpl.Icmpv6FilterSetPass(), ns3::Ipv6RawSocketImpl.Icmpv6FilterWillBlock(), ns3::Ipv6RawSocketImpl.Icmpv6FilterWillPass(), ns3::Address.IsMatchingType(), std::hash< ns3::WifiContainerQueueId >.operator()(), ns3.operator<<(), ns3::RawTextConfigLoad.ParseLine(), PhySyncDetection(), LteRadioLinkFailureTestCase.PhySyncDetectionCallback(), ns3::CommandLine.PrintAttributes(), PrintAttributeValueWithName(), ns3::MinstrelHtWifiManager.RateInit(), ns3::Ping.Receive(), ns3::Address.Register(), test-ns3.run_program(), SpectrumWifiPhyFilterTest.RunOne(), TestPrimary20CoveredByPpdu.RunOne(), ns3::Icmpv4L4Protocol.SendMessage(), ns3::UanMacRcGw.SendPacket(), ns3::UanMacRc.SendPacket(), ns3::aodv::RoutingProtocol.SendReplyByIntermediateNode(), ns3::Ipv6RawSocketImpl.SendTo(), ns3::WifiMacHelper.SetAckManager(), ns3::CtrlBAckResponseHeader.SetAckType(), ns3::WifiActionHeader.SetAction(), ns3::SpectrumAnalyzerHelper.SetAntenna(), ns3::WaveformGeneratorHelper.SetAntenna(), ns3::WifiMacHelper.SetAssocManager(), ns3::dsr::DsrRouteCache.SetCacheType(), ns3::SimpleNetDeviceHelper.SetChannel(), ns3::SpectrumChannelHelper.SetChannel(), ns3::WaveHelper.SetChannelScheduler(), ns3::WifiTxVector.SetEhtPpduType(), ns3::LteHelper.SetEnbAntennaModelType(), ns3::LteHelper.SetEnbComponentCarrierManagerType(), ns3::WifiPhyHelper.SetErrorRateModel(), ns3::LteHelper.SetFadingModel(), ns3::LteHelper.SetFfrAlgorithmType(), ns3::WifiPhyHelper.SetFrameCaptureModel(), ns3::LteHelper.SetHandoverAlgorithmType(), ns3::WifiPhyHelper.SetInterferenceHelper(), ns3::UanHelper.SetMac(), ns3::WifiMacHelper.SetMacQueueScheduler(), ns3::GroupMobilityHelper.SetMemberMobilityModel(), ns3::GroupMobilityHelper.SetMemberPositionAllocator(), ns3::LteControlMessage.SetMessageType(), ns3::MobilityHelper.SetMobilityModel(), ns3::WifiMacHelper.SetMultiUserScheduler(), ns3::WifiHelper.SetObssPdAlgorithm(), ns3::SllHeader.SetPacketType(), ns3::LteHelper.SetPathlossModelType(), ns3::MobilityHelper.SetPositionAllocator(), ns3::WifiPhyHelper.SetPreambleDetectionModel(), ns3::WifiMacHelper.SetProtectionManager(), ns3::ServiceFlow.SetQosParamSetType(), ns3::CsmaHelper.SetQueue(), ns3::SimpleNetDeviceHelper.SetQueue(), ns3::PointToPointHelper.SetQueue(), ns3::TrafficControlHelper.SetQueueLimits(), ns3::GroupMobilityHelper.SetReferenceMobilityModel(), ns3::GroupMobilityHelper.SetReferencePositionAllocator(), ns3::WifiHelper.SetRemoteStationManager(), ns3::MeshHelper.SetRemoteStationManager(), ns3::WaveHelper.SetRemoteStationManager(), ns3::TrafficControlHelper.SetRootQueueDisc(), ns3::LteHelper.SetSchedulerType(), ns3::LteHelper.SetSpectrumChannelType(), ns3::MeshHelper.SetStackInstaller(), ns3::UanHelper.SetTransducer(), ns3::NetDeviceQueueInterface.SetTxQueuesType(), ns3::CtrlBAckRequestHeader.SetType(), ns3::CtrlBAckResponseHeader.SetType(), ns3::UlJob.SetType(), ns3::WifiMacHelper.SetType(), ns3::NqosWaveMacHelper.SetType(), ns3::QosWaveMacHelper.SetType(), ns3::CtrlTriggerHeader.SetType(), ns3::ServiceFlow.SetType(), ns3::LlcSnapHeader.SetType(), ns3::dsr::DsrOptionHeader.SetType(), ns3::DhcpHeader.SetType(), ns3::Icmpv4Header.SetType(), ns3::Icmpv6Header.SetType(), ns3::Icmpv6OptionHeader.SetType(), ns3::Ipv6OptionHeader.SetType(), ns3::PbbMessage.SetType(), ns3::PbbTlv.SetType(), ns3::UanHeaderCommon.SetType(), ns3::OfdmDlBurstProfile.SetType(), ns3::ManagementMessageType.SetType(), ns3::OfdmUlBurstProfile.SetType(), ns3::MacHeaderType.SetType(), ns3::GenericMacHeader.SetType(), ns3::BandwidthRequestHeader.SetType(), ns3::WifiMacHeader.SetType(), ns3::FdNetDeviceHelper.SetTypeId(), ns3::WifiMac.SetTypeOfStation(), ns3::LteHelper.SetUeAntennaModelType(), ns3::LteHelper.SetUeComponentCarrierManagerType(), ns3::SPFVertex.SetVertexType(), ns3::PhyEntity.Transmit(), and ns3::SpectrumWifiPhy.UpdateInterferenceHelperBands().