OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:IntHolder
(Results
1 - 8
of
8
) sorted by null
/art/test/084-class-init/src/
IntHolder.java
21
public class
IntHolder
{
25
* Constructs an
IntHolder
with the specified value. Throws an
28
public
IntHolder
(int initialVal) {
/dalvik/tests/084-class-init/src/
IntHolder.java
21
public class
IntHolder
{
25
* Constructs an
IntHolder
with the specified value. Throws an
28
public
IntHolder
(int initialVal) {
/external/compiler-rt/lib/asan/lit_tests/TestCases/
use-after-scope-dtor-order.cc
5
struct
IntHolder
{
6
explicit
IntHolder
(int *val = 0) : val_(val) { }
7
~
IntHolder
() {
10
// CHECK: #0 0x{{.*}} in
IntHolder
::~
IntHolder
{{.*}}use-after-scope-dtor-order.cc:[[@LINE-2]]
19
// It is incorrect to use "x" int
IntHolder
destructor, because "x" is
21
IntHolder
holder;
use-after-scope-temp.cc
9
struct
IntHolder
{
10
explicit
IntHolder
(int val) : val(val) {
11
printf("
IntHolder
: %d\n", val);
16
const
IntHolder
*saved;
18
void save(const
IntHolder
&holder) {
23
save(
IntHolder
(10));
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
p4.cpp
3
struct
IntHolder
{ // expected-note{{here}} // expected-note 2{{candidate constructor (the implicit copy constructor)}}
4
IntHolder
(int); // expected-note 2{{candidate constructor}}
25
IntHolder
&test_X_IntHolderInt(X<
IntHolder
, int> xih) {
29
X<
IntHolder
, int>::Inner inner; // expected-note {{first required here}}
31
return X<
IntHolder
, int>::value; // expected-note{{instantiation}}
34
// Explicitly specialize the members of X<
IntHolder
, long> to not cause
37
void X<
IntHolder
, long>::f() { }
40
struct X<
IntHolder
, long>::Inner {
42
IntHolder
value
[
all
...]
p5.cpp
3
struct
IntHolder
{
4
IntHolder
(int);
25
// Explicitly specialize the members of X<
IntHolder
, long> to not cause
28
void X<
IntHolder
, long>::f();
31
struct X<
IntHolder
, long>::Inner; // expected-note{{forward declaration}}
34
IntHolder
X<
IntHolder
, long>::value;
36
IntHolder
&test_X_IntHolderInt(X<
IntHolder
, long> xih) {
40
X<
IntHolder
, long>::Inner inner; // expected-error {{incomplete}
[
all
...]
/external/guava/guava-tests/test/com/google/common/collect/
ImmutableMapTest.java
547
private static class
IntHolder
implements Serializable {
550
public
IntHolder
(int value) {
555
return (o instanceof
IntHolder
) && ((
IntHolder
) o).value == value;
566
IntHolder
holderA = new
IntHolder
(1);
567
IntHolder
holderB = new
IntHolder
(2);
568
Map<String,
IntHolder
> map = ImmutableMap.of("a", holderA, "b", holderB);
571
Maps.immutableEntry("a", new
IntHolder
(3))))
[
all
...]
ImmutableSortedMapTest.java
723
private static class
IntHolder
implements Serializable {
726
public
IntHolder
(int value) {
731
return (o instanceof
IntHolder
) && ((
IntHolder
) o).value == value;
742
IntHolder
holderA = new
IntHolder
(1);
743
IntHolder
holderB = new
IntHolder
(2);
744
Map<String,
IntHolder
> map
748
Maps.immutableEntry("a", new
IntHolder
(3))))
[
all
...]
Completed in 410 milliseconds