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.c498 hal_util_grep_file (const gchar *directory, const gchar *file, const gchar *linestart, gboolean reu… in hal_util_grep_file() argument
539 linestart_len = strlen (linestart); in hal_util_grep_file()
555 if (strncmp (line, linestart, linestart_len) == 0) { in hal_util_grep_file()
571 const gchar *linestart, guint elem, gboolean reuse) 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()
606 const gchar *linestart, guint elem, guint base, gboolean reuse) 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()
653 const gchar *linestart, guint elem, gboolean reuse) 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()
693 const gchar *linestart, guint elem, guint base, gboolean reuse) in hal_util_set_int_elem_from_file() argument
[all …]