/developtools/hdc/scripts/ |
D | hdc_test.py | 139 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/ |
D | compare.go | 68 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/ |
D | uart.cpp | 579 UartHead *head = reinterpret_cast<UartHead *>(data); in UartSendToHdcStream() local 581 head->ToDebugString().c_str(), *(data + sizeof(UartHead)), in UartSendToHdcStream() 585 if (head->sessionId != hSession->sessionId) { in UartSendToHdcStream() 588 head->sessionId); in UartSendToHdcStream() 589 SendUartSoftReset(hSession, head->sessionId); in UartSendToHdcStream() 596 hSession->hUART->streamSize += head->dataSize; // this is only for debug, in UartSendToHdcStream() 600 data + sizeof(UartHead), head->dataSize) < 0) { in UartSendToHdcStream() 661 UartHead *head = reinterpret_cast<UartHead *>(data); in RequestSendPackage() local 662 bool response = head->IsResponsePackage(); in RequestSendPackage() 665 slots.Wait(head->sessionId); in RequestSendPackage() [all …]
|
D | usb.cpp | 68 USBHead head; in BuildPacketHeader() local 69 head.sessionId = htonl(sessionId); in BuildPacketHeader() 70 for (size_t i = 0; i < sizeof(head.flag); i++) { in BuildPacketHeader() 71 head.flag[i] = USB_PACKET_FLAG.data()[i]; in BuildPacketHeader() 73 head.option = option; in BuildPacketHeader() 74 head.dataSize = htonl(dataSize); in BuildPacketHeader() 75 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() 233 virtual void ProcessResponsePackage(const UartHead &head);
|
/developtools/hdc/hdc_rust/src/ |
D | utils.rs | 95 let head = format!("{}:{}", file!().split('/').last().unwrap(), line!()); localVariable 96 hilog_rust::debug!(LOG_LABEL, "{} {}", @public(head), @public(format!($($arg)+))); 113 let head = format!("{}:{}", file!().split('/').last().unwrap(), line!()); localVariable 114 hilog_rust::debug!(LOG_LABEL, "{} {}", @public(head), @public(format!($($arg)+))); 131 let head = format!("{}:{}", file!().split('/').last().unwrap(), line!()); localVariable 132 hilog_rust::info!(LOG_LABEL, "{} {}", @public(head), @public(format!($($arg)+))); 149 let head = format!("{}:{}", file!().split('/').last().unwrap(), line!()); localVariable 150 hilog_rust::warn!(LOG_LABEL, "{} {}", @public(head), @public(format!($($arg)+))); 167 let head = format!("{}:{}", file!().split('/').last().unwrap(), line!()); localVariable 168 hilog_rust::error!(LOG_LABEL, "{} {}", @public(head), @public(format!($($arg)+))); [all …]
|
/developtools/hdc/hdc_rust/src/transfer/ |
D | uart.rs | 92 pub head: Option<UartHead>, field 130 let mut head = serializer::native_struct::UartHead::default(); in check_protocol_head() localVariable 132 if let Err(e) = head.parse(buf) { in check_protocol_head() 137 self.head = Some(head.clone()); in check_protocol_head() 139 Ok((head.data_size, head.package_index)) in check_protocol_head() 144 let head = self.head.clone(); in process_head() localVariable 145 if let Some(head) = head { in process_head() 147 uart_wrapper::on_read_head(head).await; in process_head()
|
D | base.rs | 77 let (head, body) = data.split_at(serializer::HEAD_SIZE); in unpack_task_message_lock() 78 let payload_head = serializer::unpack_payload_head(head.to_vec()); in unpack_task_message_lock() 178 let (head, body) = data.split_at(serializer::HEAD_SIZE); in unpack_task_message() 179 let payload_head = serializer::unpack_payload_head(head.to_vec())?; in unpack_task_message()
|
D | usb.rs | 149 let mut head = serializer::native_struct::UsbHead::default(); in check_protocol_head() localVariable 151 if let Err(e) = head.parse(buf) { in check_protocol_head() 155 Ok((u32::from_be(head.data_size), 0)) in check_protocol_head()
|
/developtools/profiler/hiebpf/include/ |
D | hiebpf_macros.h | 136 #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/ptreader_parser/ |
D | ptreader_parser.cpp | 225 int32_t head = rawDataHead_; in ParseTraceDataItem() local 227 if (dataSegArray_[head].status.load() != TS_PARSE_STATUS_INIT) { in ParseTraceDataItem() 229 filterHead_, dataSegArray_[head].status.load()); in ParseTraceDataItem() 233 dataSegArray_[head].seg = std::move(buffer); in ParseTraceDataItem() 234 dataSegArray_[head].status = TS_PARSE_STATUS_SEPRATED; in ParseTraceDataItem() 259 int32_t head; in GetNextSegment() local 261 head = parseHead_; in GetNextSegment() 262 DataSegment &seg = dataSegArray_[head]; in GetNextSegment() 279 return head; in GetNextSegment() 326 int32_t head = GetNextSegment(); in ParseThread() local [all …]
|
/developtools/smartperf_host/ide/src/base-ui/table/ |
D | LitPageTable.ts | 308 let head = document.createElement('div'); variable 309 head.classList.add('td'); // @ts-ignore 310 head.style.justifyContent = a.getAttribute('align'); 311 head.style.borderBottom = '1px solid #f0f0f0'; 312 head.style.gridArea = key; // @ts-ignore 313 head.innerText = a.title; // @ts-ignore 316 fixed(head, a.getAttribute('fixed'), '#42b983'); 318 rowElement.append(head); // @ts-ignore 347 resolvingAreaColumnOrder(column: unknown, index: number, key: string, head: unknown): void { 351 (head as unknown).sortType = 0; // @ts-ignore [all …]
|
D | LitTableHtml.ts | 519 export function createDownUpSvg(index: number, head: unknown): { upSvg: SVGSVGElement; downSvg: SVG… 545 head.sortType = 0; // 默认以第一列 降序排序 作为默认排序 551 head.appendChild(upSvg); //@ts-ignore 552 head.appendChild(downSvg);
|
/developtools/hiperf/src/ |
D | ring_buffer.cpp | 76 size_t head = head_.load(std::memory_order_relaxed); in EndWrite() local 77 head += writeSize_; in EndWrite() 78 head_.store(head, std::memory_order_release); in EndWrite()
|
/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 = PACKAGE_INDEX; 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/hdc_rust/src/daemon/ |
D | main.rs | 240 let Some(head) = rd.head.clone() else { in uart_handshake() 246 uart_wrapper::on_read_head(head).await; in uart_handshake() 265 let mut rd = transfer::uart::UartReader { fd, head: None }; in uart_handle_client() 269 let mut rd = transfer::uart::UartReader { fd, head: None }; in uart_handle_client() 296 let Some(head) = rd.head.clone() else { in uart_handle_client() 299 let package_index = head.package_index; in uart_handle_client() 300 let session_id = head.session_id; in uart_handle_client() 301 uart_wrapper::on_read_head(head).await; in uart_handle_client() 312 let mut rd = transfer::uart::UartReader { fd, head: None }; in uart_handle_client()
|
/developtools/profiler/device/plugins/memory_plugin/src/ |
D | smaps_stats.cpp | 172 bool SmapsStats::SetMapAddrInfo(std::string& line, MapPiecesInfo& head) in SetMapAddrInfo() argument 176 head.startAddr = strtoull(pStr, &end, HEX_BASE); in SetMapAddrInfo() 179 head.endAddr = strtoull(pStr, &end, HEX_BASE); in SetMapAddrInfo() 184 bool SmapsStats::ParseMapHead(std::string& line, MapPiecesInfo& head, SmapsHeadInfo& smapsHeadInfo) in ParseMapHead() argument 197 head.startAddr = strtoull(smapsHeadInfo.startAddrStr.c_str(), nullptr, HEX_BASE); in ParseMapHead() 198 head.endAddr = strtoull(smapsHeadInfo.endAddrStr.c_str(), nullptr, HEX_BASE); in ParseMapHead() 209 head.name = newline.substr(0, newline.size() - 1); in ParseMapHead() 210 smapsHeadInfo.path = head.name; in ParseMapHead()
|
/developtools/hdc/hdc_rust/src/host_transfer/ |
D | host_usb.rs | 170 let mut head = serializer::native_struct::UsbHead::default(); in check_protocol_head() localVariable 172 if let Err(e) = head.parse(buf) { in check_protocol_head() 176 Ok((u32::from_be(head.data_size), 0)) in check_protocol_head() 221 let (head, body) = data.split_at(serializer::HEAD_SIZE); in unpack_task_message() 222 let payload_head = serializer::unpack_payload_head(head.to_vec())?; in unpack_task_message() 315 let head = build_header(session_id, 1, body.len()); in put() localVariable 323 wr.write_all(head)?; in put()
|
/developtools/profiler/hidebug/frameworks/hidebug_ndk/ |
D | hidebug_ndk.cpp | 48 HiDebug_ThreadCpuUsagePtr head = nullptr; in OH_HiDebug_GetAppThreadCpuUsage() local 59 head = node; in OH_HiDebug_GetAppThreadCpuUsage() 65 return head; in OH_HiDebug_GetAppThreadCpuUsage()
|
/developtools/hdc/hdc_rust/src/cffi/ |
D | oh_usb.cpp | 35 descUsbFfs.head.magic = LONG_LE(FUNCTIONFS_DESCRIPTORS_MAGIC_V2); in FillUsbV2Head() 36 descUsbFfs.head.length = LONG_LE(sizeof(descUsbFfs)); in FillUsbV2Head() 37 descUsbFfs.head.flags = FUNCTIONFS_HAS_FS_DESC | FUNCTIONFS_HAS_HS_DESC | in FillUsbV2Head()
|
D | usb_ffs.h | 53 struct usb_functionfs_strings_head head; member 59 .head = 231 struct usb_functionfs_descs_head_v2 head; member
|
/developtools/smartperf_host/trace_streamer/src/parser/pbreader_parser/ |
D | pbreader_parser.cpp | 312 int32_t head = rawDataHead_; in ParseTraceDataItem() local 314 dataSegArray_[head].seg = std::make_shared<std::string>(std::move(buffer)); in ParseTraceDataItem() 315 dataSegArray_[head].status = TS_PARSE_STATUS_SEPRATED; in ParseTraceDataItem() 316 ParserData(dataSegArray_[head], traceDataCache_->isSplitFile_); in ParseTraceDataItem() 320 if (dataSegArray_[head].status.load() != TS_PARSE_STATUS_INIT) { in ParseTraceDataItem() 324 dataSegArray_[head].seg = std::make_shared<std::string>(std::move(buffer)); in ParseTraceDataItem() 325 dataSegArray_[head].status = TS_PARSE_STATUS_SEPRATED; in ParseTraceDataItem() 642 int32_t head = GetNextSegment(); in ParseThread() local 643 if (head < 0) { in ParseThread() 644 if (head == ERROR_CODE_EXIT) { in ParseThread() [all …]
|
/developtools/smartperf_host/ide/src/hdc/transmission/ |
D | DataProcessing.ts | 121 let head: USBHead = new USBHead( 127 let dataView = head.getDataView();
|
/developtools/hdc/src/daemon/ |
D | usb_ffs.h | 52 struct usb_functionfs_strings_head head; member 58 .head = 228 struct usb_functionfs_descs_head_v2 head; member
|
/developtools/integration_verification/tools/fotff/rec/ |
D | report.go | 30 const css = `<head> 55 </head>
|