Lines Matching refs:b
15 #define strcmp(a, b) StrCmp((a), (b)) argument
16 #define strncmp(a, b, n) StrnCmp((a), (b), (n)) argument
17 #define strcasecmp(a, b) StriCmp((a), (b)) argument
19 #define memcmp(a, b, n) CompareMem(a, b, n) argument
24 #define streq(a,b) (strcmp((a),(b)) == 0) argument
25 #define strneq(a, b, n) (strncmp((a), (b), (n)) == 0) argument
26 #define strcaseeq(a,b) (strcasecmp((a),(b)) == 0) argument
28 #define strncaseeq(a, b, n) (strncasecmp((a), (b), (n)) == 0) argument
31 static inline sd_int strcmp_ptr(const sd_char *a, const sd_char *b) { in strcmp_ptr() argument
32 if (a && b) in strcmp_ptr()
33 return strcmp(a, b); in strcmp_ptr()
35 return CMP(a, b); in strcmp_ptr()
38 static inline sd_int strcasecmp_ptr(const sd_char *a, const sd_char *b) { in strcasecmp_ptr() argument
39 if (a && b) in strcasecmp_ptr()
40 return strcasecmp(a, b); in strcasecmp_ptr()
42 return CMP(a, b); in strcasecmp_ptr()
45 static inline sd_bool streq_ptr(const sd_char *a, const sd_char *b) { in streq_ptr() argument
46 return strcmp_ptr(a, b) == 0; in streq_ptr()
49 static inline sd_bool strcaseeq_ptr(const sd_char *a, const sd_char *b) { in strcaseeq_ptr() argument
50 return strcasecmp_ptr(a, b) == 0; in strcaseeq_ptr()
64 static inline const sd_char *yes_no(sd_bool b) { in yes_no() argument
65 return b ? STR_C("yes") : STR_C("no"); in yes_no()
68 sd_int strverscmp_improved(const sd_char *a, const sd_char *b);