Home
last modified time | relevance | path

Searched refs:REGEX (Results 1 – 25 of 110) sorted by relevance

12345

/external/guice/extensions/servlet/test/com/google/inject/servlet/
DExtensionSpiTest.java19 import static com.google.inject.servlet.UriPatternType.REGEX;
94 new Params("/class[0-9]", Key.get(DummyFilterImpl.class), ImmutableMap.of(), REGEX), in validateVisitor()
95 new Params("/class[0-9]/2", Key.get(DummyFilterImpl.class), ImmutableMap.of(), REGEX), in validateVisitor()
96 … Params("/key[0-9]", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of(), REGEX), in validateVisitor()
97 …arams("/key[0-9]/2", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of(), REGEX), in validateVisitor()
98 new Params("/instance[0-9]", dummyFilter3, ImmutableMap.of(), REGEX), in validateVisitor()
99 new Params("/instance[0-9]/2", dummyFilter3, ImmutableMap.of(), REGEX), in validateVisitor()
100 …s("/class[0-9]/keyvalues", Key.get(DummyFilterImpl.class), ImmutableMap.of("key", "value"), REGEX), in validateVisitor()
101 …"/class[0-9]/keyvalues/2", Key.get(DummyFilterImpl.class), ImmutableMap.of("key", "value"), REGEX), in validateVisitor()
102 …lues", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of("key", "value"), REGEX), in validateVisitor()
[all …]
/external/eigen/cmake/
DRegexUtils.cmake2 STRING(REGEX REPLACE "\\\\" "\\\\\\\\" FILETEST2 "${_str_in}")
3 STRING(REGEX REPLACE "([.$+*?|-])" "\\\\\\1" FILETEST2 "${FILETEST2}")
4 STRING(REGEX REPLACE "\\^" "\\\\^" FILETEST2 "${FILETEST2}")
5 STRING(REGEX REPLACE "\\(" "\\\\(" FILETEST2 "${FILETEST2}")
6 STRING(REGEX REPLACE "\\)" "\\\\)" FILETEST2 "${FILETEST2}")
7 STRING(REGEX REPLACE "\\[" "\\\\[" FILETEST2 "${FILETEST2}")
8 STRING(REGEX REPLACE "\\]" "\\\\]" FILETEST2 "${FILETEST2}")
DFindMetis.cmake22 …string(REGEX MATCH "define[ \t]+METIS_VER_MAJOR[ \t]+([0-9]+)" _metis_major_version_match "${_meti…
24 …string(REGEX MATCH "define[ \t]+METIS_VER_MINOR[ \t]+([0-9]+)" _metis_minor_version_match "${_meti…
26 …string(REGEX MATCH "define[ \t]+METIS_VER_SUBMINOR[ \t]+([0-9]+)" _metis_subminor_version_match "$…
DEigenTesting.cmake136 string(REGEX MATCHALL "CALL_SUBTEST_[0-9]+|EIGEN_TEST_PART_[0-9]+|EIGEN_SUFFIXES(;[0-9]+)+"
138 string(REGEX REPLACE "CALL_SUBTEST_|EIGEN_TEST_PART_|EIGEN_SUFFIXES" "" suffixes "${occurences}")
342 …string(REGEX REPLACE "[\n\r].*" "" eigen_cxx_compiler_version_string ${eigen_cxx_compiler_versi…
357 string(REGEX MATCH "g\\+\\+" ei_has_gpp ${VERSTRING})
358 string(REGEX MATCH "llvm|LLVM" ei_has_llvm ${VERSTRING})
359 string(REGEX MATCH "gcc|GCC" ei_has_gcc ${VERSTRING})
360 string(REGEX MATCH "icpc|ICC" ei_has_icpc ${VERSTRING})
361 string(REGEX MATCH "clang|CLANG" ei_has_clang ${VERSTRING})
378 string(REGEX MATCH " [0-9]+\\.[0-9]+\\.[0-9]+" eicver ${VERSTRING})
381 string(REGEX MATCH " [0-9]+\\.[0-9]+" eicver ${VERSTRING})
[all …]
DFindEigen2.cmake34 …string(REGEX MATCH "define[ \t]+EIGEN_WORLD_VERSION[ \t]+([0-9]+)" _eigen2_world_version_match "${…
36 …string(REGEX MATCH "define[ \t]+EIGEN_MAJOR_VERSION[ \t]+([0-9]+)" _eigen2_major_version_match "${…
38 …string(REGEX MATCH "define[ \t]+EIGEN_MINOR_VERSION[ \t]+([0-9]+)" _eigen2_minor_version_match "${…
DFindMPFR.cmake53 …string(REGEX MATCH "define[ \t]+MPFR_VERSION_MAJOR[ \t]+([0-9]+)" _mpfr_major_version_match "${_mp…
55 …string(REGEX MATCH "define[ \t]+MPFR_VERSION_MINOR[ \t]+([0-9]+)" _mpfr_minor_version_match "${_mp…
57 …string(REGEX MATCH "define[ \t]+MPFR_VERSION_PATCHLEVEL[ \t]+([0-9]+)" _mpfr_patchlevel_version_ma…
DFindEigen3.cmake35 …string(REGEX MATCH "define[ \t]+EIGEN_WORLD_VERSION[ \t]+([0-9]+)" _eigen3_world_version_match "${…
37 …string(REGEX MATCH "define[ \t]+EIGEN_MAJOR_VERSION[ \t]+([0-9]+)" _eigen3_major_version_match "${…
39 …string(REGEX MATCH "define[ \t]+EIGEN_MINOR_VERSION[ \t]+([0-9]+)" _eigen3_minor_version_match "${…
DFindGSL.cmake123 STRING(REGEX MATCH "(.)\\..*" GSL_VERSION_MAJOR_ "${GSL_FULL_VERSION}")
125 STRING(REGEX MATCH ".\\.(.*)" GSL_VERSION_MINOR_ "${GSL_FULL_VERSION}")
131 STRING(REGEX MATCHALL "[-][L]([^ ;])+"
139 STRING(REGEX REPLACE "[-][L]" "" GSL_LINK_DIRECTORIES ${GSL_LINK_DIRECTORIES_WITH_PREFIX} )
/external/curl/CMake/
DFindLibSSH2.cmake19 …file(STRINGS "${LIBSSH2_INCLUDE_DIR}/libssh2.h" libssh2_version_str REGEX "^#define[\t ]+LIBSSH2_V…
21 …string(REGEX REPLACE "^.*LIBSSH2_VERSION_NUM[\t ]+0x([0-9][0-9]).*$" "\\1" LIBSSH2_VERSION_MAJOR "…
22 …string(REGEX REPLACE "^.*LIBSSH2_VERSION_NUM[\t ]+0x[0-9][0-9]([0-9][0-9]).*$" "\\1" LIBSSH2_VERSI…
23 …string(REGEX REPLACE "^.*LIBSSH2_VERSION_NUM[\t ]+0x[0-9][0-9][0-9][0-9]([0-9][0-9]).*$" "\\1" LIB…
25 string(REGEX REPLACE "^0(.+)" "\\1" LIBSSH2_VERSION_MAJOR "${LIBSSH2_VERSION_MAJOR}")
26 string(REGEX REPLACE "^0(.+)" "\\1" LIBSSH2_VERSION_MINOR "${LIBSSH2_VERSION_MINOR}")
27 string(REGEX REPLACE "^0(.+)" "\\1" LIBSSH2_VERSION_PATCH "${LIBSSH2_VERSION_PATCH}")
DOtherTests.cmake75 …string(REGEX REPLACE "^([^,]*),[^,]*,[^,]*,[^,]*,[^,]*$" "\\1" RECV_TYPE_ARG1 "${curl_cv_func_recv…
76 …string(REGEX REPLACE "^[^,]*,([^,]*),[^,]*,[^,]*,[^,]*$" "\\1" RECV_TYPE_ARG2 "${curl_cv_func_recv…
77 …string(REGEX REPLACE "^[^,]*,[^,]*,([^,]*),[^,]*,[^,]*$" "\\1" RECV_TYPE_ARG3 "${curl_cv_func_recv…
78 …string(REGEX REPLACE "^[^,]*,[^,]*,[^,]*,([^,]*),[^,]*$" "\\1" RECV_TYPE_ARG4 "${curl_cv_func_recv…
79 …string(REGEX REPLACE "^[^,]*,[^,]*,[^,]*,[^,]*,([^,]*)$" "\\1" RECV_TYPE_RETV "${curl_cv_func_recv…
122 string(REGEX REPLACE "(const) .*" "\\1" send_qual_arg2 "${send_arg2}")
123 string(REGEX REPLACE "const (.*)" "\\1" send_arg2 "${send_arg2}")
141 …string(REGEX REPLACE "^([^,]*),[^,]*,[^,]*,[^,]*,[^,]*,[^,]*$" "\\1" SEND_TYPE_ARG1 "${curl_cv_fun…
142 …string(REGEX REPLACE "^[^,]*,([^,]*),[^,]*,[^,]*,[^,]*,[^,]*$" "\\1" SEND_TYPE_ARG2 "${curl_cv_fun…
143 …string(REGEX REPLACE "^[^,]*,[^,]*,([^,]*),[^,]*,[^,]*,[^,]*$" "\\1" SEND_TYPE_ARG3 "${curl_cv_fun…
[all …]
DFindGSS.cmake70 string(REGEX REPLACE " +-I" ";" _GSS_CFLAGS "${_GSS_CFLAGS}")
71 string(REGEX REPLACE " +-([^I][^ \\t;]*)" ";-\\1"_GSS_CFLAGS "${_GSS_CFLAGS}")
75 string(REGEX REPLACE "^-I" "" _val "${_flag}")
92 string(REGEX REPLACE " +-(L|l)" ";-\\1" _GSS_LIB_FLAGS "${_GSS_LIB_FLAGS}")
93 string(REGEX REPLACE " +-([^Ll][^ \\t;]*)" ";-\\1"_GSS_LIB_FLAGS "${_GSS_LIB_FLAGS}")
97 string(REGEX REPLACE "^-l" "" _val "${_flag}")
100 string(REGEX REPLACE "^-L" "" _val "${_flag}")
256 REGEX "^.*version=\"[0-9]\\.[^\"]+\".*$")
258 string(REGEX MATCH "[0-9]\\.[^\"]+"
/external/libdivsufsort/CMakeModules/
DAppendCompilerFlags.cmake6 string(REGEX REPLACE "[-+/ ]" "_" cname "${_name}")
9 string(REGEX REPLACE "^[-+/ ]+(.*)[-+/ ]*$" "\\1" flagname "${flag}")
10 string(REGEX REPLACE "[-+/ ]" "_" flagname "${flagname}")
24 string(REGEX REPLACE "[-+/ ]" "_" cname "${_name}")
27 string(REGEX REPLACE "^[-+/ ]+(.*)[-+/ ]*$" "\\1" flagname "${flag}")
28 string(REGEX REPLACE "[-+/ ]" "_" flagname "${flagname}")
/external/opencv3/cmake/
DOpenCVVersion.cmake2 file(STRINGS "${OPENCV_VERSION_FILE}" OPENCV_VERSION_PARTS REGEX "#define CV_VERSION_[A-Z]+[ ]+" )
4 string(REGEX REPLACE ".+CV_VERSION_MAJOR[ ]+([0-9]+).*" "\\1" OPENCV_VERSION_MAJOR "${OPENCV_VERSIO…
5 string(REGEX REPLACE ".+CV_VERSION_MINOR[ ]+([0-9]+).*" "\\1" OPENCV_VERSION_MINOR "${OPENCV_VERSIO…
6 string(REGEX REPLACE ".+CV_VERSION_REVISION[ ]+([0-9]+).*" "\\1" OPENCV_VERSION_PATCH "${OPENCV_VER…
7 string(REGEX REPLACE ".+CV_VERSION_STATUS[ ]+\"([^\"]*)\".*" "\\1" OPENCV_VERSION_STATUS "${OPENCV_…
Dcl2cpp.cmake52 string(REGEX REPLACE "/\\*([^*]/|\\*[^/]|[^*/])*\\*/" "" lines "${lines}") # multiline comments
53 …string(REGEX REPLACE "/\\*([^\n])*\\*/" "" lines "${lines}") # single-line comments
54 …string(REGEX REPLACE "[ ]*//[^\n]*\n" "\n" lines "${lines}") # single-line comments
55 …string(REGEX REPLACE "\n[ ]*(\n[ ]*)*" "\n" lines "${lines}") # empty lines & leadi…
56 string(REGEX REPLACE "^\n" "" lines "${lines}") # leading new line
62 string(REGEX REPLACE "\"$" "" lines "${lines}") # unneeded " at the eof
DOpenCVFindIPP.cmake58 file(STRINGS ${VERSION_FILE} STR1 REGEX "IPP_VERSION_MAJOR")
59 file(STRINGS ${VERSION_FILE} STR2 REGEX "IPP_VERSION_MINOR")
60 file(STRINGS ${VERSION_FILE} STR3 REGEX "IPP_VERSION_BUILD")
62 file(STRINGS ${VERSION_FILE} STR3 REGEX "IPP_VERSION_UPDATE")
64 file(STRINGS ${VERSION_FILE} STR4 REGEX "IPP_VERSION_STR")
67 string(REGEX MATCHALL "[0-9]+" _MAJOR ${STR1})
68 string(REGEX MATCHALL "[0-9]+" _MINOR ${STR2})
69 string(REGEX MATCHALL "[0-9]+" _BUILD ${STR3})
70 string(REGEX MATCHALL "[0-9]+[.]+[0-9]+[^\"]+|[0-9]+[.]+[0-9]+" _VERSION_STR ${STR4})
DOpenCVDetectCXXCompiler.cmake63 …string(REGEX MATCH "version.*$" CMAKE_OPENCV_CLANG_VERSION_FULL "${CMAKE_OPENCV_CLANG_VERSION_FULL…
64 …string(REGEX MATCH "[0-9]+\\.[0-9]+" CMAKE_CLANG_REGEX_VERSION "${CMAKE_OPENCV_CLANG_VERSION_FULL}…
77 …string(REGEX MATCH "[0-9]+\\.[0-9]+\\.[0-9]+" CMAKE_GCC_REGEX_VERSION "${CMAKE_OPENCV_GCC_VERSION_…
79 string(REGEX MATCH "[0-9]+\\.[0-9]+" CMAKE_GCC_REGEX_VERSION "${CMAKE_OPENCV_GCC_VERSION_FULL}")
83 string(REGEX MATCHALL "[0-9]+" CMAKE_OPENCV_GCC_VERSIONS "${CMAKE_GCC_REGEX_VERSION}")
DOpenCVUtils.cmake198 string(REGEX REPLACE "^(/|-)" "HAVE_${_lang}_" ${varname} "${${varname}}")
199 string(REGEX REPLACE " -|-|=| |\\." "_" ${varname} "${${varname}}")
400 string(REGEX REPLACE "^[ \t]+" "" status_then "${status_then}")
404 string(REGEX REPLACE "^[ \t]+" "" status_else "${status_else}")
409 string(REGEX REPLACE "^[ \t]+" "" status_cond "${status_cond}")
487 string(REGEX REPLACE "([+.*^$])" "\\\\1" ${var} "${regex}")
510 string(REGEX REPLACE "^lib" "" __tmp_name ${__tmp_name})
571 string(REGEX REPLACE "\\.lib$" ".pdb" fname "${fname}")
577 string(REGEX REPLACE "\\.lib$" ".pdb" fname "${fname}")
606 file(STRINGS "${FILENAME}" ${FILE_VAR} REGEX "#define[ \t]+(${vars_regex})[ \t]+[0-9]+" )
[all …]
DOpenCVDetectAndroidSDK.cmake49 …_SDK_TOOLS_PATH}/source.properties" ANDROID_SDK_TOOLS_SOURCE_PROPERTIES_LINES REGEX "^[ ]*[^#].*$")
98 string(REGEX MATCHALL "[^\n]+" ANDROID_SDK_TARGETS "${ANDROID_SDK_TARGETS}")
107 …string(REGEX MATCHALL "(^|\n)id: [0-9]+ or \"([^\n]+[0-9+])\"(\n|$)" ANDROID_SDK_TARGETS_FULL "${A…
112 string(REGEX REPLACE "(^|\n)id: [0-9]+ or \"([^\n]+[0-9+])\"(\n|$)" "\\2" line "${line}")
139 string(REGEX MATCH "[0-9]+$" __lvl "${__lvl}")
143 string(REGEX MATCH "[0-9]+$" __level "${lvl}")
151 string(REGEX MATCH "[0-9]+$" __level "${lvl}")
218 …file(STRINGS "${path}/jni/Android.mk" NATIVE_APP_GLUE REGEX ".*(call import-module,android/native_…
279 file(STRINGS "${path}/jni/Android.mk" JNI_LIB_NAME REGEX "LOCAL_MODULE[ ]*:=[ ]*.*" )
280 …string(REGEX REPLACE "LOCAL_MODULE[ ]*:=[ ]*([a-zA-Z_][a-zA-Z_0-9]*)[ ]*" "\\1" JNI_LIB_NAME "${JN…
DOpenCVCRTLinkage.cmake45 string(REGEX REPLACE "/MD" "/MT" ${flag_var} "${${flag_var}}")
48 string(REGEX REPLACE "/MDd" "/MTd" ${flag_var} "${${flag_var}}")
62 string(REGEX REPLACE "/MT" "/MD" ${flag_var} "${${flag_var}}")
65 string(REGEX REPLACE "/MTd" "/MDd" ${flag_var} "${${flag_var}}")
/external/dbus/cmake/modules/
DMacrosAutotools.cmake17 …string (REGEX REPLACE ".*${prefix}_major_version], .([0-9]+).*" "\\1" ${prefix_upper}_MAJOR_VERSIO…
18 …string (REGEX REPLACE ".*${prefix}_minor_version], .([0-9]+).*" "\\1" ${prefix_upper}_MINOR_VERSIO…
19 …string (REGEX REPLACE ".*${prefix}_micro_version], .([0-9]+).*" "\\1" ${prefix_upper}_MICRO_VERSIO…
33 STRING(REGEX REPLACE ";" "\\\\;" contents "${contents}")
34 STRING(REGEX REPLACE "\n" ";" contents "${contents}")
DMacros.cmake5 string(REGEX REPLACE "(..)[/.](..)[/.](....).*" "\\3\\2\\1" DATE ${DATE})
7 string(REGEX REPLACE "(..):(..)" "\\1\\2" TIME ${TIME})
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DUriPatternType.java27 SERVLET, REGEX; enumConstant
33 case REGEX: in get()
145 return UriPatternType.REGEX; in getPatternType()
/external/libjpeg-turbo/simd/
DCMakeLists.txt52 string(REGEX REPLACE "jccolor" "jccolext" DEPFILE ${DEPFILE})
57 string(REGEX REPLACE "jcgray" "jcgryext" DEPFILE ${DEPFILE})
62 string(REGEX REPLACE "jdcolor" "jdcolext" DEPFILE ${DEPFILE})
67 string(REGEX REPLACE "jdmerge" "jdmrgext" DEPFILE ${DEPFILE})
/external/parameter-framework/upstream/
DSetVersion.cmake53 set(REGEX "tag: (v[0-9.]+)") variable
54 if(PF_VERSION_FILE_CONTENT MATCHES ${REGEX})
64 set(REGEX "([0-9]+).([0-9]+).([0-9]+).([0-9]+)(-(g[0-9a-f]+)?)?(-(dirty)?)?") variable
65 if(PF_VERSION MATCHES ${REGEX})
/external/llvm/cmake/modules/
DChooseMSVCCRT.cmake25 string(REGEX REPLACE "^\\|" "" ${regex} "${${regex}}")
31 string(REGEX MATCH "${${regex}}" ${crt_current} "${${flagsvar}}")
39 string(REGEX MATCH "${${regex}}" current_flag "${${flagsvar}}")
43 string(REGEX REPLACE "${${regex}}" "${${flag}}" ${flagsvar} "${${flagsvar}}")

12345