Home
last modified time | relevance | path

Searched refs:ret (Results 1 – 9 of 9) sorted by relevance

/TraceRecorderSource-3.4.0/kernelports/ThreadX/
DtrcCTI.c115 UINT ret = _txe_block_allocate_orig(pool_ptr, block_ptr, wait_option); in _txe_block_allocate() local
117 if (ret == TX_SUCCESS) in _txe_block_allocate()
125 xTraceEventAdd32(xTraceHandle, ret); in _txe_block_allocate()
130 else if (ret == TX_NO_MEMORY) in _txe_block_allocate()
138 xTraceEventAdd32(xTraceHandle, ret); in _txe_block_allocate()
151 xTraceEventAdd32(xTraceHandle, ret); in _txe_block_allocate()
156 return ret; in _txe_block_allocate()
161 …UINT ret = _txe_block_pool_create_orig(pool_ptr, name_ptr, block_size, pool_start, pool_size, pool… in _txe_block_pool_create() local
163 if (ret != TX_SUCCESS) in _txe_block_pool_create()
173 xTraceEventAdd32(xTraceHandle, ret); in _txe_block_pool_create()
[all …]
/TraceRecorderSource-3.4.0/kernelports/Zephyr/include/
Dtracing_tracerecorder.h54 #define sys_port_trace_k_thread_join_exit(thread, timeout, ret, ...) \ argument
55 sys_trace_k_thread_join_exit(thread, timeout, ret)
60 #define sys_port_trace_k_thread_sleep_exit(timeout, ret, ...) \ argument
61 sys_trace_k_thread_sleep_exit(timeout, ret)
66 #define sys_port_trace_k_thread_msleep_exit(ms, ret, ...) \ argument
67 sys_trace_k_thread_msleep_exit(ms, ret)
72 #define sys_port_trace_k_thread_usleep_exit(us, ret, ...) \ argument
73 sys_trace_k_thread_usleep_exit(us, ret)
106 #define sys_port_trace_k_thread_name_set(thread, ret, ...) \ argument
107 sys_trace_k_thread_name_set(thread, ret)
[all …]
/TraceRecorderSource-3.4.0/kernelports/Zephyr/
DtrcKernelPort.c349 void sys_trace_k_thread_join_exit(struct k_thread *thread, k_timeout_t timeout, int ret) { in sys_trace_k_thread_join_exit() argument
353 if (ret == 0) { in sys_trace_k_thread_join_exit()
364 xTraceEventAdd32(xTraceHandle, ret); in sys_trace_k_thread_join_exit()
378 void sys_trace_k_thread_sleep_exit(k_timeout_t timeout, int ret) { in sys_trace_k_thread_sleep_exit() argument
384 xTraceEventAdd32(xTraceHandle, ret); in sys_trace_k_thread_sleep_exit()
398 void sys_trace_k_thread_msleep_exit(int32_t ms, int ret) { in sys_trace_k_thread_msleep_exit() argument
416 void sys_trace_k_thread_usleep_exit(int32_t us, int ret) { in sys_trace_k_thread_usleep_exit() argument
422 xTraceEventAdd32(xTraceHandle, ret); in sys_trace_k_thread_usleep_exit()
511 void sys_trace_k_thread_name_set(struct k_thread *thread, int ret) { in sys_trace_k_thread_name_set() argument
512 if (ret == 0) { in sys_trace_k_thread_name_set()
[all …]
/TraceRecorderSource-3.4.0/kernelports/FreeRTOS/include/
Daws_wifi.tzext.h98 WIFIReturnCode_t ret = WIFI_On(); in WIFI_On__trace() local
101 prvTraceStoreEvent1(EVENTCODE_WIFI_On, (uint32_t)ret); in WIFI_On__trace()
103 return ret; in WIFI_On__trace()
108 WIFIReturnCode_t ret = WIFI_Off(); in WIFI_Off__trace() local
111 prvTraceStoreEvent1(EVENTCODE_WIFI_Off, (uint32_t)ret); in WIFI_Off__trace()
113 return ret; in WIFI_Off__trace()
118 WIFIReturnCode_t ret = WIFI_ConnectAP(pxNetworkParams); in WIFI_ConnectAP__trace() local
122 …StringEvent(2, EVENTCODE_WIFI_ConnectAP, pxNetworkParams->pcSSID, pxNetworkParams->xSecurity, ret); in WIFI_ConnectAP__trace()
124 return ret; in WIFI_ConnectAP__trace()
Daws_secure_sockets.tzext.h99 int32_t ret = SOCKETS_Connect(xSocket, pxAddress, xAddressLength); in SOCKETS_Connect__trace() local
102 …vent3(EVENTCODE_SOCKETS_Connect, (uint32_t)xSocket, (uint32_t)pxAddress->ulAddress, (uint32_t)ret); in SOCKETS_Connect__trace()
104 return ret; in SOCKETS_Connect__trace()
109 int32_t ret = SOCKETS_Send(xSocket, pvBuffer, xDataLength, ulFlags); in SOCKETS_Send__trace() local
112 prvTraceStoreEvent2(EVENTCODE_SOCKETS_Send, (uint32_t)xSocket, (uint32_t)ret); in SOCKETS_Send__trace()
114 return ret; in SOCKETS_Send__trace()
120 int32_t ret = SOCKETS_Recv(xSocket, pvBuffer, xBufferLength, ulFlags); in SOCKETS_Recv__trace() local
123 prvTraceStoreEvent2(EVENTCODE_SOCKETS_Recv, (uint32_t)xSocket, (uint32_t)ret); in SOCKETS_Recv__trace()
125 return ret; in SOCKETS_Recv__trace()
DtrcKernelPort.h1599 #define tracePEND_FUNC_CALL(func, arg1, arg2, ret) \ argument
1600 if (ret == pdPASS){ \
1609 #define tracePEND_FUNC_CALL_FROM_ISR(func, arg1, arg2, ret) \ argument
2765 #define tracePEND_FUNC_CALL(func, arg1, arg2, ret) \ argument
2766 …prvTraceStoreEvent_Param(((ret) == pdPASS) ? PSF_EVENT_TIMER_PENDFUNCCALL : PSF_EVENT_TIMER_PENDFU…
2769 #define tracePEND_FUNC_CALL_FROM_ISR(func, arg1, arg2, ret) \ argument
2770 …prvTraceStoreEvent_Param(((ret) == pdPASS) ? PSF_EVENT_TIMER_PENDFUNCCALL_FROMISR : PSF_EVENT_TIME…
/TraceRecorderSource-3.4.0/streamports/TCPIP_Win32/
DtrcStreamPort.c124 int ret; in prvTraceWriteToSocket() local
144 ret = send(trace_socket, data, size, 0); in prvTraceWriteToSocket()
145 if (ret <= 0) in prvTraceWriteToSocket()
154 return ret; in prvTraceWriteToSocket()
159 *ptrBytesWritten = ret; in prvTraceWriteToSocket()
/TraceRecorderSource-3.4.0/include/
DtrcHardwarePort.h378 unsigned long ret; in prvGetCPSR() local
380 asm volatile (" mrs %0, cpsr" : "=r" (ret) : /* no inputs */ ); in prvGetCPSR()
381 return ret; in prvGetCPSR()
488 unsigned long ret; in prvGetCPSR() local
490 asm volatile (" mrs %0, cpsr" : "=r" (ret) : /* no inputs */ ); in prvGetCPSR()
491 return ret; in prvGetCPSR()
522 unsigned long ret; in prvGetCPSR() local
524 __asm__ __volatile__(" mrs %0, cpsr" : "=r" (ret) : /* no inputs */ ); in prvGetCPSR()
525 return ret; in prvGetCPSR()
/TraceRecorderSource-3.4.0/
DtrcSnapshotRecorder.c2909 TraceStringHandle_t ret = 0; in prvTraceCreateSymbolTableEntry() local
2917 ret = 0; in prvTraceCreateSymbolTableEntry()
2952 ret = (uint16_t)(RecorderDataPtr->SymbolTable.nextFreeSymbolIndex - (uint8_t)(len + 5)); in prvTraceCreateSymbolTableEntry()
2955 return ret; in prvTraceCreateSymbolTableEntry()