string.cc (af0dd31fc469cac25e441ff350ccda958ea5c8df) string.cc (009f7b425d0046197035b97e71153908303619c2)
1/*-
2 * Copyright (c) 2013 David Chisnall
3 * All rights reserved.
4 *
5 * This software was developed by SRI International and the University of
6 * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237)
7 * ("CTSRD"), as part of the DARPA CRASH research programme.
8 *

--- 17 unchanged lines hidden (view full) ---

26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
30 * $FreeBSD$
31 */
32
33#include "string.hh"
1/*-
2 * Copyright (c) 2013 David Chisnall
3 * All rights reserved.
4 *
5 * This software was developed by SRI International and the University of
6 * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237)
7 * ("CTSRD"), as part of the DARPA CRASH research programme.
8 *

--- 17 unchanged lines hidden (view full) ---

26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
30 * $FreeBSD$
31 */
32
33#include "string.hh"
34#include <ctype.h>
35#include <stdio.h>
34
35namespace
36{
37/**
38 * The source files are ASCII, so we provide a non-locale-aware version of
39 * isalpha. This is a class so that it can be used with a template function
40 * for parsing strings.
41 */

--- 215 unchanged lines hidden ---
36
37namespace
38{
39/**
40 * The source files are ASCII, so we provide a non-locale-aware version of
41 * isalpha. This is a class so that it can be used with a template function
42 * for parsing strings.
43 */

--- 215 unchanged lines hidden ---