Home
last modified time | relevance | path

Searched refs:temp (Results 1 – 25 of 37) sorted by relevance

12

/developtools/hiperf/demo/cpp/
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/ace_ets2bundle/compiler/src/
Dprocess_component_build.ts727 let temp: any = node.expression;
728 while (temp) {
729 if (ts.isCallExpression(temp) && temp.expression &&
730 ts.isPropertyAccessExpression(temp.expression)) {
733 if (ts.isEtsComponentExpression(temp)) {
734 etsComponentNode = temp;
737 temp = temp.expression;
1848 let temp: any = node.expression;
1849 while (temp && !ts.isIdentifier(temp) && temp.expression) {
1850 temp = temp.expression;
[all …]
/developtools/profiler/hiebpf/src/
Dringbuffer.cpp39 uint16_t *temp = new(std::nothrow) uint16_t[bufSize_]; local
40 buffer_ = reinterpret_cast<char *>(temp);
46 uint32_t *temp = new(std::nothrow) uint32_t[bufSize_]; local
47 buffer_ = reinterpret_cast<char *>(temp);
53 uint64_t *temp = new(std::nothrow) uint64_t[bufSize_]; local
54 buffer_ = reinterpret_cast<char *>(temp);
264 uint16_t *temp = new(std::nothrow) uint16_t[bufSize]; in Allocate() local
265 newBuffer = reinterpret_cast<char *>(temp); in Allocate()
270 uint32_t *temp = new(std::nothrow) uint32_t[bufSize]; in Allocate() local
271 newBuffer = reinterpret_cast<char *>(temp); in Allocate()
[all …]
/developtools/profiler/host/smartperf/client/client_command/
DTemperature.cpp45 std::string temp; in ItemData() local
47 SPUtils::LoadFile(dirTemp, temp); in ItemData()
51 float t = std::stof(temp); in ItemData()
52 LOGI("temp====: %s", temp.c_str()); in ItemData()
DREADME_zh.md68 -t get soc-temp gpu-temp ..
/developtools/syscap_codec/napi/
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/profiler/device/plugins/native_daemon/test/unittest/common/native/
Dhashlist_test.cpp65 std::size_t temp {125}; variable
66 EXPECT_EQ(hashList.count(temp), 0u);
121 auto temp = last; variable
122 temp--;
123 EXPECT_EQ(*temp, count);
176 auto temp = first; variable
177 --temp;
178 EXPECT_EQ(*temp, count);
/developtools/hiperf/test/unittest/common/native/
Dhashlist_test.cpp65 std::size_t temp {125}; variable
66 EXPECT_EQ(hashList.count(temp), 0u);
121 auto temp = last; variable
122 temp--;
123 EXPECT_EQ(*temp, count);
176 auto temp = first; variable
177 --temp;
178 EXPECT_EQ(*temp, count);
/developtools/profiler/device/cmds/src/
Dcommand_line.cpp131 for (std::string temp : p->paramFilter_) { in PrintHelp() local
134 printf(" %-16s", temp.c_str()); in PrintHelp()
136 printf(" %-2s", temp.c_str()); in PrintHelp()
/developtools/profiler/device/plugins/native_daemon/src/
Dstack_data_repeater.cpp75 auto temp = mallocMap_.find(rawData->stackConext->addr); in PutRawStack() local
78 if (temp != mallocMap_.end()) { in PutRawStack()
79 temp->second->reportFlag = false; // will be ignore later in PutRawStack()
/developtools/global_resource_tool/src/
Dfile_entry.cpp66 string temp(filePath + "\\*.*"); in GetChilds() local
67 HANDLE handle = FindFirstFile(AdaptLongPath(temp).c_str(), &findData); in GetChilds()
192 char temp[MAX_PATH]; in RealPath() local
193 if (!PathCombine(temp, current, buffer)) { in RealPath()
196 if (!Exist(string(temp))) { in RealPath()
199 return string(temp); in RealPath()
/developtools/ace_js2bundle/ace-loader/plugin/templater/
Dindex.js268 const temp=compileResult.jsonTemplate
277 temp.children=temp.children||[]
278 temp.children.push(compileResult.jsonTemplate)
294 compileResult.jsonTemplate=temp
/developtools/smartperf_host/trace_streamer/src/proto_reader/include/
Dproto_reader_help.h130 uint64_t temp = 0; in VarIntDecode() local
134 temp |= static_cast<uint64_t>(currentByte & varIntValueMask) << shift; in VarIntDecode()
136 *varIntValue = temp; in VarIntDecode()
/developtools/integration_verification/cases/smoke/basic/screenshot32/acls_check/
Dacl_check.py31 temp = whitelist[k]
33 if acl not in temp:
/developtools/integration_verification/cases/smoke/basic/screenshot32/xdevice_smoke/acls_check/
Dacl_check.py32 temp = whitelist[k]
34 if acl not in temp:
/developtools/syscap_codec/src/
Dsyscap_tool.c203 char *temp = sysCapBegin + i * SINGLE_FEAT_LEN; in ParseRpcidToJson() local
204 if (strlen(temp) >= SINGLE_FEAT_LEN || strlen(temp) == 0) { in ParseRpcidToJson()
205 PRINT_ERR("Get SysCap failed, string length(%u) error.\n", (uint32_t)strlen(temp)); in ParseRpcidToJson()
211 ret = strncat_s(buffer, sizeof(buffer), temp, SINGLE_FEAT_LEN); in ParseRpcidToJson()
544 char *temp = strtok_r(input, ",", &tok); in GetPriSyscapData() local
545 while (temp) { in GetPriSyscapData()
546 int ret = strncpy_s(private, SINGLE_SYSCAP_LEN, temp, SINGLE_SYSCAP_LEN - 1); in GetPriSyscapData()
552 temp = strtok_r(NULL, ",", &tok); in GetPriSyscapData()
/developtools/hdc/hdc_rust/src/common/
Dbase.rs99 let temp = s.to_owned(); in get_file_name() localVariable
100 let chars: std::str::Chars<'_> = temp.chars(); in get_file_name()
/developtools/syscap_codec/interfaces/inner_api/
Dsyscap_interface.c288 char *temp = sysCapBegin + i * SINGLE_FEAT_LEN; in ParseRpcidToJson() local
289 if (strlen(temp) >= SINGLE_FEAT_LEN) { in ParseRpcidToJson()
296 ret = strncat_s(buffer, sizeof(buffer), temp, SINGLE_FEAT_LEN); in ParseRpcidToJson()
593 char *temp = (char *)malloc(sizeof(char) * SINGLE_SYSCAP_LEN); in ComparePcidWithPriSyscap() local
594 if (temp == NULL) { in ComparePcidWithPriSyscap()
599 pcidPriSyscapInfo.ret = strcpy_s(temp, sizeof(char) * SINGLE_SYSCAP_LEN, in ComparePcidWithPriSyscap()
606 result->syscap[pcidPriSyscapInfo.ossyscapFlag + prisyscapFlag] = temp; in ComparePcidWithPriSyscap()
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/utils/
DSystemUtils.ets64 let temp = final[j + 1];
66 final[j] = temp;
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/
DFileUtils.java305 int temp; in writeFileToDos() local
307 while ((temp = fileStream.read(buf)) > 0) { in writeFileToDos()
308 dos.write(buf, 0, temp); in writeFileToDos()
/developtools/hiperf/include/
Dhashlist.hpp130 Iterator temp {itr}; in operator =() local
131 swap(temp); in operator =()
139 Iterator temp {std::move(itr)}; in operator =() local
140 swap(temp); in operator =()
330 ReverseIterator temp {itr}; in operator =() local
331 swap(temp); in operator =()
339 ReverseIterator temp {std::move(itr)}; in operator =() local
340 swap(temp); in operator =()
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/profiler/base/
DBaseProfilerUtils.ets121 var temp = str.charCodeAt(i).toString(16);
122 if (temp == 'a') {
/developtools/smartperf_host/trace_streamer/src/proto_reader/
Dproto_reader.cpp169 auto temp = currentReadAddr_; in FindDataArea() local
177 currentReadAddr_ = temp; in FindDataArea()
/developtools/profiler/device/plugins/native_daemon/include/
Dhashlistpp.h129 Iterator temp {itr};
130 swap(temp);
138 Iterator temp {std::move(itr)};
139 swap(temp);
329 ReverseIterator temp {itr};
330 swap(temp);
338 ReverseIterator temp {std::move(itr)};
339 swap(temp);
/developtools/packing_tool/adapter/ohos/
DUncompress.java156 String[] temp = utility.getHapPath().replace("\\", "/").split("/"); in unpackageHapMode() local
157 String hapName = temp[temp.length - 1]; in unpackageHapMode()
680 String[] temp = filePath.replace("\\", "/").split("/"); in dataTransferFilesByApp() local
682 if (temp.length > 0) { in dataTransferFilesByApp()
683 hapName = temp[temp.length - 1]; in dataTransferFilesByApp()
906 byte[] temp = new byte[READ_BUFFER_SIZE]; in getByte()
909 while ((length = zis.read(temp, 0, READ_BUFFER_SIZE)) != -1) { in getByte()
910 bos.write(temp, 0, length); in getByte()

12