Home
last modified time | relevance | path

Searched refs:head (Results 1 – 25 of 29) sorted by relevance

12

/developtools/hdc/scripts/
Dhdc_test.py139 def command_callback(cmd, head, need_del, res=""): argument
144 check_file_send(cmd_parts[2], cmd_parts[3], head, need_del)
148 check_file_recv(cmd_parts[2], cmd_parts[3], head, need_del)
150 check_install(head, res)
153 check_root(head)
156 check_user(head)
161 def check_file_send(local_file, remote_file, head, need_del): argument
169 " ] && echo yes || echo no\""), head)
172 rm_send_file(remote_file, head, need_del)
175 remote_md5 = get_md5(remote_file, head)
[all …]
/developtools/integration_verification/tools/fotff/vcs/gitee/
Dcompare.go68 head := branchResp.Commit
69 head.Owner = owner
70 head.Repo = repo
71 for head.Commit.Committer.Date > before {
72 if head, err = GetCommit(owner, repo, head.Parents[0].SHA); err != nil {
76 return head, nil
86 head := branchResp.Commit
87 head.Owner = owner
88 head.Repo = repo
89 for head.Commit.Committer.Date > fromStr {
[all …]
/developtools/hdc/src/common/
Duart.cpp577 UartHead *head = reinterpret_cast<UartHead *>(data); in UartSendToHdcStream() local
579 head->ToDebugString().c_str(), *(data + sizeof(UartHead)), in UartSendToHdcStream()
583 if (head->sessionId != hSession->sessionId) { in UartSendToHdcStream()
586 head->sessionId); in UartSendToHdcStream()
587 SendUartSoftReset(hSession, head->sessionId); in UartSendToHdcStream()
594 hSession->hUART->streamSize += head->dataSize; // this is only for debug, in UartSendToHdcStream()
598 data + sizeof(UartHead), head->dataSize) < 0) { in UartSendToHdcStream()
659 UartHead *head = reinterpret_cast<UartHead *>(data); in RequestSendPackage() local
660 bool response = head->IsResponsePackage(); in RequestSendPackage()
663 slots.Wait(head->sessionId); in RequestSendPackage()
[all …]
Dusb.cpp63 USBHead head; in BuildPacketHeader() local
64 head.sessionId = htonl(sessionId); in BuildPacketHeader()
65 for (size_t i = 0; i < sizeof(head.flag); i++) { in BuildPacketHeader()
66 head.flag[i] = USB_PACKET_FLAG.data()[i]; in BuildPacketHeader()
68 head.option = option; in BuildPacketHeader()
69 head.dataSize = htonl(dataSize); in BuildPacketHeader()
70 vecData.insert(vecData.end(), (uint8_t *)&head, (uint8_t *)&head + sizeof(USBHead)); in BuildPacketHeader()
Duart.h108 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()
233 virtual void ProcessResponsePackage(const UartHead &head);
Dtransfer.cpp156 string head; in SendIOPayload() local
187 head = SerialStruct::SerializeToString(payloadHead); in SendIOPayload()
188 if (head.size() + 1 > payloadPrefixReserve) { in SendIOPayload()
191 if (EOK != memcpy_s(sendBuf, sendBufSize, head.c_str(), head.size() + 1)) { in SendIOPayload()
/developtools/profiler/hiebpf/include/
Dhiebpf_macros.h136 #define list_for_each(pos, head) \ argument
137 for (pos = (head)->next; pos != (head); pos = pos->next)
154 #define hlist_for_each(pos, head) \ argument
155 for (pos = (head)->first; pos ; pos = pos->next)
/developtools/smartperf_host/trace_streamer/src/parser/bytrace_parser/
Dbytrace_parser.cpp220 int32_t head = rawDataHead_; in ParseTraceDataItem() local
222 if (dataSegArray_[head].status.load() != TS_PARSE_STATUS_INIT) { in ParseTraceDataItem()
224 filterHead_, dataSegArray_[head].status.load()); in ParseTraceDataItem()
228 dataSegArray_[head].seg = std::move(buffer); in ParseTraceDataItem()
229 dataSegArray_[head].status = TS_PARSE_STATUS_SEPRATED; in ParseTraceDataItem()
247 int32_t head; in GetNextSegment() local
249 head = parseHead_; in GetNextSegment()
250 DataSegment& seg = dataSegArray_[head]; in GetNextSegment()
275 return head; in GetNextSegment()
322 int32_t head = GetNextSegment(); in ParseThread() local
[all …]
/developtools/profiler/host/smartperf/trace_streamer/src/parser/bytrace_parser/
Dbytrace_parser.cpp258 int32_t head = rawDataHead_; in ParseTraceDataItem() local
260 if (dataSegArray_[head].status.load() != TS_PARSE_STATUS_INIT) { in ParseTraceDataItem()
262 filterHead_, dataSegArray_[head].status.load()); in ParseTraceDataItem()
266 dataSegArray_[head].seg = std::move(buffer); in ParseTraceDataItem()
267 dataSegArray_[head].status = TS_PARSE_STATUS_SEPRATED; in ParseTraceDataItem()
285 int32_t head; in GetNextSegment() local
287 head = parseHead_; in GetNextSegment()
288 DataSegment& seg = dataSegArray_[head]; in GetNextSegment()
313 return head; in GetNextSegment()
360 int32_t head = GetNextSegment(); in ParseThread() local
[all …]
/developtools/hiperf/src/
Dring_buffer.cpp73 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()
Dreport.cpp364 const std::string head = "Heating"; in OutputStdHead() local
365 if (fprintf(output_, "%-*s ", FULL_PERCENTAGE_LEN, head.c_str()) < 0) { in OutputStdHead()
/developtools/hdc/test/unittest/common/
Duart_test.cpp35 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/profiler/host/smartperf/trace_streamer/src/parser/htrace_pbreader_parser/
Dhtrace_parser.cpp217 int32_t head = rawDataHead_; in ParseTraceDataItem() local
219 dataSegArray_[head].seg = std::make_shared<std::string>(std::move(buffer)); in ParseTraceDataItem()
220 dataSegArray_[head].status = TS_PARSE_STATUS_SEPRATED; in ParseTraceDataItem()
221 ParserData(dataSegArray_[head]); in ParseTraceDataItem()
225 if (dataSegArray_[head].status.load() != TS_PARSE_STATUS_INIT) { in ParseTraceDataItem()
229 dataSegArray_[head].seg = std::make_shared<std::string>(std::move(buffer)); in ParseTraceDataItem()
230 dataSegArray_[head].status = TS_PARSE_STATUS_SEPRATED; in ParseTraceDataItem()
411 int32_t head = GetNextSegment(); in ParseThread() local
412 if (head < 0) { in ParseThread()
413 if (head == ERROR_CODE_EXIT) { in ParseThread()
[all …]
/developtools/smartperf_host/trace_streamer/src/parser/htrace_pbreader_parser/
Dhtrace_parser.cpp210 int32_t head = rawDataHead_; in ParseTraceDataItem() local
212 dataSegArray_[head].seg = std::make_shared<std::string>(std::move(buffer)); in ParseTraceDataItem()
213 dataSegArray_[head].status = TS_PARSE_STATUS_SEPRATED; in ParseTraceDataItem()
214 ParserData(dataSegArray_[head]); in ParseTraceDataItem()
218 if (dataSegArray_[head].status.load() != TS_PARSE_STATUS_INIT) { in ParseTraceDataItem()
222 dataSegArray_[head].seg = std::make_shared<std::string>(std::move(buffer)); in ParseTraceDataItem()
223 dataSegArray_[head].status = TS_PARSE_STATUS_SEPRATED; in ParseTraceDataItem()
414 int32_t head = GetNextSegment(); in ParseThread() local
415 if (head < 0) { in ParseThread()
416 if (head == ERROR_CODE_EXIT) { in ParseThread()
[all …]
/developtools/profiler/device/plugins/memory_plugin/src/
Dsmaps_stats.cpp250 bool SmapsStats::SetMapAddrInfo(std::string& line, MapPiecesInfo& head) in SetMapAddrInfo() argument
254 head.startAddr = strtoull(pStr, &end, HEX_BASE); in SetMapAddrInfo()
257 head.endAddr = strtoull(pStr, &end, HEX_BASE); in SetMapAddrInfo()
262 bool SmapsStats::ParseMapHead(std::string& line, MapPiecesInfo& head, SmapsHeadInfo& smapsHeadInfo) in ParseMapHead() argument
275 head.startAddr = strtoull(smapsHeadInfo.startAddrStr.c_str(), nullptr, HEX_BASE); in ParseMapHead()
276 head.endAddr = strtoull(smapsHeadInfo.endAddrStr.c_str(), nullptr, HEX_BASE); in ParseMapHead()
286 head.name = newline.substr(0, newline.size() - 1); in ParseMapHead()
287 smapsHeadInfo.path = head.name; in ParseMapHead()
/developtools/profiler/host/smartperf/ide/src/hdc/transmission/
DDataProcessing.ts121 let head: USBHead = new USBHead(
127 let dataView = head.getDataView();
/developtools/smartperf_host/ide/src/hdc/transmission/
DDataProcessing.ts121 let head: USBHead = new USBHead(
127 let dataView = head.getDataView();
/developtools/hdc/src/daemon/
Dusb_ffs.h52 struct usb_functionfs_strings_head head; member
58 .head =
228 struct usb_functionfs_descs_head_v2 head; member
Djdwp.cpp404 char head[headerLen + 2]; in JdwpProcessListMsg() local
416 if (snprintf_s(head, sizeof head, sizeof head - 1, "%04zx\n", len) < 0) { in JdwpProcessListMsg()
420 if (memcpy_s(buffer, bufferlen, head, headerLen) != EOK) { in JdwpProcessListMsg()
Ddaemon_usb.cpp130 descUsbFfs.head.magic = LONG_LE(FUNCTIONFS_DESCRIPTORS_MAGIC_V2); in FillUsbV2Head()
131 descUsbFfs.head.length = LONG_LE(sizeof(descUsbFfs)); in FillUsbV2Head()
132 descUsbFfs.head.flags in FillUsbV2Head()
/developtools/integration_verification/tools/fotff/rec/
Dreport.go30 const css = `<head>
55 </head>
/developtools/syscap_codec/
Dconfig.gni16 # customization for head file syscap_define.h.
/developtools/profiler/device/plugins/memory_plugin/include/
Dsmaps_stats.h296 bool ParseMapHead(std::string& line, MapPiecesInfo& head, SmapsHeadInfo& smapsHeadInfo);
297 bool SetMapAddrInfo(std::string& line, MapPiecesInfo& head);
/developtools/integration_verification/DeployDevice/src/aw/Download/
DDownload.py555 r = requests.head(link)
DDownloadold.py529 r = requests.head(link)

12