Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Data Structures | Typedefs | Functions
20.temp.buffer.cpp File Reference
#include <memory>
#include <cerrno>
#include <cstddef>
#include <cstdio>
#include <cstring>
#include <rw_new.h>
#include <rw_printf.h>
#include <rw_driver.h>
#include <sys/resource.h>
#include <unistd.h>
Include dependency graph for 20.temp.buffer.cpp:

Go to the source code of this file.

Data Structures

struct  MyStruct
 
struct  BigStruct< N >
 

Typedefs

typedef void(* FunctionPointer) ()
 
typedef void(MyStruct::* MemberPointer) ()
 

Functions

int compare (const void *beg, const void *end, int val)
 
template<class T >
void test_success (T *, const char *tname)
 
template<class T >
void test_failure (T *, const char *tname)
 
template<class T >
void test_get_temporary_buffer (T *dummy, const char *tname)
 
int main (int argc, char *argv[])
 

Typedef Documentation

◆ FunctionPointer

typedef void(* FunctionPointer) ()

Definition at line 389 of file 20.temp.buffer.cpp.

◆ MemberPointer

typedef void(MyStruct::* MemberPointer) ()

Definition at line 392 of file 20.temp.buffer.cpp.

Function Documentation

◆ compare()

int compare ( const void *  beg,
const void *  end,
int  val 
)

20.temp.buffer.cpp - test exercising lib.temporary.buffer

$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.

Copyright 2003-2006 Rogue Wave Software.

Definition at line 64 of file 20.temp.buffer.cpp.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 478 of file 20.temp.buffer.cpp.

◆ test_failure()

template<class T >
void test_failure ( T *  ,
const char *  tname 
)

Definition at line 245 of file 20.temp.buffer.cpp.

◆ test_get_temporary_buffer()

template<class T >
void test_get_temporary_buffer ( T *  dummy,
const char *  tname 
)

Definition at line 400 of file 20.temp.buffer.cpp.

◆ test_success()

template<class T >
void test_success ( T *  ,
const char *  tname 
)

Definition at line 81 of file 20.temp.buffer.cpp.