Lines Matching refs:str
74 const char* str =
78 CHECK_EQ(0, FlagList::SetFlagsFromString(str, StrLength(str)));
106 const char* str =
110 CHECK_EQ(0, FlagList::SetFlagsFromString(str, StrLength(str)));
131 const char* str = "--testing_bool_flag --foo";
132 CHECK_EQ(2, FlagList::SetFlagsFromString(str, StrLength(str)));
149 const char* str = " --testing_int_flag=\"foobar\"";
150 CHECK_EQ(1, FlagList::SetFlagsFromString(str, StrLength(str)));
168 const char* str = " --testing-int-flag 0 --testing_float_flag ";
169 CHECK_EQ(3, FlagList::SetFlagsFromString(str, StrLength(str)));
193 const char* str = "--testing-int-flag 42 -- testing-float-flag 7";
194 CHECK_EQ(0, FlagList::SetFlagsFromString(str, StrLength(str)));
205 const char* str = "--testing-int-flag 42 --js-arguments testing-float-flag 7";
206 CHECK_EQ(0, FlagList::SetFlagsFromString(str, StrLength(str)));
217 const char* str = "--testing-int-flag 42 --js-arguments=testing-float-flag 7";
218 CHECK_EQ(0, FlagList::SetFlagsFromString(str, StrLength(str)));
229 const char* str = "--testing-int-flag 42 --";
230 CHECK_EQ(0, FlagList::SetFlagsFromString(str, StrLength(str)));