Searched defs:linestart (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | dsparse.c | 100 char *linestart, *line, *p; local 103 linestart = *bufp; 108 for ( linestart = p; plen > 0; ++p, --plen ) { 127 } while ( plen > 0 && ( *linestart == '#' || linestart + 1 == p )); 139 if (( line = NSLDAPI_MALLOC( p - linestart )) == NULL ) { 144 SAFEMEMCPY( line, linestart, p - linestart ); 145 line[ p - linestart - 1 ] = '\0';
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | util.c | 480 * first line that starts with the given linestart string. Returns 485 * @param linestart Start of line, e.g. "serial number" 497 hal_util_grep_file (const gchar *directory, const gchar *file, const gchar *linestart, gboolean reuse) argument 538 linestart_len = strlen (linestart); 554 if (strncmp (line, linestart, linestart_len) == 0) { 570 const gchar *linestart, guint elem, gboolean reuse) 581 if (((line = hal_util_grep_file (directory, file, linestart, reuse)) == NULL) || (strlen (line) == 0)) 605 const gchar *linestart, guint elem, guint base, gboolean reuse) 613 strvalue = hal_util_grep_string_elem_from_file (directory, file, linestart, elem, reuse); 643 * @param linestart Star 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...] |
Completed in 100 milliseconds