/foundation/arkui/ace_engine/frameworks/core/components/theme/ |
H A D | theme_utils.cpp | 28 const std::regex THEME_ID_REGEX(R"(^\"@id([0-9]+)\"$)", std::regex::icase); // regex for "@id001" 34 const std::regex OHOS_ID_REGEX(R"(^@ohos_id_([0-9]+)$)", std::regex::icase); // regex for "@ohos_id_001" 36 const std::regex SYS_TYPE_RES_ID_REGEX(R"(^@sys.(\w+).([0-9]+)$)", std::regex::icase); 39 const std::regex APP_TYPE_RES_NAME_REGEX(R"(^@app.(\w+).(\w+)$)", std::regex::icase); 43 const std::regex SYS_MEDIA_RES_ID_REGEX(R"(^@sys\.media\.([0-9]+)$)", std::regex::icase); 45 const std::regex APP_MEDIA_RES_NAME_REGEX(R"(^@app\.media\.(\w+)$)", std::regex::icase);
|
/foundation/arkui/ace_engine/frameworks/core/components/common/layout/ |
H A D | templates_parser.cpp | 32 const std::regex UNIT_PIXEL_REGEX(R"(^([0-9]\d*|[0-9]\d*.\d*|0\.\d*[0-9]\d*)px$)", std::regex::icase); 33 const std::regex UNIT_RATIO_REGEX(R"(^([0-9]\d*|[0-9]\d*.\d*|0\.\d*[0-9]\d*)fr$)", std::regex::icase); 34 const std::regex UNIT_PERCENT_REGEX(R"(^([0-9]\d*|[0-9]\d*.\d*|0\.\d*[0-9]\d*)%$)", std::regex::icase); 35 const std::regex AUTO_REGEX(R"(^repeat\((.+),(.+)\))", std::regex::icase); // regex for "repeat(auto-fill, 10px)" 36 const std::regex REPEAT_NUM_REGEX(R"(^repeat\((\d+),(.+)\))", std::regex::icase); // regex for "repeat(2, 100px)" 37 const std::regex TRIM_REGEX(R"(^ +| +$|(\"[^\"\\\\]*(?:\\\\[\\s\\S][^\"\\\\]*)*\")|( ) +)", std::regex::icase); 57 std::regex pattern(SIZE_PATTERN, std::regex::icase); in SplitTemplate() 76 std::regex pattern(REPEAT_WITH_AUTOFILL, std::regex::icase); in GetRepeat() 99 std::regex pattern(INVALID_PATTERN, std::regex::icase); in CheckRepeatAndSplitString() 170 std::regex patternFilter(PREFIX_PATTERN, std::regex::icase); in CheckAutoFillParameter() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | templates_parser.cpp | 40 const std::regex UNIT_PIXEL_REGEX(R"(^([0-9]\d*|[0-9]\d*.\d*|0\.\d*[0-9]\d*)px$)", std::regex::icase); 41 const std::regex UNIT_RATIO_REGEX(R"(^([0-9]\d*|[0-9]\d*.\d*|0\.\d*[0-9]\d*)fr$)", std::regex::icase); 42 const std::regex UNIT_PERCENT_REGEX(R"(^([0-9]\d*|[0-9]\d*.\d*|0\.\d*[0-9]\d*)%$)", std::regex::icase); 43 const std::regex AUTO_REGEX(R"(^repeat\((.+),(.+)\))", std::regex::icase); // regex for "repeat(auto-fill, 10px)" 44 const std::regex REPEAT_NUM_REGEX(R"(^repeat\((\d+),(.+)\))", std::regex::icase); // regex for "repeat(2, 100px)" 45 const std::regex TRIM_REGEX(R"(^ +| +$|(\"[^\"\\\\]*(?:\\\\[\\s\\S][^\"\\\\]*)*\")|( ) +)", std::regex::icase); 117 std::regex pattern(SIZE_PATTERN, std::regex::icase); in SplitTemplate() 136 std::regex pattern(REPEAT_WITH_AUTOFILL_OR_AUTOFIT, std::regex::icase); in GetRepeat() 158 std::regex pattern(INVALID_PATTERN, std::regex::icase); in CheckRepeatAndSplitString() 190 std::regex patternFilter(PREFIX_PATTERN, std::regex::icase); in CheckAutoFillParameter() [all...] |
/foundation/multimedia/media_library/frameworks/utils/src/ |
H A D | medialibrary_common_utils.cpp | 108 std::regex_constants::ECMAScript | std::regex_constants::icase); in ExtractKeyWord() 257 std::regex bracketsPattern("\\(|\\)", std::regex_constants::ECMAScript | std::regex_constants::icase); in SeprateSelection() 261 std::regex spacePattern("\\s+", std::regex_constants::ECMAScript | std::regex_constants::icase); in SeprateSelection() 269 std::regex_constants::ECMAScript | std::regex_constants::icase); in SeprateSelection() 282 std::regex_constants::ECMAScript | std::regex_constants::icase); in CheckKeyWord()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/ohos/ |
H A D | ohos_file.cpp | 58 const std::regex MEDIA_RES_ID_REGEX(R"(^\w+/([0-9]+)\.\w+$)", std::regex::icase); 60 const std::regex MEDIA_HAP_RES_ID_REGEX(R"(^.*/([0-9]+)\.\w+$)", std::regex::icase); 61 const std::regex MEDIA_RES_NAME_REGEX(R"(^.*/(\w+)\.\w+$)", std::regex::icase);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_sceneview.cpp | 66 static const std::regex MODEL_RES_ID_REGEX(R"(^resource://\w+/([0-9]+)\.\w+$)", std::regex::icase); 68 static const std::regex MODEL_APP_RES_ID_REGEX(R"(^resource://.*/([0-9]+)\.\w+$)", std::regex::icase); 69 static const std::regex MODEL_RES_NAME_REGEX(R"(^resource://.*/(\w+)\.\w+$)", std::regex::icase);
|
H A D | js_scroller.cpp | 63 const std::regex DIMENSION_REGEX(R"(^[-+]?\d+(?:\.\d+)?(?:px|vp|fp|lpx)?$)", std::regex::icase);
|
H A D | js_list.cpp | 68 const std::regex DIMENSION_REGEX(R"(^[-+]?\d+(?:\.\d+)?(?:px|vp|fp|lpx)?$)", std::regex::icase);
|
H A D | js_textpicker.cpp | 49 const std::regex DIMENSION_REGEX(R"(^[-+]?\d+(?:\.\d+)?(?:px|vp|fp|lpx)?$)", std::regex::icase);
|
H A D | js_view_abstract.cpp | 118 const std::regex RESOURCE_APP_STRING_PLACEHOLDER(R"(\%((\d+)(\$)){0,1}([dsf]))", std::regex::icase); 119 const std::regex FLOAT_PATTERN(R"(-?(0|[1-9]\d*)(\.\d+))", std::regex::icase);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_media_player.cpp | 34 const std::regex MEDIA_RES_ID_REGEX(R"(^resource://\w+/([0-9]+)\.\w+$)", std::regex::icase); 35 const std::regex MEDIA_APP_RES_ID_REGEX(R"(^resource://.*/([0-9]+)\.\w+$)", std::regex::icase);
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/operation/ |
H A D | photo_displayname_operation.h | 89 std::regex pattern(R"(IMG_\d{8}_\d{6}_)", std::regex_constants::icase);
in ParseBurstDisplayName()
|
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | color.cpp | 35 const std::regex COLOR_WITH_RGB(R"(rgb\(([0-9]{1,3})\,([0-9]{1,3})\,([0-9]{1,3})\))", std::regex::icase); 36 const std::regex COLOR_WITH_RGBA(R"(rgba\(([0-9]{1,3})\,([0-9]{1,3})\,([0-9]{1,3})\,(\d+\.?\d*)\))", std::regex::icase);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/ |
H A D | svg_attributes_parser.cpp | 25 R"(rgba?\(([0-9]{1,3})\,([0-9]{1,3})\,([0-9]{1,3})\,(\d+\.?\d*)\))", std::regex::icase);
|
/foundation/arkui/ace_engine/frameworks/core/image/ |
H A D | image_loader.cpp | 59 const std::regex MEDIA_RES_ID_REGEX(R"(^resource://\w+/([0-9]+)\.\w+$)", std::regex::icase); 61 const std::regex MEDIA_APP_RES_ID_REGEX(R"(^resource://.*/([0-9]+)\.\w+$)", std::regex::icase); 62 const std::regex MEDIA_RES_NAME_REGEX(R"(^resource://.*/(\w+)\.\w+$)", std::regex::icase);
|
/foundation/arkui/ace_engine/frameworks/core/components/grid_layout/ |
H A D | render_grid_layout.cpp | 44 const std::regex REPEAT_NUM_REGEX(R"(^repeat\((\d+),(.+)\))", std::regex::icase); // regex for "repeat(2, 100px)" 45 const std::regex AUTO_REGEX(R"(^repeat\((.+),(.+)\))", std::regex::icase); // regex for "repeat(auto-fill, 10px)" 46 const std::regex TRIM_REGEX(R"(^ +| +$|(\"[^\"\\\\]*(?:\\\\[\\s\\S][^\"\\\\]*)*\")|( ) +)", std::regex::icase); 3225 std::regex pattern(SIZE_PATTERN, std::regex::icase); 3244 std::regex pattern(REPEAT_WITH_AUTOFILL, std::regex::icase); 3268 std::regex pattern(INVALID_PATTERN, std::regex::icase); 3332 std::regex patternFilter(PREFIX_PATTERN, std::regex::icase); 3338 std::regex pattern(REPEAT_WITH_AUTOFILL, std::regex::icase);
|
/foundation/ability/idl_tool/idl_tool_2/parser/ |
H A D | parser.cpp | 52 std::regex_constants::icase);
member in OHOS::Idl::std::regex_constants 54 std::regex_constants::icase);
member in OHOS::Idl::std::regex_constants 56 std::regex_constants::icase);
member in OHOS::Idl::std::regex_constants 58 std::regex_constants::icase);
member in OHOS::Idl::std::regex_constants
|
/foundation/arkui/ace_engine/frameworks/core/components/video/ |
H A D | video_element.cpp | 65 const std::regex MEDIA_RES_ID_REGEX(R"(^resource://\w+/([0-9]+)\.\w+$)", std::regex::icase); 66 const std::regex MEDIA_APP_RES_ID_REGEX(R"(^resource://.*/([0-9]+)\.\w+$)", std::regex::icase);
|
/foundation/arkui/ace_engine/interfaces/napi/kits/utils/ |
H A D | napi_utils.cpp | 23 const std::regex RESOURCE_APP_STRING_PLACEHOLDER(R"(\%((\d+)(\$)){0,1}([dsf]))", std::regex::icase);
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/ |
H A D | exif_metadata_formatter.cpp | 1604 std::regex pattern(SENSITIVE_REGEX, std::regex::icase); in IsSensitiveInfo()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_utils.cpp | 54 const std::regex RESOURCE_APP_STRING_PLACEHOLDER(R"(\%((\d+)(\$)){0,1}([dsf]))", std::regex::icase); 55 const std::regex FLOAT_PATTERN(R"(-?(0|[1-9]\d*)(\.\d+))", std::regex::icase);
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_view_abstract_ffi.cpp | 102 const std::regex RESOURCE_APP_STRING_PLACEHOLDER(R"(\%((\d+)(\$)){0,1}([dsf]))", std::regex::icase);
|