Home
last modified time | relevance | path

Searched refs:ss (Results 1 - 20 of 20) sorted by relevance

/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/
H A 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/
H A Dre.js16 function search(ss, data) {
17 ss = replaceAll(ss, '\\.', '\\.');
18 let reg = new RegExp(ss);
37 function match(ss, data) {
38 let tt = search(ss, data);
57 function replaceAll(ss, sfrom, sto) {
58 return ss.replace(all(sfrom), sto);
H A DGenerator.js221 let ss = this.objToHcs(node.value_[i], 0);
225 ret += ss;
/drivers/peripheral/camera/vdi_base/common/dump/src/
H A Dcamera_dump.cpp90 std::stringstream ss; in ReadDumpConfig() local
91 ss << DUMP_CONFIG_PATH; in ReadDumpConfig()
93 ifs.open(ss.str(), std::ios::in); in ReadDumpConfig()
96 ss.str().c_str(), std::strerror(errno)); in ReadDumpConfig()
141 std::stringstream ss; in DumpBuffer() local
143 ss << name.c_str() << "_captureId[" << buffer->GetCaptureId() << "]_streamId[" << buffer->GetStreamId() << in DumpBuffer()
159 ss << "]_" << GetCurrentLocalTimeStamp(); in DumpBuffer()
160 ss >> fileName; in DumpBuffer()
164 ss << "]_" << GetCurrentLocalTimeStamp(); in DumpBuffer()
165 ss >> fileNam in DumpBuffer()
204 std::stringstream ss; DumpMetadata() local
249 std::stringstream ss; SaveDataToFile() local
327 stringstream ss; CheckDiskInfo() local
[all...]
/drivers/peripheral/face_auth/common/utils/
H A 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/user_auth/common/utils/
H A 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/test/hdi/v1_3/src/
H A Dcamera_hdi_tag_test_v1_3.cpp103 std::stringstream ss; in HWTEST_F() local
105 ss << entry.data.i32[i] << " "; in HWTEST_F()
107 CAMERA_LOGI("OHOS_ABILITY_TRIPOD_DETECTION %{public}s\n", ss.str().c_str()); in HWTEST_F()
108 printf("OHOS_ABILITY_TRIPOD_DETECTION %s\n", ss.str().c_str()); in HWTEST_F()
109 ss.clear(); in HWTEST_F()
110 ss.str(""); in HWTEST_F()
H A Dcamera_front_uttest_v1_3.cpp163 std::stringstream ss; in HWTEST_F() local
165 ss << entry.data.i32[i] << " "; in HWTEST_F()
167 CAMERA_LOGI("%{public}s\n", ss.str().c_str()); in HWTEST_F()
168 printf("OHOS_ABILITY_DEPTH_DATA_PROFILES %s\n", ss.str().c_str()); in HWTEST_F()
169 ss.clear(); in HWTEST_F()
170 ss.str(""); in HWTEST_F()
H A Dcamera_hdi_uttest_v1_3.cpp523 std::stringstream ss; in HWTEST_F() local
525 ss << entry.data.i32[i] << " "; in HWTEST_F()
527 CAMERA_LOGI("%{public}s\n", ss.str().c_str()); in HWTEST_F()
528 printf("OHOS_ABILITY_MOVING_PHOTO %s\n", ss.str().c_str()); in HWTEST_F()
529 ss.clear(); in HWTEST_F()
530 ss.str(""); in HWTEST_F()
611 std::stringstream ss; in HWTEST_F() local
613 ss << entry.data.i32[i] << " "; in HWTEST_F()
615 CAMERA_LOGE("%{public}s\n", ss.str().c_str()); in HWTEST_F()
616 ss in HWTEST_F()
730 std::stringstream ss; HWTEST_F() local
1263 std::stringstream ss; HWTEST_F() local
1299 std::stringstream ss; HWTEST_F() local
1335 std::stringstream ss; HWTEST_F() local
[all...]
H A Dcamera_professional_uttest_v1_3.cpp143 std::stringstream ss; in HWTEST_F() local
145 ss << entry.data.i32[i] << " "; in HWTEST_F()
147 CAMERA_LOGE("%{public}s\n", ss.str().c_str()); in HWTEST_F()
148 ss.clear(); in HWTEST_F()
149 ss.str(""); in HWTEST_F()
/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/
H A Dstream_statistics.cpp100 std::stringstream ss; in DumpStats() local
101 ss << "streamId:" << streamId_ << ", buf status(suc/fail) req:" << requestBufferSuccessCount_ << in DumpStats()
105 streamInfo_ = ss.str(); in DumpStats()
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/src/
H A Daudio_adapter_interface_impl.cpp978 std::stringstream ss; in GetVolumeChangeString() local
979 ss << VOLUME_CHANAGE << ";" in GetVolumeChangeString()
985 std::string res = ss.str(); in GetVolumeChangeString()
986 DHLOGI("get ss : %{public}s", res.c_str()); in GetVolumeChangeString()
1022 std::stringstream ss; in HandleFocusChangeEvent() local
1023 ss << INTERRUPT_EVENT << ";" in HandleFocusChangeEvent()
1028 DHLOGI("get ss : %{public}s", ss.str().c_str()); in HandleFocusChangeEvent()
1031 int32_t ret = paramCallback_->ParamCallback(AUDIO_EXT_PARAM_KEY_FOCUS, ss.str(), "", reserved, cookie); in HandleFocusChangeEvent()
1046 std::stringstream ss; in HandleRenderStateChangeEvent() local
1179 std::stringstream ss; HandleDeviceClosed() local
[all...]
H A Daudio_manager_interface_impl.cpp257 std::stringstream ss; in NotifyFwk() local
258 ss << "EVENT_TYPE=" << event.eventType << ";NID=" << event.adapterName << ";PIN=" << event.dhId << ";VID=" << in NotifyFwk()
260 std::string eventInfo = ss.str(); in NotifyFwk()
/drivers/peripheral/camera/test/hdi/v1_2/src/
H A Dcamera_hdi_uttest_v1_2.cpp241 std::stringstream ss; in HWTEST_F() local
243 ss << entry.data.f[i] << " "; in HWTEST_F()
245 CAMERA_LOGI("%{public}s\n", ss.str().c_str()); in HWTEST_F()
246 printf("OHOS_ABILITY_SKETCH_ENABLE_RATIO %s\n", ss.str().c_str()); in HWTEST_F()
247 ss.clear(); in HWTEST_F()
248 ss.str(""); in HWTEST_F()
273 std::stringstream ss; in HWTEST_F() local
275 ss << entry.data.f[i] << " "; in HWTEST_F()
277 printf("OHOS_ABILITY_SKETCH_REFERENCE_FOV_RATIO %s\n", ss.str().c_str()); in HWTEST_F()
278 CAMERA_LOGI("%{public}s\n", ss in HWTEST_F()
935 std::stringstream ss; HWTEST_F() local
1329 std::stringstream ss; HWTEST_F() local
1359 std::stringstream ss; HWTEST_F() local
[all...]
/drivers/external_device_manager/services/native/driver_extension_manager/src/bus_extension/usb/
H A Dusb_bus_extension.cpp162 stringstream ss(str); in ParseCommaStrToVectorUint16()
165 while (getline(ss, s, ',')) { in ParseCommaStrToVectorUint16()
/drivers/peripheral/camera/test/hdi/v1_1/src/
H A Dcamera_hdi_uttest_v1_1.cpp191 std::stringstream ss; in HWTEST_F() local
193 ss << entry.data.i32[i] << " "; in HWTEST_F()
195 CAMERA_LOGE("%{public}s\n", ss.str().c_str()); in HWTEST_F()
196 ss.clear(); in HWTEST_F()
197 ss.str(""); in HWTEST_F()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/src/dispatcher/
H A 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/
H A Dusb_serial.c304 uint16_t ss; in UsbGetStatus() local
318 controlParams.data = (void *)(&ss); in UsbGetStatus()
319 controlParams.size = sizeof(ss); in UsbGetStatus()
339 ret = memcpy_s((void *)(&ss), sizeof(ss), request->compInfo.buffer, request->compInfo.actualLength); in UsbGetStatus()
345 *status = LE16_TO_CPU(ss); in UsbGetStatus()
729 static uint16_t ss; in UsbStdCtrlCmd() local
782 ret = UsbGetStatus(acm->ctrDevHandle, g_ctrlCmdRequest, &ss); in UsbStdCtrlCmd()
787 ret = HdfSbufWriteUint16(reply, ss); in UsbStdCtrlCmd()
/drivers/peripheral/usb/test/unittest/hal/src/
H A 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.str(); in PrintVector()
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/
H A DMainEditor.js707 let ss = '[' + data.value_.length + ']' + NodeTools.arrayToString(data);
723 if (ss.length > displayValueLen) {
724 ss = ss.substring(0, displayValueLen - 3) + '...';
726 w = pm2f.drawText(ss, MainEditor.NODE_TEXT_SIZE, offx, offy + data.posY + MainEditor.NODE_RECT_HEIGHT / CONSTANT_MIDDLE -

Completed in 18 milliseconds