Home
last modified time | relevance | path

Searched refs:linestart (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Ddsparse.c97 char *linestart, *line, *p; in next_line() local
100 linestart = *bufp; in next_line()
105 for ( linestart = p; plen > 0; ++p, --plen ) { in next_line()
124 } while ( plen > 0 && ( *linestart == '#' || linestart + 1 == p )); in next_line()
136 if (( line = NSLDAPI_MALLOC( p - linestart )) == NULL ) { in next_line()
141 SAFEMEMCPY( line, linestart, p - linestart ); in next_line()
142 line[ p - linestart - 1 ] = '\0'; in next_line()
/illumos-gate/usr/src/cmd/hal/hald/
H A Dutil.h74 gchar *hal_util_grep_file (const gchar *directory, const gchar *file, const gchar *linestart, gbool…
77 const gchar *linestart, guint elem, guint base, gboolean reuse_file);
80 const gchar *linestart, guint elem, gboolean reuse_file);
84 const gchar *linestart, guint elem, gboolean reuse_file);
88 const gchar *linestart, guint elem, guint base, gboolean reuse_file);
92 const gchar *linestart, guint elem, const gchar *expected,
H A Dutil.c497 hal_util_grep_file (const gchar *directory, const gchar *file, const gchar *linestart, gboolean reu… in hal_util_grep_file() argument
538 linestart_len = strlen (linestart); in hal_util_grep_file()
554 if (strncmp (line, linestart, linestart_len) == 0) { in hal_util_grep_file()
570 const gchar *linestart, guint elem, gboolean reuse) in hal_util_grep_string_elem_from_file() argument
605 const gchar *linestart, guint elem, guint base, gboolean reuse) in hal_util_grep_int_elem_from_file() argument
613 strvalue = hal_util_grep_string_elem_from_file (directory, file, linestart, elem, reuse); in hal_util_grep_int_elem_from_file()
652 const gchar *linestart, guint elem, gboolean reuse) in hal_util_set_string_elem_from_file() argument
659 …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 *linestart, guint elem, guint base, gboolean reuse) in hal_util_set_int_elem_from_file() argument
701 strvalue = hal_util_grep_string_elem_from_file (directory, file, linestart, elem, reuse); in hal_util_set_int_elem_from_file()
[all …]