Lines Matching refs:directory

174 hal_util_get_int_from_file (const gchar *directory, const gchar *file, gint *result, gint base)  in hal_util_get_int_from_file()  argument
184 g_snprintf (path, sizeof (path), "%s/%s", directory, file); in hal_util_get_int_from_file()
209 hal_util_set_int_from_file (HalDevice *d, const gchar *key, const gchar *directory, const gchar *fi… in hal_util_set_int_from_file() argument
216 if (hal_util_get_int_from_file (directory, file, &value, base)) in hal_util_set_int_from_file()
224 hal_util_get_uint64_from_file (const gchar *directory, const gchar *file, guint64 *result, gint bas… in hal_util_get_uint64_from_file() argument
234 g_snprintf (path, sizeof (path), "%s/%s", directory, file); in hal_util_get_uint64_from_file()
260 hal_util_set_uint64_from_file (HalDevice *d, const gchar *key, const gchar *directory, const gchar … in hal_util_set_uint64_from_file() argument
267 if (hal_util_get_uint64_from_file (directory, file, &value, base)) in hal_util_set_uint64_from_file()
274 hal_util_get_bcd2_from_file (const gchar *directory, const gchar *file, gint *result) in hal_util_get_bcd2_from_file() argument
291 g_snprintf (path, sizeof (path), "%s/%s", directory, file); in hal_util_get_bcd2_from_file()
350 hal_util_set_bcd2_from_file (HalDevice *d, const gchar *key, const gchar *directory, const gchar *f… in hal_util_set_bcd2_from_file() argument
357 if (hal_util_get_bcd2_from_file (directory, file, &value)) in hal_util_set_bcd2_from_file()
364 hal_util_get_string_from_file (const gchar *directory, const gchar *file) in hal_util_get_string_from_file() argument
376 g_snprintf (path, sizeof (path), "%s/%s", directory, file); in hal_util_get_string_from_file()
411 hal_util_set_string_from_file (HalDevice *d, const gchar *key, const gchar *directory, const gchar … in hal_util_set_string_from_file() argument
418 if ((buf = hal_util_get_string_from_file (directory, file)) != NULL) in hal_util_set_string_from_file()
498 hal_util_grep_file (const gchar *directory, const gchar *file, const gchar *linestart, gboolean reu… in hal_util_grep_file() argument
515 snprintf (filename, sizeof (filename), "%s/%s", directory, file); in hal_util_grep_file()
517 strncpy (filename, directory, sizeof (filename)); in hal_util_grep_file()
570 hal_util_grep_string_elem_from_file (const gchar *directory, const gchar *file, in hal_util_grep_string_elem_from_file() argument
582 …if (((line = hal_util_grep_file (directory, file, linestart, reuse)) == NULL) || (strlen (line) ==… in hal_util_grep_string_elem_from_file()
605 hal_util_grep_int_elem_from_file (const gchar *directory, const gchar *file, in hal_util_grep_int_elem_from_file() argument
614 strvalue = hal_util_grep_string_elem_from_file (directory, file, linestart, elem, reuse); in hal_util_grep_int_elem_from_file()
652 const gchar *directory, const gchar *file, in hal_util_set_string_elem_from_file() argument
660 …if ((value = hal_util_grep_string_elem_from_file (directory, file, linestart, elem, reuse)) == NUL… in hal_util_set_string_elem_from_file()
692 const gchar *directory, const gchar *file, in hal_util_set_int_elem_from_file() argument
702 strvalue = hal_util_grep_string_elem_from_file (directory, file, linestart, elem, reuse); in hal_util_set_int_elem_from_file()
749 const gchar *directory, const gchar *file, in hal_util_set_bool_elem_from_file() argument
760 …if (((line = hal_util_grep_file (directory, file, linestart, reuse)) == NULL) || (strlen (line) ==… in hal_util_set_bool_elem_from_file()