Lines Matching refs:c
31 static bool is_not_slash(char c) in is_not_slash() argument
33 return c != '/'; in is_not_slash()
36 static bool is_not_semicolon(char c) in is_not_semicolon() argument
38 return c != ';'; in is_not_semicolon()
41 static bool is_not_semicolon_or_equals(char c) in is_not_semicolon_or_equals() argument
43 return c != ';' && c != '='; in is_not_semicolon_or_equals()
46 static bool is_not_quote_or_backslash(char c) in is_not_quote_or_backslash() argument
48 return c != '"' && c != '\\'; in is_not_quote_or_backslash()
52 static bool is_http_tab_or_space(char c) in is_http_tab_or_space() argument
54 return c == 0x09 || c == 0x20; in is_http_tab_or_space()
58 static bool is_http_whitespace(char c) in is_http_whitespace() argument
60 return c == 0x0A || c == 0x0D || is_http_tab_or_space(c); in is_http_whitespace()
64 static bool is_http_quoted_string_token(unsigned char c) /* Note: unsigned is important to let the … in is_http_quoted_string_token() argument
66 return c == 0x09 || (c >= 0x20 && c != 0x7F); in is_http_quoted_string_token()
146 static bool is_ascii_alpha_numeric(char c) in is_ascii_alpha_numeric() argument
148 return (c >= '0' && c <= '9') || (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z'); in is_ascii_alpha_numeric()
152 static bool is_http_token(char c) in is_http_token() argument
154 return c == 0x21 in is_http_token()
155 || (c >= 0x23 && c <= 0x27) in is_http_token()
156 || c == 0x2A || c == 0x2B || c == 0x2D || c == 0x2E in is_http_token()
157 || c == 0x5E || c == 0x5F in is_http_token()
158 || c == 0x60 in is_http_token()
159 || c == 0x7C || c == 0x7E in is_http_token()
160 || is_ascii_alpha_numeric(c); in is_http_token()