Searched defs:offPattern (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/Runtime/testcase/
H A DtstStrSimplePattern.cpp94 size_t offPattern; local
96 CHECK_EXPR(RTStrSimplePatternMultiMatch("asdq|a*f|a??t", ~(size_t)0, "asdf", 4, &offPattern));
97 CHECK_EXPR(offPattern == 5);
99 CHECK_EXPR(RTStrSimplePatternMultiMatch("asdq|a??t|a??f", ~(size_t)0, "asdf", 4, &offPattern));
100 CHECK_EXPR(offPattern == 10);
102 CHECK_EXPR(RTStrSimplePatternMultiMatch("a*f|a??t|a??f", ~(size_t)0, "asdf", 4, &offPattern));
103 CHECK_EXPR(offPattern == 0);
105 CHECK_EXPR(!RTStrSimplePatternMultiMatch("asdq|a??y|a??x", ~(size_t)0, "asdf", 4, &offPattern));
106 CHECK_EXPR(offPattern == ~(size_t)0);

Completed in 970 milliseconds