Coverage Report

Created: 2025-06-24 06:17

/usr/include/glib-2.0/glib/glib-autocleanups.h
Line
Count
Source (jump to first uncovered line)
1
/*
2
 * Copyright © 2015 Canonical Limited
3
 *
4
 * This library is free software; you can redistribute it and/or
5
 * modify it under the terms of the GNU Lesser General Public
6
 * License as published by the Free Software Foundation; either
7
 * version 2.1 of the License, or (at your option) any later version.
8
 *
9
 * This library is distributed in the hope that it will be useful,
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12
 * Lesser General Public License for more details.
13
 *
14
 * You should have received a copy of the GNU Lesser General Public
15
 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
16
 *
17
 * Author: Ryan Lortie <desrt@desrt.ca>
18
 */
19
20
#if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
21
#error "Only <glib.h> can be included directly."
22
#endif
23
24
static inline void
25
g_autoptr_cleanup_generic_gfree (void *p)
26
0
{
27
0
  void **pp = (void**)p;
28
0
  g_free (*pp);
29
0
}
Unexecuted instantiation: fuzzing-main.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: binding-handler.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: boolcfg-stub.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: device-energy-management-stub.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: energy-evse-stub.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: occupancy-sensing-stub.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: operational-state-delegate-impl.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: smco-stub.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: software-diagnostics-stub.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: wifi-diagnostics-stub.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: DeviceEnergyManagementDelegateImpl.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: DeviceEnergyManagementManager.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: device-energy-management-mode.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: ChargingTargetsMemMgr.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: EVSEManufacturerImpl.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: EnergyEvseDelegateImpl.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: EnergyEvseManager.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: EnergyEvseTargetsStore.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: energy-evse-mode.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: WhmDelegateImpl.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: WhmInstance.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: WhmMain.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: WhmManufacturer.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: water-heater-mode.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: thermostat-delegate-impl.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: AllClustersCommandDelegate.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: AppOptions.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: ButtonEventsSimulator.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: WindowCoveringManager.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: main-common.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: AppMain.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: CommissionableInit.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: Options.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: CustomCSRResponse.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: reporting.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: attribute-storage.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: access-control-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: CodegenIntegration.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: basic-information.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: BindingManager.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: bindings.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: camera-av-settings-user-level-management-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: camera-av-stream-management-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: color-control-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: descriptor.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: device-energy-management-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: dishwasher-alarm-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: energy-evse-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: fault-injection-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: fixed-label-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: general-commissioning-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: general-diagnostics-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: group-key-mgmt-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: identify-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: laundry-dryer-controls-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: laundry-washer-controls-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: level-control.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: localization-configuration-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: mode-base-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: mode-select-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: CodegenInstance.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: on-off-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: operational-credentials-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: operational-state-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: BDXDownloader.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: DefaultOTARequestor.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: DefaultOTARequestorDriver.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: ExtendedOTARequestorDriver.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: pump-configuration-and-control-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: refrigerator-alarm-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: resource-monitoring-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: scenes-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: switch-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: temperature-control-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: test-cluster-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: thermostat-server-atomic.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: thermostat-server-presets.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: thermostat-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: thread-network-diagnostics-provider.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: thread-network-diagnostics-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: time-format-localization-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: time-synchronization-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: user-label-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: valve-configuration-and-control-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: water-heater-management-server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: IMClusterCommandHandler.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: AdministratorCommissioningCluster.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: AdministratorCommissioningLogic.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: NetworkCommissioningCluster.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: NetworkCommissioningLogic.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: OnboardingCodesUtil.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: EventManagement.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: FailSafeContext.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: ReliableMessageContext.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: ReliableMessageMgr.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: ReliableMessageProtocolConfig.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: DeviceControlServer.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: Globals.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: LockTracker.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: PlatformEventSupport.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: SingletonConfigurationManager.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: CHIPLinuxStorage.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: CHIPLinuxStorageIni.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: ConfigurationManagerImpl.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: ConnectivityManagerImpl.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: ConnectivityUtils.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: DiagnosticDataProviderImpl.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: NetworkCommissioningEthernetDriver.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: PlatformManagerImpl.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: GeneralUtils.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: DeviceInstanceInfoProviderImpl.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: PosixConfig.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: SystemTimeSupport.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: BLEManagerImpl.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: BluezAdvertisement.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: BluezConnection.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: BluezEndpoint.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: BluezObjectManager.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: ChipDeviceScanner.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: NetworkCommissioningWiFiDriver.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: DBusWpa.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: DBusWpaBss.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: DBusWpaInterface.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: DBusWpaNetwork.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: DBusBluez.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: SessionManager.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: LastKnownGoodTime.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: CASESessionManager.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: InteractionModelEngine.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: WriteHandler.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: CommandResponseSender.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: ReadHandler.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: OperationalSessionSetup.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: CASESession.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: PairingSession.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: Engine.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: ReadClient.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: SubscriptionResumptionSessionEstablisher.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: Server.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: CommissioningWindowManager.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: Dnssd.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: ReportSchedulerImpl.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: WiFiPAF.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: TimerDelegates.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: AllClustersExampleDeviceInfoProviderImpl.cpp:g_autoptr_cleanup_generic_gfree(void*)
Unexecuted instantiation: DeviceInfoProviderImpl.cpp:g_autoptr_cleanup_generic_gfree(void*)
30
31
static inline void
32
g_autoptr_cleanup_gstring_free (GString *string)
33
0
{
34
0
  if (string)
35
0
    g_string_free (string, TRUE);
36
0
}
Unexecuted instantiation: fuzzing-main.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: binding-handler.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: boolcfg-stub.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: device-energy-management-stub.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: energy-evse-stub.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: occupancy-sensing-stub.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: operational-state-delegate-impl.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: smco-stub.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: software-diagnostics-stub.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: wifi-diagnostics-stub.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: DeviceEnergyManagementDelegateImpl.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: DeviceEnergyManagementManager.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: device-energy-management-mode.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: ChargingTargetsMemMgr.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: EVSEManufacturerImpl.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: EnergyEvseDelegateImpl.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: EnergyEvseManager.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: EnergyEvseTargetsStore.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: energy-evse-mode.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: WhmDelegateImpl.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: WhmInstance.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: WhmMain.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: WhmManufacturer.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: water-heater-mode.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: thermostat-delegate-impl.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: AllClustersCommandDelegate.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: AppOptions.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: ButtonEventsSimulator.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: WindowCoveringManager.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: main-common.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: AppMain.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: CommissionableInit.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: Options.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: CustomCSRResponse.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: reporting.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: attribute-storage.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: access-control-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: CodegenIntegration.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: basic-information.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: BindingManager.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: bindings.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: camera-av-settings-user-level-management-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: camera-av-stream-management-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: color-control-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: descriptor.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: device-energy-management-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: dishwasher-alarm-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: energy-evse-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: fault-injection-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: fixed-label-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: general-commissioning-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: general-diagnostics-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: group-key-mgmt-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: identify-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: laundry-dryer-controls-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: laundry-washer-controls-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: level-control.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: localization-configuration-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: mode-base-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: mode-select-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: CodegenInstance.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: on-off-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: operational-credentials-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: operational-state-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: BDXDownloader.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: DefaultOTARequestor.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: DefaultOTARequestorDriver.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: ExtendedOTARequestorDriver.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: pump-configuration-and-control-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: refrigerator-alarm-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: resource-monitoring-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: scenes-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: switch-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: temperature-control-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: test-cluster-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: thermostat-server-atomic.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: thermostat-server-presets.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: thermostat-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: thread-network-diagnostics-provider.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: thread-network-diagnostics-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: time-format-localization-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: time-synchronization-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: user-label-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: valve-configuration-and-control-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: water-heater-management-server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: IMClusterCommandHandler.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: AdministratorCommissioningCluster.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: AdministratorCommissioningLogic.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: NetworkCommissioningCluster.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: NetworkCommissioningLogic.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: OnboardingCodesUtil.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: EventManagement.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: FailSafeContext.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: ReliableMessageContext.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: ReliableMessageMgr.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: ReliableMessageProtocolConfig.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: DeviceControlServer.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: Globals.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: LockTracker.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: PlatformEventSupport.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: SingletonConfigurationManager.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: CHIPLinuxStorage.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: CHIPLinuxStorageIni.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: ConfigurationManagerImpl.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: ConnectivityManagerImpl.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: ConnectivityUtils.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: DiagnosticDataProviderImpl.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: NetworkCommissioningEthernetDriver.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: PlatformManagerImpl.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: GeneralUtils.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: DeviceInstanceInfoProviderImpl.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: PosixConfig.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: SystemTimeSupport.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: BLEManagerImpl.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: BluezAdvertisement.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: BluezConnection.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: BluezEndpoint.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: BluezObjectManager.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: ChipDeviceScanner.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: NetworkCommissioningWiFiDriver.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: DBusWpa.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: DBusWpaBss.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: DBusWpaInterface.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: DBusWpaNetwork.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: DBusBluez.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: SessionManager.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: LastKnownGoodTime.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: CASESessionManager.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: InteractionModelEngine.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: WriteHandler.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: CommandResponseSender.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: ReadHandler.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: OperationalSessionSetup.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: CASESession.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: PairingSession.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: Engine.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: ReadClient.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: SubscriptionResumptionSessionEstablisher.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: Server.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: CommissioningWindowManager.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: Dnssd.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: ReportSchedulerImpl.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: WiFiPAF.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: TimerDelegates.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: AllClustersExampleDeviceInfoProviderImpl.cpp:g_autoptr_cleanup_gstring_free(_GString*)
Unexecuted instantiation: DeviceInfoProviderImpl.cpp:g_autoptr_cleanup_gstring_free(_GString*)
37
38
/* Ignore deprecations in case we refer to a type which was added in a more
39
 * recent GLib version than the user’s #GLIB_VERSION_MAX_ALLOWED definition. */
40
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
41
42
/* If adding a cleanup here, please also add a test case to
43
 * glib/tests/autoptr.c
44
 */
45
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GAsyncQueue, g_async_queue_unref)
46
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GBookmarkFile, g_bookmark_file_free)
47
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GBytes, g_bytes_unref)
48
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GChecksum, g_checksum_free)
49
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GDateTime, g_date_time_unref)
50
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GDate, g_date_free)
51
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GDir, g_dir_close)
52
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GError, g_error_free)
53
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GHashTable, g_hash_table_unref)
54
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GHmac, g_hmac_unref)
55
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GIOChannel, g_io_channel_unref)
56
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GKeyFile, g_key_file_unref)
57
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GList, g_list_free)
58
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GArray, g_array_unref)
59
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GPtrArray, g_ptr_array_unref)
60
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GByteArray, g_byte_array_unref)
61
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GMainContext, g_main_context_unref)
62
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GMainContextPusher, g_main_context_pusher_free)
63
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GMainLoop, g_main_loop_unref)
64
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSource, g_source_unref)
65
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GMappedFile, g_mapped_file_unref)
66
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GMarkupParseContext, g_markup_parse_context_unref)
67
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GNode, g_node_destroy)
68
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GOptionContext, g_option_context_free)
69
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GOptionGroup, g_option_group_unref)
70
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GPatternSpec, g_pattern_spec_free)
71
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GQueue, g_queue_free)
72
G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(GQueue, g_queue_clear)
73
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GRand, g_rand_free)
74
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GRegex, g_regex_unref)
75
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GMatchInfo, g_match_info_unref)
76
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GScanner, g_scanner_destroy)
77
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSequence, g_sequence_free)
78
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSList, g_slist_free)
79
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GString, g_autoptr_cleanup_gstring_free)
80
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GStringChunk, g_string_chunk_free)
81
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GThread, g_thread_unref)
82
G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(GMutex, g_mutex_clear)
83
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GMutexLocker, g_mutex_locker_free)
84
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GRecMutexLocker, g_rec_mutex_locker_free)
85
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GRWLockWriterLocker, g_rw_lock_writer_locker_free)
86
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GRWLockReaderLocker, g_rw_lock_reader_locker_free)
87
G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(GCond, g_cond_clear)
88
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GTimer, g_timer_destroy)
89
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GTimeZone, g_time_zone_unref)
90
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GTree, g_tree_unref)
91
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GVariant, g_variant_unref)
92
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GVariantBuilder, g_variant_builder_unref)
93
G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(GVariantBuilder, g_variant_builder_clear)
94
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GVariantIter, g_variant_iter_free)
95
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GVariantDict, g_variant_dict_unref)
96
G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(GVariantDict, g_variant_dict_clear)
97
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GVariantType, g_variant_type_free)
98
G_DEFINE_AUTO_CLEANUP_FREE_FUNC(GStrv, g_strfreev, NULL)
99
G_DEFINE_AUTOPTR_CLEANUP_FUNC (GRefString, g_ref_string_release)
100
101
G_GNUC_END_IGNORE_DEPRECATIONS