Home
last modified time | relevance | path

Searched refs:g_strdup (Results 1 – 25 of 160) sorted by relevance

1234567

/external/bluetooth/glib/gio/
Dgunixmounts.c388 mount_entry->mount_path = g_strdup (mntent->mnt_dir); in _g_get_unix_mounts()
390 mount_entry->device_path = g_strdup (_resolve_dev_root ()); in _g_get_unix_mounts()
392 mount_entry->device_path = g_strdup (mntent->mnt_fsname); in _g_get_unix_mounts()
393 mount_entry->filesystem_type = g_strdup (mntent->mnt_type); in _g_get_unix_mounts()
464 mount_entry->mount_path = g_strdup (mntent.mnt_mountp); in _g_get_unix_mounts()
465 mount_entry->device_path = g_strdup (mntent.mnt_special); in _g_get_unix_mounts()
466 mount_entry->filesystem_type = g_strdup (mntent.mnt_fstype); in _g_get_unix_mounts()
533 mount_entry->device_path = g_strdup (vmt2dataptr (vmount_info, VMT_OBJECT)); in _g_get_unix_mounts()
534 mount_entry->mount_path = g_strdup (vmt2dataptr (vmount_info, VMT_STUB)); in _g_get_unix_mounts()
541 mount_entry->filesystem_type = g_strdup ("unknown"); in _g_get_unix_mounts()
[all …]
Dgunixvolume.c127 volume->mount_path = g_strdup (g_unix_mount_point_get_mount_path (mountpoint)); in _g_unix_volume_new()
128 volume->device_path = g_strdup (g_unix_mount_point_get_device_path (mountpoint)); in _g_unix_volume_new()
137 volume->identifier_type = g_strdup (G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT); in _g_unix_volume_new()
138 volume->identifier = g_strdup (volume->device_path); in _g_unix_volume_new()
142 volume->identifier_type = g_strdup (G_VOLUME_IDENTIFIER_KIND_LABEL); in _g_unix_volume_new()
143 volume->identifier = g_strdup (volume->device_path + 6); in _g_unix_volume_new()
147 volume->identifier_type = g_strdup (G_VOLUME_IDENTIFIER_KIND_UUID); in _g_unix_volume_new()
148 volume->identifier = g_strdup (volume->device_path + 5); in _g_unix_volume_new()
152 volume->identifier_type = g_strdup (G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE); in _g_unix_volume_new()
153 volume->identifier = g_strdup (volume->device_path); in _g_unix_volume_new()
[all …]
Dgcontenttype.c180 return g_strdup (_("Unknown type")); in g_content_type_get_description()
195 return g_strdup ("application/octet-stream"); in g_content_type_get_mime_type()
200 return g_strdup ("application/octet-stream"); in g_content_type_get_mime_type()
243 g_hash_table_insert (_type_icons, g_strdup (type), g_strdup (name)); in g_content_type_get_icon()
257 g_hash_table_insert (_type_icons, g_strdup (type), g_strdup (name)); in g_content_type_get_icon()
335 type = g_strdup (dot); in g_content_type_guess()
343 return g_strdup (".txt"); in g_content_type_guess()
345 return g_strdup ("*"); in g_content_type_guess()
419 res = g_strdup (xdg_mime_unalias_mime_type (type)); in _g_unix_content_type_unalias()
439 g_ptr_array_add (array, g_strdup (umime)); in _g_unix_content_type_get_parents()
[all …]
Dglocalvfs.c98 stripped_uri = g_strdup (uri); in g_local_vfs_get_file_for_uri()
156 user_prefix = g_strdup (g_get_home_dir ()); in g_local_vfs_parse_name()
169 user_prefix = g_strdup (passwd_file_entry->pw_dir); in g_local_vfs_parse_name()
172 user_prefix = g_strdup (g_get_home_dir ()); in g_local_vfs_parse_name()
188 filename = g_strdup (parse_name); in g_local_vfs_parse_name()
Dgdummyfile.c122 dummy->text_uri = g_strdup (uri); in _g_dummy_file_new()
141 return g_strdup (dummy->text_uri); in g_dummy_file_get_basename()
153 return g_strdup (G_DUMMY_FILE (file)->text_uri); in g_dummy_file_get_uri()
159 return g_strdup (G_DUMMY_FILE (file)->text_uri); in g_dummy_file_get_parse_name()
321 return g_strdup (remainder); in g_dummy_file_get_relative_path()
365 new_decoded_uri.path = g_strdup (relative_path); in g_dummy_file_resolve_relative_path()
404 return g_strdup (dummy->decoded_uri->scheme); in g_dummy_file_get_uri_scheme()
578 decoded->fragment = g_strdup (fragment_start+1); in _g_decode_uri()
582 decoded->query = g_strdup (query_start); in _g_decode_uri()
594 decoded->fragment = g_strdup (fragment_start); in _g_decode_uri()
Dgdesktopappinfo.c324 info->filename = g_strdup (filename); in g_desktop_app_info_new_from_filename()
360 basename = g_strdup (desktop_id); in g_desktop_app_info_new()
394 appinfo->desktop_id = g_strdup (desktop_id); in g_desktop_app_info_new()
413 new_info->filename = g_strdup (info->filename); in g_desktop_app_info_dup()
414 new_info->desktop_id = g_strdup (info->desktop_id); in g_desktop_app_info_dup()
416 new_info->name = g_strdup (info->name); in g_desktop_app_info_dup()
417 new_info->comment = g_strdup (info->comment); in g_desktop_app_info_dup()
419 new_info->icon_name = g_strdup (info->icon_name); in g_desktop_app_info_dup()
424 new_info->try_exec = g_strdup (info->try_exec); in g_desktop_app_info_dup()
425 new_info->exec = g_strdup (info->exec); in g_desktop_app_info_dup()
[all …]
Dgfileattribute.c272 attr->u.string = g_strdup (attr->u.string); in _g_file_attribute_value_set()
374 return g_strdup (str); in escape_byte_string()
418 str = g_strdup (attr->u.string); in _g_file_attribute_value_as_string()
445 str = g_strdup ("<invalid>"); in _g_file_attribute_value_as_string()
626 value->u.string = g_strdup (value_p); in _g_file_attribute_value_set_from_pointer()
679 attr->u.string = g_strdup (string); in _g_file_attribute_value_set_string()
698 attr->u.string = g_strdup (string); in _g_file_attribute_value_set_byte_string()
870 new->public.infos[i].name = g_strdup (list->infos[i].name); in g_file_attribute_info_list_dup()
1004 info.name = g_strdup (name); in g_file_attribute_info_list_add()
Dgthemedicon.c121 icon->names[0] = g_strdup (name); in g_themed_icon_set_property()
168 last = g_strdup (themed->names[0]); in g_themed_icon_constructed()
386 icon->names[num_names] = g_strdup (iconname); in g_themed_icon_append_name()
421 names[0] = g_strdup (iconname); in g_themed_icon_prepend_name()
477 g_strdup (themed_icon->names[n])); in g_themed_icon_to_tokens()
/external/bluetooth/glib/glib/
Dgutils.c477 return g_strdup (program); in inner_find_program_in_path()
517 path = g_strdup (path); in inner_find_program_in_path()
582 ret = g_strdup (startp); in inner_find_program_in_path()
755 return g_strdup ("."); in g_path_get_basename()
764 return g_strdup (G_DIR_SEPARATOR_S); in g_path_get_basename()
769 return g_strdup (G_DIR_SEPARATOR_S); in g_path_get_basename()
922 return g_strdup (drive_colon_dot); in g_path_get_dirname()
925 return g_strdup ("."); in g_path_get_dirname()
1011 dir = g_strdup ("\\"); in g_get_current_dir()
1055 dir = g_strdup (buffer); in g_get_current_dir()
[all …]
/external/webkit/Source/WebKit/gtk/gdom/
DConvertToGCharPrivate.h30 return g_strdup(s.utf8().data()); in copyAsGchar()
40 return g_strdup(s.UTF8String().c_str()); in copyAsGchar()
45 return g_strdup(s.string().utf8().data()); in copyAsGchar()
/external/bluetooth/glib/tests/
Dshell-test.c231 return g_strdup ("error in domain other than G_SHELL_ERROR"); in test_shell_unquote()
239 return g_strdup ("G_SHELL_ERROR_BAD_QUOTING"); in test_shell_unquote()
241 return g_strdup ("G_SHELL_ERROR_EMPTY_STRING"); in test_shell_unquote()
243 return g_strdup ("G_SHELL_ERROR_FAILED"); in test_shell_unquote()
245 return g_strdup ("bad error code in G_SHELL_ERROR domain"); in test_shell_unquote()
/external/bluetooth/bluez/audio/
Dgstsbcutil.c337 *error_message = g_strdup("no rate"); in gst_sbc_util_caps_fixate()
350 *error_message = g_strdup("no channels"); in gst_sbc_util_caps_fixate()
363 *error_message = g_strdup("no blocks."); in gst_sbc_util_caps_fixate()
376 *error_message = g_strdup("no subbands"); in gst_sbc_util_caps_fixate()
389 *error_message = g_strdup("no bitpool"); in gst_sbc_util_caps_fixate()
402 *error_message = g_strdup("no allocation"); in gst_sbc_util_caps_fixate()
414 *error_message = g_strdup("no mode"); in gst_sbc_util_caps_fixate()
/external/bluetooth/glib/tests/gobject/
Daccumulator.c78 result_string = g_strdup (new_string); in test_signal1_accumulator()
92 return g_strdup ("<before>"); in test_object_signal1_callback_before()
99 return g_strdup ("<default>"); in test_object_real_signal1()
107 return g_strdup ("<after>"); in test_object_signal1_callback_after()
/external/webkit/Source/WebCore/bindings/gobject/
DConvertToUTF8String.cpp32 return g_strdup(s.utf8().data()); in convertToUTF8String()
37 return g_strdup(s.string().utf8().data()); in convertToUTF8String()
/external/bluetooth/bluez/cups/
Dmain.c91 ctx_data->id = g_strdup(attribute_values[i] + 2); in element_start()
196 escaped = g_strdelimit(g_strdup(name), "\"", '\''); in print_printer_details()
226 device->name = g_strdup(name); in add_device_to_list()
229 device->id = g_strdup(id); in add_device_to_list()
236 device->bdaddr = g_strdup(bdaddr); in add_device_to_list()
237 device->name = g_strdup(name); in add_device_to_list()
238 device->id = g_strdup(id); in add_device_to_list()
288 *name = g_strdup(value); in parse_device_properties()
290 *bdaddr = g_strdup(value); in parse_device_properties()
578 adapter = g_strdup(adapter); in list_printers()
/external/bluetooth/glib/gobject/
Dgvaluetypes.c275 dest_value->data[0].v_pointer = g_strdup (src_value->data[0].v_pointer); in value_copy_string()
292 value->data[0].v_pointer = g_strdup (collect_values[0].v_pointer); in value_collect_string()
313 *string_p = g_strdup (value->data[0].v_pointer); in value_lcopy_string()
924 new_val = g_strdup (v_string); in g_value_set_string()
1022 return g_strdup (value->data[0].v_pointer); in g_value_dup_string()
1128 contents = g_strdup ("NULL"); in g_strdup_value_contents()
1151 contents = g_strdup (s ? s : "NULL"); in g_strdup_value_contents()
1159 contents = g_strdup ("NULL"); in g_strdup_value_contents()
1169 contents = g_strdup ("???"); in g_strdup_value_contents()
1172 contents = g_strdup ("???"); in g_strdup_value_contents()
/external/bluetooth/glib/gio/inotify/
Dinotify-sub.c38 gchar *d_dirname = g_strdup (dirname); in dup_dirname()
56 sub->filename = g_strdup (filename); in _ih_sub_new()
/external/bluetooth/glib/gmodule/
Dgmodule-beos.c120 name = g_strdup ("unknown"); in _g_module_close()
122 name = g_strdup (info.name); in _g_module_close()
201 return g_strdup (module_name); in _g_module_build_path()
Dgmodule.c145 g_module_set_error_unduped (g_strdup (error)); in g_module_set_error()
263 lt_dlname = g_strdup (scanner->value.v_string); in parse_libtool_archive()
271 lt_libdir = g_strdup (scanner->value.v_string); in parse_libtool_archive()
387 name = g_strdup (file_name); in g_module_open()
420 name = g_strdup (file_name); in g_module_open()
468 saved_error = g_strdup (g_module_error ()); in g_module_open()
472 module->file_name = g_strdup (file_name); in g_module_open()
/external/webkit/Source/WebKit/gtk/webkit/
Dwebkitwebsettings.cpp986 priv->default_encoding = g_strdup(g_value_get_string(value)); in webkit_web_settings_set_property()
990 priv->cursive_font_family = g_strdup(g_value_get_string(value)); in webkit_web_settings_set_property()
994 priv->default_font_family = g_strdup(g_value_get_string(value)); in webkit_web_settings_set_property()
998 priv->fantasy_font_family = g_strdup(g_value_get_string(value)); in webkit_web_settings_set_property()
1002 priv->monospace_font_family = g_strdup(g_value_get_string(value)); in webkit_web_settings_set_property()
1006 priv->sans_serif_font_family = g_strdup(g_value_get_string(value)); in webkit_web_settings_set_property()
1010 priv->serif_font_family = g_strdup(g_value_get_string(value)); in webkit_web_settings_set_property()
1047 priv->user_stylesheet_uri = g_strdup(g_value_get_string(value)); in webkit_web_settings_set_property()
1072 priv->spell_checking_languages = g_strdup(g_value_get_string(value)); in webkit_web_settings_set_property()
1086 priv->user_agent = g_strdup(webkitUserAgent().utf8().data()); in webkit_web_settings_set_property()
[all …]
Dwebkitwebdatabase.cpp275 priv->name = g_strdup(name); in webkit_web_database_set_name()
337 priv->displayName = g_strdup(displayName.utf8().data()); in webkit_web_database_get_display_name()
415 priv->filename = g_strdup(corePath.utf8().data()); in webkit_web_database_get_filename()
476 webkit_database_directory_path = g_strdup(path.utf8().data()); in webkit_get_web_database_directory_path()
499 webkit_database_directory_path = g_strdup(corePath.utf8().data()); in webkit_set_web_database_directory_path()
/external/bluetooth/glib/gio/fen/
Dfen-node.c73 d->filename = g_strdup (filename); in _dnode_new()
197 str = g_strdup (filename + strlen (NODE_NAME(parent))); in find_node_internal()
256 str = g_strdup (filename + strlen (NODE_NAME(parent))); in add_node()
364 f->basename = g_strdup (basename); in node_new()
368 f->basename = g_strdup (basename); in node_new()
369 f->filename = g_strdup (basename); in node_new()
/external/webkit/Tools/DumpRenderTree/gtk/
DDumpRenderTree.cpp545 result = g_strdup(DumpRenderTreeSupportGtk::dumpRenderTree(mainFrame).data()); in dump()
748 char* frameName = g_strdup(webkit_web_frame_get_name(frame)); in getFrameNameSuitableForTestResult()
758 frameName = g_strdup("main frame"); in getFrameNameSuitableForTestResult()
762 frameName = g_strdup("frame (anonymous)"); in getFrameNameSuitableForTestResult()
879 *value = g_strdup(defaultValue); in webViewScriptPrompt()
912 typeDescription = g_strdup("link clicked"); in webViewNavigationPolicyDecisionRequested()
915 typeDescription = g_strdup("form submitted"); in webViewNavigationPolicyDecisionRequested()
918 typeDescription = g_strdup("back/forward"); in webViewNavigationPolicyDecisionRequested()
921 typeDescription = g_strdup("reload"); in webViewNavigationPolicyDecisionRequested()
924 typeDescription = g_strdup("form resubmitted"); in webViewNavigationPolicyDecisionRequested()
[all …]
/external/chromium/chrome/browser/ui/gtk/
Dgtk_chrome_link_button.cc101 button->native_markup = g_strdup(button->normal_markup); in G_DEFINE_TYPE()
210 GTK_CHROME_LINK_BUTTON(lb)->text = g_strdup(text); in gtk_chrome_link_button_new()
218 GTK_CHROME_LINK_BUTTON(lb)->text = g_strdup(markup); in gtk_chrome_link_button_new_with_markup()
236 button->text = g_strdup(text); in gtk_chrome_link_button_set_label()
/external/bluetooth/glib/gio/fam/
Dfam-helper.c112 path = g_strdup (ev.filename); in fam_do_iter_unlocked()
132 path = g_strdup (ev.filename); in fam_do_iter_unlocked()
230 sub->pathname = g_strdup (pathname); in _fam_sub_add()

1234567