Home
last modified time | relevance | path

Searched refs:vec (Results 1 - 25 of 315) sorted by relevance

12345678910>>...13

/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_collection_ffi.cpp36 void FFICJCommonVector##cjType##Delete(Vector##cjType##Handle vec) \
38 auto actualVec = reinterpret_cast<std::vector<cType>*>(vec); \
42 int64_t FFICJCommonVector##cjType##GetSize(Vector##cjType##Handle vec) \
44 auto actualVec = reinterpret_cast<std::vector<cType>*>(vec); \
61 void FFICJCommonVectorStringSetElement(VectorStringHandle vec, int64_t index, const char* value) in FFICJCommonVectorStringSetElement() argument
63 auto actualVec = reinterpret_cast<std::vector<std::string>*>(vec); in FFICJCommonVectorStringSetElement()
68 const char* FFICJCommonVectorStringGetElement(VectorStringHandle vec, int64_t index) in FFICJCommonVectorStringGetElement() argument
70 auto actualVec = reinterpret_cast<std::vector<std::string>*>(vec); in FFICJCommonVectorStringGetElement()
75 void FFICJCommonVectorInt32SetElement(VectorInt32Handle vec, int64_t index, int32_t value) in FFICJCommonVectorInt32SetElement() argument
77 auto actualVec = reinterpret_cast<std::vector<int32_t>*>(vec); in FFICJCommonVectorInt32SetElement()
81 FFICJCommonVectorInt32GetElement(VectorInt32Handle vec, int64_t index) FFICJCommonVectorInt32GetElement() argument
88 FFICJCommonVectorInt64SetElement(VectorInt64Handle vec, int64_t index, int64_t value) FFICJCommonVectorInt64SetElement() argument
94 FFICJCommonVectorInt64GetElement(VectorInt64Handle vec, int64_t index) FFICJCommonVectorInt64GetElement() argument
101 FFICJCommonVectorUInt8SetElement(VectorUInt8Handle vec, int64_t index, uint8_t value) FFICJCommonVectorUInt8SetElement() argument
107 FFICJCommonVectorUInt8GetElement(VectorUInt8Handle vec, int64_t index) FFICJCommonVectorUInt8GetElement() argument
114 FFICJCommonVectorUInt32SetElement(VectorUInt32Handle vec, int64_t index, uint32_t value) FFICJCommonVectorUInt32SetElement() argument
120 FFICJCommonVectorUInt32GetElement(VectorUInt32Handle vec, int64_t index) FFICJCommonVectorUInt32GetElement() argument
127 FFICJCommonVectorFloat32SetElement(VectorFloat32Handle vec, int64_t index, float value) FFICJCommonVectorFloat32SetElement() argument
133 FFICJCommonVectorFloat32GetElement(VectorFloat32Handle vec, int64_t index) FFICJCommonVectorFloat32GetElement() argument
140 FFICJCommonVectorFloat64SetElement(VectorFloat64Handle vec, int64_t index, double value) FFICJCommonVectorFloat64SetElement() argument
146 FFICJCommonVectorFloat64GetElement(VectorFloat64Handle vec, int64_t index) FFICJCommonVectorFloat64GetElement() argument
153 FFICJCommonVectorBoolSetElement(VectorBoolHandle vec, int64_t index, bool value) FFICJCommonVectorBoolSetElement() argument
159 FFICJCommonVectorBoolGetElement(VectorBoolHandle vec, int64_t index) FFICJCommonVectorBoolGetElement() argument
166 FFICJCommonVectorNavigationItemSetElement(VectorNavigationItemHandle vec, int64_t index, NavigationItemFFI value) FFICJCommonVectorNavigationItemSetElement() argument
172 FFICJCommonVectorNavigationItemGetElement(VectorNavigationItemHandle vec, int64_t index) FFICJCommonVectorNavigationItemGetElement() argument
[all...]
H A Dcj_collection_ffi.h48 CJ_EXPORT void FFICJCommonVector##typeName##Delete(Vector##typeName##Handle vec); \
49 CJ_EXPORT int64_t FFICJCommonVector##typeName##GetSize(Vector##typeName##Handle vec); \
65 CJ_EXPORT void FFICJCommonVectorStringSetElement(VectorStringHandle vec, int64_t index, const char* value);
66 CJ_EXPORT const char* FFICJCommonVectorStringGetElement(VectorStringHandle vec, int64_t index);
68 CJ_EXPORT void FFICJCommonVectorInt32SetElement(VectorInt32Handle vec, int64_t index, int32_t value);
69 CJ_EXPORT int32_t FFICJCommonVectorInt32GetElement(VectorInt32Handle vec, int64_t index);
71 CJ_EXPORT void FFICJCommonVectorInt64SetElement(VectorInt64Handle vec, int64_t index, int64_t value);
72 CJ_EXPORT int64_t FFICJCommonVectorInt64GetElement(VectorInt64Handle vec, int64_t index);
74 CJ_EXPORT void FFICJCommonVectorUInt8SetElement(VectorUInt8Handle vec, int64_t index, uint8_t value);
75 CJ_EXPORT uint8_t FFICJCommonVectorUInt8GetElement(VectorUInt8Handle vec, int64_
[all...]
/foundation/multimodalinput/input/service/rust/src/
H A Dlib.rs111 data: vec![
113 speeds: vec![8.0, 32.0, 128.0],
114 slopes: vec![0.16, 0.30, 0.56],
115 diff_nums: vec![0.0, -1.12, -9.44],
118 speeds: vec![8.0, 32.0, 128.0],
119 slopes: vec![0.32, 0.60, 1.12],
120 diff_nums: vec![0.0, -2.24, -18.88],
123 speeds: vec![8.0, 32.0, 128.0],
124 slopes: vec![0.64, 1.2, 2.24],
125 diff_nums: vec![0.
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/c_adapter/
H A Dbasic_rust_types.rs93 let vec = match typ {
94 OhCloudExtRustType::I32 => VectorCffi::I32(vec![]),
95 OhCloudExtRustType::U32 => VectorCffi::U32(vec![]),
96 OhCloudExtRustType::STRING => VectorCffi::String(vec![]),
97 OhCloudExtRustType::VALUE => VectorCffi::Value(vec![]),
98 OhCloudExtRustType::VALUE_BUCKET => VectorCffi::ValueBucket(vec![]),
99 OhCloudExtRustType::DATABASE => VectorCffi::Database(vec![]),
100 OhCloudExtRustType::TABLE => VectorCffi::Table(vec![]),
101 OhCloudExtRustType::FIELD => VectorCffi::Field(vec![]),
102 OhCloudExtRustType::RELATION_SET => VectorCffi::RelationSet(vec![]),
[all...]
/foundation/arkui/ace_engine/test/unittest/core/accessibility/
H A Daccessibility_node_test_ng.cpp139 std::vector<std::pair<std::string, std::string>> vec; in HWTEST_F() local
140 vec.emplace_back(std::make_pair(VALUE, "ACCESSIBILITY_VALUE")); in HWTEST_F()
141 vec.emplace_back(std::make_pair(DISABLED, "ACCESSIBILITY_DISABLED")); in HWTEST_F()
142 vec.emplace_back(std::make_pair(TYPE, "ACCESSIBILITY_TYPE")); in HWTEST_F()
143 vec.emplace_back(std::make_pair(GROUP, "ACCESSIBILITY_GROUP")); in HWTEST_F()
144 vec.emplace_back(std::make_pair(ACCESS_TEXT, "ACCESSIBILITY_TEXT")); in HWTEST_F()
145 vec.emplace_back(std::make_pair(DESCRIPTION, "ACCESSIBILITY_DESCRIPTION")); in HWTEST_F()
146 vec.emplace_back(std::make_pair(IMPORTANCE, "ACCESSIBILITY_IMPORTANCE")); in HWTEST_F()
147 vec.emplace_back(std::make_pair(ID, "ID")); in HWTEST_F()
148 vec in HWTEST_F()
176 std::vector<std::string> vec; HWTEST_F() local
242 std::vector<std::pair<std::string, std::string>> vec; HWTEST_F() local
[all...]
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/math/
H A Dvector_util.h49 static inline constexpr float SqrMagnitude(const Vec2& vec) in SqrMagnitude() argument
51 return vec.x * vec.x + vec.y * vec.y; in SqrMagnitude()
55 static inline float Magnitude(const Vec2& vec) in Magnitude() argument
57 return Math::sqrt(vec.x * vec.x + vec.y * vec in Magnitude()
168 SqrMagnitude(const Vec3& vec) SqrMagnitude() argument
174 Magnitude(const Vec3& vec) Magnitude() argument
222 SqrMagnitude(const Vec4& vec) SqrMagnitude() argument
[all...]
/foundation/communication/ipc/interfaces/innerkits/rust/tests/
H A Dinteractive.rs42 assert_eq!(msg.read::<Vec<bool>>().unwrap(), vec![true; 3]); in check_parcel()
44 assert_eq!(msg.read::<Vec<u8>>().unwrap(), vec![u8::MAX; 3]); in check_parcel()
45 assert_eq!(msg.read::<Vec<u16>>().unwrap(), vec![u16::MAX; 3]); in check_parcel()
46 assert_eq!(msg.read::<Vec<u32>>().unwrap(), vec![u32::MAX; 3]); in check_parcel()
47 assert_eq!(msg.read::<Vec<u64>>().unwrap(), vec![u64::MAX; 3]); in check_parcel()
49 assert_eq!(msg.read::<Vec<i8>>().unwrap(), vec![i8::MAX; 3]); in check_parcel()
50 assert_eq!(msg.read::<Vec<i16>>().unwrap(), vec![i16::MAX; 3]); in check_parcel()
51 assert_eq!(msg.read::<Vec<i32>>().unwrap(), vec![i32::MAX; 3]); in check_parcel()
52 assert_eq!(msg.read::<Vec<i64>>().unwrap(), vec![i64::MAX; 3]); in check_parcel()
54 assert_eq!(msg.read::<Vec<i8>>().unwrap(), vec![i in check_parcel()
[all...]
H A Dparcel_remote.rs159 msg.write(&vec![true; 3]).unwrap(); in read_and_write_vec()
160 msg.write(&vec![i8::MIN; 3]).unwrap(); in read_and_write_vec()
161 msg.write(&vec![i16::MIN; 3]).unwrap(); in read_and_write_vec()
162 msg.write(&vec![i32::MIN; 3]).unwrap(); in read_and_write_vec()
163 msg.write(&vec![i64::MIN; 3]).unwrap(); in read_and_write_vec()
165 msg.write(&vec![i8::MAX; 3]).unwrap(); in read_and_write_vec()
166 msg.write(&vec![i16::MAX; 3]).unwrap(); in read_and_write_vec()
167 msg.write(&vec![i32::MAX; 3]).unwrap(); in read_and_write_vec()
168 msg.write(&vec![i64::MAX; 3]).unwrap(); in read_and_write_vec()
170 msg.write(&vec![u in read_and_write_vec()
[all...]
/foundation/multimedia/media_foundation/test/unittest/
H A DTestAlgoExt.cpp31 std::vector<int> vec {1, 2, 3, 4}; in HWTEST()
32 ASSERT_EQ(true, CppExt::AnyOf(std::begin(vec), std::end(vec), [](int item) { return item == 3; })); in HWTEST()
36 std::vector<std::string> vec {"one", "two", "three"}; in HWTEST()
37 ASSERT_EQ(true, CppExt::AnyOf(std::begin(vec), std::end(vec), in HWTEST()
43 std::vector<int> vec {1, 2, 3, 4}; in HWTEST()
44 ASSERT_EQ(false, CppExt::AnyOf(std::begin(vec), std::end(vec), [](int item) { return item == 8; })); in HWTEST()
/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dlinear_map.h38 int64_t BinarySearchFindIndex(const LinearMapNode<T>* vec, size_t length, const char* key) in BinarySearchFindIndex() argument
41 vec, vec + length, key, [](LinearMapNode<T> lhs, const char* key) { return strcmp(lhs.key, key) < 0; }); in BinarySearchFindIndex()
42 if (it == vec + length || strcmp(it->key, key) != 0) { in BinarySearchFindIndex()
45 return it - vec; in BinarySearchFindIndex()
50 int64_t BinarySearchFindIndex(const LinearEnumMapNode<K, V>* vec, size_t length, K key) in BinarySearchFindIndex() argument
53 std::lower_bound(vec, vec + length, key, [](LinearEnumMapNode<K, V> lhs, K key) { return lhs.key < key; }); in BinarySearchFindIndex()
54 if (it == vec + length || it->key != key) { in BinarySearchFindIndex()
57 return it - vec; in BinarySearchFindIndex()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_bundle_install_device_type_test.cpp101 std::vector<std::string> vec; in HWTEST_F() local
102 SetDeviceTypes(infos, vec); in HWTEST_F()
121 std::vector<std::string> vec = {DEVICE_TYPE_OF_DEFAULT}; in HWTEST_F() local
122 SetDeviceTypes(infos, vec); in HWTEST_F()
142 std::vector<std::string> vec = {DEVICE_TYPE_OF_PHONE}; in HWTEST_F() local
143 SetDeviceTypes(infos, vec); in HWTEST_F()
163 std::vector<std::string> vec = {DEVICE_TYPE_OF_CAR}; in HWTEST_F() local
164 SetDeviceTypes(infos, vec); in HWTEST_F()
184 std::vector<std::string> vec = {DEVICE_TYPE_OF_DEFAULT}; in HWTEST_F() local
185 SetDeviceTypes(infos, vec); in HWTEST_F()
205 std::vector<std::string> vec = {DEVICE_TYPE_OF_PHONE}; HWTEST_F() local
226 std::vector<std::string> vec = {DEVICE_TYPE_OF_CAR}; HWTEST_F() local
245 std::vector<std::string> vec; HWTEST_F() local
262 std::vector<std::string> vec = {DEVICE_TYPE_OF_PHONE}; HWTEST_F() local
279 std::vector<std::string> vec; HWTEST_F() local
296 std::vector<std::string> vec = {DEVICE_TYPE_OF_PHONE}; HWTEST_F() local
313 std::vector<std::string> vec = {DEVICE_TYPE_OF_PHONE}; HWTEST_F() local
330 std::vector<std::string> vec = {DEVICE_TYPE_OF_DEFAULT}; HWTEST_F() local
347 std::vector<std::string> vec = {DEVICE_TYPE_OF_DEFAULT}; HWTEST_F() local
364 std::vector<std::string> vec = {DEVICE_TYPE_OF_CAR}; HWTEST_F() local
[all...]
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/
H A Dwifi_config_file_test.cpp52 std::vector<WifiConfig> vec; in HWTEST_F() local
53 vec.push_back(tmp); in HWTEST_F()
54 mWifiCfg.SetValue(vec); in HWTEST_F()
57 vec.clear(); in HWTEST_F()
58 mWifiCfg.GetValue(vec); in HWTEST_F()
59 EXPECT_TRUE(vec.size() == 1); in HWTEST_F()
60 WifiConfig ldCfg = vec[0]; in HWTEST_F()
110 std::vector<WifiDeviceConfig> vec; in HWTEST_F() local
111 vec.push_back(tmp); in HWTEST_F()
112 mDeviceCfg.SetValue(vec); in HWTEST_F()
157 std::vector<HotspotConfig> vec; HWTEST_F() local
195 std::vector<StationInfo> vec; HWTEST_F() local
213 AddWifiP2pGroupInfoTestFirst(std::vector<WifiP2pGroupInfo> &vec) AddWifiP2pGroupInfoTestFirst() argument
259 AddWifiP2pGroupInfoTestSecond(std::vector<WifiP2pGroupInfo> &vec) AddWifiP2pGroupInfoTestSecond() argument
307 std::vector<WifiP2pGroupInfo> vec; HWTEST_F() local
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/engine/
H A Dinternal_access.h78 BASE_NS::vector<Type> vec; variable
79 res = value.GetData(UidFromType<InternalType>(), &vec, sizeof(InternalType));
82 size_t size = params.property.count < vec.size() ? params.property.count : vec.size();
84 ((Type*)((uintptr_t) & *guard + params.Offset()))[i] = vec[i];
88 cont->resize(params.Offset(), vec.size());
89 for (size_t i = 0; i != vec.size(); ++i) {
90 *((Type*)cont->get(params.Offset(), i)) = vec[i];
102 BASE_NS::vector<Type> vec; variable
104 vec
[all...]
/foundation/communication/ipc/interfaces/innerkits/rust/include/
H A Dparcel_wrapper.h43 bool ReadBuffer(MessageParcel &msgParcel, size_t len, rust::vec<uint8_t> &buffer);
51 bool WriteString16Vec(Parcel &parcel, const rust::vec<rust::string &> &v);
52 rust::vec<rust::string> ReadString16Vec(Parcel &parcel);
68 bool ReadBoolVector(Parcel &parcel, rust::vec<bool> &val);
69 bool ReadInt8Vector(Parcel &parcel, rust::vec<int8_t> &val);
70 bool ReadInt16Vector(Parcel &parcel, rust::vec<int16_t> &val);
71 bool ReadInt32Vector(Parcel &parcel, rust::vec<int32_t> &val);
72 bool ReadInt64Vector(Parcel &parcel, rust::vec<int64_t> &val);
73 bool ReadUInt8Vector(Parcel &parcel, rust::vec<uint8_t> &val);
74 bool ReadUInt16Vector(Parcel &parcel, rust::vec<uint16_
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/engine/
H A Dutil.h25 BASE_NS::vector<IEngineValue::Ptr> vec; local
27 value, EngineValueOptions { options.namePrefix, &vec, options.pushValuesDirectlyToEngine })) {
29 options.values->insert(options.values->end(), vec.begin(), vec.end());
31 for (auto&& v : vec) {
40 BASE_NS::vector<IEngineValue::Ptr> vec; local
42 handle, EngineValueOptions { options.namePrefix, &vec, options.pushValuesDirectlyToEngine })) {
44 options.values->insert(options.values->end(), vec.begin(), vec.end());
46 for (auto&& v : vec) {
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/test/src/
H A Dserialisation_utils.cpp30 MemFile::MemFile(BASE_NS::vector<char> vec) : data_(BASE_NS::move(vec)) {} in MemFile() argument
79 TestSerialiser::TestSerialiser(BASE_NS::vector<char> vec) : data_(BASE_NS::move(vec)) {}
112 BASE_NS::vector<char> vec; in LoadFile() local
113 vec.resize(f->GetLength()); in LoadFile()
114 f->Read(vec.data(), vec.size()); in LoadFile()
115 data_ = MemFile { BASE_NS::move(vec) }; in LoadFile()
129 void WriteToFile(const BASE_NS::vector<char>& vec, BASE_N argument
[all...]
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_rendering_context_basic_base.cpp130 bool WebGLRenderingContextBasicBase::SetWebGLContextAttributes(const std::vector<std::string>& vec) in SetWebGLContextAttributes() argument
132 if (vec.size() <= 1) { in SetWebGLContextAttributes()
141 for (size_t i = 1; i < vec.size(); i++) { in SetWebGLContextAttributes()
142 if (GetContextAttr(vec[i], "alpha", 7, 4) == "true") { // 7 alpha length 4 true in SetWebGLContextAttributes()
145 if (GetContextAttr(vec[i], "depth", 7, 4) == "true") { // 7 depth length 4 true in SetWebGLContextAttributes()
148 if (GetContextAttr(vec[i], "stencil", 9, 4) == "true") { // 9 stencil length 4 true in SetWebGLContextAttributes()
151 if (GetContextAttr(vec[i], "premultipliedAlpha", 23, 4) == "true") { // 23 premultipliedAlpha length 4 true in SetWebGLContextAttributes()
155 if (GetContextAttr(vec[i], "preserveDrawingBuffer", 18, 4) == "true") { in SetWebGLContextAttributes()
159 if (GetContextAttr(vec[i], "failIfMajorPerformanceCaveat", 30, 4) == "true") { in SetWebGLContextAttributes()
162 if (GetContextAttr(vec[ in SetWebGLContextAttributes()
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/utils/
H A Dwifi_global_func.h88 * @param vec - return string vector
90 void SplitString(const std::string &str, const std::string &split, std::vector<std::string> &vec);
95 * @param vec - Input numeric vector.[in]
102 int Vec2Char(const std::vector<T> &vec, T *pChar, int& len, int memSize) in Vec2Char() argument
109 const int vecSize = static_cast<int>(vec.size()); in Vec2Char()
117 pChar[i] = vec[i]; in Vec2Char()
128 * @param vec - Input numeric vector.[out]
132 int Char2Vec(const T *pChar, int len, std::vector<T> &vec) in Char2Vec() argument
134 vec.clear(); in Char2Vec()
140 vec in Char2Vec()
156 Val2HexChar(const std::vector<T> &vec, char *pHexChar, unsigned memSize) Val2HexChar() argument
178 JoinVecToString(const std::vector<T> &vec, const std::string &delimiter) JoinVecToString() argument
[all...]
/foundation/ability/ability_runtime/test/unittest/dialog_session_info_test/
H A Ddialog_session_info_test.cpp121 std::vector<std::string> vec; in HWTEST_F() local
122 dialogAbilityInfo.Split("", ",", vec); in HWTEST_F()
123 EXPECT_EQ(vec.size(), 0); in HWTEST_F()
135 std::vector<std::string> vec; in HWTEST_F() local
136 dialogAbilityInfo.Split("Hello", ",", vec); in HWTEST_F()
137 EXPECT_EQ(vec.size(), 1); in HWTEST_F()
138 EXPECT_EQ(vec[0], "Hello"); in HWTEST_F()
150 std::vector<std::string> vec; in HWTEST_F() local
151 dialogAbilityInfo.Split("Hello,World,Test", ",", vec); in HWTEST_F()
152 EXPECT_EQ(vec in HWTEST_F()
167 std::vector<std::string> vec; HWTEST_F() local
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/kits/cj/src/
H A Dbundle_manager_ffi.cpp45 CArrString VectorToCArrString(std::vector<std::string> &vec) in VectorToCArrString() argument
47 char** result = new char* [vec.size()]; in VectorToCArrString()
53 for (size_t i = 0; i < vec.size(); i++) { in VectorToCArrString()
54 result[i] = new char[vec[i].length() + 1]; in VectorToCArrString()
58 auto res = strcpy_s(result[i], vec[i].length() + 1, vec[i].c_str()); in VectorToCArrString()
65 if (temp != vec.size()) { in VectorToCArrString()
73 return {result, vec.size()}; in VectorToCArrString()
/foundation/arkui/ace_engine/frameworks/core/components/flex/
H A Dflex_element.cpp61 Offset vec = childRect.Center() - rect.Center(); in AcceptFocusByRectOfLastFocus() local
62 double val = (vec.GetX() * vec.GetX()) + (vec.GetY() * vec.GetY()); in AcceptFocusByRectOfLastFocus()
/foundation/window/window_manager/utils/src/
H A Dwm_math.cpp303 Vector2 Transform(const Vector2& vec, const Matrix3& mat) in Transform() argument
306 retVal.x_ = vec.x_ * mat.mat_[0][0] + vec.y_ * mat.mat_[1][0] + mat.mat_[2][0]; // 2: row2 in Transform()
307 retVal.y_ = vec.x_ * mat.mat_[0][1] + vec.y_ * mat.mat_[1][1] + mat.mat_[2][1]; // 2: row2 in Transform()
312 Vector3 Transform(const Vector3& vec, const Matrix4& mat) in Transform() argument
315 retVal.x_ = vec.x_ * mat.mat_[0][0] + vec.y_ * mat.mat_[1][0] + in Transform()
316 vec.z_ * mat.mat_[2][0] + mat.mat_[3][0]; // 2: row2, 3: row3 in Transform()
317 retVal.y_ = vec in Transform()
325 TransformWithPerspDiv(const Vector3& vec, const Matrix4& mat, float w) TransformWithPerspDiv() argument
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/heif_hw_decode/common/
H A Dmock_heif_hw_decode_flow.cpp29 void HeifHwDecoderFlow::InputParser::SplitString(const std::string& src, char sep, std::vector<std::string>& vec) in SplitString() argument
31 vec.clear(); in SplitString()
38 vec.emplace_back(src.substr(startPos, endPos - startPos)); in SplitString()
42 vec.emplace_back(src.substr(startPos)); in SplitString()
57 vector<string> vec; in ParseGridInfo() local
58 SplitString(baseDir, MAIN_SEP, vec); in ParseGridInfo()
59 IF_TRUE_RETURN_VAL_WITH_MSG(vec.size() < MIN_MAIN_SEG_CNT, false, in ParseGridInfo()
63 SplitString(vec[DISPLAY_SIZE], SUB_SEP, vecTmp); in ParseGridInfo()
68 if (vec[GRID_FLAG].find(NO_GRID_INDICATOR) != string::npos) { in ParseGridInfo()
75 IF_TRUE_RETURN_VAL_WITH_MSG(vec in ParseGridInfo()
[all...]
/foundation/communication/ipc/interfaces/innerkits/rust/src/cxx/
H A Dparcel_wrapper.cpp96 bool ReadBuffer(MessageParcel &msgParcel, size_t len, rust::vec<uint8_t> &buffer) in ReadBuffer()
215 template<typename T> bool ReadVector(Parcel &parcel, rust::vec<T> &val, bool (Parcel::*ReadVec)(std::vector<T> *)) in ReadVector()
227 bool ReadBoolVector(Parcel &parcel, rust::vec<bool> &val) in ReadBoolVector()
231 bool ReadInt8Vector(Parcel &parcel, rust::vec<int8_t> &val) in ReadInt8Vector()
235 bool ReadInt16Vector(Parcel &parcel, rust::vec<int16_t> &val) in ReadInt16Vector()
239 bool ReadInt32Vector(Parcel &parcel, rust::vec<int32_t> &val) in ReadInt32Vector()
243 bool ReadInt64Vector(Parcel &parcel, rust::vec<int64_t> &val) in ReadInt64Vector()
247 bool ReadUInt8Vector(Parcel &parcel, rust::vec<uint8_t> &val) in ReadUInt8Vector()
251 bool ReadUInt16Vector(Parcel &parcel, rust::vec<uint16_t> &val) in ReadUInt16Vector()
255 bool ReadUInt32Vector(Parcel &parcel, rust::vec<uint32_ in ReadUInt16Vector()
[all...]
/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedmgr/resschedfwk/src/
H A Dnotifier_mgr.cpp77 for (auto& vec : g_systemloadPair) { in Init()
78 if (vec.first == systemloadParam) { in Init()
79 systemloadLevel_ = vec.second; in Init()
144 for (auto& vec : g_systemloadPair) { in OnDeviceLevelChanged()
145 if (systemloadLevel_ == vec.second) { in OnDeviceLevelChanged()
146 OHOS::system::SetParameter(SYSTEMLOAD_PARAMETER, vec.first); in OnDeviceLevelChanged()
175 std::vector<sptr<IRemoteObject>> vec{ info.notifier }; in OnApplicationStateChange()
176 HandleDeviceLevelChange(vec, systemloadLevel_); in OnApplicationStateChange()
238 std::vector<std::pair<int32_t, bool>> vec; in DumpRegisterInfo() local
242 vec in DumpRegisterInfo()
[all...]

Completed in 10 milliseconds

12345678910>>...13