chromium/third_party/skia/src/utils/SkParse.cpp

/*
 * Copyright 2006 The Android Open Source Project
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include "include/core/SkScalar.h"
#include "include/core/SkTypes.h"
#include "include/private/base/SkTo.h"
#include "include/utils/SkParse.h"

#include <cstdint>
#include <cstdlib>
#include <cstring>
#include <limits>
#include <string>

static inline bool is_between(int c, int min, int max)
{}

static inline bool is_ws(int c)
{}

static inline bool is_digit(int c)
{}

static inline bool is_sep(int c)
{}

static int to_hex(int c)
{}

static inline bool is_hex(int c)
{}

static const char* skip_ws(const char str[])
{}

static const char* skip_sep(const char str[])
{}

int SkParse::Count(const char str[])
{}

int SkParse::Count(const char str[], char separator)
{}

const char* SkParse::FindHex(const char str[], uint32_t* value)
{}

const char* SkParse::FindS32(const char str[], int32_t* value)
{}

const char* SkParse::FindMSec(const char str[], SkMSec* value)
{}

const char* SkParse::FindScalar(const char str[], SkScalar* value) {}

const char* SkParse::FindScalars(const char str[], SkScalar value[], int count)
{}

static bool lookup_str(const char str[], const char** table, int count)
{}

bool SkParse::FindBool(const char str[], bool* value)
{}

int SkParse::FindList(const char target[], const char list[])
{}