Home
last modified time | relevance | path

Searched refs:size (Results 1 – 25 of 36) sorted by relevance

12

/TraceRecorderSource-2.7.6/streamports/STM32_USB_CDC/
DtrcStreamingPort.c60 int32_t trcCDCReceive(void *data, uint32_t size, int32_t* NumBytes) in trcCDCReceive() argument
66 if (size >= commandBuffer.idx) // more than what is stored, number of bytes will be .idx in trcCDCReceive()
74 diff = commandBuffer.idx-size; in trcCDCReceive()
75 memcpy(data,commandBuffer.data, size); in trcCDCReceive()
78 commandBuffer.data[i]=commandBuffer.data[i+size]; in trcCDCReceive()
80 *NumBytes=size; in trcCDCReceive()
94 int32_t trcCDCTransmit(void* data, uint32_t size, int32_t * noOfBytesSent ) in trcCDCTransmit() argument
102 result=CDC_Transmit_FS(data, size); in trcCDCTransmit()
107 *noOfBytesSent = size; in trcCDCTransmit()
/TraceRecorderSource-2.7.6/streamports/TCPIP/
DtrcStreamingPort.c31 int32_t trcSocketSend( void* data, int32_t size, int32_t* bytesWritten ) in trcSocketSend() argument
39 *bytesWritten = send( new_sd, data, size, 0 ); in trcSocketSend()
56 int32_t trcSocketReceive( void* data, int32_t size, int32_t* bytesRead ) in trcSocketReceive() argument
61 *bytesRead = recv( new_sd, data, size, 0 ); in trcSocketReceive()
131 int32_t trcTcpWrite(void* data, uint32_t size, int32_t *ptrBytesWritten) in trcTcpWrite() argument
133 return trcSocketSend(data, size, ptrBytesWritten); in trcTcpWrite()
136 int32_t trcTcpRead(void* data, uint32_t size, int32_t *ptrBytesRead) in trcTcpRead() argument
142 return trcSocketReceive(data, size, ptrBytesRead); in trcTcpRead()
/TraceRecorderSource-2.7.6/kernelports/ESP-IDF_FreeRTOS/streamports/ESP_IDF_APPTRACE/
DtrcStreamingPort.c31 int readFromTrax(void* ptrData, uint32_t size, int32_t* ptrBytesRead) in readFromTrax() argument
38 int writeToTrax(void* ptrData, uint32_t size, int32_t* ptrBytesWritten) in writeToTrax() argument
45 err = esp_apptrace_write(ESP_APPTRACE_DEST_TRAX, ptrData, size, ESP_APPTRACE_TMO_INFINITE); in writeToTrax()
47 err = esp_apptrace_write(ESP_APPTRACE_DEST_TRAX, ptrData, size, 0); in writeToTrax()
53 *ptrBytesWritten = size; in writeToTrax()
/TraceRecorderSource-2.7.6/kernelports/Zephyr/streamports/ARM_ITM/
DtrcStreamingPort.c77 int32_t read_from_host(void* ptrData, uint32_t size, int32_t* ptrBytesRead) in read_from_host() argument
87 if (tz_host_command_bytes_to_read != size) in read_from_host()
115 int32_t itm_write(void* ptrData, uint32_t size, int32_t* ptrBytesWritten) in itm_write() argument
120 if (size % 4 != 0) return -2; in itm_write()
122 while(bytesWritten < size) in itm_write()
/TraceRecorderSource-2.7.6/streamports/ARM_ITM/
DtrcStreamingPort.c77 int32_t read_from_host(void* ptrData, uint32_t size, int32_t* ptrBytesRead) in read_from_host() argument
87 if (tz_host_command_bytes_to_read != size) in read_from_host()
115 int32_t itm_write(void* ptrData, uint32_t size, int32_t* ptrBytesWritten) in itm_write() argument
120 if (size % 4 != 0) return -2; in itm_write()
122 while(bytesWritten < size) in itm_write()
/TraceRecorderSource-2.7.6/streamports/Jlink_RTT/
DtrcStreamingPort.c22 int32_t readFromRTT(void* ptrData, uint32_t size, int32_t* ptrBytesRead) in readFromRTT() argument
28 bytesRead = SEGGER_RTT_Read((TRC_CFG_RTT_DOWN_BUFFER_INDEX), (char*)ptrData, size); in readFromRTT()
38 int32_t writeToRTT(void* ptrData, uint32_t size, int32_t* ptrBytesWritten) in writeToRTT() argument
40 …uint32_t bytesWritten = SEGGER_RTT_Write((TRC_CFG_RTT_UP_BUFFER_INDEX), (const char*)ptrData, size in writeToRTT()
/TraceRecorderSource-2.7.6/kernelports/Zephyr/streamports/Jlink_RTT/
DtrcStreamingPort.c26 int32_t readFromRTT(void* ptrData, uint32_t size, int32_t* ptrBytesRead) in readFromRTT() argument
32 bytesRead = SEGGER_RTT_Read((TRC_CFG_RTT_DOWN_BUFFER_INDEX), (char*)ptrData, size); in readFromRTT()
42 int32_t writeToRTT(void* ptrData, uint32_t size, int32_t* ptrBytesWritten) in writeToRTT() argument
46 bytesWritten = SEGGER_RTT_WriteNoLock((TRC_CFG_RTT_UP_BUFFER_INDEX), (const char*)ptrData, size); in writeToRTT()
DKconfig8 int "RTT buffer size up"
12 Defines the size of the "up" RTT buffer (target -> host) to use for writing
18 Default buffer size for Tracealyzer is 5000 bytes.
24 int "RTT buffer size down"
28 Defines the size of the "down" RTT buffer (host -> target) to use for reading
31 Default buffer size for Tracealyzer is 32 bytes.
79 fast enough. In that case, try increasing the size of the "up buffer".
/TraceRecorderSource-2.7.6/kernelports/FreeRTOS/streamports/AFR_WIFI_LOCAL/
DtrcStreamingPort.c136 int32_t prvWriteToSocket(void* ptrData, uint32_t size, int32_t* ptrBytesWritten) in prvWriteToSocket() argument
138 uint32_t bytesWritten = SOCKETS_Send(sock, ptrData, size, 0); in prvWriteToSocket()
143 if (bytesWritten != size) in prvWriteToSocket()
151 int32_t prvReadFromSocket(void* ptrData, uint32_t size, int32_t* ptrBytesRead) in prvReadFromSocket() argument
/TraceRecorderSource-2.7.6/streamports/File/
DtrcStreamingPort.c37 int32_t writeToFile(void* data, uint32_t size, int32_t *ptrBytesWritten) in writeToFile() argument
42 written = fwrite(data, 1, size, traceFile); in writeToFile()
52 if ((int32_t)size == written) in writeToFile()
/TraceRecorderSource-2.7.6/streamports/TCPIP/include/
DtrcStreamingPort.h22 int32_t trcTcpRead(void* data, uint32_t size, int32_t *ptrBytesRead);
24 int32_t trcTcpWrite(void* data, uint32_t size, int32_t *ptrBytesWritten);
/TraceRecorderSource-2.7.6/streamports/ARM_ITM/include/
DtrcStreamingPort.h65 int32_t itm_write(void* ptrData, uint32_t size, int32_t* ptrBytesWritten);
66 int32_t read_from_host(void* ptrData, uint32_t size, int32_t* ptrBytesRead);
/TraceRecorderSource-2.7.6/streamports/STM32_USB_CDC/include/
DtrcStreamingPort.h31 int32_t trcCDCReceive(void *data, uint32_t size, int32_t* NumBytes);
33 int32_t trcCDCTransmit(void* data, uint32_t size, int32_t * noOfBytesSent );
/TraceRecorderSource-2.7.6/kernelports/Zephyr/streamports/ARM_ITM/include/
DtrcStreamingPort.h64 int32_t itm_write(void* ptrData, uint32_t size, int32_t* ptrBytesWritten);
65 int32_t read_from_host(void* ptrData, uint32_t size, int32_t* ptrBytesRead);
/TraceRecorderSource-2.7.6/streamports/TCPIP_Win32/include/
DtrcStreamingPort.h22 int32_t readFromSocket(void* data, uint32_t size, int32_t *ptrBytesRead);
23 int32_t writeToSocket(void* data, uint32_t size, int32_t *ptrBytesWritten);
/TraceRecorderSource-2.7.6/kernelports/FreeRTOS/streamports/AFR_WIFI_LOCAL/include/
DtrcStreamingPort.h110 int32_t prvReadFromSocket(void* ptrData, uint32_t size, int32_t* ptrBytesRead);
111 int32_t prvWriteToSocket(void* ptrData, uint32_t size, int32_t* ptrBytesWritten);
/TraceRecorderSource-2.7.6/kernelports/ESP-IDF_FreeRTOS/streamports/ESP_IDF_APPTRACE/include/
DtrcStreamingPort.h44 int readFromTrax(void* ptrData, uint32_t size, int32_t* ptrBytesRead);
45 int writeToTrax(void* ptrData, uint32_t size, int32_t* ptrBytesWritten);
/TraceRecorderSource-2.7.6/kernelports/Zephyr/
DtrcKernelPort.c40 #define TRC_PORT_MALLOC(size) k_malloc(size) argument
1729 void sys_trace_k_pipe_init(struct k_pipe *pipe, unsigned char *buffer, size_t size) { in sys_trace_k_pipe_init() argument
1733 xTraceSDKEventAdd32((uint32_t)size); in sys_trace_k_pipe_init()
1755 void sys_trace_k_pipe_alloc_init_enter(struct k_pipe *pipe, size_t size) { in sys_trace_k_pipe_alloc_init_enter() argument
1758 xTraceSDKEventAdd32((uint32_t)size); in sys_trace_k_pipe_alloc_init_enter()
1762 void sys_trace_k_pipe_alloc_init_exit(struct k_pipe *pipe, size_t size, int ret) { in sys_trace_k_pipe_alloc_init_exit() argument
1770 xTraceSDKEventAdd32((uint32_t)size); in sys_trace_k_pipe_alloc_init_exit()
1839 void sys_trace_k_pipe_block_put_enter(struct k_pipe *pipe, struct k_mem_block *block, size_t size, … in sys_trace_k_pipe_block_put_enter() argument
1843 xTraceSDKEventAdd32((uint32_t)size); in sys_trace_k_pipe_block_put_enter()
1848 void sys_trace_k_pipe_block_put_exit(struct k_pipe *pipe, struct k_mem_block *block, size_t size, s… in sys_trace_k_pipe_block_put_exit() argument
[all …]
/TraceRecorderSource-2.7.6/streamports/Jlink_RTT/include/
DtrcStreamingPort.h141 int32_t readFromRTT(void* ptrData, uint32_t size, int32_t* ptrBytesRead);
143 int32_t writeToRTT(void* ptrData, uint32_t size, int32_t* ptrBytesWritten);
/TraceRecorderSource-2.7.6/kernelports/Zephyr/streamports/Jlink_RTT/include/
DtrcStreamingPort.h145 int32_t readFromRTT(void* ptrData, uint32_t size, int32_t* ptrBytesRead);
147 int32_t writeToRTT(void* ptrData, uint32_t size, int32_t* ptrBytesWritten);
/TraceRecorderSource-2.7.6/kernelports/Zephyr/include/
Dtracing_tracerecorder.h682 sys_trace_k_pipe_init(pipe, buffer, size)
691 sys_trace_k_pipe_alloc_init_enter(pipe, size)
694 sys_trace_k_pipe_alloc_init_exit(pipe, size, ret)
745 sys_trace_k_heap_sys_k_aligned_alloc_enter(heap, align, size)
748 sys_trace_k_heap_sys_k_aligned_alloc_exit(heap, align, size, ret)
751 sys_trace_k_heap_sys_k_malloc_enter(heap, size)
754 sys_trace_k_heap_sys_k_malloc_exit(heap, size, ret)
763 sys_trace_k_heap_sys_k_calloc_enter(heap, nmemb, size)
766 sys_trace_k_heap_sys_k_calloc_exit(heap, nmemb, size, ret)
1145 size_t size);
[all …]
/TraceRecorderSource-2.7.6/streamports/TCPIP_Win32/
DtrcStreamingPort.c111 int32_t writeToSocket(void* data, uint32_t size, int32_t *ptrBytesWritten) in writeToSocket() argument
123 ret = send(trace_socket, data, size, 0); in writeToSocket()
/TraceRecorderSource-2.7.6/streamports/File/include/
DtrcStreamingPort.h21 int32_t writeToFile(void* data, uint32_t size, int32_t *ptrBytesWritten);
/TraceRecorderSource-2.7.6/extras/SDK/
Dreadme.txt85 uiPayloadSize - The expected payload size in bytes.
105 uiSize - The data size.
/TraceRecorderSource-2.7.6/kernelports/BareMetal/
DtrcKernelPort.c33 #define TRC_PORT_MALLOC(size) malloc(size) argument

12