Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Data Structures | Macros | Functions | Variables
23.containers.cpp File Reference
#include <memory>
#include <rw_containers.h>
#include <rw_lists.h>
#include <rw_cmdopt.h>
#include <rw_driver.h>
#include <rw_allocator.h>
#include <rw_printf.h>
#include <ctype.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for 23.containers.cpp:

Go to the source code of this file.

Data Structures

struct  VectorIds
 
struct  DequeIds
 
struct  QueueIds
 
struct  StackIds
 

Macros

#define _RWSTD_TEST_SRC
 

Functions

_RWSTD_INTERNAL ContainerTestCase _rw_reverse_results (const ContainerTestCase &tsrc, size_t off, size_t ext)
 
template<class T , class Allocator >
void _rw_dispatch (T *, Allocator *, VoidFunc *const *farray, const ContainerFunc &func, const ContainerTestCase &tcase)
 
template<class T >
void _rw_dispatch (T *, VoidFunc *const *farray, const ContainerFunc &func, const ContainerTestCase &tcase)
 
void _rw_toggle_options (int *opts, size_t count)
 
_TEST_EXPORT int rw_run_cont_test (int argc, char *argv[], const char *file, const char *clause, ContainerIds::ContainerId container, ContainerTestFunc *callback, const ContainerTest *tests, size_t count)
 
_TEST_EXPORT int rw_run_cont_test (int argc, char *argv[], const char *file, const char *clause, ContainerIds::ContainerId container, VoidFunc *const *farray, const ContainerTest *tests, size_t count)
 

Variables

const size_t MAX_OVERLOADS = 32
 

Macro Definition Documentation

◆ _RWSTD_TEST_SRC

#define _RWSTD_TEST_SRC

23.containers.cpp - definitions of helpers used in clause 23 tests

$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 23.containers.cpp.

Function Documentation

◆ _rw_dispatch() [1/2]

template<class T , class Allocator >
void _rw_dispatch ( T *  ,
Allocator *  ,
VoidFunc *const *  farray,
const ContainerFunc &  func,
const ContainerTestCase &  tcase 
)

Definition at line 853 of file 23.containers.cpp.

◆ _rw_dispatch() [2/2]

template<class T >
void _rw_dispatch ( T *  ,
VoidFunc *const *  farray,
const ContainerFunc &  func,
const ContainerTestCase &  tcase 
)

Definition at line 907 of file 23.containers.cpp.

◆ _rw_reverse_results()

_RWSTD_INTERNAL ContainerTestCase _rw_reverse_results ( const ContainerTestCase &  tsrc,
size_t  off,
size_t  ext 
)

Definition at line 820 of file 23.containers.cpp.

◆ _rw_toggle_options()

void _rw_toggle_options ( int *  opts,
size_t  count 
)

Definition at line 1064 of file 23.containers.cpp.

◆ rw_run_cont_test() [1/2]

_TEST_EXPORT int rw_run_cont_test ( int  argc,
char *  argv[],
const char *  file,
const char *  clause,
ContainerIds::ContainerId  container,
ContainerTestFunc *  callback,
const ContainerTest *  tests,
size_t  count 
)

Definition at line 1360 of file 23.containers.cpp.

◆ rw_run_cont_test() [2/2]

_TEST_EXPORT int rw_run_cont_test ( int  argc,
char *  argv[],
const char *  file,
const char *  clause,
ContainerIds::ContainerId  container,
VoidFunc *const *  farray,
const ContainerTest *  tests,
size_t  count 
)

Definition at line 1375 of file 23.containers.cpp.

Variable Documentation

◆ MAX_OVERLOADS

const size_t MAX_OVERLOADS = 32

Definition at line 95 of file 23.containers.cpp.