ReactOS 0.4.16-dev-329-g9223134
|
#include "wine/test.h"
#include <string.h>
#include <mbstring.h>
#include <wchar.h>
#include <stdlib.h>
#include <stdio.h>
#include <mbctype.h>
#include <locale.h>
#include <errno.h>
#include <limits.h>
#include <math.h>
#include "winbase.h"
#include "winnls.h"
Go to the source code of this file.
Macros | |
#define | expect_eq(expr, value, type, format) { type ret = (expr); ok((value) == ret, #expr " expected " format " got " format "\n", value, ret); } |
#define | expect_bin(buf, value, len) { ok(memcmp((buf), value, len) == 0, "Binary buffer mismatch - expected %s, got %s\n", buf_to_string((unsigned char *)value, len, 1), buf_to_string((buf), len, 0)); } |
#define | SETNOFAIL(x, y) x = (void*)GetProcAddress(hMsvcrt,y) |
#define | SET(x, y) SETNOFAIL(x,y); ok(x != NULL, "Export '%s' not found\n", y) |
#define | test_codepage(num) test_cp_table(num, result_cp_##num##_mbctype); |
#define | okchars(dst, b0, b1, b2, b3, b4, b5, b6, b7) |
#define | TEST_STRNCPY_LEN 10 |
Variables | |
static | size_t |
static const char * | src |
static size_t | len |
static size_t | size |
static size_t const unsigned char size_t | count |
static const unsigned char *static size_t const wchar_t * | wcSrc |
static size_t | elem |
static char | int |
static const char mbstate_t *static wchar_t const char mbstate_t *static const wchar_t int *static | double |
static int * | p__mb_cur_max |
static unsigned char * | p_mbctype |
static size_t | numberOfElements |
static | wchar_t |
static | _locale_t |
static HMODULE | hMsvcrt |
static int | result_cp_932_mbctype [] |
static int | result_cp_936_mbctype [] |
static int | result_cp_949_mbctype [] |
static int | result_cp_950_mbctype [] |
struct { | |
const char * string | |
const char * delimiter | |
int exp_offsetret1 | |
int exp_offsetret2 | |
int exp_offsetret3 | |
} | testcases_strtok [] |
#define TEST_STRNCPY_LEN 10 |
Definition at line 1841 of file string.c.
Referenced by test__atodbl(), test__strtod(), and test_atof().
Definition at line 38 of file string.c.
|
static |
|
static |
|
static |
Referenced by START_TEST().
Referenced by START_TEST().
START_TEST | ( | string | ) |
Definition at line 3859 of file string.c.
Definition at line 3761 of file string.c.
Referenced by START_TEST().
Definition at line 2938 of file string.c.
Referenced by START_TEST().
Definition at line 3416 of file string.c.
Referenced by START_TEST().
Definition at line 2217 of file string.c.
Referenced by START_TEST().
Definition at line 854 of file string.c.
Referenced by START_TEST().
Definition at line 3386 of file string.c.
Referenced by START_TEST().
Definition at line 981 of file string.c.
Referenced by START_TEST().
Definition at line 2593 of file string.c.
Referenced by START_TEST().
Definition at line 2409 of file string.c.
Referenced by START_TEST().
Definition at line 934 of file string.c.
Referenced by START_TEST().
Definition at line 2649 of file string.c.
Referenced by START_TEST().
Definition at line 2536 of file string.c.
Referenced by START_TEST().
Definition at line 3472 of file string.c.
Referenced by START_TEST().
Definition at line 3507 of file string.c.
Referenced by START_TEST().
Definition at line 2998 of file string.c.
Referenced by START_TEST().
Definition at line 2313 of file string.c.
Referenced by START_TEST().
Definition at line 3282 of file string.c.
Referenced by START_TEST().
Definition at line 1847 of file string.c.
Referenced by START_TEST().
Definition at line 1696 of file string.c.
Referenced by START_TEST().
Definition at line 3550 of file string.c.
Referenced by START_TEST().
Definition at line 3593 of file string.c.
Referenced by START_TEST().
Definition at line 3678 of file string.c.
Referenced by START_TEST().
Definition at line 2667 of file string.c.
Referenced by START_TEST().
Definition at line 1210 of file string.c.
Referenced by START_TEST().
Definition at line 3312 of file string.c.
Referenced by START_TEST().
Definition at line 3351 of file string.c.
Referenced by START_TEST().
Definition at line 3030 of file string.c.
Referenced by START_TEST().
Definition at line 1123 of file string.c.
Referenced by START_TEST().
Definition at line 3151 of file string.c.
Referenced by START_TEST().
Definition at line 3117 of file string.c.
Referenced by START_TEST().
Definition at line 3134 of file string.c.
Referenced by START_TEST().
Definition at line 3796 of file string.c.
Referenced by START_TEST().
Definition at line 2182 of file string.c.
Referenced by START_TEST().
Definition at line 1458 of file string.c.
Referenced by START_TEST().
Definition at line 1489 of file string.c.
Referenced by START_TEST().
Definition at line 1410 of file string.c.
Referenced by START_TEST().
Definition at line 1297 of file string.c.
Referenced by START_TEST().
Definition at line 1323 of file string.c.
Referenced by START_TEST().
Definition at line 223 of file string.c.
Referenced by START_TEST().
Definition at line 1351 of file string.c.