Home | History | Annotate | Download | only in src

Lines Matching refs:type_string

43 // Converts |type_string| into GVariantClass.
44 GVariantClass GetGVariantClassFromStringOrDie(const std::string& type_string) {
45 if (type_string == "boolean") {
47 } else if (type_string == "int") {
49 } else if (type_string == "double") {
51 } else if (type_string == "string") {
53 } else if (GetElementType(type_string) != type_string) {
56 printf("FAIL (unknown type: %s)\n", type_string.c_str());
70 // dummy value by |type_string|. "boolean", "int", "double", or "string" are
73 IBusConfig* ibus_config, const std::string& type_string) {
75 GVariantClass klass = GetGVariantClassFromStringOrDie(type_string);
92 = GetGVariantClassFromStringOrDie(GetElementType(type_string));
151 // dummy value is |type_string| type.
153 IBusConfig* ibus_config, const std::string& type_string) {