Home
last modified time | relevance | path

Searched refs:types (Results 1 - 25 of 859) sorted by relevance

12345678910>>...35

/foundation/distributeddatamgr/udmf/interfaces/cj/src/
H A Dtype_descriptor_impl.cpp47 std::vector<std::string> types = typeDescriptor_->GetBelongingToTypes(); in GetBelongingToTypes() local
48 return Utils::StringVectorToArray(types); in GetBelongingToTypes()
71 std::vector<std::string> types = typeDescriptor_->GetFilenameExtensions(); in GetFilenameExtensions() local
72 return Utils::StringVectorToArray(types); in GetFilenameExtensions()
77 std::vector<std::string> types = typeDescriptor_->GetMimeTypes(); in GetMimeTypes() local
78 return Utils::StringVectorToArray(types); in GetMimeTypes()
H A Dunified_data_impl.cpp133 std::vector<std::string> types = unifiedData_->GetTypesLabels(); in GetTypes() local
134 return StringVectorToArray(types); in GetTypes()
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/data/
H A Dunified_data.cpp100 std::vector<std::string> types; in GetTypesLabels() local
102 types.push_back(UtdUtils::GetUtdIdFromUtdEnum(record->GetType())); in GetTypesLabels()
104 return types; in GetTypesLabels()
121 auto types = record->GetUtdIds(); in GetEntriesTypes() local
122 labels.insert(types.begin(), types.end()); in GetEntriesTypes()
134 auto types = record->GetUtdIds(); in HasTypeInEntries() local
135 if (types.find(type) != types.end()) { in HasTypeInEntries()
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/
H A Dunified_record_test.cpp97 auto types = record.GetUtdIds(); in HWTEST_F() local
98 EXPECT_TRUE(types.empty()); in HWTEST_F()
122 auto types = record.GetUtdIds(); in HWTEST_F() local
123 EXPECT_TRUE(types.find(utdId) != types.end()); in HWTEST_F()
148 auto types = record.GetUtdIds(); in HWTEST_F() local
149 EXPECT_TRUE(types.find(utdId) != types.end()); in HWTEST_F()
/foundation/distributeddatamgr/pasteboard/framework/test/src/
H A Dpaste_data_record_test.cpp278 auto types = record->GetValidTypes(inputTypes); in HWTEST_F() local
279 ASSERT_EQ(types.size(), 0); in HWTEST_F()
282 types = record->GetValidTypes(inputTypes); in HWTEST_F()
283 auto it = std::find(types.begin(), types.end(), UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::HTML)); in HWTEST_F()
284 ASSERT_NE(it, types.end()); in HWTEST_F()
287 types = record->GetValidTypes(inputTypes); in HWTEST_F()
288 it = std::find(types.begin(), types.end(), UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::FILE_URI)); in HWTEST_F()
289 ASSERT_NE(it, types in HWTEST_F()
[all...]
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_data_ability_impl.cpp38 std::vector<std::string> types; in GetFileTypes() local
39 types.push_back("Type1"); in GetFileTypes()
40 types.push_back("Type2"); in GetFileTypes()
41 types.push_back("Type3"); in GetFileTypes()
42 return types; in GetFileTypes()
/foundation/graphic/graphic_2d/rosen/modules/platform/utils/
H A Dflat_obj.h19 * @brief Define types and structures for reading and writing object in parcel.
29 #include <sys/types.h>
52 #include <sys/types.h>
53 #include <linux/types.h>
/foundation/ability/ability_lite/interfaces/kits/js/napi/
H A Djs_aafwk.cpp51 napi_valuetype types[1];
52 status = napi_typeof(env, args[0], types);
54 assert(argc == 1 && types[0] == napi_object);
75 napi_valuetype types[1];
76 status = napi_typeof(env, args[0], types);
78 assert(argc == 1 && types[0] == napi_object);
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/napi/
H A Dimage_receiver_module_test.cpp254 std::vector<uint32_t> types; in DumpImageInfo() local
257 GetImageComponentTypes(image, &types) != IMAGE_SUCCESS) { in DumpImageInfo()
263 IMG_TST_LOGI("Get %{public}lu components.", static_cast<unsigned long>(types.size())); in DumpImageInfo()
264 for (uint32_t i = 0; i < types.size(); i++) { in DumpImageInfo()
269 if (GetImageByteBuffer(image, types[i], &nativeBuffer) != IMAGE_SUCCESS || in DumpImageInfo()
270 GetImageBufferSize(image, types[i], &bufferSize) != IMAGE_SUCCESS || in DumpImageInfo()
271 GetImageRowStride(image, types[i], &rowStride) != IMAGE_SUCCESS || in DumpImageInfo()
272 GetImagePixelStride(image, types[i], &pixelStride) != IMAGE_SUCCESS) { in DumpImageInfo()
278 types[i], nativeBuffer, static_cast<unsigned long>(bufferSize), rowStride, pixelStride); in DumpImageInfo()
353 Image_ErrorCode ImageReceiverModuleTest::GetImageComponentTypes(OH_ImageNative *image, std::vector<uint32_t> *types) in GetImageComponentTypes() argument
[all...]
/test/xts/acts/commonlibrary/ets_utils/util_lib_standard/entry/src/ohosTest/js/test/
H A Dutil.test.js7189 let proc = new util.types();
7203 let proc = new util.types();
7217 let proc = new util.types();
7231 let proc = new util.types();
7246 let proc = new util.types();
7262 let proc = new util.types();
7278 let proc = new util.types();
7294 let proc = new util.types();
7310 let proc = new util.types();
7326 let proc = new util.types();
[all...]
/foundation/arkui/ace_engine/interfaces/napi/kits/drag_controller/
H A Ddrag_preview.h91 dragPreview->previewStyle_.types.clear(); in SetForegroundColor()
135 dragPreview->previewStyle_.types.clear(); in Animate()
168 auto iter = std::find(previewStyle_.types.begin(), previewStyle_.types.end(), in SetColor()
170 if (iter == previewStyle_.types.end()) { in SetColor()
171 previewStyle_.types.emplace_back(PreviewType::FOREGROUND_COLOR); in SetColor()
/foundation/arkui/ace_engine/frameworks/core/common/interaction/
H A Dinteraction_data.h94 std::vector<PreviewType> types; member
102 return types == other.types && foregroundColor == other.foregroundColor && opacity == other.opacity && in operator ==()
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dimage_analyzer_adapter_impl.cpp55 // If config is not set, all types are enabled by default. in GetImageAnalyzerConfig()
57 std::vector<ImageAnalyzerType> types = {ImageAnalyzerType::SUBJECT, ImageAnalyzerType::TEXT}; in GetImageAnalyzerConfig() local
60 for (int i = 0; i < static_cast<int>(types.size()); ++i) { in GetImageAnalyzerConfig()
62 napi_create_int32(env_, static_cast<int>(types[i]), &tmpValue); in GetImageAnalyzerConfig()
65 napi_set_named_property(env_, analyzerConfig, "types", typeNapi); in GetImageAnalyzerConfig()
/foundation/ability/ability_base/interfaces/kits/native/want/src/
H A Dskills.cpp635 * @brief Obtains the count of types.
717 std::vector<std::string> types; in MatchData() local
719 types.emplace_back(it->GetPattern()); in MatchData()
725 if (types.empty() && schemes.empty()) { in MatchData()
767 if (!types.empty()) { in MatchData()
786 std::vector<PatternsMatcher> types = types_; in FindMimeType() local
791 auto it = types.begin(); in FindMimeType()
792 for (; it != types.end(); it++) { in FindMimeType()
797 if (it != types.end()) { in FindMimeType()
803 return !types in FindMimeType()
[all...]
/foundation/ability/idl_tool/idl_tool_2/codegen/SA/rust/
H A Dsa_rust_code_emitter.cpp31 const AST::TypeStringMap &types = ast_->GetTypes(); in EmitCommonHeaders() local
32 for (const auto &pair : types) { in EmitCommonHeaders()
/foundation/ability/ability_runtime/test/mock/frameworks_kits_test/DemoAbility/
H A Ddemo_ability_test.cpp143 std::vector<std::string> types; in GetFileTypes() local
144 types.push_back("Type1"); in GetFileTypes()
145 types.push_back("Type2"); in GetFileTypes()
146 types.push_back("Type3"); in GetFileTypes()
147 return types; in GetFileTypes()
/foundation/arkui/ace_engine/test/mock/core/common/
H A Dmock_data_detector_adapter.cpp19 void DataDetectorAdapter::SetTextDetectTypes(const std::string& types) in SetTextDetectTypes() argument
21 textDetectTypes_ = types; in SetTextDetectTypes()
/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/
H A Dnetlink_msg.h20 #include <asm/types.h>
30 #include <sys/types.h>
/foundation/distributeddatamgr/relational_store/frameworks/cj/src/
H A Drelational_store_utils.cpp304 CArrPRIKeyType types{0}; in VectorToCArrPRIKeyType()
306 return types; in VectorToCArrPRIKeyType()
308 types.head = static_cast<RetPRIKeyType*>(malloc(sizeof(RetPRIKeyType) * arr.size())); in VectorToCArrPRIKeyType()
309 if (types.head == nullptr) { in VectorToCArrPRIKeyType()
310 return types; in VectorToCArrPRIKeyType()
313 types.head[i] = VariantToRetPRIKeyType(arr[i]); in VectorToCArrPRIKeyType()
315 types.size = arr.size(); in VectorToCArrPRIKeyType()
316 return types; in VectorToCArrPRIKeyType()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/c_adapter/
H A Dcloud_ext_types.rs19 use crate::service_impl::{asset_loader, cloud_db, cloud_service, types};
64 pub type OhCloudExtValue = SafeCffiWrapper<types::Value>;
68 pub type OhCloudExtDatabase = SafeCffiWrapper<types::Database>;
74 pub type OhCloudExtTable = SafeCffiWrapper<types::Table>;
76 pub type OhCloudExtField = SafeCffiWrapper<types::Field>;
98 OhCloudExtValueType::EMPTY => types::Value::Empty,
101 types::Value::Int(*int)
105 types::Value::Float(*float)
109 types::Value::Bool(c_bool_to_bool(*bool))
113 types
[all...]
/foundation/distributeddatamgr/udmf/framework/ndkimpl/data/
H A Dudmf.cpp150 static void AddFileUriTypeIfContains(std::vector<std::string>& types) in AddFileUriTypeIfContains() argument
152 for (auto type : types) { in AddFileUriTypeIfContains()
154 types.push_back(UDMF_META_GENERAL_FILE_URI); in AddFileUriTypeIfContains()
225 auto types = record->record_->GetUtdIds(); in OH_UdmfRecord_GetTypes() local
226 std::vector<std::string> typeLabels {types.begin(), types.end()}; in OH_UdmfRecord_GetTypes()
871 int OH_UdmfRecord_SetProvider(OH_UdmfRecord* record, const char* const* types, unsigned int count, in OH_UdmfRecord_SetProvider() argument
874 if (!IsUnifiedRecordValid(record) || types == nullptr || count == 0 || provider == nullptr) { in OH_UdmfRecord_SetProvider()
882 if (types[i] == nullptr) { in OH_UdmfRecord_SetProvider()
886 if (udTypeSet.count(types[ in OH_UdmfRecord_SetProvider()
[all...]
/test/testfwk/xdevice/src/xdevice/_core/driver/
H A Dparser_lite.py18 import types namespace
64 if isinstance(func, types.FunctionType):
/test/xts/acts/graphic/acts_drawing_native/
H A DDrawingNativeMaskFilterTest.cpp43 OH_Drawing_BlurType types[] = { in HWTEST_F() local
50 for (OH_Drawing_BlurType type : types) { in HWTEST_F()
/foundation/multimedia/image_framework/frameworks/kits/native/common/ndk/
H A Dimage_native.cpp44 Image_ErrorCode OH_ImageNative_GetComponentTypes(OH_ImageNative* image, uint32_t** types, size_t* typeSize) in OH_ImageNative_GetComponentTypes() argument
55 if (nullptr == types) { in OH_ImageNative_GetComponentTypes()
59 uint32_t* p = *types; in OH_ImageNative_GetComponentTypes()
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Ddata_ability_impl_file_test.cpp134 std::vector<std::string> types; in HWTEST_F() local
136 types = dataabilityimpl->GetFileTypes(uri, mimeTypeFilter); in HWTEST_F()
138 if (types.size() != 0) { in HWTEST_F()
139 EXPECT_STREQ(mimeTypeFilter.c_str(), types.at(0).c_str()); in HWTEST_F()
156 std::vector<std::string> types; in HWTEST_F() local
160 types = dataabilityimpl->GetFileTypes(uri, mimeTypeFilter); in HWTEST_F()
161 typesSize = types.size(); in HWTEST_F()

Completed in 26 milliseconds

12345678910>>...35