/developtools/hdc/src/common/ |
D | uart.cpp | 572 UartHead *head = reinterpret_cast<UartHead *>(data); in UartSendToHdcStream() local 574 head->ToDebugString().c_str(), *(data + sizeof(UartHead)), in UartSendToHdcStream() 578 if (head->sessionId != hSession->sessionId) { in UartSendToHdcStream() 581 head->sessionId); in UartSendToHdcStream() 582 SendUartSoftReset(hSession, head->sessionId); in UartSendToHdcStream() 589 hSession->hUART->streamSize += head->dataSize; // this is only for debug, in UartSendToHdcStream() 593 data + sizeof(UartHead), head->dataSize) < 0) { in UartSendToHdcStream() 654 UartHead *head = reinterpret_cast<UartHead *>(data); in RequestSendPackage() local 655 bool response = head->IsResponsePackage(); in RequestSendPackage() 658 slots.Wait(head->sessionId); in RequestSendPackage() [all …]
|
D | usb.cpp | 61 USBHead head; in BuildPacketHeader() local 62 head.sessionId = htonl(sessionId); in BuildPacketHeader() 63 for (size_t i = 0; i < sizeof(head.flag); i++) { in BuildPacketHeader() 64 head.flag[i] = USB_PACKET_FLAG.data()[i]; in BuildPacketHeader() 66 head.option = option; in BuildPacketHeader() 67 head.dataSize = htonl(dataSize); in BuildPacketHeader() 68 vecData.insert(vecData.end(), (uint8_t *)&head, (uint8_t *)&head + sizeof(USBHead)); in BuildPacketHeader()
|
D | uart.h | 108 const uint8_t *head = reinterpret_cast<const uint8_t *>(this); in UpdateCheckSum() local 110 headCheckSum = std::accumulate(head, head + headCheckSumLen, 0u); in UpdateCheckSum() 116 const uint8_t *head = reinterpret_cast<const uint8_t *>(this); in ValidateHead() local 118 return (headCheckSum == std::accumulate(head, head + headCheckSumLen, 0u)); in ValidateHead() 232 virtual void ProcessResponsePackage(const UartHead &head);
|
D | transfer.cpp | 140 string head; in SendIOPayload() local 170 head = SerialStruct::SerializeToString(payloadHead); in SendIOPayload() 171 if (head.size() + 1 > payloadPrefixReserve) { in SendIOPayload() 174 if (EOK != memcpy_s(sendBuf, sendBufSize, head.c_str(), head.size() + 1)) { in SendIOPayload()
|
/developtools/profiler/host/smartperf/trace_streamer/src/parser/bytrace_parser/ |
D | bytrace_parser.cpp | 235 int head = rawDataHead_; in ParseTraceDataItem() local 237 if (dataSegArray_[head].status.load() != TS_PARSE_STATUS_INIT) { in ParseTraceDataItem() 239 filterHead_, dataSegArray_[head].status.load()); in ParseTraceDataItem() 243 dataSegArray_[head].seg = std::move(buffer); in ParseTraceDataItem() 244 dataSegArray_[head].status = TS_PARSE_STATUS_SEPRATED; in ParseTraceDataItem() 262 int head; in GetNextSegment() local 264 head = parseHead_; in GetNextSegment() 265 DataSegment& seg = dataSegArray_[head]; in GetNextSegment() 290 return head; in GetNextSegment() 337 int head = GetNextSegment(); in ParseThread() local [all …]
|
/developtools/profiler/host/smartperf/trace_streamer/src/parser/htrace_parser/ |
D | htrace_parser.cpp | 112 int head = rawDataHead_; in ParseTraceDataItem() local 114 dataSegArray_[head].seg = std::move(buffer); in ParseTraceDataItem() 115 dataSegArray_[head].status = TS_PARSE_STATUS_SEPRATED; in ParseTraceDataItem() 116 ParserData(dataSegArray_[head]); in ParseTraceDataItem() 120 if (dataSegArray_[head].status.load() != TS_PARSE_STATUS_INIT) { in ParseTraceDataItem() 124 dataSegArray_[head].seg = std::move(buffer); in ParseTraceDataItem() 125 dataSegArray_[head].status = TS_PARSE_STATUS_SEPRATED; in ParseTraceDataItem() 258 int head = GetNextSegment(); in ParseThread() local 259 if (head < 0) { in ParseThread() 260 if (head == ERROR_CODE_EXIT) { in ParseThread() [all …]
|
/developtools/hiperf/src/ |
D | ring_buffer.cpp | 73 size_t head = head_.load(std::memory_order_relaxed); in EndWrite() local 74 head += writeSize_; in EndWrite() 75 head_.store(head, std::memory_order_release); in EndWrite()
|
D | report.cpp | 364 const std::string head = "Heating"; in OutputStdHead() local 365 if (fprintf(output_, "%-*s ", FULL_PERCENTAGE_LEN, head.c_str()) < 0) { in OutputStdHead()
|
/developtools/profiler/host/smartperf/trace_streamer/src/parser/hiperf_parser/hiperf/ |
D | ring_buffer.cpp | 72 size_t head = head_.load(std::memory_order_relaxed); in EndWrite() local 73 head += writeSize_; in EndWrite() 74 head_.store(head, std::memory_order_release); in EndWrite()
|
D | report.cpp | 376 const std::string head = "Heating"; in OutputStdHead() local 377 if (fprintf(output_, "%-*s ", FULL_PERCENTAGE_LEN, head.c_str()) < 0) { in OutputStdHead()
|
/developtools/hdc/test/unittest/common/ |
D | uart_test.cpp | 35 bool MakeData(std::vector<uint8_t> &data, UartHead &head); 135 UartHead head; in MakeRndData() local 136 head.option = PKG_OPTION_TAIL; in MakeRndData() 137 head.sessionId = sessionId; in MakeRndData() 138 head.packageIndex = packageIndex; in MakeRndData() 146 return MakeData(data, head); in MakeRndData() 151 UartHead head; in MakeDemoData() local 152 head.option = PKG_OPTION_TAIL; in MakeDemoData() 153 head.sessionId = sessionId; in MakeDemoData() 154 head.packageIndex = packageIndex; in MakeDemoData() [all …]
|
/developtools/hdc/src/daemon/ |
D | usb_ffs.h | 50 struct usb_functionfs_strings_head head; member 56 .head = 177 struct usb_functionfs_descs_head_v2 head; member
|
D | jdwp.cpp | 401 char head[headerLen + 2]; in JdwpProcessListMsg() local 413 if (snprintf_s(head, sizeof head, sizeof head - 1, "%04zx\n", len) < 0) { in JdwpProcessListMsg() 417 if (memcpy_s(buffer, bufferlen, head, headerLen) != EOK) { in JdwpProcessListMsg()
|
D | daemon_usb.cpp | 121 descUsbFfs.head.magic = LONG_LE(FUNCTIONFS_DESCRIPTORS_MAGIC_V2); in FillUsbV2Head() 122 descUsbFfs.head.length = LONG_LE(sizeof(descUsbFfs)); in FillUsbV2Head() 123 descUsbFfs.head.flags in FillUsbV2Head()
|
/developtools/profiler/device/plugins/memory_plugin/src/ |
D | smaps_stats.cpp | 199 bool SmapsStats::SetMapAddrInfo(std::string& line, MapPiecesInfo& head) in SetMapAddrInfo() argument 203 head.startAddr = strtoull(pStr, &end, HEX_BASE); in SetMapAddrInfo() 208 head.endAddr = strtoull(pStr, &end, HEX_BASE); in SetMapAddrInfo() 215 bool SmapsStats::ParseMapHead(std::string& line, MapPiecesInfo& head) in ParseMapHead() argument 217 if (!SetMapAddrInfo(line, head)) { in ParseMapHead() 232 head.name = newline.substr(0, newline.size() - 1); in ParseMapHead()
|
/developtools/profiler/host/smartperf/ide/src/hdc/transmission/ |
D | DataProcessing.ts | 104 …let head: USBHead = new USBHead([USB_PACKET_FLAG.charCodeAt(0), USB_PACKET_FLAG.charCodeAt(1)], op… 105 let dataView = head.getDataView();
|
/developtools/profiler/device/plugins/memory_plugin/include/ |
D | smaps_stats.h | 282 bool ParseMapHead(std::string& line, MapPiecesInfo& head); 283 bool SetMapAddrInfo(std::string& line, MapPiecesInfo& head);
|
/developtools/integration_verification/DeployDevice/src/aw/Download/ |
D | Downloadold.py | 529 r = requests.head(link)
|
D | Download.py | 555 r = requests.head(link)
|
/developtools/profiler/host/smartperf/ide/src/base-ui/table/ |
D | lit-table.ts | 829 let head = this.shadowRoot!.querySelector(".th"); variable 830 this.tbodyElement && (this.tbodyElement.style.width = head?.clientWidth + "px")
|
/developtools/ace_ets2bundle/compiler/codegen/ |
D | codegen_ets.js | 15 …head=Ha,Dr.identity=np,Dr.includes=function(e,t,r,o){e=Hi(e)?e:zs(e),r=r&&!o?ms(r):0;var n=e.lengt…
|