chromium/third_party/ffmpeg/libavutil/avstring.c

/*
 * Copyright (c) 2000, 2001, 2002 Fabrice Bellard
 * Copyright (c) 2007 Mans Rullgard
 *
 * This file is part of FFmpeg.
 *
 * FFmpeg is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * FFmpeg is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with FFmpeg; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 */

#include <limits.h>
#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>

#include "config.h"
#include "mem.h"
#include "avassert.h"
#include "avstring.h"
#include "bprint.h"
#include "error.h"
#include "macros.h"

int av_strstart(const char *str, const char *pfx, const char **ptr)
{}

int av_stristart(const char *str, const char *pfx, const char **ptr)
{}

char *av_stristr(const char *s1, const char *s2)
{}

char *av_strnstr(const char *haystack, const char *needle, size_t hay_length)
{}

size_t av_strlcpy(char *dst, const char *src, size_t size)
{}

size_t av_strlcat(char *dst, const char *src, size_t size)
{}

size_t av_strlcatf(char *dst, size_t size, const char *fmt, ...)
{}

char *av_asprintf(const char *fmt, ...)
{}

#define WHITESPACES

char *av_get_token(const char **buf, const char *term)
{}

char *av_strtok(char *s, const char *delim, char **saveptr)
{}

int av_strcasecmp(const char *a, const char *b)
{}

int av_strncasecmp(const char *a, const char *b, size_t n)
{}

char *av_strireplace(const char *str, const char *from, const char *to)
{}

const char *av_basename(const char *path)
{}

const char *av_dirname(char *path)
{}

char *av_append_path_component(const char *path, const char *component)
{}

int av_escape(char **dst, const char *src, const char *special_chars,
              enum AVEscapeMode mode, int flags)
{}

int av_match_name(const char *name, const char *names)
{}

int av_utf8_decode(int32_t *codep, const uint8_t **bufp, const uint8_t *buf_end,
                   unsigned int flags)
{}

int av_match_list(const char *name, const char *list, char separator)
{}