Flutter Engine
The Flutter Engine
impeller
base
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
#ifndef FLUTTER_IMPELLER_BASE_STRINGS_H_
6
#define FLUTTER_IMPELLER_BASE_STRINGS_H_
7
8
#include <string>
9
10
#include "
impeller/base/config.h
"
11
12
namespace
impeller
{
13
14
IMPELLER_PRINTF_FORMAT
(1, 2)
15
std
::
string
SPrintF
(const
char
*
format
, ...);
16
17
bool
HasPrefix
(const
std
::
string
&
string
, const
std
::
string
&
prefix
);
18
19
bool
HasSuffix
(const
std
::
string
&
string
, const
std
::
string
&
suffix
);
20
21
std
::
string
StripPrefix
(const
std
::
string
&
string
, const
std
::
string
& to_strip);
22
23
}
// namespace impeller
24
25
#endif
// FLUTTER_IMPELLER_BASE_STRINGS_H_
config.h
IMPELLER_PRINTF_FORMAT
#define IMPELLER_PRINTF_FORMAT(format_number, args_number)
Definition:
config.h:22
format
uint32_t uint32_t * format
Definition:
fl_texture_registrar_test.cc:41
impeller
Definition:
texture.h:18
impeller::HasPrefix
bool HasPrefix(const std::string &string, const std::string &prefix)
Definition:
strings.cc:30
impeller::SPrintF
std::string SPrintF(const char *format,...)
Definition:
strings.cc:12
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
pkg-config.prefix
def prefix
Definition:
pkg-config.py:130
std
Definition:
ref_ptr.h:256
update_fuzzer.suffix
suffix
Definition:
update_fuzzer.py:26
Generated on Sun Jun 23 2024 21:54:59 for Flutter Engine by
1.9.4