Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Macros | Functions
strtol.cpp File Reference
#include <rw/_defs.h>
#include "strtol.h"
#include <errno.h>
Include dependency graph for strtol.cpp:

Go to the source code of this file.

Macros

#define _RWSTD_LIB_SRC
 
#define _RWSTD_EINVAL   22
 
#define SHLOR(x, dig)   (((x) << shift) | __rw_digit_map [UChar (dig)])
 
#define SHLOR_4_DIGITS_BEGIN(res, nptr)
 
#define SHLOR_4_DIGITS_END()   } } } } (void)0
 
#define MULADD(x, dig)   (((x) * base) + __rw_digit_map [UChar (dig)])
 
#define MULADD_4_DIGITS_BEGIN(res, nptr)
 
#define MULADD_4_DIGITS_END()   } } } } (void)0
 

Functions

 _RWSTD_NAMESPACE (__rw)
 

Macro Definition Documentation

◆ _RWSTD_EINVAL

#define _RWSTD_EINVAL   22

Definition at line 41 of file strtol.cpp.

◆ _RWSTD_LIB_SRC

#define _RWSTD_LIB_SRC

strtol.cpp - definitions of __rw_strtol, __rw_strtoul, and other helpers

$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 1994-2006 Rogue Wave Software, Inc.

Definition at line 29 of file strtol.cpp.

◆ MULADD

#define MULADD (   x,
  dig 
)    (((x) * base) + __rw_digit_map [UChar (dig)])

◆ MULADD_4_DIGITS_BEGIN

#define MULADD_4_DIGITS_BEGIN (   res,
  nptr 
)
Value:
if (nptr [1]) { \
res = MULADD (res, *++nptr); \
if (nptr [1]) { \
res = MULADD (res, *++nptr); \
if (nptr [1]) { \
res = MULADD (res, *++nptr); \
if (nptr [1]) { \
res = MULADD (res, *++nptr)
#define res
Definition 17.names.cpp:531
#define MULADD(x, dig)

◆ MULADD_4_DIGITS_END

#define MULADD_4_DIGITS_END ( )    } } } } (void)0

◆ SHLOR

#define SHLOR (   x,
  dig 
)    (((x) << shift) | __rw_digit_map [UChar (dig)])

◆ SHLOR_4_DIGITS_BEGIN

#define SHLOR_4_DIGITS_BEGIN (   res,
  nptr 
)
Value:
if (*++nptr) { \
res = SHLOR (res, *nptr); \
if (*++nptr) { \
res = SHLOR (res, *nptr); \
if (*++nptr) { \
res = SHLOR (res, *nptr); \
if (*++nptr) { \
res = SHLOR (res, *nptr)
#define SHLOR(x, dig)

◆ SHLOR_4_DIGITS_END

#define SHLOR_4_DIGITS_END ( )    } } } } (void)0

Function Documentation

◆ _RWSTD_NAMESPACE()

_RWSTD_NAMESPACE ( __rw  )

Definition at line 45 of file strtol.cpp.