Lines Matching refs:SkString
116 static SkString helpString; in config_help_fn()
186 static SkString helpString; in config_extended_help_fn()
196 SkCommandLineConfig::SkCommandLineConfig(const SkString& tag, const SkString& backend, in SkCommandLineConfig()
197 const SkTArray<SkString>& viaParts) in SkCommandLineConfig()
205 static bool parse_option_int(const SkString& value, int* outInt) { in parse_option_int()
217 static bool parse_option_bool(const SkString& value, bool* outBool) { in parse_option_bool()
228 static bool parse_option_gpu_api(const SkString& value, in parse_option_gpu_api()
285 static bool parse_option_gpu_color(const SkString& value, in parse_option_gpu_color()
332 static bool parse_option_gpu_surf_type(const SkString& value, in parse_option_gpu_surf_type()
353 ExtendedOptions(const SkString& optionsString, bool* outParseSucceeded) { in ExtendedOptions()
354 SkTArray<SkString> optionParts; in ExtendedOptions()
357 SkTArray<SkString> keyValueParts; in ExtendedOptions()
363 const SkString& key = keyValueParts[0]; in ExtendedOptions()
364 const SkString& value = keyValueParts[1]; in ExtendedOptions()
381 SkString* optionValue = fOptionsMap.find(SkString(optionKey)); in get_option_gpu_color()
391 SkString* optionValue = fOptionsMap.find(SkString(optionKey)); in get_option_gpu_api()
401 SkString* optionValue = fOptionsMap.find(SkString(optionKey)); in get_option_gpu_surf_type()
409 SkString* optionValue = fOptionsMap.find(SkString(optionKey)); in get_option_int()
417 SkString* optionValue = fOptionsMap.find(SkString(optionKey)); in get_option_bool()
425 SkTHashMap<SkString, SkString> fOptionsMap;
429 const SkString& tag, const SkTArray<SkString>& viaParts, ContextType contextType, in SkCommandLineConfigGpu()
433 : SkCommandLineConfig(tag, SkString("gpu"), viaParts) in SkCommandLineConfigGpu()
456 SkCommandLineConfigGpu* parse_command_line_config_gpu(const SkString& tag, in parse_command_line_config_gpu()
457 const SkTArray<SkString>& vias, in parse_command_line_config_gpu()
458 const SkString& options) { in parse_command_line_config_gpu()
499 SkCommandLineConfigSvg::SkCommandLineConfigSvg(const SkString& tag, in SkCommandLineConfigSvg()
500 const SkTArray<SkString>& viaParts, int pageIndex) in SkCommandLineConfigSvg()
501 : SkCommandLineConfig(tag, SkString("svg"), viaParts), fPageIndex(pageIndex) {} in SkCommandLineConfigSvg()
503 SkCommandLineConfigSvg* parse_command_line_config_svg(const SkString& tag, in parse_command_line_config_svg()
504 const SkTArray<SkString>& vias, in parse_command_line_config_svg()
505 const SkString& options) { in parse_command_line_config_svg()
528 SkString extendedBackend; in ParseConfigs()
529 SkString extendedOptions; in ParseConfigs()
530 SkString simpleBackend; in ParseConfigs()
531 SkTArray<SkString> vias; in ParseConfigs()
533 SkString tag(configs[i]); in ParseConfigs()
534 SkTArray<SkString> parts; in ParseConfigs()
537 SkTArray<SkString> parts2; in ParseConfigs()