Home
last modified time | relevance | path

Searched refs:g_str_equal (Results 1 – 25 of 56) sorted by relevance

123

/external/webkit/WebKit/gtk/tests/
Dtestmimehandling.c48 if (g_str_equal(path, "/pdf")) { in server_callback()
57 } else if (g_str_equal(path, "/html")) { in server_callback()
66 } else if (g_str_equal(path, "/text")) { in server_callback()
77 } else if (g_str_equal(path, "/ogg")) { in server_callback()
104 if (g_str_equal(type, "pdf")) { in mime_type_policy_decision_requested_cb()
107 } else if (g_str_equal(type, "html")) { in mime_type_policy_decision_requested_cb()
110 } else if (g_str_equal(type, "text")) { in mime_type_policy_decision_requested_cb()
125 } else if (g_str_equal(type, "ogg")) { in mime_type_policy_decision_requested_cb()
190 g_assert(!g_str_equal(getcwd(path_name, PATH_MAX), "/")); in main()
Dtestwebview.c49 if (g_str_equal(path, "/favicon.ico")) { in server_callback()
58 } else if (g_str_equal(path, "/bigdiv.html")) { in server_callback()
61 } else if (g_str_equal(path, "/iframe.html")) { in server_callback()
241 g_assert(!g_str_equal(getcwd(path_name, PATH_MAX), "/")); in main()
Dtestwebresource.c57 if (g_str_equal (path, "/")) { in server_callback()
62 } else if (g_str_equal (path, "/index.html")) { in server_callback()
67 } else if (g_str_equal (path, "/main.html")) { in server_callback()
72 } else if (g_str_equal (path, "/javascript.js")) { in server_callback()
Dtestloading.c47 if (g_str_equal(path, "/test_loading_status") || g_str_equal(path, "/test_loading_status2")) in server_callback()
49 else if (g_str_equal(path, "/test_load_error")) { in server_callback()
51 } else if (g_str_equal(path, "/test_loading_cancelled")) { in server_callback()
/external/bluetooth/bluez/audio/
Dtelephony-ofono.c118 if (g_str_equal(vc->obj_path, path)) in find_vc()
443 if (g_str_equal(property, "Status")) { in handle_registration_property()
446 if (g_str_equal(status, "registered")) { in handle_registration_property()
452 } else if (g_str_equal(status, "roaming")) { in handle_registration_property()
465 } else if (g_str_equal(property, "Operator")) { in handle_registration_property()
470 } else if (g_str_equal(property, "SignalStrength")) { in handle_registration_property()
698 if (g_str_equal(property, "LineIdentification")) { in vc_getproperties_reply()
702 } else if (g_str_equal(property, "State")) { in vc_getproperties_reply()
706 if (g_str_equal(state, "incoming")) in vc_getproperties_reply()
708 else if (g_str_equal(state, "dialing")) in vc_getproperties_reply()
[all …]
Dmanager.c1067 if (g_str_equal(list[i], "Headset")) in audio_manager_init()
1069 else if (g_str_equal(list[i], "Gateway")) in audio_manager_init()
1071 else if (g_str_equal(list[i], "Sink")) in audio_manager_init()
1073 else if (g_str_equal(list[i], "Source")) in audio_manager_init()
1075 else if (g_str_equal(list[i], "Control")) in audio_manager_init()
1083 if (g_str_equal(list[i], "Headset")) in audio_manager_init()
1085 else if (g_str_equal(list[i], "Gateway")) in audio_manager_init()
1087 else if (g_str_equal(list[i], "Sink")) in audio_manager_init()
1089 else if (g_str_equal(list[i], "Source")) in audio_manager_init()
1091 else if (g_str_equal(list[i], "Control")) in audio_manager_init()
Dtelephony-maemo6.c225 if (g_str_equal(call->object_path, path)) in find_call()
1400 if (g_str_equal(name, "battery.charge_level.last_full")) in handle_hal_property_modified()
1402 else if (g_str_equal(name, "battery.charge_level.current")) in handle_hal_property_modified()
1404 else if (g_str_equal(name, "battery.charge_level.design")) in handle_hal_property_modified()
1756 if (g_str_equal(callerid_setting, "allowed")) in get_callflag()
1758 else if (g_str_equal(callerid_setting, "restricted")) in get_callflag()
1819 if (g_str_equal(callerid_setting, "allowed") || in set_callerid()
1820 g_str_equal(callerid_setting, "restricted") || in set_callerid()
1821 g_str_equal(callerid_setting, "none")) { in set_callerid()
1865 if (g_str_equal(state, "cmt_ready") || g_str_equal(state, "online")) in handle_modem_state()
Dtelephony-maemo5.c265 if (g_str_equal(call->object_path, path)) in find_call()
1504 if (g_str_equal(name, "battery.charge_level.last_full")) in handle_hal_property_modified()
1506 else if (g_str_equal(name, "battery.charge_level.current")) in handle_hal_property_modified()
1508 else if (g_str_equal(name, "battery.charge_level.design")) in handle_hal_property_modified()
1892 if (g_str_equal(callerid_setting, "allowed")) in get_callflag()
1894 else if (g_str_equal(callerid_setting, "restricted")) in get_callflag()
1955 if (g_str_equal(callerid_setting, "allowed") || in set_callerid()
1956 g_str_equal(callerid_setting, "restricted") || in set_callerid()
1957 g_str_equal(callerid_setting, "none")) { in set_callerid()
1991 if (g_str_equal(state, "cmt_ready") || g_str_equal(state, "online")) in handle_modem_state()
Dtelephony.h201 if (g_str_equal(indicators[i].desc, desc)) { in telephony_update_indicator()
228 if (g_str_equal(indicators[i].desc, desc)) in telephony_get_indicator()
Dunix.c1358 else if (!g_str_equal(client->interface, AUDIO_HEADSET_INTERFACE) && in handle_sco_open()
1359 !g_str_equal(client->interface, AUDIO_GATEWAY_INTERFACE)) in handle_sco_open()
1377 else if (!g_str_equal(client->interface, AUDIO_SINK_INTERFACE) && in handle_a2dp_open()
1378 !g_str_equal(client->interface, AUDIO_SOURCE_INTERFACE)) in handle_a2dp_open()
1455 } else if (!g_str_equal(client->interface, AUDIO_HEADSET_INTERFACE) && in handle_sco_transport()
1456 !g_str_equal(client->interface, AUDIO_GATEWAY_INTERFACE)) in handle_sco_transport()
1472 else if (!g_str_equal(client->interface, AUDIO_SINK_INTERFACE) && in handle_a2dp_transport()
1473 !g_str_equal(client->interface, AUDIO_SOURCE_INTERFACE)) in handle_a2dp_transport()
/external/bluetooth/bluez/plugins/
Dhal.c65 if (g_str_equal(formfactor, "laptop") == TRUE) in formfactor_reply()
67 else if (g_str_equal(formfactor, "desktop") == TRUE) in formfactor_reply()
69 else if (g_str_equal(formfactor, "server") == TRUE) in formfactor_reply()
71 else if (g_str_equal(formfactor, "handheld") == TRUE) in formfactor_reply()
/external/bluetooth/bluez/src/
Dagent.c267 if ((g_str_equal(DBUS_ERROR_UNKNOWN_METHOD, err.name) || in simple_agent_reply()
268 g_str_equal(DBUS_ERROR_NO_REPLY, err.name)) && in simple_agent_reply()
438 if ((g_str_equal(DBUS_ERROR_UNKNOWN_METHOD, err.name) || in pincode_reply()
439 g_str_equal(DBUS_ERROR_NO_REPLY, err.name)) && in pincode_reply()
610 if ((g_str_equal(DBUS_ERROR_UNKNOWN_METHOD, err.name) || in passkey_reply()
611 g_str_equal(DBUS_ERROR_NO_REPLY, err.name)) && in passkey_reply()
716 if ((g_str_equal(DBUS_ERROR_UNKNOWN_METHOD, err.name) || in oob_data_reply()
717 g_str_equal(DBUS_ERROR_NO_REPLY, err.name)) && in oob_data_reply()
997 if (g_str_equal(agent->name, name) && g_str_equal(agent->path, path)) in agent_matches()
Dplugin.c65 if (g_str_equal(desc->version, VERSION) == FALSE) { in add_plugin()
96 if (g_str_equal(name, list[i])) in is_disabled()
101 equal = g_str_equal(str, name); in is_disabled()
Dadapter.c628 if (g_str_equal(req->owner, sender)) in find_session()
1402 if (g_str_equal("Name", property)) { in set_property()
1410 } else if (g_str_equal("Powered", property)) { in set_property()
1419 } else if (g_str_equal("Discoverable", property)) { in set_property()
1428 } else if (g_str_equal("DiscoverableTimeout", property)) { in set_property()
1437 } else if (g_str_equal("Pairable", property)) { in set_property()
1446 } else if (g_str_equal("PairableTimeout", property)) { in set_property()
1620 if (g_str_equal(capability, "")) in parse_io_capability()
1622 if (g_str_equal(capability, "DisplayOnly")) in parse_io_capability()
1624 if (g_str_equal(capability, "DisplayYesNo")) in parse_io_capability()
[all …]
Ddevice.c370 if ((device->alias == NULL && g_str_equal(alias, "")) || in set_alias()
380 g_str_equal(alias, "") ? NULL : alias); in set_alias()
387 device->alias = g_str_equal(alias, "") ? NULL : g_strdup(alias); in set_alias()
598 if (g_str_equal("Trusted", property)) { in set_property()
605 } else if (g_str_equal("Alias", property)) { in set_property()
613 } else if (g_str_equal("Blocked", property)) { in set_property()
774 if (!requestor || !g_str_equal(requestor, sender)) in cancel_discover()
2222 return g_str_equal(sender, dbus_message_get_sender(msg)); in device_is_creating()
2235 return g_str_equal(sender, dbus_message_get_sender(bonding->msg)); in device_is_bonding()
/external/webkit/WebCore/platform/graphics/gtk/
DMediaPlayerPrivateGStreamer.cpp1056 if (g_str_equal(name, "video/x-h264") in mimeTypeCache()
1057 || g_str_equal(name, "audio/x-m4a")) { in mimeTypeCache()
1063 if (g_str_equal(name, "video/x-theora")) { in mimeTypeCache()
1068 if (g_str_equal(name, "audio/x-vorbis")) { in mimeTypeCache()
1073 if (g_str_equal(name, "audio/x-wav")) { in mimeTypeCache()
1078 if (g_str_equal(name, "audio/mpeg")) { in mimeTypeCache()
1109 if (g_str_equal(mimetype[0], "audio") in mimeTypeCache()
1110 || g_str_equal(mimetype[0], "video") in mimeTypeCache()
1111 || (g_str_equal(mimetype[0], "application") in mimeTypeCache()
DFontPlatformDataPango.cpp176 m_hashTable = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_object_unref); in init()
/external/bluetooth/bluez/gdbus/
Dwatch.c86 g_str_equal(sender, data->sender) == FALSE) in filter_data_find()
90 g_str_equal(path, data->path) == FALSE) in filter_data_find()
94 g_str_equal(interface, data->interface) == FALSE) in filter_data_find()
98 g_str_equal(member, data->member) == FALSE) in filter_data_find()
102 g_str_equal(argument, data->argument) == FALSE) in filter_data_find()
/external/bluetooth/glib/tests/
Dtestglib.c1453 g_assert (g_str_equal(string, "abc")); in various_string_tests()
1457 g_assert (g_str_equal(string, "abcd")); in various_string_tests()
1461 g_assert (g_str_equal(string, "abcd")); in various_string_tests()
1465 g_assert (g_str_equal(string, "abcd")); in various_string_tests()
1473 g_assert (g_str_equal(string, "123")); in various_string_tests()
1476 g_assert (g_str_equal(string, "123")); in various_string_tests()
1478 g_assert (g_str_equal(string, "1234")); in various_string_tests()
1481 g_assert (g_str_equal(string, "1234")); in various_string_tests()
1490 g_assert (g_str_equal(string, "hi")); in various_string_tests()
1492 g_assert (g_str_equal(string, "hit")); in various_string_tests()
/external/webkit/WebKitTools/DumpRenderTree/gtk/
DLayoutTestControllerGtk.cpp69 keyTable = g_hash_table_new(g_str_hash, g_str_equal); in copyWebSettingKey()
521 g_str_equal(lowered, "true") in overridePreference()
522 || g_str_equal(strValue, "1"), in overridePreference()
/external/bluetooth/glib/glib/
Dghash.h125 gboolean g_str_equal (gconstpointer v1,
/external/bluetooth/glib/gio/
Dgfileinfo.c153 ns_hash = g_hash_table_new (g_str_hash, g_str_equal); in lookup_namespace()
154 attribute_hash = g_hash_table_new (g_str_hash, g_str_equal); in lookup_namespace()
188 ns_hash = g_hash_table_new (g_str_hash, g_str_equal); in lookup_attribute()
189 attribute_hash = g_hash_table_new (g_str_hash, g_str_equal); in lookup_attribute()
Dgdesktopappinfo.c2058 apps = g_hash_table_new_full (g_str_hash, g_str_equal, in g_app_info_get_all()
2184 dir->mime_info_cache_map = g_hash_table_new_full (g_str_hash, g_str_equal, in mime_info_cache_dir_init()
2272 dir->defaults_list_map = g_hash_table_new_full (g_str_hash, g_str_equal, in mime_info_cache_dir_init_defaults_list()
2352 dir->mimeapps_list_added_map = g_hash_table_new_full (g_str_hash, g_str_equal, in mime_info_cache_dir_init_mimeapps_list()
2357 dir->mimeapps_list_removed_map = g_hash_table_new_full (g_str_hash, g_str_equal, in mime_info_cache_dir_init_mimeapps_list()
2586 cache->global_defaults_cache = g_hash_table_new_full (g_str_hash, g_str_equal, in mime_info_cache_new()
Dgcontenttype.c222 _type_icons = g_hash_table_new (g_str_hash, g_str_equal); in g_content_type_get_icon()
701 type_comment_cache = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free); in g_content_type_get_description()
1067 mimetypes = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL); in g_content_types_get_registered()
/external/webkit/WebKit/gtk/webkit/
Dwebkitsecurityorigin.cpp217 priv->webDatabases = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_object_unref); in webkit_security_origin_init()

123