Home | History | Annotate | Download | only in include

Lines Matching refs:VG_

34 #include "pub_tool_basics.h"   // VG_ macro
40 extern Bool VG_(isspace) ( HChar c );
41 extern Bool VG_(isdigit) ( HChar c );
42 extern HChar VG_(tolower) ( HChar c );
57 // Nb: we also don't provide VG_(atoll*); these functions are worse than
60 // If you really want that behaviour, you can use "VG_(strtoll10)(str, NULL)".
61 extern Long VG_(strtoll10) ( const HChar* str, HChar** endptr );
62 extern Long VG_(strtoll16) ( const HChar* str, HChar** endptr );
63 extern ULong VG_(strtoull10) ( const HChar* str, HChar** endptr );
64 extern ULong VG_(strtoull16) ( const HChar* str, HChar** endptr );
70 extern double VG_(strtod) ( const HChar* str, HChar** endptr );
78 && VG_(strcmp)((s1),(s2))==0) ? True : False )
80 && VG_(strncmp)((s1),(s2),(n))==0) ? True : False )
82 extern SizeT VG_(strlen) ( const HChar* str );
83 extern HChar* VG_(strcat) ( HChar* dest, const HChar* src );
84 extern HChar* VG_(strncat) ( HChar* dest, const HChar* src, SizeT n );
85 extern HChar* VG_(strpbrk) ( const HChar* s, const HChar* accpt );
86 extern HChar* VG_(strcpy) ( HChar* dest, const HChar* src );
87 extern HChar* VG_(strncpy) ( HChar* dest, const HChar* src, SizeT ndest );
88 extern Int VG_(strcmp) ( const HChar* s1, const HChar* s2 );
89 extern Int VG_(strcasecmp) ( const HChar* s1, const HChar* s2 );
90 extern Int VG_(strncmp) ( const HChar* s1, const HChar* s2, SizeT nmax );
91 extern Int VG_(strncasecmp) ( const HChar* s1, const HChar* s2, SizeT nmax );
92 extern HChar* VG_(strstr) ( const HChar* haystack, const HChar* needle );
93 extern HChar* VG_(strcasestr) ( const HChar* haystack, const HChar* needle );
94 extern HChar* VG_(strchr) ( const HChar* s, HChar c );
95 extern HChar* VG_(strrchr) ( const HChar* s, HChar c );
96 extern SizeT VG_(strspn) ( const HChar* s, const HChar* accpt );
97 extern SizeT VG_(strcspn) ( const HChar* s, const HChar* reject );
100 extern HChar* VG_(strtok_r) (HChar* s, const HChar* delim, HChar** saveptr);
101 extern HChar* VG_(strtok) (HChar* s, const HChar* delim);
107 extern Bool VG_(parse_Addr) ( const HChar** ppc, Addr* result );
115 In addition to the words specified in 'tokens', VG_(parse_enum_set)
117 If allow_all, VG_(parse_enum_set) automatically accept the word "all"
124 extern Bool VG_(parse_enum_set) ( const HChar *tokens,
133 extern void* VG_(memcpy) ( void *d, const void *s, SizeT sz );
134 extern void* VG_(memmove)( void *d, const void *s, SizeT sz );
135 extern void* VG_(memset) ( void *s, Int c, SizeT sz );
136 extern Int VG_(memcmp) ( const void* s1, const void* s2, SizeT n );
143 static void VG_(bzero_inline) ( void* s, SizeT sz )
176 VG_(memset)(s, 0, sz);
204 /* Like qsort(). The name VG_(ssort) is for historical reasons -- it used
206 extern void VG_(ssort)( void* base, SizeT nmemb, SizeT size,
210 -1 if it is not a power of two. Nb: VG_(log2)(1) == 0. */
211 extern Int VG_(log2) ( UInt x );
214 extern Int VG_(log2_64)( ULong x );
219 extern UInt VG_(random) ( /*MOD*/UInt* pSeed );
225 extern UInt VG_(adler32)( UInt adler, const UChar* buf, UInt len);