OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:literal
(Results
1 - 25
of
1876
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/llvm/test/YAMLParser/
spec-05-07.data
3
literal
: |
spec-09-19.data
4
literal
spec-09-25.data
4
literal
spec-09-26.data
6
literal
spec-09-27.data
6
literal
spec-09-28.data
6
literal
spec-07-12b.data
4
# scalar (
literal
) node.
spec-08-04.data
3
# We don't currently look at the content of
literal
tags.
spec-09-18.data
4
literal
/external/clang/test/Lexer/
ms-extensions.cpp
1
// RUN: %clang_cc1 -fsyntax-only -verify -Wreserved-user-defined-
literal
-fms-extensions -fms-compatibility %s
5
return "foo"bar("bar")"baz"; /*expected-warning {{identifier after
literal
will be treated as a reserved user-defined
literal
suffix in C++11}} */
string-literal-encoding.c
8
wchar_t const *a = L"?????"; // expected-error {{illegal character encoding in string
literal
}}
10
char16_t const *b = u"?????"; // expected-error {{illegal character encoding in string
literal
}}
11
char32_t const *c = U"?????"; // expected-error {{illegal character encoding in string
literal
}}
12
wchar_t const *d = LR"(?????)"; // expected-error {{illegal character encoding in string
literal
}}
13
char16_t const *e = uR"(?????)"; // expected-error {{illegal character encoding in string
literal
}}
14
char32_t const *f = UR"(?????)"; // expected-error {{illegal character encoding in string
literal
}}
16
char const *g = "?????"; // expected-warning {{illegal character encoding in string
literal
}}
17
char const *h = u8"?????"; // expected-error {{illegal character encoding in string
literal
}}
18
char const *i = R"(?????)"; // expected-warning {{illegal character encoding in string
literal
}}
22
wchar_t const *a = L"foo ?????"; // expected-error {{illegal character encoding in string
literal
}}
[
all
...]
char-literal-encoding-error.c
6
(void)'?'; // expected-warning {{illegal character encoding in character
literal
}}
7
(void)u'?'; // expected-error {{illegal character encoding in character
literal
}}
8
(void)U'?'; // expected-error {{illegal character encoding in character
literal
}}
9
(void)L'?'; // expected-error {{illegal character encoding in character
literal
}}
13
static_assert((unsigned char)'?' == 0xE9, ""); // expected-warning {{illegal character encoding in character
literal
}}
14
static_assert('??' == 0xE9E9, ""); // expected-warning {{illegal character encoding in character
literal
}} expected-warning {{multi-character character constant}}
/external/clang/test/Parser/
asm.cpp
4
int foo2 asm (L"bar2"); // expected-error {{cannot use wide string
literal
in 'asm'}}
5
int foo3 asm (u8"bar3"); // expected-error {{cannot use unicode string
literal
in 'asm'}}
6
int foo4 asm (u"bar4"); // expected-error {{cannot use unicode string
literal
in 'asm'}}
7
int foo5 asm (U"bar5"); // expected-error {{cannot use unicode string
literal
in 'asm'}}
8
int foo6 asm ("bar6"_x); // expected-error {{string
literal
with user-defined suffix cannot be used here}}
cxx0x-literal-operators.cpp
5
expected-error {{string
literal
after 'operator' must be '""'}} \
6
expected-warning{{user-defined
literal
suffixes not starting with '_' are reserved}}
8
expected-warning{{user-defined
literal
suffixes not starting with '_' are reserved}}
/external/e2fsprogs/ext2ed/doc/
ext2ed-design.sgml
246
I started immediately with constructing a simple <
Literal
remap="tt">hex editor</
Literal
> - It would
248
filesystem with a simple <
Literal
remap="tt">offset</
Literal
> method, and just show a
249
<
Literal
remap="tt"> hex dump</
Literal
> of the contents at this point. Programming this was trivially
263
main include file - <
Literal
remap="tt">/usr/include/linux/ext2_fs.h</
Literal
>. Among its contents
269
I wanted a <
Literal
remap="tt">quick</
Literal
> way to get going. I didn't have the patience to lear
[
all
...]
ext2fs-overview.sgml
23
<
Literal
remap="tt">ext2 filesystem editor project (EXT2ED)</
Literal
>.
108
The <
Literal
remap="tt">Second Extended File System (Ext2fs)</
Literal
> is very popular among Linux
137
A <
Literal
remap="tt">filesystem</
Literal
> consists of two word - <
Literal
remap="tt">file</
Literal
> and <
Literal
remap="tt">system</
Literal
>
[
all
...]
/external/clang/test/CXX/lex/lex.literal/lex.ext/
p2.cpp
6
int a = 123_x; // expected-error {{no matching
literal
operator for call to 'operator "" _x' with argument of type 'unsigned long long' or 'const char *', and no matching
literal
operator template}}
7
int b = 4.2_x; // expected-error {{no matching
literal
operator for call to 'operator "" _x' with argument of type 'long double' or 'const char *', and no matching
literal
operator template}}
8
int c = "foo"_x; // expected-error {{no matching
literal
operator for call to 'operator "" _x' with arguments of types 'const char *' and 'unsigned}}
9
int d = L"foo"_x; // expected-error {{no matching
literal
operator for call to 'operator "" _x' with arguments of types 'const wchar_t *' and 'unsigned}}
10
int e = u8"foo"_x; // expected-error {{no matching
literal
operator for call to 'operator "" _x' with arguments of types 'const char *' and 'unsigned}}
11
int f = u"foo"_x; // expected-error {{no matching
literal
operator for call to 'operator "" _x' with arguments of types 'const char16_t *' and 'unsigned}}
12
int g = U"foo"_x; // expected-error {{no matching
literal
operator for call to 'operator "" _x' with arguments of types 'const char32_t *' and 'unsigned}}
13
int h = 'y'_x; // expected-error {{no matching
literal
operator for call to 'operator "" _x' with argument of type 'char'}
[
all
...]
p10.cpp
4
void operator "" wibble(const char *); // expected-warning {{user-defined
literal
suffixes not starting with '_' are reserved; no
literal
will invoke this operator}}
5
void operator "" wibble(const char *, size_t); // expected-warning {{user-defined
literal
suffixes not starting with '_' are reserved; no
literal
will invoke this operator}}
12
const char *p = ""wibble; // expected-error {{invalid suffix on
literal
; C++11 requires a space between
literal
and identifier}} expected-error {{expected ';'}}
13
const char *q = R"x("hello")x"wibble; // expected-error {{invalid suffix on
literal
; C++11 requires a space between
literal
and identifier}} expected-error {{expected ';'}}
/external/clang/test/SemaCXX/
warn-literal-conversion.cpp
5
// Warn when a
literal
float or double is assigned or bound to an integer.
8
int y0 = 1.2222F; // expected-warning {{implicit conversion turns
literal
floating-point number into integer}}
9
int y1 = (1.2222F); // expected-warning {{implicit conversion turns
literal
floating-point number into integer}}
10
int y2 = (((1.2222F))); // expected-warning {{implicit conversion turns
literal
floating-point number into integer}}
11
int y3 = 12E-1F; // expected-warning {{implicit conversion turns
literal
floating-point number into integer}}
12
int y4 = 1.23E1F; // expected-warning {{implicit conversion turns
literal
floating-point number into integer}}
14
int y5 = 1.2222; // expected-warning {{implicit conversion turns
literal
floating-point number into integer}}
15
int y6 = 12E-1; // expected-warning {{implicit conversion turns
literal
floating-point number into integer}}
16
int y7 = 1.23E1; // expected-warning {{implicit conversion turns
literal
floating-point number into integer}}
17
int y8 = (1.23E1); // expected-warning {{implicit conversion turns
literal
floating-point number into integer}
[
all
...]
warn-string-conversion.cpp
3
// Warn on cases where a string
literal
is converted into a bool.
7
bool b0 = "hi"; // expected-warning{{implicit conversion turns string
literal
into bool: 'const char [3]' to 'bool'}}
8
b0 = ""; // expected-warning{{implicit conversion turns string
literal
into bool: 'const char [1]' to 'bool'}}
10
assert("error"); // expected-warning{{implicit conversion turns string
literal
into bool: 'const char [6]' to 'bool'}}
13
while("hi") {} // expected-warning{{implicit conversion turns string
literal
into bool: 'const char [3]' to 'bool'}}
14
do {} while("hi"); // expected-warning{{implicit conversion turns string
literal
into bool: 'const char [3]' to 'bool'}}
15
for (;"hi";); // expected-warning{{implicit conversion turns string
literal
into bool: 'const char [3]' to 'bool'}}
16
if("hi") {} // expected-warning{{implicit conversion turns string
literal
into bool: 'const char [3]' to 'bool'}}
/external/webkit/LayoutTests/fast/xpath/
xpath-empty-string-expected.txt
1
This tests that parsing an XPath expression that contains an empty string
literal
doesn't segfault.
/external/dbus/doc/
dbus-tutorial.xml
274
named <
literal
>/org/kde/kspread/sheets/3/cells/4/5</
literal
>.
276
object named <
literal
>/com/mycompany/c5yo817y0c1y1c5b</
literal
>
281
of a domain name you own (e.g. <
literal
>/org/kde</
literal
>). This
317
something like <
literal
>org.freedesktop.Introspectable</
literal
>.
368
<
literal
>:34-907</
literal
>. The numbers after the colon have
[
all
...]
/external/jsr305/ri/src/main/java/javax/annotation/meta/
Exclusive.java
12
* value is {@
literal
@Foo(1)}, then the value cannot be {@
literal
@Foo(2)} or {{@
literal
@Foo(3)}.
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
ObjCTarget.java
50
String
literal
)
52
if (
literal
.startsWith("'\\u") ) {
53
literal
= "0x" +
literal
.substring(3, 7);
55
int c =
literal
.charAt(1); // TJP
57
literal
= "0x" + Integer.toHexString(c);
61
return
literal
;
64
/** Convert from an ANTLR string
literal
found in a grammar file to
65
* an equivalent string
literal
in the target language. For Java, this
67
* around the incoming
literal
. Just flip the quotes and replac
[
all
...]
/external/linux-tools-perf/Documentation/
manpage-bold-literal.xsl
1
<!-- manpage-bold-
literal
.xsl:
6
<!-- render
literal
text as bold (instead of plain or monospace);
7
this makes
literal
text easier to distinguish in manpages
9
<xsl:template match="
literal
">
Completed in 553 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>