Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 61) sorted by relevance

123

/developtools/profiler/device/services/ipc/src/
Dipc_generator_impl.cpp281 … std::string tmp = ReplaceStr(SEND_RESPONSE_IMPL_STRING, "#SERVER_CLASS_NAME#", server_class_name); in GenSendResponseImpl() local
282 tmp = ReplaceStr(tmp, "#RESPONSE_NAME#", serviceList_[servicep].responseList_[j]); in GenSendResponseImpl()
283 tmp = ReplaceStr(tmp, "#PACKAGE_NAME#", packageName_); in GenSendResponseImpl()
284 tmp = ReplaceStr(tmp, "#ENUM_STR#", enum_str); in GenSendResponseImpl()
285 ret += tmp; in GenSendResponseImpl()
300 … std::string tmp = ReplaceStr(ON_RESPONSE_IMPL_STRING, "#CLIENT_CLASS_NAME#", client_class_name); in GenOnResponseImpl() local
301 tmp = ReplaceStr(tmp, "#RESPONSE_NAME#", serviceList_[servicep].responseList_[j]); in GenOnResponseImpl()
302 tmp = ReplaceStr(tmp, "#PACKAGE_NAME#", packageName_); in GenOnResponseImpl()
303 ret += tmp; in GenOnResponseImpl()
320 … std::string tmp = ReplaceStr(SERVICE_CALL_IMPL_STRING, "#SERVER_CLASS_NAME#", server_class_name); in GenServiceCallImpl() local
[all …]
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/
DEscapeCharacter.java61 StringBuffer tmp = new StringBuffer(); in unescape() local
62 tmp.ensureCapacity(src.length()); in unescape()
71 tmp.append(ch); in unescape()
76 tmp.append(ch); in unescape()
80 tmp.append(src.substring(lastPos)); in unescape()
83 tmp.append(src.substring(lastPos, pos)); in unescape()
87 return tmp.toString(); in unescape()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/entity/
DSignContentInfo.java131 SignContentHash tmp = hashData.get(i); in getByteContent() local
132 ret[index] = (byte) tmp.type; in getByteContent()
134 ret[index] = (byte) tmp.tag; in getByteContent()
136 index = ByteArrayUtils.insertShortToByteArray(ret, ret.length, index, tmp.algId); in getByteContent()
137 index = ByteArrayUtils.insertIntToByteArray(ret, index, tmp.length); in getByteContent()
138 index = ByteArrayUtils.insertByteToByteArray(ret, index, tmp.hash, tmp.hash.length); in getByteContent()
/developtools/profiler/host/smartperf/client/client_command_fps/
Dmain.cpp72 std::string tmp = content.substr(index, tEnd - index); in StrSplit() local
73 if (tmp != "" && tmp != " ") { in StrSplit()
74 out.push_back(tmp); in StrSplit()
135 char tmp[1024]; in ProcessResult() local
136 while (fgets(tmp, sizeof(tmp), fp) != nullptr) { in ProcessResult()
139 sstream << tmp; in ProcessResult()
190 FpsInfo tmp; in GetSurfaceFrame() local
191 tmp.fps = 0; in GetSurfaceFrame()
192 tmp.preFps = 0; in GetSurfaceFrame()
193 fpsMap[name] = tmp; in GetSurfaceFrame()
/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/
Dhashlist_test.cpp247 std::size_t tmp = hashList.front(); variable
248 EXPECT_EQ(tmp, curSize);
258 std::size_t tmp = hashList.back(); variable
259 EXPECT_EQ(tmp, curSize);
270 std::size_t tmp = hashList.front(); variable
271 EXPECT_EQ(tmp, count);
285 std::size_t tmp = hashList.back(); variable
286 EXPECT_EQ(tmp, count);
300 std::size_t tmp = hashList.front(); variable
301 EXPECT_EQ(tmp, count);
/developtools/hiperf/test/unittest/common/native/
Dhashlist_test.cpp247 std::size_t tmp = hashList.front(); variable
248 EXPECT_EQ(tmp, curSize);
258 std::size_t tmp = hashList.back(); variable
259 EXPECT_EQ(tmp, curSize);
270 std::size_t tmp = hashList.front(); variable
271 EXPECT_EQ(tmp, count);
285 std::size_t tmp = hashList.back(); variable
286 EXPECT_EQ(tmp, count);
300 std::size_t tmp = hashList.front(); variable
301 EXPECT_EQ(tmp, count);
/developtools/profiler/hiebpf/src/
Dhiebpf_data_file.cpp73 char *tmp = static_cast<char *>(Reserve(bufSize + sizeof(uint32_t) * 2)); in WriteKernelSymbol() local
74 if (tmp == nullptr) { in WriteKernelSymbol()
77 uint32_t *type = reinterpret_cast<uint32_t *>(tmp); in WriteKernelSymbol()
81 if (memcpy_s(tmp + sizeof(uint32_t) * 2, bufSize, buf.data(), bufSize) != EOK) { // 2: double in WriteKernelSymbol()
Dbpf_event_receiver.cpp207 char* tmp = reinterpret_cast<char*>(dest); in WriteEventMaps() local
208 char* fileName = tmp + sizeof(FixedMapTLVItem); in WriteEventMaps()
241 char* tmp = reinterpret_cast<char*>(dest); in WriteSymbolInfo() local
244 if (memcpy_s(tmp + pos, size - pos, symbolInfo.strTable_.data(), sym->strTabLen) != EOK) { in WriteSymbolInfo()
249 if (memcpy_s(tmp + pos, size - pos, symbolInfo.symTable_.data(), sym->symTabLen) != EOK) { in WriteSymbolInfo()
254 …if (memcpy_s(tmp + pos, size - pos, symbolInfo.fileName_.c_str(), symbolInfo.fileName_.size()) != … in WriteSymbolInfo()
266 char tmp = 0; in ReverseStr() local
267 tmp = *left; in ReverseStr()
269 *right = tmp; in ReverseStr()
/developtools/integration_verification/tools/fotff/pkg/gitee_common/
Dsteps_gitee.go225 tmp := make(map[string]*gitee.Commit)
227 tmp[m.SHA] = m
229 for _, m := range tmp {
236 tmp := make(map[string]string)
238 tmp[i] = i
240 for _, i := range tmp {
249 tmp := make(map[string]vcs.ProjectUpdate)
261 if err := parseFilePatch(f.Patch, tmp); err != nil {
266 for _, pu := range tmp {
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/profiler/
DWorkerHandler.ts37 let tmp = tempJitterArr[i]
38 let jitter = parseInt(tmp) / 1e6
/developtools/profiler/device/plugins/network_plugin/src/
Dnetwork_plugin.cpp230 char tmp[TX_BYTES_INDEX + 1] = {0}; in ReadTxRxBytes() local
240 … strncpy_s(tmp, sizeof(tmp), totalbuffer.CurWord(), totalbuffer.CurWordSize()) == EOK) { in ReadTxRxBytes()
241 cache.type = tmp; in ReadTxRxBytes()
298 char tmp[TX_BYTES_INDEX + 1] = ""; in ReadSystemTxRxBytes() local
308 … strncpy_s(tmp, sizeof(tmp), totalbuffer.CurWord(), totalbuffer.CurWordSize()) == EOK) { in ReadSystemTxRxBytes()
309 systemCache.type = tmp; in ReadSystemTxRxBytes()
/developtools/profiler/host/smartperf/client/client_command/
Dprofiler_fps.cpp400 FpsInfoProfiler tmp; in GetSurfaceFrame() local
401 tmp.fps = 0; in GetSurfaceFrame()
402 tmp.preFps = 0; in GetSurfaceFrame()
403 fpsMap[name] = tmp; in GetSurfaceFrame()
408 static char tmp[1024]; in GetSurfaceFrame() local
418 while (fgets(tmp, sizeof(tmp), fp) != nullptr) { in GetSurfaceFrame()
419 std::string str(tmp); in GetSurfaceFrame()
423 sstream << tmp; in GetSurfaceFrame()
DFPS.cpp333 FpsInfo tmp; in GetSurfaceFrame() local
334 tmp.fps = 0; in GetSurfaceFrame()
335 tmp.preFps = 0; in GetSurfaceFrame()
336 fpsMap[name] = tmp; in GetSurfaceFrame()
341 static char tmp[1024]; in GetSurfaceFrame() local
351 while (fgets(tmp, sizeof(tmp), fp) != nullptr) { in GetSurfaceFrame()
352 std::string str(tmp); in GetSurfaceFrame()
356 sstream << tmp; in GetSurfaceFrame()
Dsp_parse_fps.cpp29 SpString tmp = content.substr(index, tEnd - index); in StrSplit() local
30 if (tmp != "" && tmp != " ") { in StrSplit()
31 out.push_back(tmp); in StrSplit()
/developtools/smartperf_host/trace_streamer/doc/
Dcloc.md4 cloc . --exclude-dir=protos,third_party,emsdk,prebuilts,out,tmp
/developtools/hdc/hdc_rust/src/common/
Dbase.rs87 let tmp = path.to_lowercase(); in is_absolute_path() localVariable
88 let p = tmp.as_str(); in is_absolute_path()
/developtools/smartperf_host/ide/src/hdc/
DHdcDeviceManager.ts364 const tmp = new Uint8Array(buffer1.byteLength + buffer2.byteLength); constant
365 tmp.set(buffer1, 0);
366 tmp.set(buffer2, buffer1.byteLength);
367 return tmp;
/developtools/smartperf_host/trace_streamer/test/test_fuzzer/
DREADME.md25 例如: hdc_std file send hiprofiler_ts_htrace_fuzz_test /data/local/tmp/FuzzTest
36 cd /data/local/tmp/FuzzTest
/developtools/global_resource_tool/src/
Dkey_parser.cpp170 vector<KeyParam> tmp; in ParseLSR() local
171 if (ParseMatchBySeq(keyParts, tmp, model.second)) { in ParseLSR()
172 keyparams.insert(keyparams.end(), tmp.begin(), tmp.end()); in ParseLSR()
/developtools/smartperf_host/trace_streamer/
D.gitignore14 tmp
Dhuoyantu.sh32 sudo perf record -g -F 99 -- ./out/linux_debug/trace_streamer $source -e /tmp/1.db
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/utils/
DTransformer.ets352 var tmp: Matrix = this.mPixelToValueMatrixBuffer;
353 tmp.reset();
356 this.mMatrixOffset.invert(tmp);
357 tmp.mapPoints(pixels);
359 this.mViewPortHandler.getMatrixTouch().invert(tmp);
360 tmp.mapPoints(pixels);
362 this.mMatrixValueToPx.invert(tmp);
363 tmp.mapPoints(pixels);
/developtools/profiler/
DREADME_zh.md413 -o /data/local/tmp/hiprofiler_data.htrace \
423 result_file: "/data/local/tmp/hiprofiler_data.htrace"
441 -o /data/local/tmp/hiprofiler_data.htrace \
451 result_file: "/data/local/tmp/hiprofiler_data.htrace"
495 -o /data/local/tmp/hiprofiler_data.htrace \
505 result_file: "/data/local/tmp/hiprofiler_data.htrace"
564 -o /data/local/tmp/hiprofiler_data.htrace \
574 result_file: "/data/local/tmp/hiprofiler_data.htrace"
728 -o /data/local/tmp/hiprofiler_data.htrace \
738 result_file: "/data/local/tmp/hiprofiler_data.htrace"
[all …]
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/sign/
DSignElf.java110 String tmp = "tmpFile" + new Date().getTime(); in alignFileBy4kBytes() local
111 File tmpFile = new File(tmp); in alignFileBy4kBytes()
133 FileUtils.writeByteToOutFile(bytes, tmp); in alignFileBy4kBytes()
138 return tmp; in alignFileBy4kBytes()
/developtools/hiperf/test/unittest/resource/testdata/
Dreport_test_sort1.txt8 cmdline: hiperf record -d 1 -o /data/local/tmp/dlh.data

123