Apache HTTPD
Macros | Functions
teststr.c File Reference
#include "testutil.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "apr_general.h"
#include "apr_strings.h"
#include "apr_cstr.h"
#include "apr_errno.h"

Go to the source code of this file.

Macros

#define SIZE   180000
 
#define MY_LLONG_MAX   (APR_INT64_C(9223372036854775807))
 
#define MY_LLONG_MIN   (-MY_LLONG_MAX - APR_INT64_C(1))
 

Functions

static void test_strtok (abts_case *tc, void *data)
 
static void snprintf_noNULL (abts_case *tc, void *data)
 
static void snprintf_0NULL (abts_case *tc, void *data)
 
static void snprintf_0nonNULL (abts_case *tc, void *data)
 
static void snprintf_underflow (abts_case *tc, void *data)
 
static void string_error (abts_case *tc, void *data)
 
static void string_long (abts_case *tc, void *data)
 
static void string_strtoi64 (abts_case *tc, void *data)
 
static void string_strtoff (abts_case *tc, void *data)
 
static void overflow_strfsize (abts_case *tc, void *data)
 
static void string_strfsize (abts_case *tc, void *data)
 
static void string_cpystrn (abts_case *tc, void *data)
 
static void snprintf_overflow (abts_case *tc, void *data)
 
static void skip_prefix (abts_case *tc, void *data)
 
static void pstrcat (abts_case *tc, void *data)
 
abts_suiteteststr (abts_suite *suite)
 

Macro Definition Documentation

◆ MY_LLONG_MAX

#define MY_LLONG_MAX   (APR_INT64_C(9223372036854775807))

Definition at line 183 of file teststr.c.

◆ MY_LLONG_MIN

#define MY_LLONG_MIN   (-MY_LLONG_MAX - APR_INT64_C(1))

Definition at line 184 of file teststr.c.

◆ SIZE

#define SIZE   180000

Definition at line 171 of file teststr.c.

Function Documentation

◆ overflow_strfsize()

static void overflow_strfsize ( abts_case tc,
void *  data 
)
static

Definition at line 293 of file teststr.c.

◆ pstrcat()

static void pstrcat ( abts_case tc,
void *  data 
)
static

Definition at line 398 of file teststr.c.

◆ skip_prefix()

static void skip_prefix ( abts_case tc,
void *  data 
)
static

Definition at line 387 of file teststr.c.

◆ snprintf_0nonNULL()

static void snprintf_0nonNULL ( abts_case tc,
void *  data 
)
static

Definition at line 123 of file teststr.c.

◆ snprintf_0NULL()

static void snprintf_0NULL ( abts_case tc,
void *  data 
)
static

Definition at line 115 of file teststr.c.

◆ snprintf_noNULL()

static void snprintf_noNULL ( abts_case tc,
void *  data 
)
static

Definition at line 97 of file teststr.c.

◆ snprintf_overflow()

static void snprintf_overflow ( abts_case tc,
void *  data 
)
static

Definition at line 367 of file teststr.c.

◆ snprintf_underflow()

static void snprintf_underflow ( abts_case tc,
void *  data 
)
static

Definition at line 133 of file teststr.c.

◆ string_cpystrn()

static void string_cpystrn ( abts_case tc,
void *  data 
)
static

Definition at line 353 of file teststr.c.

◆ string_error()

static void string_error ( abts_case tc,
void *  data 
)
static

Definition at line 151 of file teststr.c.

◆ string_long()

static void string_long ( abts_case tc,
void *  data 
)
static

Definition at line 172 of file teststr.c.

◆ string_strfsize()

static void string_strfsize ( abts_case tc,
void *  data 
)
static

Definition at line 321 of file teststr.c.

◆ string_strtoff()

static void string_strtoff ( abts_case tc,
void *  data 
)
static

Definition at line 278 of file teststr.c.

◆ string_strtoi64()

static void string_strtoi64 ( abts_case tc,
void *  data 
)
static

Definition at line 186 of file teststr.c.

◆ test_strtok()

static void test_strtok ( abts_case tc,
void *  data 
)
static

Definition at line 36 of file teststr.c.

◆ teststr()

abts_suite * teststr ( abts_suite suite)

Definition at line 411 of file teststr.c.