|
Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
|

Go to the source code of this file.
Macros | |
| #define | _RWSTD_TEST_SRC |
| #define | Abs(x) ((x) < 0 ? -(x) : (x)) |
Typedefs | |
| typedef unsigned char | UChar |
Functions | |
| _TEST_EXPORT int | rw_valcmp (const void *buf1, const void *buf2, size_t nelems, size_t size1, size_t size2, int flags) |
| _TEST_EXPORT int | rw_strncmp (const char *str1, const char *str2, size_t nelems, int flags) |
| _TEST_EXPORT int | rw_strncmp (const char *str1, const wchar_t *str2, size_t nelems, int flags) |
| _TEST_EXPORT int | rw_strncmp (const wchar_t *str1, const char *str2, size_t nelems, int flags) |
| _TEST_EXPORT int | rw_strncmp (const wchar_t *str1, const wchar_t *str2, size_t nelems, int flags) |
| _TEST_EXPORT int | rw_fltcmp (float x, float y) |
| _TEST_EXPORT int | rw_dblcmp (double x, double y) |
| _TEST_EXPORT int | rw_ldblcmp (long double x, long double y) |
| #define _RWSTD_TEST_SRC |
valcmp.cpp - definitions of the rw_valcmp() family of helper functions
$Id$
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition at line 28 of file valcmp.cpp.
| typedef unsigned char UChar |
Definition at line 38 of file valcmp.cpp.
| _TEST_EXPORT int rw_dblcmp | ( | double | x, |
| double | y | ||
| ) |
Definition at line 753 of file valcmp.cpp.
| _TEST_EXPORT int rw_fltcmp | ( | float | x, |
| float | y | ||
| ) |
Compares two floating point numbers for equality.
| x | The left hand side of the comparison. |
| y | The right hand side of the comparison. |
Definition at line 712 of file valcmp.cpp.
| _TEST_EXPORT int rw_ldblcmp | ( | long double | x, |
| long double | y | ||
| ) |
Definition at line 816 of file valcmp.cpp.
| _TEST_EXPORT int rw_strncmp | ( | const char * | str1, |
| const char * | str2, | ||
| size_t | nelems, | ||
| int | flags | ||
| ) |
Definition at line 664 of file valcmp.cpp.
| _TEST_EXPORT int rw_strncmp | ( | const char * | str1, |
| const wchar_t * | str2, | ||
| size_t | nelems, | ||
| int | flags | ||
| ) |
Definition at line 676 of file valcmp.cpp.
| _TEST_EXPORT int rw_strncmp | ( | const wchar_t * | str1, |
| const char * | str2, | ||
| size_t | nelems, | ||
| int | flags | ||
| ) |
Definition at line 686 of file valcmp.cpp.
| _TEST_EXPORT int rw_strncmp | ( | const wchar_t * | str1, |
| const wchar_t * | str2, | ||
| size_t | nelems, | ||
| int | flags | ||
| ) |
Definition at line 696 of file valcmp.cpp.
| _TEST_EXPORT int rw_valcmp | ( | const void * | buf1, |
| const void * | buf2, | ||
| size_t | nelems, | ||
| size_t | size1, | ||
| size_t | size2, | ||
| int | flags | ||
| ) |
Definition at line 640 of file valcmp.cpp.