Lines Matching refs:string

184 #   - the empty string '', signifying that it should be returned as a list
185 # - _as_string signifying that it should be returned as a string
240 string(REPLACE ";" "$<SEMICOLON>" genexp_output_list "${output_list}")
258 string(REPLACE ";" "$<SEMICOLON>" genexp_output_list "${output_list}")
271 string(REPLACE ";" "$<SEMICOLON>" genexp_output_list "${output_list}")
284 string(REPLACE ";" "$<SEMICOLON>" genexp_output_list "${output_list}")
353 string(REGEX MATCH "(\\\$<)[^\\\$]*(\\\$<)[^\\\$]*(\\\$<)" IGNORE_RESULT ${flag})
356 string(REGEX REPLACE "\\\$<COMPILE_LANGUAGE:${l}>" "1" updated_flag ${flag})
368 string(REPLACE "," "$<COMMA>" flag "${flag}")
378 # Convert the list to a string so we can do string replace
381 string(REPLACE ";" " " locally_scoped_string_of_flags "${${ptr_list_of_flags}}")
445 string(REGEX REPLACE "/" "__" name ${name})
448 string(REGEX REPLACE ":" "__" name ${name})
542 string(MD5 uniqueness "${ARGV}")
556 string(MAKE_C_IDENTIFIER check${option} check)
832 string(MAKE_C_IDENTIFIER ${runner} runner_id)
862 string(MAKE_C_IDENTIFIER ${runner} runner_id)
887 string(MAKE_C_IDENTIFIER ${emu} emu_id)
900 string(MAKE_C_IDENTIFIER ${emu} emu_id)
985 string(TOUPPER ${BOARD_REV_FORMAT} BOARD_REV_FORMAT)
1049 string(REPLACE "." "_" underscore_revision_regex ${revision_regex})
1053 string(REPLACE "_" "." FOUND_BOARD_REVISION ${CMAKE_MATCH_1})
1152 string(MD5 key "${key_string}")
1172 string(REPLACE "-Wno-" "-W" possibly_translated_option "${option}")
1197 string(RANDOM LENGTH 8 tempsuffix)
1411 string(REPLACE ";" "\n;" lines "${lines}") # Add newline to each line.
1420 string(REPLACE ";" "\n;" lines "${lines}") # Add newline to each line.
1499 string(GENEX_STRIP "${CODE_REL_FILES}" no_genex)
1590 # Function to create a build string based on BOARD, BOARD_REVISION, and
1595 # A single string is returned containing the full build string constructed from
1599 # build string as first item in the list.
1601 # - Normalized board target build string, this includes qualifiers and revision
1602 # - Build string with board variants removed in addition
1603 # - Build string with cpuset removed in addition
1604 # - Build string with soc removed in addition
1606 # If REVISION is supplied or obtained as system wide setting a build string
1607 # with the sanitized revision string will be added in addition to the
1623 # <out-variable>: Output variable where the build string will be returned.
1624 # SHORT <out-variable>: Output variable where the shortened build string will be returned.
1625 # BOARD <board>: Board name to use when creating the build string.
1626 # BOARD_REVISION <revision>: Board revision to use when creating the build string.
1627 # MERGE: Return a list of build strings instead of a single build string.
1633 # will return the string `alpha` in `build_string` parameter.
1637 # will return the string `alpha_1_0_0` in `build_string` parameter.
1641 # will return the string `alpha_soc_bar` in `build_string` parameter.
1656 # will return the string `soc_bar_foo` in `build_string` parameter.
1691 string(REPLACE "/" ";" str_segment_list "${BUILD_STR_BOARD_QUALIFIERS}")
1692 string(REPLACE "." "_" revision_string "${BUILD_STR_BOARD_REVISION}")
1694 string(JOIN "_" ${outvar} ${BUILD_STR_BOARD} ${str_segment_list} ${revision_string})
1697 string(JOIN "_" variant_string ${BUILD_STR_BOARD} ${str_segment_list})
1710 string(REGEX REPLACE "^/[^/]*(.*)" "\\1" shortened_qualifiers "${BOARD_QUALIFIERS}")
1711 string(REPLACE "/" ";" str_short_segment_list "${shortened_qualifiers}")
1712 string(JOIN "_" ${BUILD_STR_SHORT}
1716 string(JOIN "_" variant_string ${BUILD_STR_BOARD} ${str_short_segment_list})
1823 string(REPLACE "\n" ";" BLOBS_LIST ${BLOBS_LIST_OUTPUT})
1925 # For string values, we also remove the surrounding quotation marks.
2312 string(MAKE_C_IDENTIFIER
2374 string(JOIN "" check_identifier "check" ${option})
2375 string(MAKE_C_IDENTIFIER ${check_identifier} check)
2378 string(JOIN " " CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS} ${option})
2411 string(REPLACE "\;" ";" input_as_list ${input})
2415 string(REGEX REPLACE "([^ ])[ ]([^ ])" "\\1;\\2" input_as_list "${input_as_list}")
2422 string(STRIP "${file}" file)
2497 string(MAKE_C_IDENTIFIER check${option} check)
2566 string(REGEX REPLACE "^SHELL:" "" option ${option})
2635 string(REPLACE "." "_" x ${basename})
2636 string(REPLACE "@" "_" x ${x})
2638 string(MD5 unique_chars ${filename})
3036 # Zephyr string function extension.
3037 # This function extends the CMake string function by providing additional
3038 # manipulation arguments to CMake string.
3040 # ESCAPE: Ensure that any single '\', except '\"', in the input string is
3041 # escaped with the escape char '\'. For example the string 'foo\bar'
3048 # string instead of a newline.
3050 # SANITIZE: Ensure that the output string does not contain any special
3054 # SANITIZE TOUPPER: Ensure that the output string does not contain any special
3057 # The sanitized string will be returned in UPPER case.
3059 # returns the updated string
3076 string(REGEX REPLACE "[^a-zA-Z0-9_]" "_" work_string ${work_string})
3080 string(TOUPPER ${work_string} work_string)
3086 # which then becomes a single '\' in the final string.
3087string(REGEX REPLACE "([^\\][\\])([^\\\"])" "\\1\\\\\\2" work_string "${ZEPHYR_STRING_UNPARSED_ARG…
3134 string(CONFIGURE "${input}" input_expanded)
3135 string(REPLACE " " ";" input_raw_list "${input_expanded}")
3147 # Internal function for construction of scoped variable name expansion string.
3265 string(CONFIGURE "${expansion_var}" scope_value)
3446 string(TOLOWER ${variable} variable_text)
3447 string(REPLACE "_" " " variable_text ${variable_text})
3736 string(GENEX_STRIP "${arg_list}" arg_list_no_genexes)
4018 # devicetree binding types: string, int, boolean, array, uint8-array,
4019 # string-array, path.
4022 # string-array), the entire array is returned as a CMake list unless
4438 string(FIND "${path}" "/" slash_index)
4441 # If the string starts with a slash, it should be an existing
4450 string(SUBSTRING "${path}" 0 "${slash_index}" alias_name)
4453 # If there is a leading alias, append the rest of the string
4458 string(SUBSTRING "${path}" "${slash_index}" -1 rest)
4733 string(REPLACE ";" "\;" MEMORY "${MEMORY}")
4987 string(REPLACE ";" "\;" GROUP "${GROUP}")
5115 string(REPLACE ";" "\;" SECTION "${SECTION}")
5354 string(REPLACE ";" "\;" SECTION "${SECTION}")
5390 string(REPLACE ";" "\;" SYMBOL "${SYMBOL}")