Lines Matching refs:ibus_config
61 void UnsetConfigAndPrintResult(IBusConfig* ibus_config) { in UnsetConfigAndPrintResult() argument
62 if (ibus_config_unset(ibus_config, kDummySection, kDummyConfigName)) { in UnsetConfigAndPrintResult()
73 IBusConfig* ibus_config, const std::string& type_string) { in SetConfigAndPrintResult() argument
143 ibus_config, kDummySection, kDummyConfigName, variant)) { in SetConfigAndPrintResult()
153 IBusConfig* ibus_config, const std::string& type_string) { in GetConfigAndPrintResult() argument
155 ibus_config, kDummySection, kDummyConfigName); in GetConfigAndPrintResult()
272 void PrintUnused(IBusConfig* ibus_config) { in PrintUnused() argument
275 if (!ibus_config_get_unused(ibus_config, &unread, &unwritten)) { in PrintUnused()
317 void PreloadEnginesAndPrintResult(IBusConfig* ibus_config, int num_engines, in PreloadEnginesAndPrintResult() argument
327 if (ibus_config_set_value(ibus_config, kGeneralSectionName, in PreloadEnginesAndPrintResult()
417 IBusConfig* ibus_config = ibus_config_new(ibus_connection, NULL, NULL); in main() local
418 assert(ibus_config); in main()
429 SetConfigAndPrintResult(ibus_config, argv[2]); in main()
435 GetConfigAndPrintResult(ibus_config, argv[2]); in main()
437 UnsetConfigAndPrintResult(ibus_config); in main()
439 PrintUnused(ibus_config); in main()
445 PreloadEnginesAndPrintResult(ibus_config, argc-2, &(argv[2])); in main()