/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_collection_ffi.cpp | 36 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 D | cj_collection_ffi.h | 48 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 D | lib.rs | 111 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 D | basic_rust_types.rs | 93 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 D | accessibility_node_test_ng.cpp | 139 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...] |
/base/hiviewdfx/hilog/frameworks/libhilog/socket/ |
H A D | hilog_input_socket_client.cpp | 42 iovec vec[3]; in WriteLogMessage() local 43 vec[0].iov_base = header; // 0 : index of hos log header in WriteLogMessage() 44 vec[0].iov_len = sizeof(HilogMsg); // 0 : index of hos log header in WriteLogMessage() 45 vec[1].iov_base = reinterpret_cast<void*>(const_cast<char*>(tag)); // 1 : index of log tag in WriteLogMessage() 46 vec[1].iov_len = tagLen; // 1 : index of log tag in WriteLogMessage() 47 vec[2].iov_base = reinterpret_cast<void*>(const_cast<char*>(fmt)); // 2 : index of log content in WriteLogMessage() 48 vec[2].iov_len = fmtLen; // 2 : index of log content in WriteLogMessage() 49 ret = WriteV(vec, 3); // 3 : written size of vector in WriteLogMessage() 52 ret = WriteV(vec, 3); // 3 : written size of vector in WriteLogMessage()
|
/foundation/multimedia/media_foundation/test/unittest/ |
H A D | TestAlgoExt.cpp | 31 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/graphic/graphic_3d/lume/LumeBase/api/base/math/ |
H A D | vector_util.h | 49 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 D | interactive.rs | 42 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 D | parcel_remote.rs | 159 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...] |
/base/web/webview/interfaces/kits/cj/src/ |
H A D | webview_utils.cpp | 49 char** VectorToCArrString(const std::vector<std::string>& vec) in VectorToCArrString() argument 51 if (vec.size() == 0) { in VectorToCArrString() 54 char** result = static_cast<char**>(malloc(sizeof(char*) * vec.size())); in VectorToCArrString() 58 for (size_t i = 0; i < vec.size(); i++) { in VectorToCArrString() 59 result[i] = MallocCString(vec[i]); in VectorToCArrString() 64 uint8_t* VectorToCArrUI8(const std::vector<uint8_t> vec) in VectorToCArrUI8() argument 66 if (vec.size() == 0) { in VectorToCArrUI8() 69 uint8_t* result = static_cast<uint8_t*>(malloc(sizeof(uint8_t) * vec.size())); in VectorToCArrUI8() 73 for (size_t i = 0; i < vec.size(); i++) { in VectorToCArrUI8() 74 result[i] = vec[ in VectorToCArrUI8() [all...] |
/foundation/arkui/ace_engine/frameworks/base/utils/ |
H A D | linear_map.h | 38 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 D | bms_bundle_install_device_type_test.cpp | 101 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 D | wifi_config_file_test.cpp | 52 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...] |
/base/hiviewdfx/hilog/test/unittest/common/ |
H A D | hilog_print_test.cpp | 104 vector<string> vec;
in HWTEST_F() local 106 Split(res, vec, "\n");
in HWTEST_F() 107 for (unsigned int i = 0; i < vec.size(); i++) {
in HWTEST_F() 108 log = vec[i].substr(LOGINDEX);
in HWTEST_F() 142 vector<string> vec;
in HWTEST_F() local 144 Split(res, vec, "\n");
in HWTEST_F() 145 for (unsigned int i = 0; i < vec.size(); i++) {
in HWTEST_F() 146 log = vec[i].substr(LOGINDEX);
in HWTEST_F() 168 vector<string> vec;
in HWTEST_F() local 170 Split(res, vec, "\ in HWTEST_F() 200 vector<string> vec; HWTEST_F() local [all...] |
/base/powermgr/powermgr_lite/services/src/ |
H A D | running_lock_mgr.c | 50 static BOOL AddRunningLockEntryLocked(Vector *vec, RunningLockEntry *entry) in AddRunningLockEntryLocked() argument 52 int16_t pos = VECTOR_FindByKey(vec, (void *)&entry->identity); in AddRunningLockEntryLocked() 62 pos = VECTOR_Add(vec, (void *)e); in AddRunningLockEntryLocked() 69 if (VECTOR_Num(vec) == 1) { in AddRunningLockEntryLocked() 75 static BOOL RemoveRunningLockEntryLocked(Vector *vec, RunningLockEntry *entry) in RemoveRunningLockEntryLocked() argument 77 int16_t pos = VECTOR_FindByKey(vec, (void *)&entry->identity); in RemoveRunningLockEntryLocked() 82 RunningLockEntry *e = (RunningLockEntry *)VECTOR_Swap(vec, pos, NULL); in RemoveRunningLockEntryLocked() 85 if (VECTOR_Num(vec) == 0) { in RemoveRunningLockEntryLocked() 95 Vector *vec = &g_runningLocks[t]; in ShowLocks() local 96 int32_t size = VECTOR_Size(vec); in ShowLocks() 116 Vector *vec = &g_runningLocks[entry->lock.type]; RunningLockMgrAcquireEntry() local 131 Vector *vec = &g_runningLocks[entry->lock.type]; RunningLockMgrReleaseEntry() local [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/engine/ |
H A D | internal_access.h | 78 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 D | parcel_wrapper.h | 43 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 D | util.h | 25 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 D | serialisation_utils.cpp | 30 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 D | webgl_rendering_context_basic_base.cpp | 130 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...] |
/base/security/device_auth/common_lib/impl/src/ |
H A D | hc_string_vector.c | 25 void DestroyStrVector(StringVector *vec) in DestroyStrVector() argument 27 if (vec == NULL) { in DestroyStrVector() 32 FOR_EACH_HC_VECTOR(*vec, index, strItemPtr) { in DestroyStrVector() 35 DESTROY_HC_VECTOR(StringVector, vec); in DestroyStrVector()
|
/base/hiviewdfx/hidumper/test/unittest/common/ |
H A D | memory_dumper_test.cpp | 278 std::vector<std::string> vec;
in HWTEST_F() local 279 ASSERT_TRUE(MemoryUtil::GetInstance().RunCMD(cmd, vec));
in HWTEST_F() 280 ASSERT_GT(vec.size(), 0);
in HWTEST_F() 291 std::vector<std::string> vec;
in HWTEST_F() local 292 ASSERT_TRUE(MemoryUtil::GetInstance().RunCMD(cmd, vec));
in HWTEST_F() 294 ASSERT_TRUE(MemoryUtil::GetInstance().RunCMD(cmd, vec));
in HWTEST_F() 296 ASSERT_TRUE(MemoryUtil::GetInstance().RunCMD(cmd, vec));
in HWTEST_F() 298 ASSERT_TRUE(MemoryUtil::GetInstance().RunCMD(cmd, vec));
in HWTEST_F() 309 std::vector<std::string> vec;
in HWTEST_F() local 310 ASSERT_TRUE(MemoryUtil::GetInstance().RunCMD(cmd, vec));
in HWTEST_F() [all...] |
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/utils/ |
H A D | wifi_global_func.h | 88 * @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...] |
/base/security/device_auth/services/identity_manager/src/mock/ |
H A D | identity_common_mock.c | 36 void ClearIdentityInfoVec(IdentityInfoVec *vec) in ClearIdentityInfoVec() argument 38 (void)vec; in ClearIdentityInfoVec() 48 void ClearProtocolEntityVec(ProtocolEntityVec *vec) in ClearProtocolEntityVec() argument 50 (void)vec; in ClearProtocolEntityVec()
|