Searched refs:begins_with (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/libdiff/lib/ |
H A D | diff_output.c | 305 #define begins_with(s, pre) (strncmp(s, pre, sizeof(pre)-1) == 0) macro 343 if (begins_with(buf, "private:")) { in diff_output_match_function_prototype() 346 } else if (begins_with(buf, "protected:")) { in diff_output_match_function_prototype() 349 } else if (begins_with(buf, "public:")) { in diff_output_match_function_prototype()
|
/freebsd/contrib/dialog/ |
H A D | rc.c | 343 begins_with(char *line, const char *keyword, char **params) in begins_with() function 592 if (begins_with(str, "bindkey", ¶ms)) { in dlg_parse_rc()
|
/freebsd/usr.bin/diff/ |
H A D | diffreg.c | 1444 #define begins_with(s, pre) (strncmp(s, pre, sizeof(pre) - 1) == 0) in match_function() 1475 if (begins_with(buf, "private:")) { in match_function() 1478 } else if (begins_with(buf, "protected:")) { in match_function() 1481 } else if (begins_with(buf, "public:")) { in match_function() 1440 #define begins_with( global() macro
|