Home
last modified time | relevance | path

Searched refs:OT_TOOL_WEAK (Results 1 – 24 of 24) sorted by relevance

/openthread-latest/tests/unit/
Dtest_platform.cpp108 OT_TOOL_WEAK void *otPlatCAlloc(size_t aNum, size_t aSize) { return calloc(aNum, aSize); } in otPlatCAlloc()
110 OT_TOOL_WEAK void otPlatFree(void *aPtr) { free(aPtr); } in otPlatFree()
113 OT_TOOL_WEAK void otTaskletsSignalPending(otInstance *) {} in otTaskletsSignalPending()
115 OT_TOOL_WEAK void otPlatAlarmMilliStop(otInstance *) {} in otPlatAlarmMilliStop()
117 OT_TOOL_WEAK void otPlatAlarmMilliStartAt(otInstance *, uint32_t, uint32_t) {} in otPlatAlarmMilliStartAt()
119 OT_TOOL_WEAK uint32_t otPlatAlarmMilliGetNow(void) in otPlatAlarmMilliGetNow()
128 OT_TOOL_WEAK void otPlatAlarmMicroStop(otInstance *) {} in otPlatAlarmMicroStop()
130 OT_TOOL_WEAK void otPlatAlarmMicroStartAt(otInstance *, uint32_t, uint32_t) {} in otPlatAlarmMicroStartAt()
132 OT_TOOL_WEAK uint32_t otPlatAlarmMicroGetNow(void) in otPlatAlarmMicroGetNow()
141 OT_TOOL_WEAK otError otPlatMultipanGetActiveInstance(otInstance **) { return OT_ERROR_NOT_IMPLEMENT… in otPlatMultipanGetActiveInstance()
[all …]
/openthread-latest/src/core/radio/
Dradio_platform.cpp180 OT_TOOL_WEAK uint32_t otPlatRadioGetSupportedChannelMask(otInstance *aInstance) in otPlatRadioGetSupportedChannelMask()
187 OT_TOOL_WEAK uint32_t otPlatRadioGetPreferredChannelMask(otInstance *aInstance) in otPlatRadioGetPreferredChannelMask()
192 OT_TOOL_WEAK const char *otPlatRadioGetVersionString(otInstance *aInstance) in otPlatRadioGetVersionString()
198 OT_TOOL_WEAK otRadioState otPlatRadioGetState(otInstance *aInstance) in otPlatRadioGetState()
205 OT_TOOL_WEAK void otPlatRadioSetMacKey(otInstance *aInstance, in otPlatRadioSetMacKey()
222 OT_TOOL_WEAK void otPlatRadioSetMacFrameCounter(otInstance *aInstance, uint32_t aMacFrameCounter) in otPlatRadioSetMacFrameCounter()
228 OT_TOOL_WEAK void otPlatRadioSetMacFrameCounterIfLarger(otInstance *aInstance, uint32_t aMacFrameCo… in otPlatRadioSetMacFrameCounterIfLarger()
250 OT_TOOL_WEAK uint64_t otPlatTimeGet(void) { return UINT64_MAX; } in otPlatTimeGet()
252 OT_TOOL_WEAK uint64_t otPlatRadioGetNow(otInstance *aInstance) in otPlatRadioGetNow()
259 OT_TOOL_WEAK uint32_t otPlatRadioGetBusSpeed(otInstance *aInstance) in otPlatRadioGetBusSpeed()
[all …]
/openthread-latest/examples/platforms/utils/
Ddebug_uart.c42 OT_TOOL_WEAK
51 OT_TOOL_WEAK
64 OT_TOOL_WEAK
75 OT_TOOL_WEAK
85 OT_TOOL_WEAK
92 OT_TOOL_WEAK
105 OT_TOOL_WEAK
108 OT_TOOL_WEAK
111 OT_TOOL_WEAK
114 OT_TOOL_WEAK
Dotns_utils.cpp45 OT_TOOL_WEAK
/openthread-latest/src/core/crypto/
Dcrypto_platform.cpp82 OT_TOOL_WEAK void otPlatCryptoInit(void) in otPlatCryptoInit()
88 OT_TOOL_WEAK otError otPlatCryptoAesInit(otCryptoContext *aContext) in otPlatCryptoAesInit()
103 OT_TOOL_WEAK otError otPlatCryptoAesSetKey(otCryptoContext *aContext, const otCryptoKey *aKey) in otPlatCryptoAesSetKey()
120 OT_TOOL_WEAK otError otPlatCryptoAesEncrypt(otCryptoContext *aContext, const uint8_t *aInput, uint8… in otPlatCryptoAesEncrypt()
135 OT_TOOL_WEAK otError otPlatCryptoAesFree(otCryptoContext *aContext) in otPlatCryptoAesFree()
153 OT_TOOL_WEAK otError otPlatCryptoHmacSha256Init(otCryptoContext *aContext) in otPlatCryptoHmacSha256Init()
171 OT_TOOL_WEAK otError otPlatCryptoHmacSha256Deinit(otCryptoContext *aContext) in otPlatCryptoHmacSha256Deinit()
186 OT_TOOL_WEAK otError otPlatCryptoHmacSha256Start(otCryptoContext *aContext, const otCryptoKey *aKey) in otPlatCryptoHmacSha256Start()
202 OT_TOOL_WEAK otError otPlatCryptoHmacSha256Update(otCryptoContext *aContext, const void *aBuf, uint… in otPlatCryptoHmacSha256Update()
218 OT_TOOL_WEAK otError otPlatCryptoHmacSha256Finish(otCryptoContext *aContext, uint8_t *aBuf, size_t … in otPlatCryptoHmacSha256Finish()
[all …]
/openthread-latest/include/openthread/platform/
Dtoolchain.h142 #define OT_TOOL_WEAK __attribute__((weak)) macro
156 #define OT_TOOL_WEAK __weak
167 #define OT_TOOL_WEAK
180 #define OT_TOOL_WEAK
/openthread-latest/src/ncp/
Dmultipan_platform.cpp77 OT_TOOL_WEAK void otPlatMultipanSwitchoverDone(otInstance *aInstance, bool success) in otPlatMultipanSwitchoverDone()
88 OT_TOOL_WEAK otError otPlatMultipanGetActiveInstance(otInstance **aInstance) in otPlatMultipanGetActiveInstance()
95 OT_TOOL_WEAK otError otPlatMultipanSetActiveInstance(otInstance *aInstance, bool aCompletePending) in otPlatMultipanSetActiveInstance()
/openthread-latest/src/posix/platform/
Dtrel.cpp378 OT_TOOL_WEAK void trelDnssdInitialize(const char *aTrelNetif) in trelDnssdInitialize()
386 OT_TOOL_WEAK void trelDnssdStartBrowse(void) in trelDnssdStartBrowse()
410 OT_TOOL_WEAK void trelDnssdStopBrowse(void) in trelDnssdStopBrowse()
416 OT_TOOL_WEAK void trelDnssdRegisterService(uint16_t aPort, const uint8_t *aTxtData, uint8_t aTxtLen… in trelDnssdRegisterService()
444 OT_TOOL_WEAK void trelDnssdRemoveService(void) in trelDnssdRemoveService()
451 OT_TOOL_WEAK void trelDnssdUpdateFdSet(otSysMainloopContext *aContext) in trelDnssdUpdateFdSet()
459 OT_TOOL_WEAK void trelDnssdProcess(otInstance *aInstance, const otSysMainloopContext *aContext) in trelDnssdProcess()
Dlogging.cpp39 OT_TOOL_WEAK void otPlatLog(otLogLevel aLogLevel, otLogRegion aLogRegion, const char *aFormat, ...) in otPlatLog()
/openthread-latest/examples/platforms/simulation/
Dmdns_socket.c463 OT_TOOL_WEAK uint16_t otMessageRead(const otMessage *aMessage, uint16_t aOffset, void *aBuf, uint16… in otMessageRead()
476 OT_TOOL_WEAK void otMessageFree(otMessage *aMessage) in otMessageFree()
483 OT_TOOL_WEAK otMessage *otIp6NewMessage(otInstance *aInstance, const otMessageSettings *aSettings) in otIp6NewMessage()
494 OT_TOOL_WEAK otError otMessageAppend(otMessage *aMessage, const void *aBuf, uint16_t aLength) in otMessageAppend()
506 OT_TOOL_WEAK void otIp4ToIp4MappedIp6Address(const otIp4Address *aIp4Address, otIp6Address *aIp6Add… in otIp4ToIp4MappedIp6Address()
515 OT_TOOL_WEAK otError otIp4FromIp4MappedIp6Address(const otIp6Address *aIp6Address, otIp4Address *aI… in otIp4FromIp4MappedIp6Address()
526 OT_TOOL_WEAK void otPlatMdnsHandleReceive(otInstance *aInstance, in otPlatMdnsHandleReceive()
Dtrel.c383 OT_TOOL_WEAK void otPlatTrelHandleReceived(otInstance *aInstance, uint8_t *aBuffer, uint16_t aLengt… in otPlatTrelHandleReceived()
392 OT_TOOL_WEAK void otPlatTrelHandleDiscoveredPeerInfo(otInstance *aInstance, const otPlatTrelPeerInf… in otPlatTrelHandleDiscoveredPeerInfo()
Dble.c216 OT_TOOL_WEAK void otPlatBleGattServerOnWriteRequest(otInstance *aInstance, in otPlatBleGattServerOnWriteRequest()
Dinfra_if.c322 OT_TOOL_WEAK void otPlatInfraIfRecvIcmp6Nd(otInstance *aInstance, in otPlatInfraIfRecvIcmp6Nd()
Dradio.c211 OT_TOOL_WEAK void otCliOutputFormat(const char *aFmt, ...) { OT_UNUSED_VARIABLE(aFmt); } in otCliOutputFormat()
/openthread-latest/examples/apps/ncp/
Dmain.c65 OT_TOOL_WEAK void *otPlatCAlloc(size_t aNum, size_t aSize) { return calloc(aNum, aSize); } in otPlatCAlloc()
67 OT_TOOL_WEAK void otPlatFree(void *aPtr) { free(aPtr); } in otPlatFree()
/openthread-latest/src/core/diags/
Dfactory_diags.cpp54 OT_TOOL_WEAK
979 OT_TOOL_WEAK otError otPlatDiagGpioSet(uint32_t aGpio, bool aValue) in otPlatDiagGpioSet()
987 OT_TOOL_WEAK otError otPlatDiagGpioGet(uint32_t aGpio, bool *aValue) in otPlatDiagGpioGet()
995 OT_TOOL_WEAK otError otPlatDiagGpioSetMode(uint32_t aGpio, otGpioMode aMode) in otPlatDiagGpioSetMode()
1003 OT_TOOL_WEAK otError otPlatDiagGpioGetMode(uint32_t aGpio, otGpioMode *aMode) in otPlatDiagGpioGetMode()
1011 OT_TOOL_WEAK otError otPlatDiagRadioSetRawPowerSetting(otInstance *aInstance, in otPlatDiagRadioSetRawPowerSetting()
1022 OT_TOOL_WEAK otError otPlatDiagRadioGetRawPowerSetting(otInstance *aInstance, in otPlatDiagRadioGetRawPowerSetting()
1033 OT_TOOL_WEAK otError otPlatDiagRadioRawPowerSettingEnable(otInstance *aInstance, bool aEnable) in otPlatDiagRadioRawPowerSettingEnable()
1041 OT_TOOL_WEAK otError otPlatDiagRadioTransmitCarrier(otInstance *aInstance, bool aEnable) in otPlatDiagRadioTransmitCarrier()
1049 OT_TOOL_WEAK otError otPlatDiagRadioTransmitStream(otInstance *aInstance, bool aEnable) in otPlatDiagRadioTransmitStream()
[all …]
/openthread-latest/src/core/border_router/
Dinfra_if.cpp215 OT_TOOL_WEAK bool otPlatInfraIfHasAddress(uint32_t, const otIp6Address *) { return false; } in otPlatInfraIfHasAddress()
217 OT_TOOL_WEAK otError otPlatInfraIfSendIcmp6Nd(uint32_t, const otIp6Address *, const uint8_t *, uint… in otPlatInfraIfSendIcmp6Nd()
222 OT_TOOL_WEAK otError otPlatInfraIfDiscoverNat64Prefix(uint32_t) { return OT_ERROR_FAILED; } in otPlatInfraIfDiscoverNat64Prefix()
/openthread-latest/examples/apps/cli/
Dmain.c59 OT_TOOL_WEAK void *otPlatCAlloc(size_t aNum, size_t aSize) { return calloc(aNum, aSize); } in otPlatCAlloc()
61 OT_TOOL_WEAK void otPlatFree(void *aPtr) { free(aPtr); } in otPlatFree()
/openthread-latest/src/core/api/
Dtasklet_api.cpp63 OT_TOOL_WEAK void otTaskletsSignalPending(otInstance *) {} in otTaskletsSignalPending()
/openthread-latest/src/core/net/
Ddns_dso.cpp1490 OT_TOOL_WEAK void otPlatDsoEnableListening(otInstance *aInstance, bool aEnable) in otPlatDsoEnableListening()
1496 OT_TOOL_WEAK void otPlatDsoConnect(otPlatDsoConnection *aConnection, const otSockAddr *aPeerSockAdd… in otPlatDsoConnect()
1502 OT_TOOL_WEAK void otPlatDsoSend(otPlatDsoConnection *aConnection, otMessage *aMessage) in otPlatDsoSend()
1508 OT_TOOL_WEAK void otPlatDsoDisconnect(otPlatDsoConnection *aConnection, otPlatDsoDisconnectMode aMo… in otPlatDsoDisconnect()
Dmdns.cpp6465 OT_TOOL_WEAK otError otPlatMdnsSetListeningEnabled(otInstance *aInstance, bool aEnable, uint32_t aI… in otPlatMdnsSetListeningEnabled()
6474 OT_TOOL_WEAK void otPlatMdnsSendMulticast(otInstance *aInstance, otMessage *aMessage, uint32_t aInf… in otPlatMdnsSendMulticast()
6481 OT_TOOL_WEAK void otPlatMdnsSendUnicast(otInstance *aInstance, in otPlatMdnsSendUnicast()
/openthread-latest/src/core/instance/
Dinstance.cpp515 extern "C" OT_TOOL_WEAK void otPlatLogHandleLevelChanged(otLogLevel aLogLevel) { OT_UNUSED_VARIABLE… in otPlatLogHandleLevelChanged()
/openthread-latest/src/core/common/
Dsettings.cpp566 OT_TOOL_WEAK void otPlatSettingsSetCriticalKeys(otInstance *aInstance, const uint16_t *aKeys, uint1… in otPlatSettingsSetCriticalKeys()
/openthread-latest/tests/fuzz/
Dfuzzer_platform.cpp244 OT_TOOL_WEAK void otPlatLog(otLogLevel aLogLevel, otLogRegion aLogRegion, const char *aFormat, ...) in otPlatLog()