Home
last modified time | relevance | path

Searched refs:ss (Results 1 – 14 of 14) sorted by relevance

/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/
Dbuild.py15 ss = file.read() variable
16 i1 = ss.index("// update js code begin") + len("// update js code begin") + 1
17 i2 = ss.index("// update js code end") - 1
20 ss = ss[:i1] + destss + ss[i2:] variable
25 file.write(ss)
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/
Dre.js16 function search(ss, data) { argument
17 ss = replaceAll(ss, '\\.', '\\.');
18 let reg = new RegExp(ss);
37 function match(ss, data) { argument
38 let tt = search(ss, data);
57 function replaceAll(ss, sfrom, sto) { argument
58 return ss.replace(all(sfrom), sto);
DGenerator.js221 let ss = this.objToHcs(node.value_[i], 0);
225 ret += ss;
/drivers/peripheral/camera/vdi_base/usb_camera/vdi_impl/src/
Dcamera_dump.cpp82 std::stringstream ss; in DumpBuffer() local
84 ss << "captureId[" << captureId << "]_streamId[" << streamId << in DumpBuffer()
88 ss << "]_" << GetCurrentLocalTimeStamp(); in DumpBuffer()
89 ss >> fileName; in DumpBuffer()
92 ss << "]_" << GetCurrentLocalTimeStamp(); in DumpBuffer()
93 ss >> fileName; in DumpBuffer()
96 ss << "]_" << GetCurrentLocalTimeStamp(); in DumpBuffer()
97 ss >> fileName; in DumpBuffer()
125 std::stringstream ss; in DumpMetadata() local
126 ss << GetCurrentLocalTimeStamp() << "_" << tag << ".meta"; in DumpMetadata()
[all …]
/drivers/peripheral/camera/vdi_base/v4l2/src/
Dcamera_dump.cpp82 std::stringstream ss; in DumpBuffer() local
84 ss << "captureId[" << captureId << "]_streamId[" << streamId << in DumpBuffer()
88 ss << "]_" << GetCurrentLocalTimeStamp(); in DumpBuffer()
89 ss >> fileName; in DumpBuffer()
94 ss << "]_" << GetCurrentLocalTimeStamp(); in DumpBuffer()
95 ss >> fileName; in DumpBuffer()
123 std::stringstream ss; in DumpMetadata() local
124 ss << GetCurrentLocalTimeStamp() << "_" << tag << ".meta"; in DumpMetadata()
126 return SaveDataToFile(ss.str().c_str(), metaStr.c_str(), metaStr.size()); in DumpMetadata()
167 std::stringstream ss; in SaveDataToFile() local
[all …]
/drivers/peripheral/user_auth/common/utils/
Diam_para2str.h31 std::ostringstream ss; in GetMaskedString() local
32 ss << "0xXXXX" << std::setfill('0') << std::setw(MASK_WIDTH) << std::hex << val; in GetMaskedString()
33 return ss.str(); in GetMaskedString()
/drivers/peripheral/face_auth/common/utils/
Diam_para2str.h31 std::ostringstream ss; in GetMaskedString() local
32 ss << "0xXXXX" << std::setfill('0') << std::setw(MASK_WIDTH) << std::hex << val; in GetMaskedString()
33 return ss.str(); in GetMaskedString()
/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/
Dstream_statistics.cpp100 std::stringstream ss; in DumpStats() local
101ss << "streamId:" << streamId_ << ", buf status(suc/fail) req:" << requestBufferSuccessCount_ << in DumpStats()
105 streamInfo_ = ss.str(); in DumpStats()
/drivers/peripheral/camera/test/hdi/v1_1/src/
Dcamera_hdi_uttest_v1_1.cpp330 std::stringstream ss; variable
332 ss << entry.data.i32[i] << " ";
334 CAMERA_LOGE("%{public}s\n", ss.str().c_str());
335 ss.clear();
336 ss.str("");
/drivers/external_device_manager/services/native/driver_extension_manager/src/bus_extension/usb/
Dusb_bus_extension.cpp143 stringstream ss(str); in ParseCommaStrToVectorUint16() local
146 while (getline(ss, s, ',')) { in ParseCommaStrToVectorUint16()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/src/dispatcher/
Dstream_pipeline_dispatcher.cpp65 for (auto [ss, vv] : seqNode_) { in Update()
66 CAMERA_LOGI("sink stream id:%{public}d \n", ss); in Update()
/drivers/peripheral/usb/serial/src/
Dusb_serial.c303 uint16_t ss; in UsbGetStatus() local
317 controlParams.data = (void *)(&ss); in UsbGetStatus()
318 controlParams.size = sizeof(ss); in UsbGetStatus()
338 …ret = memcpy_s((void *)(&ss), sizeof(ss), request->compInfo.buffer, request->compInfo.actualLength… in UsbGetStatus()
344 *status = LE16_TO_CPU(ss); in UsbGetStatus()
722 static uint16_t ss; in UsbStdCtrlCmd() local
775 ret = UsbGetStatus(acm->ctrDevHandle, g_ctrlCmdRequest, &ss); in UsbStdCtrlCmd()
780 ret = HdfSbufWriteUint16(reply, ss); in UsbStdCtrlCmd()
/drivers/peripheral/usb/test/unittest/hal/src/
Dusbfn_mtp_test.cpp89 std::stringstream ss; in PrintVector() local
92 ss << std::hex << "0x" << (0xFF & data.at(i)) << " "; in PrintVector()
94 ss << data.at(i); in PrintVector()
97 …std::string output = msg + std::string("(") + std::to_string(printLen) + std::string("):") + ss.st… in PrintVector()
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/
DMainEditor.js684 let ss = '[' + data.value_.length + ']' + NodeTools.arrayToString(data);
696 if (ss.length > displayValueLen) {
697 ss = ss.substring(0, displayValueLen - 3) + '...';
699 …w = pm2f.drawText(ss, 14, offx, offy + data.posY + MainEditor.NODE_RECT_HEIGHT / 2 - MainEditor.NO…