H A D | util.c | 116 * parent directory by truncation. 173 hal_util_get_int_from_file (const gchar *directory, const gchar *file, gint *result, gint base) argument 183 g_snprintf (path, sizeof (path), "%s/%s", directory, file); 208 hal_util_set_int_from_file (HalDevice *d, const gchar *key, const gchar *directory, const gchar *file, gint base) argument 215 if (hal_util_get_int_from_file (directory, file, &value, base)) 223 hal_util_get_uint64_from_file (const gchar *directory, const gchar *file, guint64 *result, gint base) argument 233 g_snprintf (path, sizeof (path), "%s/%s", directory, file); 259 hal_util_set_uint64_from_file (HalDevice *d, const gchar *key, const gchar *directory, const gchar *file, gint base) argument 266 if (hal_util_get_uint64_from_file (directory, file, &value, base)) 273 hal_util_get_bcd2_from_file (const gchar *directory, cons argument 349 hal_util_set_bcd2_from_file(HalDevice *d, const gchar *key, const gchar *directory, const gchar *file) argument 363 hal_util_get_string_from_file(const gchar *directory, const gchar *file) argument 410 hal_util_set_string_from_file(HalDevice *d, const gchar *key, const gchar *directory, const gchar *file) argument 497 hal_util_grep_file(const gchar *directory, const gchar *file, const gchar *linestart, gboolean reuse) argument 569 hal_util_grep_string_elem_from_file(const gchar *directory, const gchar *file, const gchar *linestart, guint elem, gboolean reuse) argument 604 hal_util_grep_int_elem_from_file(const gchar *directory, const gchar *file, const gchar *linestart, guint elem, guint base, gboolean reuse) argument 650 hal_util_set_string_elem_from_file(HalDevice *d, const gchar *key, const gchar *directory, const gchar *file, const gchar *linestart, guint elem, gboolean reuse) argument 690 hal_util_set_int_elem_from_file(HalDevice *d, const gchar *key, const gchar *directory, const gchar *file, const gchar *linestart, guint elem, guint base, gboolean reuse) argument 747 hal_util_set_bool_elem_from_file(HalDevice *d, const gchar *key, const gchar *directory, const gchar *file, const gchar *linestart, guint elem, const gchar *expected, gboolean reuse) argument [all...] |