Changeset 85154 in vbox
- Timestamp:
- Jul 9, 2020 5:22:51 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
-
include/iprt/mangling.h (modified) (1 diff)
-
include/iprt/string.h (modified) (1 diff)
-
src/VBox/Runtime/Makefile.kmk (modified) (1 diff)
-
src/VBox/Runtime/common/string/RTStrSplit.cpp (added)
-
src/VBox/Runtime/testcase/Makefile.kmk (modified) (2 diffs)
-
src/VBox/Runtime/testcase/tstRTStrSplit.cpp (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/mangling.h
r84379 r85154 2167 2167 # define RTStrMemFind64 RT_MANGLER(RTStrMemFind64) 2168 2168 # define RTStrMemFind64_EndProc RT_MANGLER(RTStrMemFind64_EndProc) 2169 # define RTStrSplit RT_MANGLER(RTStrSplit) 2169 2170 # define RTStrmClearError RT_MANGLER(RTStrmClearError) 2170 2171 # define RTStrmClose RT_MANGLER(RTStrmClose) -
trunk/include/iprt/string.h
r85121 r85154 2515 2515 2516 2516 /** 2517 * Splits a string buffer with a given separator into separate strings. 2518 * If no separators are found, no strings are returned. Consequtive separators will be skipped. 2519 * 2520 * @returns iprt status code. 2521 * @param pcszStrings String buffer to split. 2522 * @param cbStrings Size (in bytes) of string buffer to split, including terminator. 2523 * @param pcszSeparator Separator to use / find for splitting strings. 2524 * @param ppapszStrings Where to return the allocated string array on success. Needs to be free'd by the caller. 2525 * @param pcStrings Where to return the number of split strings in \a ppapszStrings. 2526 */ 2527 RTDECL(int) RTStrSplit(const char *pcszStrings, size_t cbStrings, 2528 const char *pcszSeparator, char ***ppapszStrings, size_t *pcStrings); 2529 2530 /** 2517 2531 * Locates a case sensitive substring. 2518 2532 * -
trunk/src/VBox/Runtime/Makefile.kmk
r85041 r85154 594 594 common/string/RTStrICmpAscii.cpp \ 595 595 common/string/RTStrNICmpAscii.cpp \ 596 common/string/RTStrSplit.cpp \ 596 597 common/string/RTStrStr.cpp \ 597 598 common/string/RTUtf16Copy.cpp \ -
trunk/src/VBox/Runtime/testcase/Makefile.kmk
r84540 r85154 122 122 tstRTStrCatCopy \ 123 123 tstRTStrFormat \ 124 tstRTStrSplit \ 124 125 tstStrSimplePattern \ 125 126 tstStrToNum \ … … 642 643 tstRTStrFormat_SOURCES = tstRTStrFormat.cpp 643 644 645 tstRTStrSplit_TEMPLATE = VBOXR3TSTEXE 646 tstRTStrSplit_SOURCES = tstRTStrSplit.cpp 647 644 648 tstStrSimplePattern_TEMPLATE = VBOXR3TSTEXE 645 649 tstStrSimplePattern_SOURCES = tstStrSimplePattern.cpp
Note:
See TracChangeset
for help on using the changeset viewer.

