|
|
2ff057 |
|
|
|
2ff057 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
2ff057 |
<head>
|
|
|
2ff057 |
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
|
2ff057 |
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
|
2ff057 |
<meta name="generator" content="Doxygen 1.8.14"/>
|
|
|
2ff057 |
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
|
2ff057 |
<title>rpm: rpmstring.h Source File</title>
|
|
|
2ff057 |
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
|
2ff057 |
<script type="text/javascript" src="jquery.js"></script>
|
|
|
2ff057 |
<script type="text/javascript" src="dynsections.js"></script>
|
|
|
2ff057 |
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
|
2ff057 |
</head>
|
|
|
2ff057 |
<body>
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
rpm
|
|
|
2ff057 |
4.14.2
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
<script type="text/javascript" src="menudata.js"></script>
|
|
|
2ff057 |
<script type="text/javascript" src="menu.js"></script>
|
|
|
2ff057 |
<script type="text/javascript">
|
|
|
2ff057 |
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
|
2ff057 |
$(function() {
|
|
|
2ff057 |
initMenu('',false,false,'search.php','Search');
|
|
|
2ff057 |
});
|
|
|
2ff057 |
/* @license-end */</script>
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
rpmio
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
rpmstring.h
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
Go to the documentation of this file. 12 #include <rpm/rpmutil.h> 23 return (c >= 'a' && c <= 'z'); 31 return (c >= 'A' && c <= 'Z'); 47 return (c >= '0' && c <= '9'); 63 return (c == ' ' || c == '\t'); 71 return ( risblank(c) || c == '\n' || c == '\r' || c == '\f' || c == '\v'); 79 return (( risupper(c)) ? (c | ( 'a' - 'A')) : c); 87 return (( rislower(c)) ? (c & ~( 'a' - 'A')) : c); 96 static inline unsigned char rnibble( char c) 98 if (c >= '0' && c <= '9') 100 if (c >= 'a' && c <= 'f') 101 return (c - 'a') + 10; 102 if (c >= 'A' && c <= 'F') 103 return (c - 'A') + 10; 113 static inline int rstreq( const char *s1, const char *s2) 115 return (strcmp(s1, s2) == 0); 125 static inline int rstreqn( const char *s1, const char *s2, size_t n) 127 return (strncmp(s1, s2, n) == 0); 134 int rstrcasecmp( const char * s1, const char * s2) ; 140 int rstrncasecmp( const char *s1, const char * s2, size_t n) ; 153 char * rstrcat( char **dest, const char *src); 173 size_t rstrlcpy( char *dest, const char *src, size_t n); 181 unsigned int rstrhash(const char * string);
|
|
|
2ff057 |
static RPM_GNUC_CONST int rtolower(int c) Locale insensitive tolower(3)
|
|
|
2ff057 |
static RPM_GNUC_CONST int risdigit(int c) Locale insensitive isdigit(3)
|
|
|
2ff057 |
#define RPM_GNUC_NULL_TERMINATED
|
|
|
2ff057 |
static RPM_GNUC_CONST int rtoupper(int c) Locale insensitive toupper(3)
|
|
|
2ff057 |
RPM_GNUC_PURE unsigned int rstrhash(const char *string) String hashing function.
|
|
|
2ff057 |
RPM_GNUC_PURE int rstrcasecmp(const char *s1, const char *s2) Locale insensitive strcasecmp(3).
|
|
|
2ff057 |
static RPM_GNUC_CONST unsigned char rnibble(char c) Convert hex to binary nibble.
|
|
|
2ff057 |
static int rstreq(const char *s1, const char *s2) Test for string equality.
|
|
|
2ff057 |
static int rstreqn(const char *s1, const char *s2, size_t n) Test for string equality.
|
|
|
2ff057 |
char * rstrscat(char **dest, const char *arg,...) RPM_GNUC_NULL_TERMINATED Concatenate multiple strings with dynamically (re)allocated memory.
|
|
|
2ff057 |
static RPM_GNUC_CONST int risalpha(int c) Locale insensitive isalpha(3)
|
|
|
2ff057 |
int rasprintf(char **strp, const char *fmt,...) RPM_GNUC_PRINTF(2 asprintf() clone
|
|
|
2ff057 |
static RPM_GNUC_CONST int risupper(int c) Locale insensitive isupper(3)
|
|
|
2ff057 |
static RPM_GNUC_CONST int rislower(int c) Locale insensitive islower(3)
|
|
|
2ff057 |
#define RPM_GNUC_PRINTF(format_idx, arg_idx)
|
|
|
2ff057 |
size_t rstrlcpy(char *dest, const char *src, size_t n) strlcpy() clone: Copy src to string dest of size n.
|
|
|
2ff057 |
static RPM_GNUC_CONST int risspace(int c) Locale insensitive isspace(3)
|
|
|
2ff057 |
int char * rstrcat(char **dest, const char *src) Concatenate two strings with dynamically (re)allocated memory.
|
|
|
2ff057 |
|
|
|
2ff057 |
static RPM_GNUC_CONST int risblank(int c) Locale insensitive isblank(3)
|
|
|
2ff057 |
static RPM_GNUC_CONST int risalnum(int c) Locale insensitive isalnum(3)
|
|
|
2ff057 |
RPM_GNUC_PURE int rstrncasecmp(const char *s1, const char *s2, size_t n) Locale insensitive strncasecmp(3).
|
|
|
2ff057 |
|
|
|
2ff057 |
|
|
|
2ff057 |
<address class="footer"><small>
|
|
|
2ff057 |
Generated by
|
|
|
2ff057 |
|
|
|
2ff057 |
1.8.14
|
|
|
2ff057 |
</small></address>
|
|
|
2ff057 |
</body>
|
|
|
2ff057 |
</html>
|