OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:StringRef
(Results
1 - 12
of
12
) sorted by null
/external/clang/test/CodeGenCXX/
m64-ptr.cpp
7
class
StringRef
{
12
void foo(
StringRef
X);
13
void bar(
StringRef
&A) {
x86_64-arguments.cpp
37
struct
StringRef
{
41
void AddKeyword(
StringRef
, int x);
46
AddKeyword(
StringRef
(), 4);
121
struct
StringRef
{char* ptr; long len; };
123
A x(A, A, long, long,
StringRef
) { return A(); }
124
// Check that the
StringRef
is passed byval instead of expanded
130
A y(A, long double, long, long,
StringRef
) { return A(); }
/external/clang/include/clang/AST/
Mangle.h
21
#include "llvm/ADT/
StringRef
.h"
42
void setString(
StringRef
Ref) {
50
StringRef
getString() const {
55
operator
StringRef
() const {
60
StringRef
String;
/external/clang/utils/
ClangDataFormat.py
27
debugger.HandleCommand("type summary add -F ClangDataFormat.StringRef_summary llvm::
StringRef
")
36
return
StringRef
(strref).summary()
82
class
StringRef
(object):
/external/llvm/include/llvm/ADT/
SmallString.h
18
#include "llvm/ADT/
StringRef
.h"
30
/// Initialize from a
StringRef
.
31
SmallString(
StringRef
S) : SmallVector<char, InternalLen>(S.begin(), S.end()) {}
59
/// Assign from a
StringRef
.
60
void assign(
StringRef
RHS) {
86
/// Append from a
StringRef
.
87
void append(
StringRef
RHS) {
102
bool equals(
StringRef
RHS) const {
107
bool equals_lower(
StringRef
RHS) const {
113
int compare(
StringRef
RHS) const
[
all
...]
StringRef.h
1
//===---
StringRef
.h - Constant String Reference Wrapper --------*- C++ -*-===//
26
class
StringRef
;
28
/// Helper functions for
StringRef
::getAsInteger.
29
bool getAsUnsignedInteger(
StringRef
Str, unsigned Radix,
32
bool getAsSignedInteger(
StringRef
Str, unsigned Radix, long long &Result);
34
///
StringRef
- Represent a constant reference to a string, i.e. a character
39
/// lifetime extends past that of the
StringRef
. For this reason, it is not in
40
/// general safe to store a
StringRef
.
41
class
StringRef
{
55
// Workaround PR5482: nearly all gcc 4.x miscompile
StringRef
and std::min(
[
all
...]
/external/clang/test/Index/
recursive-cxx-member-calls.cpp
38
class
StringRef
{
47
StringRef
(): Data(0), Length(0) {}
48
StringRef
(const char *Str) : Data(Str), Length(magic_length(Str)) {}
49
StringRef
(const char *data, size_t length) : Data(data), Length(length) {}
52
bool startswith(
StringRef
Prefix) const {
56
bool endswith(
StringRef
Suffix) const {
60
StringRef
substr(size_t Start, size_t N = npos) const {
61
return
StringRef
(Data + Start, min(N, Length - Start));
77
llvm::
StringRef
getName() const {
78
return llvm::
StringRef
(getNameStart(), getLength())
[
all
...]
/external/clang/test/CodeGen/
x86_64-arguments.c
116
struct
StringRef
{
123
const char *f21(struct
StringRef
S) { return S.x+S.Ptr; }
/external/clang/test/SemaCXX/
overloaded-operator.cpp
405
class
StringRef
{
406
inline bool operator==(
StringRef
LHS,
StringRef
RHS) { // expected-error{{overloaded 'operator==' must be a binary operator (has 3 parameters)}}
407
return !(LHS == RHS); // expected-error{{invalid operands to binary expression ('rdar9222009::
StringRef
' and 'rdar9222009::
StringRef
')}}
/cts/tools/signature-tools/lib/
stringtemplate.jar
/external/antlr/antlr-3.4/lib/
antlr-3.4-complete.jar
/prebuilts/misc/common/antlr/
antlr-3.4-complete.jar
Completed in 2239 milliseconds