Home
last modified time | relevance | path

Searched refs:vector (Results 1 – 25 of 216) sorted by relevance

123456789

/test/xts/acts/commonlibrary/ets_utils/containerLine_lib_standard/src/main/js/test/
DVector.test.js26 let vector = new Vector();
38 let vector = new Vector();
39 vector.add("四");
40 let res = vector.getFirstElement();
49 let vector = new Vector();
50 vector.add(4);
51 let res = vector.getFirstElement();
61 let vector = new Vector();
63 vector.add(a);
64 let res = vector.getFirstElement();
[all …]
/test/testfwk/arkxtest/uitest/record/
Dmatrix3.h37 for (auto& vector : matrix3X3_) {
38 std::for_each(vector.begin(), vector.end(), [num](auto& item) { item = item * num; });
46 inline std::vector<double>& operator[](int32_t index)
52 inline const std::vector<double>& operator[](int32_t index) const
66 std::vector<double> ScaleMapping(const std::vector<double>& src) const;
69 bool ScaleMapping(const std::vector<double>& src, std::vector<double>& result) const;
74 for (auto& vector : matrix3X3_) { in ToString()
75 std::for_each(vector.begin(), vector.end(), in ToString()
82 … std::vector<std::vector<double>> matrix3X3_ = { DIMENSION, std::vector<double>(DIMENSION, 0.0) };
100 for (auto& vector : Matrix3n_) {
[all …]
Dmatrix4.h118 for (auto& vector : matrix4n_) {
119 std::for_each(vector.begin(), vector.end(), [num](auto& item) { item = item * num; });
128 inline std::vector<double>& operator[](int32_t index)
134 inline const std::vector<double>& operator[](int32_t index) const
148 std::vector<double> ScaleMapping(const std::vector<double>& src) const;
151 bool ScaleMapping(const std::vector<double>& src, std::vector<double>& result) const;
154 std::vector<std::vector<double>> matrix4n_;
175 for (auto& vector : matrixn4_) {
176 std::for_each(vector.begin(), vector.end(), [num](auto& item) { item = item * num; });
182 inline std::vector<double>& operator[](int32_t index)
[all …]
Dleast_square_impl.h71 bool GetLSMParams(std::vector<double>& params);
73 inline const std::vector<double>& GetTVals() const in GetTVals()
78 inline const std::vector<double>& GetPVals() const in GetPVals()
97 std::vector<double> tVals_;
98 std::vector<double> pVals_;
99 std::vector<double> params_;
/test/ostest/wukong/report/include/
Dtable.h31 Table(std::vector<std::string> cc, std::vector<std::vector<std::string>> rc);
32 std::vector<std::string> GetHeader();
33 std::vector<std::vector<std::string>> GetRecord();
34 std::vector<int> GetColumnSize();
39 std::vector<std::string> column_header_;
40 std::vector<int> column_size_;
41 std::vector<std::vector<std::string>> record_;
Dstatistics_ability.h34 std::vector<std::string> inputedAbilities_;
42 void StatisticsDetail(std::vector<std::map<std::string, std::string>> srcDatas,
47 std::vector<std::string> &line);
48 void SrcDatasPretreatment(std::vector<std::map<std::string, std::string>> srcDatas);
50 std::vector<std::string> bundles_;
51 …std::vector<std::string> headers_ = {"bundleName", "inputedAbilityCount", "abilitiesCount", "cover…
52 std::vector<std::vector<std::string>> record_;
Dstatistics_event.h45 std::vector<std::string>::iterator eventTypesIter; in ElementTypesIndex()
54 std::vector<std::string> eventTypes_;
55 std::vector<std::shared_ptr<EventStatisticsRecord>> eventTypeRecord_;
63 void StatisticsDetail(std::vector<std::map<std::string, std::string>> srcDatas,
75 std::vector<std::string> &line);
82 void SrcDatasPretreatment(std::vector<std::map<std::string, std::string>> srcDatas);
92 std::vector<std::string> globalElementTypes_;
94 std::vector<std::string> headers_ = {"type", "execTimes", "proportion"};
95 std::vector<std::vector<std::string>> record_;
Dstatistics_componment.h54 std::vector<std::string> componmentTypes_;
55 std::vector<std::shared_ptr<ComponmentStatisticsRecord>> componmentTypeRecord_;
62 void StatisticsDetail(std::vector<std::map<std::string, std::string>> srcDatas,
74 std::vector<std::string> &line);
81 void SrcDatasPretreatment(std::vector<std::map<std::string, std::string>> srcDatas);
91 std::vector<std::string> globalComponmentTypes_;
92 std::vector<std::string> headers_ = {"type", "execTimes", "proportion",
94 std::vector<std::vector<std::string>> record_;
Dstatistics_exception.h31 void StatisticsDetail(std::vector<std::map<std::string, std::string>> srcDatas,
36 std::vector<std::string> crashTypes_;
37 std::vector<std::string> headers_ = {"type", "times", "proportion"};
38 std::vector<std::vector<std::string>> record_;
/test/xts/acts/ai/neural_network_runtime/common/
Dnnrt_utils.h34 std::vector<int32_t> shape;
42 std::vector<OHNNOperandTest> operands;
43 std::vector<uint32_t> paramIndices;
44 std::vector<uint32_t> inputIndices;
45 std::vector<uint32_t> outputIndices;
52 std::vector<OH_NN_OperationType> operationTypes;
53 std::vector<std::vector<OHNNOperandTest>> operands;
54 std::vector<std::vector<uint32_t>> paramIndices;
55 std::vector<std::vector<uint32_t>> inputIndices;
56 std::vector<std::vector<uint32_t>> outputIndices;
[all …]
Dmock_idevice.h42 int32_t GetSupportedOperation(const Model& model, std::vector<bool>& ops) override;
70 …int32_t PrepareModelFromModelCache(const std::vector<SharedBuffer>& modelCache, const ModelConfig&…
83 void SetOperationsSupported(std::vector<bool> isSupported);
100 std::vector<bool> m_operations{true};
106 int32_t ExportModelCache(std::vector<SharedBuffer>& modelCache) override;
107 int32_t Run(const std::vector<IOTensor>& inputs, const std::vector<IOTensor>& outputs,
108 … std::vector<std::vector<int32_t>>& outputsDims, std::vector<bool>& isOutputBufferEnough) override;
Dconst.h27 const std::vector<int32_t> TENSOR_SHAPE = {1, 2, 2, 1};
28 const std::vector<int32_t> PARAM_INDEX = {2};
29 const std::vector<int32_t> INPUT_INDEX = {0, 1};
30 const std::vector<int32_t> OUTPUT_INDEX = {3};
/test/ostest/wukong/common/include/
Dwukong_util.h45 uint32_t FindElement(std::vector<std::string> bundleList, std::string key);
65 void GetAllowList(std::vector<std::string> &Allowlist);
71 void GetBlockList(std::vector<std::string> &blockList);
78 void SetAllAppInfo(std::vector<std::string> &bundleList, std::vector<std::string> &abilityList);
85 void GetBundleList(std::vector<std::string> &bundlelist, std::vector<std::string> &abilitylist);
91 void GetValidBundleList(std::vector<std::string> &validbundlelist);
127 void GetAllAbilitiesByBundleName(std::string bundleName, std::vector<std::string> &abilities);
134 ErrCode CheckArgumentList(std::vector<std::string> &arguments);
162 void SetTempAllowList(std::vector<std::string> tempAllowList);
168 std::vector<std::string> GetTempAllowList();
[all …]
/test/ostest/wukong/report/src/
Dtable.cpp21 Table::Table(std::vector<std::string> cloumn_header, std::vector<std::vector<std::string>> record) in Table()
55 std::vector<std::string> Table::GetHeader() in GetHeader()
60 std::vector<std::vector<std::string>> Table::GetRecord() in GetRecord()
65 std::vector<int> Table::GetColumnSize() in GetColumnSize()
/test/xts/hats/ai/nnrt/hdi/nnrtFunctionTest/src/
Dhdi_model_run_test.cpp56 std::vector<V1_0::IOTensor> inputs; in AddModelTest()
57 std::vector<V1_0::IOTensor> outputs; in AddModelTest()
58 std::vector<std::vector<int32_t>> outputsDims; in AddModelTest()
59 std::vector<bool> isOutputBufferEnough; in AddModelTest()
61 std::vector<void* > mapedMemorys; in AddModelTest()
63 std::vector<float> inputValue = {ADD_VALUE_1, ADD_VALUE_2}; in AddModelTest()
65 std::vector<float> data(ADDEND_DATA_SIZE, inputValue[i]); in AddModelTest()
85 std::vector<float> expectValue(ADDEND_DATA_SIZE, ADD_VALUE_RESULT); in AddModelTest()
86 std::vector<float> outputValue(buffer, buffer + ADDEND_DATA_SIZE); in AddModelTest()
171 std::vector<V1_0::IOTensor> inputs;
[all …]
/test/xts/hats/ai/nnrt/hdi/nnrtStabilityTest/src/
Dhdi_stability_test.cpp59 std::vector<V1_0::IOTensor> inputs; in RunModelTest()
60 std::vector<V1_0::IOTensor> outputs; in RunModelTest()
61 std::vector<std::vector<int32_t>> outputsDims; in RunModelTest()
62 std::vector<bool> isOutputBufferEnough; in RunModelTest()
63 std::vector<void* > mapedMemorys; in RunModelTest()
66 std::vector<float> inputValue = {ADD_VALUE_1, ADD_VALUE_2}; in RunModelTest()
68 std::vector<float> data(ADDEND_DATA_SIZE, inputValue[i]); in RunModelTest()
88 std::vector<float> expectValue(ADDEND_DATA_SIZE, ADD_VALUE_RESULT); in RunModelTest()
89 std::vector<float> outputValue(buffer, buffer + ADDEND_DATA_SIZE); in RunModelTest()
104 std::vector<V1_0::Model *> iModels;
[all …]
/test/xts/hats/useriam/userauth/src/
Duser_auth_hdi.cpp45 static void FillAuthTypeVector(Parcel &parcel, vector<AuthType> &vector) in FillAuthTypeVector() argument
48 vector.resize(len); in FillAuthTypeVector()
50 vector[i] = static_cast<AuthType>(parcel.ReadInt32()); in FillAuthTypeVector()
76 static void FillExecutorInfoVector(Parcel &parcel, vector<ExecutorInfo> &vector) in FillExecutorInfoVector() argument
79 vector.resize(len); in FillExecutorInfoVector()
81 FillExecutorInfo(parcel, vector[i]); in FillExecutorInfoVector()
133 static void FillScheduleInfoVector(Parcel &parcel, vector<ScheduleInfo> &vector) in FillScheduleInfoVector() argument
136 vector.resize(len); in FillScheduleInfoVector()
138 FillScheduleInfo(parcel, vector[i]); in FillScheduleInfoVector()
142 static void FillCredentialInfoVector(Parcel &parcel, vector<CredentialInfo> &vector) in FillCredentialInfoVector() argument
[all …]
/test/xts/hats/hdf/camera/v4l2/include/
Dtest_display.h107 std::vector<StreamInfo> streamInfos = {};
116 std::vector<uint8_t> ability_ = {};
117 std::vector<int> captureIds;
118 std::vector<std::string> cameraIds;
119 std::vector<int> streamIds;
120 std::vector<StreamIntent> intents;
158 void StartStream(std::vector<StreamIntent> intents);
159 void StopStream(std::vector<int>& captureIds, std::vector<int>& streamIds);
176 int32_t OnResult(uint64_t timestamp, const std::vector<uint8_t>& result) override;
201 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t>& streamIds) override;
[all …]
Ddouble_preview_test.h44 void StopStream(std::vector<int> &captureIds, std::vector<int> &streamIds);
50 std::vector<StreamInfo> streamInfos_;
52 std::vector<int> captureIds_;
53 std::vector<int> streamIds_;
/test/xts/hats/hdf/camera/cameraBenchmarkTest/include/
Dtest_display.h107 std::vector<StreamInfo> streamInfos = {};
116 std::vector<uint8_t> ability_ = {};
117 std::vector<int> captureIds;
118 std::vector<std::string> cameraIds;
119 std::vector<int> streamIds;
120 std::vector<StreamIntent> intents;
158 void StartStream(std::vector<StreamIntent> intents);
159 void StopStream(std::vector<int>& captureIds, std::vector<int>& streamIds);
176 int32_t OnResult(uint64_t timestamp, const std::vector<uint8_t>& result) override;
201 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t>& streamIds) override;
[all …]
Ddouble_preview_test.h44 void StopStream(std::vector<int> &captureIds, std::vector<int> &streamIds);
50 std::vector<StreamInfo> streamInfos_;
52 std::vector<int> captureIds_;
53 std::vector<int> streamIds_;
/test/ostest/wukong/component_event/include/
Dscene_delegate.h46 std::vector<std::string> GetComponentTypeList() in GetComponentTypeList()
72 std::vector<std::shared_ptr<ComponentTree>> &componentlist);
87 uint32_t FindSame(const std::vector<std::shared_ptr<ComponentTree>> &newcomponentlist,
88 const std::vector<std::shared_ptr<ComponentTree>> &oldcomponentlist);
113 std::vector<std::shared_ptr<ComponentTree>> componentList_;
114 std::vector<std::string> componentType_;
/test/xts/hats/useriam/common/include/
Diam_hat_test.h27 void FillTestUint8Vector(Parcel &parcel, std::vector<uint8_t> &data);
28 void FillTestInt8Vector(Parcel &parcel, std::vector<int8_t> &data);
29 void FillTestUint32Vector(Parcel &parcel, std::vector<uint32_t> &data);
30 void FillTestUint64Vector(Parcel &parcel, std::vector<uint64_t> &data);
/test/xts/hats/hdf/display/device/
Dhdi_composition_check.h46 …int32_t Check(std::vector<LayerSettings> &layers, BufferHandle &clientBuffer, uint32_t checkType =…
49 static void GetCheckPoints(Point center, std::vector<Point> &points);
51 …std::vector<uint32_t> GetCheckColors(std::vector<LayerSettings> &layers, const std::vector<Point> …
/test/testfwk/arkxtest/uitest/core/
Dwidget_selector.h44 …void Select(const WidgetTree &tree, std::vector<std::reference_wrapper<const Widget>> &results) co…
55 std::vector<WidgetAttrMatcher> selfMatchers_;
56 std::vector<WidgetSelector> frontLocators_;
57 std::vector<WidgetSelector> rearLocators_;

123456789