17#pragma GCC diagnostic ignored "-Wnonnull"
20GCC_builtin_strlen(
const char *
str)
22 return __builtin_strlen(
str);
26#define EFLAGS_DF 0x400L
34#if defined(_M_IX86) || defined(_M_AMD64)
36 char *teststr =
"a\0bcdefghijk";
45 ok_int((
int)pstrlen(
"test"), 4);
47#if defined(_M_IX86) || defined(_M_AMD64)
50 len = pstrlen(teststr + 4);
65 ok(
len == 8,
"Should not have gone backwards (got len %i)", (
int)
len);
#define EndSeh(ExpectedStatus)
ACPI_SIZE strlen(const char *String)
#define ok_int(expression, result)
__INTRIN_INLINE void __writeeflags(uintptr_t Value)
__INTRIN_INLINE uintptr_t __readeflags(void)
size_t(* PFN_STRLEN)(const char *)
void Test_strlen(PFN_STRLEN pstrlen)
#define _Return_type_success_(expr)
#define STATUS_ACCESS_VIOLATION