Home
last modified time | relevance | path

Searched refs:func (Results 1 – 25 of 55) sorted by relevance

123

/developtools/profiler/device/plugins/ftrace_plugin/include/
Dsub_event_parser.h34 ParseFunction func; member
102 parseEventCtx->func(event, data, size, parseEventCtx->format); in ParseEvent()
109 void RegisterParseFunction(const std::string& name, ParseFunction&& func) in RegisterParseFunction() argument
113 nameToFunctions_[name] = {{}, func}; in RegisterParseFunction()
136 …ubEventParserRegisterar(const std::string& name, SubEventParser<FtraceEvent>::ParseFunction&& func) in SubEventParserRegisterar() argument
138 SubEventParser<FtraceEvent>::GetInstance().RegisterParseFunction(name, std::move(func)); in SubEventParserRegisterar()
154 SubEventParser<Developtools::Profiler::ProtoEncoder::FtraceEvent>::ParseFunction&& func) in SubEventParserOptimizeRegisterar() argument
157 std::move(func)); in SubEventParserOptimizeRegisterar()
172 #define REGISTER_FTRACE_EVENT_PARSE_FUNCTION(name, func) \ argument
173 static FTRACE_NS::SubEventParserRegisterar g_eventRegisterar##name(#name, func)
[all …]
/developtools/ace_js2bundle/ace-loader/src/lite/
Dlite-transform-template.js398 let func = value.toString();
407 func = func.replace(itRE, parameter);
410 func = func.replace(/this\./g, '_vm.');
412 func = cacheI18nTranslation(func);
413 return func;
447 function handleLangMulti(i18nExpressions, cachedI18nExpressions, funcExpression, func) { argument
448 let res = func;
494 function cacheI18nTranslation(func) { argument
495 if (!REGXP_LANGUAGE.test(func)) {
496 return func;
[all …]
/developtools/hdc/hdc_rust/src/cffi/host/
Dctimer.h29 explicit CTimer(F func) in CTimer() argument
31 this->func = func; in CTimer()
43 std::function<void(void)> func; variable
Dctimer.cpp45 if (func) { in Run()
46 func(); in Run()
60 if (func) { in Run()
61 func(); in Run()
/developtools/ace_js2bundle/ace-loader/plugin/templater/
Dbind.js71 let func = explist.join(card ? '' : connectContent);
73 func = eval('(function () {return ' + func + '})')
75 func = card && textArray.length > 1 ? '$f(' + func + ')' : func
77 return func
/developtools/smartperf_host/ide/src/trace/database/data-trafic/
DSliceSender.ts37 export function sliceSPTSender(leftNs: number, rightNs: number, cpus: Array<number>, func: string):…
45 func: func,
/developtools/profiler/device/base/src/
Dschedule_task_manager.cpp56 for (const auto& [timerFd, func] : tasks_) { in Shutdown()
72 std::function<void(void)> func; in ScheduleTask() local
83 func = std::bind(&ScheduleTaskManager::HandleSingleTask, this, timerFd, callback); in ScheduleTask()
89 func = callback; in ScheduleTask()
104 tasks_[timerFd] = std::move(func); in ScheduleTask()
106 tasks_[timerFd] = std::move(func); in ScheduleTask()
/developtools/integration_verification/cases/smoke/basic/screenshot32/APL_compare_03/
Dcommon.py50 def __init__(self, func, args=()): argument
52 self.func = func
56 self.result = self.func(*self.args)
/developtools/integration_verification/cases/smoke/basic/screenshot32/xdevice_smoke/APL_compare_03/
Dcommon.py50 def __init__(self, func, args=()): argument
52 self.func = func
56 self.result = self.func(*self.args)
/developtools/integration_verification/DeployDevice/src/util/
Dtime_info.py84 def timeout_decorator(func): argument
91 "oldfunc": func,
110 _.__name__ = func.__name__
111 _.__doc__ = func.__doc__
/developtools/smartperf_host/ide/src/trace/database/
DConfigWorker.ts23 let func = eval(functionName);
24 Module_T = new func({
/developtools/profiler/device/plugins/ftrace_plugin/tools/device_kernel_version/default/event_formatters/
Dftrace_ftrace_event_formatter.cpp56 … msg.func().c_str(), msg.file().c_str(), msg.correct(), msg.constant() ? " CONSTANT" : ""); in __anona90f99160502()
87 if (kernelSymbols.count(msg.func()) > 0) { in __anona90f99160902()
88 functionStr = kernelSymbols[msg.func()]; in __anona90f99160902()
95 …fer, BUFFER_SIZE, BUFFER_SIZE - 1, "funcgraph_entry: --> %p (%d)", (void*)msg.func(), msg.depth()); in __anona90f99160902()
112 if (kernelSymbols.count(msg.func()) > 0) { in __anona90f99160b02()
113 functionStr = kernelSymbols[msg.func()]; in __anona90f99160b02()
121 … "funcgraph_exit: <-- %p (%d) (start: %" PRIx64 " end: %" PRIx64 ") over: %d", (void*)msg.func(), in __anona90f99160b02()
/developtools/smartperf_host/ide/test/trace/database/ui-worker/
DProcedureWorkerFunc.test.ts16 import { func, FuncStruct, FuncRender } from '../../../../src/trace/database/ui-worker/ProcedureWor…
44 func(funcDataList, res, 1, 100254, 100254, rect, true, false);
68 func(funcDataList, res, 1, 100254, 100254, rect, false, false);
/developtools/smartperf_host/ide/src/js-heap/logic/
DAllocation.ts70 for (let func of this.bottomUpList) {
71 if (func.id === id) {
72 return func;
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/binder/
DTabPaneBinderDataCut.ts236 funcNameArr.forEach((func, idx) => {
239 let cid = func.id;
249 countBinder.durNs = func.dur;
250 countBinder.tsNs = func.cycleStartTime;
251 countBinder.cycleDur = Number((func.dur / MILLIONS).toFixed(THREE));
252 countBinder.cycleStartTime = Number((func.cycleStartTime / MILLIONS).toFixed(THREE));
254 tBinder[j].ts + tBinder[j].dur > func.cycleStartTime &&
255 tBinder[j].ts + tBinder[j].dur < func.cycleStartTime + func!.dur
/developtools/hiperf/test/unittest/common/native/
Dreport_json_file_test.cpp297 ReportFuncItem func(1); variable
298 func.sampleCount_ = 2;
299 func.eventCount_ = 3;
300 func.subTreeEventCount_ = 4;
303 func.OutputJson(stdout);
401 ReportFuncItem &func = GetOrCreateMapItem(lib.funcs_, 1); variable
402 func.sampleCount_ = 2;
403 func.eventCount_ = 3;
404 func.subTreeEventCount_ = 4;
Dreport_test.cpp438 ReportKey func = { variable
442 func.UpdateValueMaxLen("1");
443 func.UpdateValueMaxLen("11");
444 func.UpdateValueMaxLen("111");
445 func.UpdateValueMaxLen("12345678");
446 func.UpdateValueMaxLen("1");
447 func.UpdateValueMaxLen("111");
448 EXPECT_STREQ(func.maxValue_.c_str(), "12345678");
449 EXPECT_EQ(func.maxLen_, 8u);
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/mock/rollup_mock/
Drollup_plugin_mock.ts164 public async(func: Function) {
165 if (func) {
166 func();
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/default/
Dftrace.proto30 string func = 2; field
49 uint64 func = 1; field
55 uint64 func = 1; field
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/
Dftrace.proto30 string func = 2; field
49 uint64 func = 1; field
55 uint64 func = 1; field
/developtools/profiler/protos/types/plugins/ftrace_data/default/
Dftrace.proto30 string func = 2; field
49 uint64 func = 1; field
55 uint64 func = 1; field
/developtools/smartperf_host/ide/src/trace/component/
DUtils.ts99 export function debounce(func: any, delay: number) {
104 func();
/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorkerBpftrace.ts48 func(
75 export function func( function
110 sampleList.forEach((func) => {
111 let funcProperty: Array<unknown> = func.property!;
/developtools/profiler/device/services/shared_memory/include/
Dshare_memory_block.h43 EXPORT_API bool TakeData(const DataHandler& func, bool isProtobufSerialize = true);
44 bool TakeDataOptimize(const DataHandler& func);
/developtools/profiler/device/services/shared_memory/src/
Dshare_memory_block.cpp342 bool ShareMemoryBlock::TakeData(const DataHandler& func, bool isProtobufSerialize) in TakeData() argument
345 return TakeDataOptimize(func); in TakeData()
349 CHECK_TRUE(static_cast<bool>(func), false, "func invalid!"); in TakeData()
356 CHECK_TRUE(func(ptr, size), false, "call func FAILED!"); in TakeData()
501 bool ShareMemoryBlock::TakeDataOptimize(const DataHandler& func) in TakeDataOptimize() argument
504 CHECK_TRUE(static_cast<bool>(func), false, "func invalid!"); in TakeDataOptimize()
534 CHECK_TRUE(func(ptr, size), false, "call func FAILED!"); in TakeDataOptimize()

123