Lines Matching defs:const

28 static const char defaultConfigs[] = "8888 " DEFAULT_GPU_CONFIG
38 static const struct {
39 const char* predefinedConfig;
40 const char* backend;
41 const char* options;
148 static const char configHelp[] =
152 static const char* config_help_fn() {
155 for (const auto& config : gPredefinedConfigs) {
162 static const char configExtendedHelp[] =
220 static const char* config_extended_help_fn() {
223 for (const auto& config : gPredefinedConfigs) {
231 SkCommandLineConfig::SkCommandLineConfig(const SkString& tag,
232 const SkString& backend,
233 const SkTArray<SkString>& viaParts)
247 for (const SkString& via : viaParts) {
259 static bool parse_option_int(const SkString& value, int* outInt) {
271 static bool parse_option_bool(const SkString& value, bool* outBool) {
282 static bool parse_option_gpu_api(const SkString& value,
358 static bool parse_option_gpu_color(const SkString& value,
389 static bool parse_option_gpu_surf_type(const SkString& value,
410 ExtendedOptions(const SkString& optionsString, bool* outParseSucceeded) {
420 const SkString& key = keyValueParts[0];
421 const SkString& value = keyValueParts[1];
433 bool get_option_gpu_color(const char* optionKey,
436 bool optional = true) const {
444 bool get_option_gpu_api(const char* optionKey,
447 bool optional = true) const {
456 bool get_option_graphite_api(const char* optionKey,
457 SkCommandLineConfigGraphite::ContextType* outContextType) const {
486 bool get_option_gpu_surf_type(const char* optionKey,
488 bool optional = true) const {
496 bool get_option_int(const char* optionKey, int* outInt, bool optional = true) const {
504 bool get_option_bool(const char* optionKey, bool* outBool, bool optional = true) const {
516 SkCommandLineConfigGpu::SkCommandLineConfigGpu(const SkString& tag,
517 const SkTArray<SkString>& viaParts,
557 SkCommandLineConfigGpu* parse_command_line_config_gpu(const SkString& tag,
558 const SkTArray<SkString>& vias,
559 const SkString& options) {
631 SkCommandLineConfigGraphite* parse_command_line_config_graphite(const SkString& tag,
632 const SkTArray<SkString>& vias,
633 const SkString& options) {
664 SkCommandLineConfigSvg::SkCommandLineConfigSvg(const SkString& tag,
665 const SkTArray<SkString>& viaParts,
669 SkCommandLineConfigSvg* parse_command_line_config_svg(const SkString& tag,
670 const SkTArray<SkString>& vias,
671 const SkString& options) {
690 void ParseConfigs(const CommandLineFlags::StringArray& configs,