/openthread-latest/tests/unit/ |
D | test_platform.cpp | 108 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/ |
D | radio_platform.cpp | 180 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/ |
D | debug_uart.c | 42 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
|
D | otns_utils.cpp | 45 OT_TOOL_WEAK
|
/openthread-latest/src/core/crypto/ |
D | crypto_platform.cpp | 82 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/ |
D | toolchain.h | 142 #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/ |
D | multipan_platform.cpp | 77 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/ |
D | trel.cpp | 378 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()
|
D | logging.cpp | 39 OT_TOOL_WEAK void otPlatLog(otLogLevel aLogLevel, otLogRegion aLogRegion, const char *aFormat, ...) in otPlatLog()
|
/openthread-latest/examples/platforms/simulation/ |
D | mdns_socket.c | 463 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()
|
D | trel.c | 383 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()
|
D | ble.c | 216 OT_TOOL_WEAK void otPlatBleGattServerOnWriteRequest(otInstance *aInstance, in otPlatBleGattServerOnWriteRequest()
|
D | infra_if.c | 322 OT_TOOL_WEAK void otPlatInfraIfRecvIcmp6Nd(otInstance *aInstance, in otPlatInfraIfRecvIcmp6Nd()
|
D | radio.c | 211 OT_TOOL_WEAK void otCliOutputFormat(const char *aFmt, ...) { OT_UNUSED_VARIABLE(aFmt); } in otCliOutputFormat()
|
/openthread-latest/examples/apps/ncp/ |
D | main.c | 65 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/ |
D | factory_diags.cpp | 54 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/ |
D | infra_if.cpp | 215 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/ |
D | main.c | 59 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/ |
D | tasklet_api.cpp | 63 OT_TOOL_WEAK void otTaskletsSignalPending(otInstance *) {} in otTaskletsSignalPending()
|
/openthread-latest/src/core/net/ |
D | dns_dso.cpp | 1490 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()
|
D | mdns.cpp | 6465 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/ |
D | instance.cpp | 515 extern "C" OT_TOOL_WEAK void otPlatLogHandleLevelChanged(otLogLevel aLogLevel) { OT_UNUSED_VARIABLE… in otPlatLogHandleLevelChanged()
|
/openthread-latest/src/core/common/ |
D | settings.cpp | 566 OT_TOOL_WEAK void otPlatSettingsSetCriticalKeys(otInstance *aInstance, const uint16_t *aKeys, uint1… in otPlatSettingsSetCriticalKeys()
|
/openthread-latest/tests/fuzz/ |
D | fuzzer_platform.cpp | 244 OT_TOOL_WEAK void otPlatLog(otLogLevel aLogLevel, otLogRegion aLogRegion, const char *aFormat, ...) in otPlatLog()
|