Flutter Impeller
strings.h
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #pragma once
6 
7 #include <string>
8 
9 #include "impeller/base/config.h"
10 
11 namespace impeller {
12 
14 std::string SPrintF(const char* format, ...);
15 
16 bool HasPrefix(const std::string& string, const std::string& prefix);
17 
18 bool HasSuffix(const std::string& string, const std::string& suffix);
19 
20 std::string StripPrefix(const std::string& string, const std::string& to_strip);
21 
22 } // namespace impeller
impeller::SPrintF
std::string SPrintF(const char *format,...)
Definition: strings.cc:12
IMPELLER_PRINTF_FORMAT
#define IMPELLER_PRINTF_FORMAT(format_number, args_number)
Definition: config.h:21
impeller::HasSuffix
bool HasSuffix(const std::string &string, const std::string &suffix)
Definition: strings.cc:34
impeller::StripPrefix
std::string StripPrefix(const std::string &string, const std::string &to_strip)
Definition: strings.cc:42
std
Definition: comparable.h:98
impeller::HasPrefix
bool HasPrefix(const std::string &string, const std::string &prefix)
Definition: strings.cc:30
config.h
impeller
Definition: aiks_context.cc:10