/developtools/profiler/device/services/ipc/src/ |
D | ipc_generator_impl.cpp | 281 … 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/ |
D | EscapeCharacter.java | 62 StringBuffer tmp = new StringBuffer(); in unescape() local 63 tmp.ensureCapacity(src.length()); in unescape() 72 tmp.append(ch); in unescape() 77 tmp.append(ch); in unescape() 81 tmp.append(src.substring(lastPos)); in unescape() 84 tmp.append(src.substring(lastPos, pos)); in unescape() 88 return tmp.toString(); in unescape()
|
/developtools/profiler/device/plugins/ffrt_profiler/service/src/ |
D | ffrt_profiler_common.cpp | 31 std::string tmp; in SplitString() local 33 tmp = str.substr(beginPos, findPos - beginPos); in SplitString() 36 tmp = str.substr(beginPos); in SplitString() 39 if (!tmp.empty()) { in SplitString() 40 ret.push_back(tmp); in SplitString() 41 tmp.clear(); in SplitString()
|
/developtools/profiler/device/plugins/network_profiler/service/src/ |
D | network_profiler_common.cpp | 31 std::string tmp; in SplitParamValue() local 33 tmp = str.substr(beginPos, findPos - beginPos); in SplitParamValue() 36 tmp = str.substr(beginPos); in SplitParamValue() 39 if (!tmp.empty()) { in SplitParamValue() 40 ret.push_back(tmp); in SplitParamValue() 41 tmp.clear(); in SplitParamValue()
|
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/entity/ |
D | SignContentInfo.java | 131 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/ |
D | main.cpp | 70 std::string tmp = content.substr(index, tEnd - index); in StrSplit() local 71 if (tmp != "" && tmp != " ") { in StrSplit() 72 out.push_back(tmp); in StrSplit() 168 char tmp[1024]; in ProcessResult() local 169 while (fgets(tmp, sizeof(tmp), fp) != nullptr) { in ProcessResult() 172 sstream << tmp; in ProcessResult() 227 FpsInfo tmp; in GetSurfaceFrame() local 228 tmp.fps = 0; in GetSurfaceFrame() 229 tmp.preFps = 0; in GetSurfaceFrame() 230 fpsMap[name] = tmp; in GetSurfaceFrame()
|
/developtools/profiler/host/smartperf/client/client_command/ |
D | FPS.cpp | 152 FpsInfo tmp; in GetSurfaceFrame() local 153 tmp.fps = 0; in GetSurfaceFrame() 154 fpsMap[name] = tmp; in GetSurfaceFrame() 159 static char tmp[1024]; in GetSurfaceFrame() local 177 while (fgets(tmp, sizeof(tmp), fp) != nullptr) { in GetSurfaceFrame() 178 std::string str(tmp); in GetSurfaceFrame() 182 sstream << tmp; in GetSurfaceFrame()
|
D | profiler_fps.cpp | 254 FpsInfoProfiler tmp; in GetSurfaceFrame() local 255 tmp.fps = 0; in GetSurfaceFrame() 256 fpsMap[name] = tmp; in GetSurfaceFrame() 261 static char tmp[1024]; in GetSurfaceFrame() local 277 while (fgets(tmp, sizeof(tmp), fp) != nullptr) { in GetSurfaceFrame() 278 std::string str(tmp); in GetSurfaceFrame() 282 sstream << tmp; in GetSurfaceFrame()
|
/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/ |
D | hashlist_test.cpp | 247 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/ |
D | hashlist_test.cpp | 247 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/ |
D | hiebpf_data_file.cpp | 73 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()
|
D | bpf_event_receiver.cpp | 207 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/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/profiler/ |
D | WorkerHandler.ts | 43 let tmp = tempJitterArr[i]; 44 let jitter = parseInt(tmp) / 1e6;
|
/developtools/integration_verification/tools/fotff/pkg/gitee_common/ |
D | steps_gitee.go | 225 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/device/plugins/network_plugin/src/ |
D | network_plugin.cpp | 230 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/global_resource_tool/src/ |
D | translatable_parser.cpp | 151 string tmp; in GetReplaceStringTranslate() local 153 tmp.append(str, startIndex, posData[index] - startIndex); in GetReplaceStringTranslate() 156 str = tmp.append(str, posData.back()); in GetReplaceStringTranslate()
|
D | key_parser.cpp | 170 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/doc/ |
D | cloc.md | 4 cloc . --exclude-dir=protos,third_party,emsdk,prebuilts,out,tmp
|
/developtools/smartperf_host/ide/src/hdc/ |
D | HdcDeviceManager.ts | 368 const tmp = new Uint8Array(buffer1.byteLength + buffer2.byteLength); constant 369 tmp.set(buffer1, 0); 370 tmp.set(buffer2, buffer1.byteLength); 371 return tmp;
|
/developtools/smartperf_host/trace_streamer/test/test_fuzzer/ |
D | README.md | 2 cd /data/local/tmp/FuzzTest
|
/developtools/smartperf_host/trace_streamer/ |
D | .gitignore | 14 tmp
|
D | huoyantu.sh | 32 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/ |
D | Transformer.ets | 347 var tmp: Matrix = this.mPixelToValueMatrixBuffer; 348 tmp.reset(); 351 this.mMatrixOffset.invert(tmp); 352 tmp.mapPoints(pixels); 354 this.mViewPortHandler.getMatrixTouch().invert(tmp); 355 tmp.mapPoints(pixels); 357 this.mMatrixValueToPx.invert(tmp); 358 tmp.mapPoints(pixels);
|
/developtools/profiler/ |
D | README_zh.md | 413 -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/ |
D | SignElf.java | 110 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()
|