23 #ifndef __LIBRETRO_SDK_STDSTRING_H 24 #define __LIBRETRO_SDK_STDSTRING_H 47 while(*
a && (*
a == *
b))
52 return (*(
const unsigned char*)
a - *(
const unsigned char*)
b) == 0;
60 #define string_add_pair_open(s, size) strlcat((s), " (", (size)) 61 #define string_add_pair_close(s, size) strlcat((s), ")", (size)) 62 #define string_add_bracket_open(s, size) strlcat((s), "{", (size)) 63 #define string_add_bracket_close(s, size) strlcat((s), "}", (size)) 64 #define string_add_single_quote(s, size) strlcat((s), "'", (size)) 65 #define string_add_quote(s, size) strlcat((s), "\"", (size)) 66 #define string_add_colon(s, size) strlcat((s), ":", (size)) 67 #define string_add_glob_open(s, size) strlcat((s), "glob('*", (size)) 68 #define string_add_glob_close(s, size) strlcat((s), "*')", (size)) 78 #define string_is_not_equal_fast(a, b, size) (memcmp(a, b, size) != 0) 79 #define string_is_equal_fast(a, b, size) (memcmp(a, b, size) == 0) 85 const unsigned char *
p1 = (
const unsigned char*)
a;
86 const unsigned char *
p2 = (
const unsigned char*)
b;
103 const unsigned char *
p1 = (
const unsigned char*)
a;
104 const unsigned char *
p2 = (
const unsigned char*)
b;
136 char *
word_wrap(
char*
buffer,
const char *
string,
int line_width,
bool unicode);
#define INLINE
Definition: retro_inline.h:35
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
static INLINE void string_add_between_pairs(char *s, const char *str, size_t size)
Definition: stdstring.h:70
char * word_wrap(char *buffer, const char *string, int line_width, bool unicode)
Definition: stdstring.c:154
int tolower(int ch)
Definition: compat_ctype.c:35
char * string_trim_whitespace_left(char *const s)
Definition: stdstring.c:104
GLsizeiptr size
Definition: glext.h:6559
GLdouble s
Definition: glext.h:6390
char * string_replace_substring(const char *in, const char *pattern, const char *by)
Definition: stdstring.c:58
GLboolean GLboolean GLboolean b
Definition: glext.h:6844
char * string_to_upper(char *s)
Definition: stdstring.c:29
static RETRO_BEGIN_DECLS INLINE bool string_is_empty(const char *data)
Definition: stdstring.h:38
char * string_to_lower(char *s)
Definition: stdstring.c:37
#define NULL
Pointer to 0.
Definition: gctypes.h:65
static INLINE bool string_is_not_equal(const char *a, const char *b)
Definition: stdstring.h:55
float4 p1
Definition: notHere.h:1
GLuint in
Definition: glext.h:10523
GLuint64EXT * result
Definition: glext.h:12211
char * string_trim_whitespace(char *const s)
Definition: stdstring.c:146
#define string_add_pair_open(s, size)
Definition: stdstring.h:60
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
GLbyte by
Definition: glext.h:9673
#define string_add_pair_close(s, size)
Definition: stdstring.h:61
float4 p2
Definition: local.h:1
#define strlcat(dst, src, size)
Definition: strl.h:48
static INLINE bool string_is_equal_case_insensitive(const char *a, const char *b)
Definition: stdstring.h:81
char * string_ucwords(char *s)
Definition: stdstring.c:45
char * string_trim_whitespace_right(char *const s)
Definition: stdstring.c:126
static INLINE bool string_is_equal(const char *a, const char *b)
Definition: stdstring.h:43
Definition: video4linux2.c:51
static INLINE bool string_is_equal_noncase(const char *a, const char *b)
Definition: stdstring.h:100
const char *const str
Definition: portlistingparse.c:18
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6844