Home
last modified time | relevance | path

Searched refs:temp (Results 1 - 25 of 30) sorted by relevance

12

/developtools/hiperf/demo/cpp/
H A Dhiperf_malloc_demo.cpp32 void *temp = nullptr; in main() local
35 temp = malloc(bufSize); in main()
38 if (temp != nullptr) { in main()
39 free(temp); in main()
40 temp = nullptr; in main()
44 if (temp != nullptr) { in main()
45 free(temp); in main()
46 temp = nullptr; in main()
/developtools/profiler/hiebpf/src/
H A Dringbuffer.cpp33 uint16_t *temp = new(std::nothrow) uint16_t[bufSize_]; variable
34 if (temp != nullptr) {
35 buffer_ = reinterpret_cast<char *>(temp);
42 uint16_t *temp = new(std::nothrow) uint16_t[bufSize_]; variable
43 if (temp != nullptr) {
44 buffer_ = reinterpret_cast<char *>(temp);
51 uint32_t *temp = new(std::nothrow) uint32_t[bufSize_]; variable
52 if (temp != nullptr) {
53 buffer_ = reinterpret_cast<char *>(temp);
60 uint64_t *temp variable
288 uint16_t *temp = new(std::nothrow) uint16_t[bufSize]; Allocate() local
296 uint32_t *temp = new(std::nothrow) uint32_t[bufSize]; Allocate() local
304 uint64_t *temp = new(std::nothrow) uint64_t[bufSize]; Allocate() local
[all...]
/developtools/smartperf_host/trace_streamer/src/proto_reader/
H A Dproto_reader_help.cpp22 uint64_t temp = 0; in VarIntDecode() local
26 temp |= static_cast<uint64_t>(currentByte & varIntValueMask) << shift; in VarIntDecode()
28 *varIntValue = temp; in VarIntDecode()
H A Dproto_reader.cpp169 auto temp = currentReadAddr_; in FindDataArea() local
177 currentReadAddr_ = temp; in FindDataArea()
/developtools/profiler/host/smartperf/client/client_command/
H A DTemperature.cpp43 std::string dirTemp = dir + "/temp"; in ItemData()
51 std::string temp; in ItemData() local
53 SPUtils::LoadFile(dirTemp, temp); in ItemData()
57 float t = std::stof(temp); in ItemData()
58 LOGI("temp====: %s", temp.c_str()); in ItemData()
/developtools/syscap_codec/napi/
H A Dnapi_query_syscap.cpp57 char *temp = nullptr; in CalculateAllStringLength() local
87 temp = *osCapArray; in CalculateAllStringLength()
90 retError = sprintf_s(allSyscapBuffer, sumLen, "%s,%s", temp, osCapArray[i]); in CalculateAllStringLength()
96 temp = allSyscapBuffer; in CalculateAllStringLength()
99 retError = sprintf_s(allSyscapBuffer, sumLen, "%s,%s", temp, *(priCapArray + i)); in CalculateAllStringLength()
105 temp = allSyscapBuffer; in CalculateAllStringLength()
/developtools/ace_js2bundle/ace-loader/src/
H A Dgen-abc.js28 const input = inputPaths[i].path.replace(/\.temp\.js$/, "_.js");
30 const cacheAbcFilePath = cacheOutputPath.replace(/\.temp\.js$/, ".abc");
H A DgenAbc-plugin.js111 const keyPath = key.replace(/\.js$/, ".temp.js");
197 let sourceFile = output.replace(/\.temp\.js$/, "_.js");
314 const cacheAbcFilePath = cacheOutputPath.replace(/\.temp\.js$/, '.abc');
342 const cacheAbcFilePath = cacheOutputPath.replace(/\.temp\.js$/, '.abc');
412 const abcFile = intermediateJsBundle[i].path.replace(/\.temp\.js$/, ".abc");
414 const cacheAbcFilePath = intermediateJsBundle[i].cacheOutputPath.replace(/\.temp\.js$/, ".abc");
633 const abcFilePath = cacheOutputPath.replace(/\.temp\.js$/, ".abc");
/developtools/global_resource_tool/src/
H A Dfile_entry.cpp66 string temp(filePath + "\\*.*"); in GetChilds()
67 HANDLE handle = FindFirstFile(AdaptLongPath(temp).c_str(), &findData); in GetChilds()
201 char temp[MAX_PATH]; in RealPath() local
202 if (!PathCombine(temp, current, buffer)) { in RealPath()
205 if (!Exist(string(temp))) { in RealPath()
208 return string(temp); in RealPath()
/developtools/profiler/device/cmds/src/
H A Dcommand_line.cpp132 for (std::string temp : p->paramFilter_) { in PrintHelp()
135 printf(" %-16s", temp.c_str()); in PrintHelp()
137 printf(" %-2s", temp.c_str()); in PrintHelp()
/developtools/hiperf/test/unittest/common/native/
H A Dhashlist_test.cpp65 std::size_t temp {125}; in HWTEST_F()
66 EXPECT_EQ(hashList.count(temp), 0u); in HWTEST_F()
121 auto temp = last; in HWTEST_F() local
122 temp--; in HWTEST_F()
123 EXPECT_EQ(*temp, count); in HWTEST_F()
176 auto temp = first; in HWTEST_F() local
177 --temp; in HWTEST_F()
178 EXPECT_EQ(*temp, count); in HWTEST_F()
/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/
H A Dhashlist_test.cpp64 std::size_t temp {125}; in HWTEST_F()
65 EXPECT_EQ(hashList.count(temp), 0u); in HWTEST_F()
120 auto temp = last; in HWTEST_F() local
121 temp--; in HWTEST_F()
122 EXPECT_EQ(*temp, count); in HWTEST_F()
175 auto temp = first; in HWTEST_F() local
176 --temp; in HWTEST_F()
177 EXPECT_EQ(*temp, count); in HWTEST_F()
/developtools/ace_js2bundle/ace-loader/plugin/templater/
H A Dindex.js268 const temp=compileResult.jsonTemplate
277 temp.children=temp.children||[]
278 temp.children.push(compileResult.jsonTemplate)
294 compileResult.jsonTemplate=temp
/developtools/profiler/device/plugins/native_daemon/src/
H A Dstack_data_repeater.cpp119 auto temp = mallocMap_.find(rawData->stackConext->addr); in PutRawStack() local
122 if (temp != mallocMap_.end()) { in PutRawStack()
123 temp->second->reportFlag = false; // will be ignore later in PutRawStack()
/developtools/syscap_codec/interfaces/inner_api/
H A Dsyscap_interface.c301 char *temp = sysCapBegin + i * SINGLE_FEAT_LEN; in ParseRpcidToJson() local
302 if (strlen(temp) >= SINGLE_FEAT_LEN) { in ParseRpcidToJson()
309 ret = strncat_s(buffer, sizeof(buffer), temp, SINGLE_FEAT_LEN); in ParseRpcidToJson()
614 char *temp = (char *)malloc(sizeof(char) * SINGLE_SYSCAP_LEN); in ComparePcidWithPriSyscap() local
615 if (temp == NULL) { in ComparePcidWithPriSyscap()
620 pcidPriSyscapInfo.ret = strcpy_s(temp, sizeof(char) * SINGLE_SYSCAP_LEN, in ComparePcidWithPriSyscap()
625 free(temp); in ComparePcidWithPriSyscap()
631 free(temp); in ComparePcidWithPriSyscap()
634 result->syscap[pcidPriSyscapInfo.ossyscapFlag + prisyscapFlag] = temp; in ComparePcidWithPriSyscap()
/developtools/syscap_codec/src/
H A Dsyscap_tool.c221 char *temp = sysCapBegin + i * SINGLE_FEAT_LEN; in ParseRpcidToJson() local
222 if (strlen(temp) >= SINGLE_FEAT_LEN || strlen(temp) == 0) { in ParseRpcidToJson()
223 PRINT_ERR("Get SysCap failed, string length(%u) error.\n", (uint32_t)strlen(temp)); in ParseRpcidToJson()
229 ret = strncat_s(buffer, sizeof(buffer), temp, SINGLE_FEAT_LEN); in ParseRpcidToJson()
578 char *temp = strtok_r(input, ",", &tok); in GetPriSyscapData() local
579 while (temp) { in GetPriSyscapData()
580 int ret = strncpy_s(private, SINGLE_SYSCAP_LEN, temp, SINGLE_SYSCAP_LEN - 1); in GetPriSyscapData()
586 temp = strtok_r(NULL, ",", &tok); in GetPriSyscapData()
H A Dcreate_pcid.c842 char *temp = tempSyscap; in CheckPrivateSyCap() local
845 *temp = '\0'; in CheckPrivateSyCap()
852 temp = tempSyscap; in CheckPrivateSyCap()
857 *temp++ = *privateSyscap++; in CheckPrivateSyCap()
/developtools/profiler/host/smartperf/client/client_command/include/
H A Dsp_thread_socket.h253 std::string temp = iter->second + "@@"; in HandleUDPMsg() local
254 resultFPS += std::string(temp.c_str()); in HandleUDPMsg()
261 std::string temp = iter->second + "@@"; in HandleUDPMsg() local
262 resultFPS += std::string(temp.c_str()); in HandleUDPMsg()
263 resultfps += std::string(temp.c_str()); in HandleUDPMsg()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/
H A DFileUtils.java312 int temp; in writeFileToDos()
314 while ((temp = fileStream.read(buf)) > 0) { in writeFileToDos()
315 dos.write(buf, 0, temp); in writeFileToDos()
/developtools/hdc/hdc_rust/src/common/
H A Dbase.rs113 let temp = s.to_owned(); in get_file_name()
114 let chars: std::str::Chars<'_> = temp.chars(); in get_file_name()
/developtools/profiler/device/plugins/native_daemon/include/
H A Dhashlistpp.h129 Iterator temp {itr};
130 swap(temp); variable
138 Iterator temp {std::move(itr)};
139 swap(temp); variable
329 ReverseIterator temp {itr};
330 swap(temp); variable
338 ReverseIterator temp {std::move(itr)};
339 swap(temp); variable
/developtools/integration_verification/DeployDevice/src/aw/Download/
H A DDownload.py392 temp = source_path.split("/")
395 file = temp.pop()
398 for i in temp:
H A DDownloadold.py385 temp = source_path.split("/")
388 file = temp.pop()
391 for i in temp:
/developtools/packing_tool/adapter/ohos/
H A DUncompress.java59 private static final String TEMP_PATH = "temp";
155 String[] temp = utility.getHapPath().replace("\\", "/").split("/"); in unpackageHapMode()
156 String hapName = temp[temp.length - 1]; in unpackageHapMode()
693 String[] temp = filePath.replace("\\", "/").split("/"); in dataTransferFilesByApp()
695 if (temp.length > 0) { in dataTransferFilesByApp()
696 hapName = temp[temp.length - 1]; in dataTransferFilesByApp()
919 byte[] temp = new byte[READ_BUFFER_SIZE]; in getByte()
922 while ((length = zis.read(temp, in getByte()
[all...]
/developtools/hiperf/include/
H A Dhashlist.h329 Iterator temp {itr};
330 swap(temp); variable
338 Iterator temp {std::move(itr)};
339 swap(temp); variable
529 ReverseIterator temp {itr};
530 swap(temp); variable
538 ReverseIterator temp {std::move(itr)};
539 swap(temp); variable

Completed in 18 milliseconds

12