Home
last modified time | relevance | path

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

1234

/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/
DCPU.cpp130 size_t tmp = 0; in CacWorkload() local
135 tmp = tmp * defaultShift + (buffer[i] - defaultStart); in CacWorkload()
138 time[cnt++] = tmp; in CacWorkload()
143 size_t tmp = 0; in CacWorkload() local
148 tmp = tmp * defaultShift + (preBuffer[i] - defaultStart); in CacWorkload()
151 preTime[preCnt++] = tmp; in CacWorkload()
DFPS.cpp129 FpsInfo tmp; in GetSurfaceFrame() local
130 tmp.fps = 0; in GetSurfaceFrame()
131 tmp.preFps = 0; in GetSurfaceFrame()
132 fpsMap[name] = tmp; in GetSurfaceFrame()
137 static char tmp[1024]; in GetSurfaceFrame() local
156 while (fgets(tmp, sizeof(tmp), fp) != nullptr) { in GetSurfaceFrame()
159 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/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/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/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/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 = static_cast<char*>(dest); in WriteEventMaps() local
208 char* fileName = tmp + sizeof(FixedMapTLVItem); in WriteEventMaps()
241 char* tmp = static_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/host/smartperf/ide/src/hdc/
DHdcDeviceManager.ts210 let tmp = new Uint8Array(buffer1.byteLength + buffer2.byteLength);
211 tmp.set(buffer1, 0);
212 tmp.set(buffer2, buffer1.byteLength);
213 return tmp;
/developtools/smartperf_host/ide/src/hdc/
DHdcDeviceManager.ts210 let tmp = new Uint8Array(buffer1.byteLength + buffer2.byteLength);
211 tmp.set(buffer1, 0);
212 tmp.set(buffer2, buffer1.byteLength);
213 return tmp;
/developtools/profiler/device/plugins/network_plugin/src/
Dnetwork_plugin.cpp219 char tmp[TX_BYTES_INDEX + 1] = {0}; in ReadTxRxBytes() local
229 … strncpy_s(tmp, sizeof(tmp), totalbuffer.CurWord(), totalbuffer.CurWordSize()) == EOK) { in ReadTxRxBytes()
230 cache.type = tmp; in ReadTxRxBytes()
287 char tmp[TX_BYTES_INDEX + 1] = ""; in ReadSystemTxRxBytes() local
297 … strncpy_s(tmp, sizeof(tmp), totalbuffer.CurWord(), totalbuffer.CurWordSize()) == EOK) { in ReadSystemTxRxBytes()
298 systemCache.type = tmp; in ReadSystemTxRxBytes()
/developtools/global_resource_tool/src/
Dkey_parser.cpp139 vector<KeyParam> tmp; in ParseLSR() local
140 if (ParseMatchBySeq(keyParts, tmp, model.second)) { in ParseLSR()
141 keyparams.insert(keyparams.end(), tmp.begin(), tmp.end()); in ParseLSR()
/developtools/smartperf_host/trace_streamer/doc/
Dcloc.md4 cloc . --exclude-dir=protos,dubai_sdk,third_party,emsdk,prebuilts,out,tmp
/developtools/profiler/host/smartperf/trace_streamer/doc/
Dcloc.md4 cloc . --exclude-dir=protos,dubai_sdk,third_party,emsdk,prebuilts,out,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/smartperf_host/trace_streamer/
D.gitignore14 tmp
/developtools/profiler/host/smartperf/trace_streamer/
D.gitignore14 tmp
/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/profiler/device/plugins/hidump_plugin/src/
Dhidump_plugin.cpp156 char *tmp = strchr(buf, '|'); in ParseHidumpInfo() local
157 CHECK_NOTNULL(tmp, false, "format error. %s", buf); in ParseHidumpInfo()
158 *tmp = ' '; in ParseHidumpInfo()

1234