Home
last modified time | relevance | path

Searched refs:pair (Results 1 - 25 of 2338) sorted by relevance

12345678910>>...94

/kernel/linux/linux-6.6/sound/soc/fsl/
H A Dfsl_asrc_dma.c46 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_complete() local
48 pair->pos += snd_pcm_lib_period_bytes(substream); in fsl_asrc_dma_complete()
49 if (pair->pos >= snd_pcm_lib_buffer_bytes(substream)) in fsl_asrc_dma_complete()
50 pair->pos = 0; in fsl_asrc_dma_complete()
60 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_prepare_and_submit() local
68 pair->pos = 0; in fsl_asrc_dma_prepare_and_submit()
69 pair->desc[!dir] = dmaengine_prep_dma_cyclic( in fsl_asrc_dma_prepare_and_submit()
70 pair->dma_chan[!dir], runtime->dma_addr, in fsl_asrc_dma_prepare_and_submit()
74 if (!pair->desc[!dir]) { in fsl_asrc_dma_prepare_and_submit()
79 pair in fsl_asrc_dma_prepare_and_submit()
101 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_trigger() local
138 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_hw_params() local
313 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_hw_free() local
338 struct fsl_asrc_pair *pair; fsl_asrc_dma_startup() local
410 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_shutdown() local
431 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_pcm_pointer() local
[all...]
H A Dfsl_asrc.c206 * fsl_asrc_request_pair - Request ASRC pair
208 * @pair: pointer to pair
210 * It assigns pair by the order of A->C->B because allocation of pair B,
211 * within range [ANCA, ANCA+ANCB-1], depends on the channels of pair A
212 * while pair A and pair C are comparatively independent.
214 static int fsl_asrc_request_pair(int channels, struct fsl_asrc_pair *pair) in fsl_asrc_request_pair() argument
217 struct fsl_asrc *asrc = pair in fsl_asrc_request_pair()
258 fsl_asrc_release_pair(struct fsl_asrc_pair *pair) fsl_asrc_release_pair() argument
283 fsl_asrc_set_watermarks(struct fsl_asrc_pair *pair, u32 in, u32 out) fsl_asrc_set_watermarks() argument
304 fsl_asrc_cal_asrck_divisor(struct fsl_asrc_pair *pair, u32 div) fsl_asrc_cal_asrck_divisor() argument
323 fsl_asrc_set_ideal_ratio(struct fsl_asrc_pair *pair, int inrate, int outrate) fsl_asrc_set_ideal_ratio() argument
377 fsl_asrc_config_pair(struct fsl_asrc_pair *pair, bool use_ideal_rate) fsl_asrc_config_pair() argument
582 fsl_asrc_start_pair(struct fsl_asrc_pair *pair) fsl_asrc_start_pair() argument
616 fsl_asrc_stop_pair(struct fsl_asrc_pair *pair) fsl_asrc_stop_pair() argument
631 fsl_asrc_get_dma_channel(struct fsl_asrc_pair *pair, bool dir) fsl_asrc_get_dma_channel() argument
660 fsl_asrc_select_clk(struct fsl_asrc_priv *asrc_priv, struct fsl_asrc_pair *pair, int in_rate, int out_rate) fsl_asrc_select_clk() argument
704 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dai_hw_params() local
751 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dai_hw_free() local
763 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dai_trigger() local
[all...]
/kernel/linux/linux-5.10/sound/soc/fsl/
H A Dfsl_asrc_dma.c46 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_complete() local
48 pair->pos += snd_pcm_lib_period_bytes(substream); in fsl_asrc_dma_complete()
49 if (pair->pos >= snd_pcm_lib_buffer_bytes(substream)) in fsl_asrc_dma_complete()
50 pair->pos = 0; in fsl_asrc_dma_complete()
60 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_prepare_and_submit() local
68 pair->pos = 0; in fsl_asrc_dma_prepare_and_submit()
69 pair->desc[!dir] = dmaengine_prep_dma_cyclic( in fsl_asrc_dma_prepare_and_submit()
70 pair->dma_chan[!dir], runtime->dma_addr, in fsl_asrc_dma_prepare_and_submit()
74 if (!pair->desc[!dir]) { in fsl_asrc_dma_prepare_and_submit()
79 pair in fsl_asrc_dma_prepare_and_submit()
101 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_trigger() local
137 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_hw_params() local
299 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_hw_free() local
326 struct fsl_asrc_pair *pair; fsl_asrc_dma_startup() local
398 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_shutdown() local
419 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_pcm_pointer() local
[all...]
H A Dfsl_asrc.c202 * fsl_asrc_request_pair - Request ASRC pair
204 * @pair: pointer to pair
206 * It assigns pair by the order of A->C->B because allocation of pair B,
207 * within range [ANCA, ANCA+ANCB-1], depends on the channels of pair A
208 * while pair A and pair C are comparatively independent.
210 static int fsl_asrc_request_pair(int channels, struct fsl_asrc_pair *pair) in fsl_asrc_request_pair() argument
213 struct fsl_asrc *asrc = pair in fsl_asrc_request_pair()
254 fsl_asrc_release_pair(struct fsl_asrc_pair *pair) fsl_asrc_release_pair() argument
279 fsl_asrc_set_watermarks(struct fsl_asrc_pair *pair, u32 in, u32 out) fsl_asrc_set_watermarks() argument
300 fsl_asrc_cal_asrck_divisor(struct fsl_asrc_pair *pair, u32 div) fsl_asrc_cal_asrck_divisor() argument
319 fsl_asrc_set_ideal_ratio(struct fsl_asrc_pair *pair, int inrate, int outrate) fsl_asrc_set_ideal_ratio() argument
373 fsl_asrc_config_pair(struct fsl_asrc_pair *pair, bool use_ideal_rate) fsl_asrc_config_pair() argument
578 fsl_asrc_start_pair(struct fsl_asrc_pair *pair) fsl_asrc_start_pair() argument
608 fsl_asrc_stop_pair(struct fsl_asrc_pair *pair) fsl_asrc_stop_pair() argument
623 fsl_asrc_get_dma_channel(struct fsl_asrc_pair *pair, bool dir) fsl_asrc_get_dma_channel() argument
652 fsl_asrc_select_clk(struct fsl_asrc_priv *asrc_priv, struct fsl_asrc_pair *pair, int in_rate, int out_rate) fsl_asrc_select_clk() argument
696 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dai_hw_params() local
743 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dai_hw_free() local
755 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dai_trigger() local
[all...]
/foundation/communication/netmanager_base/frameworks/js/napi/netstats/src/
H A Dstatistics_callback_observer.cpp31 auto pair = new std::pair<std::string, uint32_t>; in NetIfaceStatsChanged() local
32 pair->first = iface; in NetIfaceStatsChanged()
33 pair->second = KEY_UID_ARG; in NetIfaceStatsChanged()
34 StatisticsObserverWrapper::GetInstance().GetEventManager()->EmitByUv(EVENT_STATS_CHANGE, pair, in NetIfaceStatsChanged()
45 auto pair = new std::pair<std::string, uint32_t>; in NetUidStatsChanged() local
46 pair->first = iface; in NetUidStatsChanged()
47 pair->second = uid; in NetUidStatsChanged()
48 StatisticsObserverWrapper::GetInstance().GetEventManager()->EmitByUv(EVENT_STATS_CHANGE, pair, in NetUidStatsChanged()
[all...]
/kernel/linux/linux-6.6/arch/riscv/kernel/
H A Dsys_riscv.c85 static void hwprobe_arch_id(struct riscv_hwprobe *pair, in hwprobe_arch_id() argument
95 switch (pair->key) { in hwprobe_arch_id()
122 pair->value = id; in hwprobe_arch_id()
125 static void hwprobe_isa_ext0(struct riscv_hwprobe *pair, in hwprobe_isa_ext0() argument
131 pair->value = 0; in hwprobe_isa_ext0()
133 pair->value |= RISCV_HWPROBE_IMA_FD; in hwprobe_isa_ext0()
136 pair->value |= RISCV_HWPROBE_IMA_C; in hwprobe_isa_ext0()
139 pair->value |= RISCV_HWPROBE_IMA_V; in hwprobe_isa_ext0()
149 pair->value |= RISCV_HWPROBE_EXT_ZBA; in hwprobe_isa_ext0()
154 pair in hwprobe_isa_ext0()
191 hwprobe_one_pair(struct riscv_hwprobe *pair, const struct cpumask *cpus) hwprobe_one_pair() argument
269 struct riscv_hwprobe pair; do_riscv_hwprobe() local
294 struct riscv_hwprobe pair; init_hwprobe_vdso_data() local
[all...]
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dvmlinux-kallsyms.c113 struct symbol *pair, *first_pair; in test__vmlinux_matches_kallsyms() local
124 pair = first_pair; in test__vmlinux_matches_kallsyms()
126 if (pair && UM(pair->start) == mem_start) { in test__vmlinux_matches_kallsyms()
128 if (arch__compare_symbol_names(sym->name, pair->name) == 0) { in test__vmlinux_matches_kallsyms()
138 s64 skew = mem_end - UM(pair->end); in test__vmlinux_matches_kallsyms()
142 UM(pair->end)); in test__vmlinux_matches_kallsyms()
152 pair = machine__find_kernel_symbol_by_name(&kallsyms, sym->name, NULL); in test__vmlinux_matches_kallsyms()
153 if (pair) { in test__vmlinux_matches_kallsyms()
154 if (UM(pair in test__vmlinux_matches_kallsyms()
193 pair = maps__find_by_name(&kallsyms.kmaps, (map->dso->kernel ? test__vmlinux_matches_kallsyms() local
210 struct map *pair; test__vmlinux_matches_kallsyms() local
[all...]
/foundation/communication/netmanager_ext/frameworks/js/napi/ethernet/
H A Dinterface_state_observer.cpp34 auto pair = new std::pair<std::string, bool>(iface, true); in OnInterfaceAdded() local
35 InterfaceStateObserverWrapper::GetInstance().GetEventManager()->EmitByUv(EVENT_STATS_CHANGE, pair, in OnInterfaceAdded()
46 auto pair = new std::pair<std::string, bool>(iface, false); in OnInterfaceRemoved() local
47 InterfaceStateObserverWrapper::GetInstance().GetEventManager()->EmitByUv(EVENT_STATS_CHANGE, pair, in OnInterfaceRemoved()
58 auto pair = new std::pair<std::string, bool>(iface, up); in OnInterfaceChanged() local
59 InterfaceStateObserverWrapper::GetInstance().GetEventManager()->EmitByUv(EVENT_STATS_CHANGE, pair, in OnInterfaceChanged()
66 auto pair(reinterpret_cas in CreateIfaceChangedParam()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_render_node_map.cpp109 [](const auto& pair) -> bool { in GetVisibleLeashWindowCount()
110 return pair.second && pair.second->IsLeashWindowSurfaceNodeVisible(); in GetVisibleLeashWindowCount()
118 [nodePid](const auto& pair) -> bool { return ExtractPid(pair.first) == nodePid; }); in IsResidentProcessNode()
215 EraseIf(renderNodeMap_, [pid, useBatchRemoving](const auto& pair) -> bool { in FilterNodeByPid()
216 if (ExtractPid(pair.first) != pid) { in FilterNodeByPid()
219 if (pair.second == nullptr) { in FilterNodeByPid()
223 RSRenderNodeGC::Instance().AddToOffTreeNodeBucket(pair.second); in FilterNodeByPid()
225 if (auto parent = pair in FilterNodeByPid()
[all...]
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dvmlinux-kallsyms.c217 struct symbol *pair, *first_pair; in test__vmlinux_matches_kallsyms() local
228 pair = first_pair; in test__vmlinux_matches_kallsyms()
230 if (pair && UM(pair->start) == mem_start) { in test__vmlinux_matches_kallsyms()
232 if (arch__compare_symbol_names(sym->name, pair->name) == 0) { in test__vmlinux_matches_kallsyms()
242 s64 skew = mem_end - UM(pair->end); in test__vmlinux_matches_kallsyms()
246 UM(pair->end)); in test__vmlinux_matches_kallsyms()
256 pair = machine__find_kernel_symbol_by_name(&kallsyms, sym->name, NULL); in test__vmlinux_matches_kallsyms()
257 if (pair) { in test__vmlinux_matches_kallsyms()
258 if (UM(pair in test__vmlinux_matches_kallsyms()
303 struct map *pair = maps__find_by_name(kallsyms.kmaps, (dso->kernel ? test__vmlinux_matches_kallsyms() local
320 struct map *pair, *map = rb_node->map; test__vmlinux_matches_kallsyms() local
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_progress.h41 bool SetSpecializedAttr(const std::pair<std::string, std::string>& attr) override;
42 bool SetSpecializedStyle(const std::pair<std::string, std::string>& style) override;
58 std::pair<Color, bool> color_ { Color(), false };
61 std::pair<Color, bool> cachedColor_ { Color(), false };
62 std::pair<Color, bool> backgroundColor_ { Color(), false };
63 std::pair<Dimension, bool> strokeWidth_ = { 32.0_px, false };
64 std::pair<Dimension, bool> scaleWidth_ = { 2.0_vp, false };
65 std::pair<int32_t, bool> scaleNumber_ = { 120, false };
67 std::pair<double, bool> radius_ = { -1.0, false };
68 std::pair<doubl
[all...]
H A Ddom_rating.h41 bool SetSpecializedAttr(const std::pair<std::string, std::string>& attr) override;
42 bool SetSpecializedStyle(const std::pair<std::string, std::string>& style) override;
50 std::pair<int32_t, bool> starNum_ = { DEFAULT_RATING_STAR_NUM, false };
51 std::pair<double, bool> ratingScore_ = { DEFAULT_RATING_SCORE, false };
52 std::pair<double, bool> stepSize_ = { DEFAULT_RATING_STEP_SIZE, false };
53 std::pair<std::string, bool> foregroundSrc_ { "", false };
54 std::pair<std::string, bool> secondarySrc_ { "", false };
55 std::pair<std::string, bool> backgroundSrc_ { "", false };
/foundation/arkui/ace_engine/adapter/ohos/entrance/ui_session/
H A Dui_session_manager.cpp31 for (auto pair : reportObjectMap_) { in ReportClickEvent()
32 auto reportService = iface_cast<ReportService>(pair.second); in ReportClickEvent()
36 LOGW("report click event failed,process id:%{public}d", pair.first); in ReportClickEvent()
43 for (auto pair : reportObjectMap_) { in ReportSearchEvent()
44 auto reportService = iface_cast<ReportService>(pair.second); in ReportSearchEvent()
48 LOGW("report search event failed,process id:%{public}d", pair.first); in ReportSearchEvent()
55 for (auto pair : reportObjectMap_) { in ReportRouterChangeEvent()
56 auto reportService = iface_cast<ReportService>(pair.second); in ReportRouterChangeEvent()
60 LOGW("report switch event failed,process id:%{public}d", pair.first); in ReportRouterChangeEvent()
67 for (auto pair in ReportComponentChangeEvent()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dtext_style_parser.h21 bool ParseFontVariantCaps(const std::string& fontVariant, std::list<std::pair<std::string, int32_t>>& fontFeatures);
22 bool ParseFontVariantNumeric(const std::string& fontVariant, std::list<std::pair<std::string, int32_t>>& fontFeatures);
24 const std::string& fontVariant, std::list<std::pair<std::string, int32_t>>& fontFeatures);
26 const std::string& fontVariant, std::list<std::pair<std::string, int32_t>>& fontFeatures);
28 const std::string& fontVariant, std::list<std::pair<std::string, int32_t>>& fontFeatures);
29 void ParseFontVariant(const std::string& fontVariant, std::list<std::pair<std::string, int32_t>>& fontFeatures);
30 std::list<std::pair<std::string, int32_t>> ParseFontVariants(const std::string& fontVariants);
33 const std::string& fontFeatureSetting, std::list<std::pair<std::string, int32_t>>& fontFeatures);
34 std::list<std::pair<std::string, int32_t>> ParseFontFeatureSettings(const std::string& fontFeatureSettings);
36 std::string UnParseFontFeatureSetting(const std::list<std::pair<st
[all...]
/foundation/ai/neural_network_runtime/test/unittest/components/nn_executor/
H A Dnn_executor_test.cpp139 std::vector<std::pair<std::shared_ptr<TensorDesc>, OH_NN_TensorType>> m_inputTensorDescs; in HWTEST_F()
140 std::vector<std::pair<std::shared_ptr<TensorDesc>, OH_NN_TensorType>> m_outputTensorDescs; in HWTEST_F()
142 std::pair<std::shared_ptr<TensorDesc>, OH_NN_TensorType> pair1; in HWTEST_F()
143 std::pair<std::shared_ptr<TensorDesc>, OH_NN_TensorType> pair2; in HWTEST_F()
197 std::vector<std::pair<std::shared_ptr<TensorDesc>, OH_NN_TensorType>> m_inputTensorDescs; in HWTEST_F()
198 std::vector<std::pair<std::shared_ptr<TensorDesc>, OH_NN_TensorType>> m_outputTensorDescs; in HWTEST_F()
228 std::vector<std::pair<std::shared_ptr<TensorDesc>, OH_NN_TensorType>> m_inputTensorDescs; in HWTEST_F()
229 std::vector<std::pair<std::shared_ptr<TensorDesc>, OH_NN_TensorType>> m_outputTensorDescs; in HWTEST_F()
257 std::vector<std::pair<std::shared_ptr<TensorDesc>, OH_NN_TensorType>> m_inputTensorDescs; in HWTEST_F()
258 std::vector<std::pair<st in HWTEST_F()
[all...]
/foundation/resourceschedule/memmgr/services/memmgrservice/src/reclaim_priority_manager/
H A Dprocess_priority_info.cpp65 for (auto &pair : copyProcess.procsBindToMe_) { in ProcessPriorityInfo()
66 this->procsBindToMe_.insert(std::make_pair(pair.first, pair.second)); in ProcessPriorityInfo()
68 for (auto &pair : copyProcess.procsBindFromMe_) { in ProcessPriorityInfo()
69 this->procsBindFromMe_.insert(std::make_pair(pair.first, pair.second)); in ProcessPriorityInfo()
125 for (auto &pair : procsBindToMe_) { in ProcsBindToMe()
126 ss << "(pid=" << pair.first << ", uid=" << pair.second << ") "; in ProcsBindToMe()
136 for (auto &pair in ProcsBindFromMe()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/communicator/src/
H A Dserial_buffer.h54 std::pair<uint8_t *, uint32_t> GetWritableBytesForEntireBuffer();
55 std::pair<uint8_t *, uint32_t> GetWritableBytesForEntireFrame();
56 std::pair<uint8_t *, uint32_t> GetWritableBytesForHeader();
57 std::pair<uint8_t *, uint32_t> GetWritableBytesForPayload();
59 std::pair<const uint8_t *, uint32_t> GetReadOnlyBytesForEntireBuffer() const;
60 std::pair<const uint8_t *, uint32_t> GetReadOnlyBytesForEntireFrame() const;
61 std::pair<const uint8_t *, uint32_t> GetReadOnlyBytesForHeader() const;
62 std::pair<const uint8_t *, uint32_t> GetReadOnlyBytesForPayload() const;
/foundation/communication/netmanager_base/frameworks/js/napi/netpolicy/src/
H A Dnet_policy_callback_observer.cpp34 auto pair = new std::pair<uint32_t, uint32_t>(uid, policy); in NetUidPolicyChange() local
35 PolicyObserverWrapper::GetInstance().GetEventManager()->EmitByUv(EVENT_POLICY_UID_POLICY, pair, in NetUidPolicyChange()
46 auto pair = new std::pair<uint32_t, uint32_t>(uid, rule); in NetUidRuleChange() local
47 PolicyObserverWrapper::GetInstance().GetEventManager()->EmitByUv(EVENT_POLICY_UID_RULE, pair, in NetUidRuleChange()
91 auto pair = static_cast<std::pair<uint32_t, uint32_t> *>(data); in CreateNetUidPolicyChangeParam() local
93 NapiUtils::SetUint32Property(env, obj, KEY_UID, pair->first); in CreateNetUidPolicyChangeParam()
94 NapiUtils::SetUint32Property(env, obj, KEY_POLICY, pair in CreateNetUidPolicyChangeParam()
101 auto pair = static_cast<std::pair<uint32_t, uint32_t> *>(data); CreateNetUidRuleChangeParam() local
[all...]
/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_session_manager_test2.cpp79 pair<FoldDisplayMode, std::string>(FoldDisplayMode::SUB, "1.0"), in HWTEST_F()
80 pair<FoldDisplayMode, std::string>(FoldDisplayMode::MAIN, "1.1"), in HWTEST_F()
81 pair<FoldDisplayMode, std::string>(FoldDisplayMode::FULL, "1.2"), in HWTEST_F()
82 pair<FoldDisplayMode, std::string>(FoldDisplayMode::UNKNOWN, "1.3"), in HWTEST_F()
83 pair<FoldDisplayMode, std::string>(FoldDisplayMode::COORDINATION, "1.4") in HWTEST_F()
86 pair<FoldDisplayMode, std::string>(FoldDisplayMode::SUB, "1.0"), in HWTEST_F()
87 pair<FoldDisplayMode, std::string>(FoldDisplayMode::MAIN, "2.0"), in HWTEST_F()
88 pair<FoldDisplayMode, std::string>(FoldDisplayMode::FULL, "3.0"), in HWTEST_F()
89 pair<FoldDisplayMode, std::string>(FoldDisplayMode::UNKNOWN, "4.0"), in HWTEST_F()
90 pair<FoldDisplayMod in HWTEST_F()
[all...]
/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/tools/
H A Dget_topn.h29 std::vector<std::pair<float, int32_t>>* topResults, TfLiteType inputType) in GetTopN()
32 std::priority_queue<std::pair<float, int32_t>, std::vector<std::pair<float, int32_t>>, in GetTopN()
33 std::greater<std::pair<float, int32_t>>> in GetTopN()
62 topResultPQ.push(std::pair<float, int32_t>(value, i)); in GetTopN()
80 template void GetTopN<float>(float*, int32_t, size_t, float, std::vector<std::pair<float, int32_t>>*, TfLiteType);
81 template void GetTopN<int8_t>(int8_t*, int32_t, size_t, float, std::vector<std::pair<float, int32_t>>*, TfLiteType);
82 template void GetTopN<uint8_t>(uint8_t*, int32_t, size_t, float, std::vector<std::pair<float, int32_t>>*, TfLiteType);
83 template void GetTopN<int64_t>(int64_t*, int32_t, size_t, float, std::vector<std::pair<float, int32_t>>*, TfLiteType);
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/
H A Dmain.cpp53 testFuncMap.insert(pair<string, std::vector<TestFunc>>("BitmapTest", BitmapTest::GetInstance().BitmapTestCase())); in main()
54 testFuncMap.insert(pair<string, std::vector<TestFunc>>("CameraTest", CameraTest::GetInstance().CameraTestCase())); in main()
55 testFuncMap.insert(pair<string, std::vector<TestFunc>>("FilterTest", FilterTest::GetInstance().FilterTestCase())); in main()
56 testFuncMap.insert(pair<string, std::vector<TestFunc>>("ImageTest", ImageTest::GetInstance().ImageTestCase())); in main()
57 testFuncMap.insert(pair<string, std::vector<TestFunc>>("MatrixTest", MatrixTest::GetInstance().MatrixTestCase())); in main()
58 testFuncMap.insert(pair<string, std::vector<TestFunc>>("PathTest", PathTest::GetInstance().PathTestCase())); in main()
59 testFuncMap.insert(pair<string, std::vector<TestFunc>>("ShaderTest", ShaderTest::GetInstance().ShaderTestCase())); in main()
60 testFuncMap.insert(pair<string, std::vector<TestFunc>>("ShadowTest", ShadowTest::GetInstance().ShadowTestCase())); in main()
61 testFuncMap.insert(pair<string, std::vector<TestFunc>>("PenTest", PenTest::GetInstance().PenTestCase())); in main()
/foundation/multimedia/av_codec/test/moduletest/demuxer/src/
H A Dnet_test.cpp319 myMap.insert(pair<int64_t, int32_t>(attrV.pts, attrV.size)); in MyMapVtt()
745 std::map<int64_t, int32_t>::iterator pair; in HWTEST_F() local
746 for (pair = myMap.begin(); pair != myMap.end(); ++pair) { in HWTEST_F()
747 std::cout << pair->first << " => " << pair->second << '\n'; in HWTEST_F()
748 ASSERT_EQ(AV_ERR_OK, OH_AVDemuxer_SeekToTime(demuxer, pair->first / ATTRPTS, in HWTEST_F()
756 ASSERT_EQ(pair->second, attr.size); in HWTEST_F()
796 std::map<int64_t, int32_t>::iterator pair; in HWTEST_F() local
933 std::map<int64_t, int32_t>::iterator pair; HWTEST_F() local
984 std::map<int64_t, int32_t>::iterator pair; HWTEST_F() local
1122 std::map<int64_t, int32_t>::iterator pair; HWTEST_F() local
1168 std::map<int64_t, int32_t>::iterator pair; HWTEST_F() local
1222 std::map<int64_t, int32_t>::iterator pair; HWTEST_F() local
1275 std::map<int64_t, int32_t>::iterator pair; HWTEST_F() local
1325 std::map<int64_t, int32_t>::iterator pair; HWTEST_F() local
1374 std::map<int64_t, int32_t>::iterator pair; HWTEST_F() local
1423 std::map<int64_t, int32_t>::iterator pair; HWTEST_F() local
1473 std::map<int64_t, int32_t>::iterator pair; HWTEST_F() local
[all...]
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/
H A Dtransaction.h76 using Creator = std::function<std::pair<int32_t, std::shared_ptr<Transaction>>(
79 static std::pair<int32_t, std::shared_ptr<Transaction>> Create(
96 virtual std::pair<int32_t, int64_t> Insert(const std::string &table, const Row &row,
105 virtual std::pair<int32_t, int64_t> BatchInsert(const std::string &table, const Rows &rows) = 0;
113 virtual std::pair<int32_t, int64_t> BatchInsert(const std::string &table, const RefRows &rows) = 0;
124 virtual std::pair<int, int> Update(const std::string &table, const Row &row, const std::string &where = "",
134 virtual std::pair<int32_t, int32_t> Update(const Row &row, const AbsRdbPredicates &predicates,
144 virtual std::pair<int32_t, int32_t> Delete(const std::string &table, const std::string &whereClause = "",
152 virtual std::pair<int32_t, int32_t> Delete(const AbsRdbPredicates &predicates) = 0;
177 virtual std::pair<int32_
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/
H A Drecording_handle.h59 std::pair<size_t, size_t> vec1 = {0, 0};
60 std::pair<size_t, size_t> vec2 = {0, 0};
64 std::pair<size_t, size_t> infos = {0, 0};
70 std::pair<size_t, size_t> layers = {0, 0};
71 std::pair<size_t, size_t> groups = {0, 0};
75 std::pair<size_t, size_t> fXDivs = {0, 0};
76 std::pair<size_t, size_t> fYDivs = {0, 0};
77 std::pair<size_t, size_t> fRectTypes = {0, 0};
80 std::pair<size_t, size_t> fBounds = {0, 0};
81 std::pair<size_
[all...]
/kernel/linux/linux-5.10/tools/perf/
H A Dbuiltin-diff.c279 static double compute_delta(struct hist_entry *he, struct hist_entry *pair) in compute_delta() argument
282 double new_percent = period_percent(pair, pair->stat.period); in compute_delta()
284 pair->diff.period_ratio_delta = new_percent - old_percent; in compute_delta()
285 pair->diff.computed = true; in compute_delta()
286 return pair->diff.period_ratio_delta; in compute_delta()
289 static double compute_ratio(struct hist_entry *he, struct hist_entry *pair) in compute_ratio() argument
292 double new_period = pair->stat.period; in compute_ratio()
294 pair->diff.computed = true; in compute_ratio()
295 pair in compute_ratio()
299 compute_wdiff(struct hist_entry *he, struct hist_entry *pair) compute_wdiff() argument
311 formula_delta(struct hist_entry *he, struct hist_entry *pair, char *buf, size_t size) formula_delta() argument
328 formula_ratio(struct hist_entry *he, struct hist_entry *pair, char *buf, size_t size) formula_ratio() argument
337 formula_wdiff(struct hist_entry *he, struct hist_entry *pair, char *buf, size_t size) formula_wdiff() argument
348 formula_fprintf(struct hist_entry *he, struct hist_entry *pair, char *buf, size_t size) formula_fprintf() argument
521 struct hist_entry *pair; get_pair_data() local
632 compute_cycles_diff(struct hist_entry *he, struct hist_entry *pair) compute_cycles_diff() argument
672 struct hist_entry *pair = get_block_pair(he, hists_pair); block_hists_match() local
696 struct hist_entry *he, *pair; hists__precompute() local
1349 cycles_printf(struct hist_entry *he, struct hist_entry *pair, struct perf_hpp *hpp, int width) cycles_printf() argument
1399 struct hist_entry *pair = get_pair_fmt(he, dfmt); __hpp__color_compare() local
1518 struct hist_entry *pair = get_pair_fmt(he, dfmt); hpp__color_cycles_hist() local
1584 hpp__entry_pair(struct hist_entry *he, struct hist_entry *pair, int idx, char *buf, size_t size) hpp__entry_pair() argument
1651 struct hist_entry *pair = get_pair_fmt(he, dfmt); __hpp__entry_global() local
[all...]

Completed in 16 milliseconds

12345678910>>...94