OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:reinterpret_cast
(Results
126 - 150
of
3889
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/llvm/unittests/Support/
TrailingObjectsTest.cpp
111
EXPECT_EQ(C->getTrailingObjects<short>(),
reinterpret_cast
<short *>(C + 1));
138
reinterpret_cast
<double *>(C1 + 1));
139
EXPECT_EQ(C1->getTrailingObjects<short>(),
reinterpret_cast
<short *>(C1 + 1));
144
reinterpret_cast
<double *>(C2 + 1));
146
reinterpret_cast
<short *>(
reinterpret_cast
<double *>(C2 + 1) + 1));
168
Class3 *C =
reinterpret_cast
<Class3 *>(P.get());
169
EXPECT_EQ(C->getTrailingObjects<double>(),
reinterpret_cast
<double *>(C + 1));
171
reinterpret_cast
<short *>(
reinterpret_cast
<double *>(C + 1) + 1))
[
all
...]
/art/runtime/gc/collector/
immune_spaces.cc
45
uintptr_t space_begin =
reinterpret_cast
<uintptr_t>(space->Begin());
46
uintptr_t space_end =
reinterpret_cast
<uintptr_t>(space->Limit());
52
space_end = RoundUp(
reinterpret_cast
<uintptr_t>(image_space->GetImageEnd()), kPageSize);
57
intervals.push_back(Interval(
reinterpret_cast
<uintptr_t>(image_oat_file->Begin()),
58
reinterpret_cast
<uintptr_t>(image_oat_file->End()),
74
VLOG(collector) << "Interval " <<
reinterpret_cast
<const void*>(begin) << "-"
75
<<
reinterpret_cast
<const void*>(end) << " is_heap=" << is_heap;
100
largest_immune_region_.SetBegin(
reinterpret_cast
<mirror::Object*>(best_begin));
101
largest_immune_region_.SetEnd(
reinterpret_cast
<mirror::Object*>(best_end));
/frameworks/base/core/jni/android/graphics/
Typeface.cpp
30
Typeface* family =
reinterpret_cast
<Typeface*>(familyHandle);
40
return
reinterpret_cast
<jlong>(face);
44
Typeface* family =
reinterpret_cast
<Typeface*>(familyHandle);
46
return
reinterpret_cast
<jlong>(face);
50
Typeface* face =
reinterpret_cast
<Typeface*>(faceHandle);
57
Typeface* face =
reinterpret_cast
<Typeface*>(faceHandle);
65
FontFamily* family =
reinterpret_cast
<FontFamily*>(families[i]);
68
return
reinterpret_cast
<jlong>(Typeface::createFromFamilies(familyVec));
72
Typeface* face =
reinterpret_cast
<Typeface*>(faceHandle);
Rasterizer.cpp
50
NativeRasterizer* nr =
reinterpret_cast
<NativeRasterizer*>(rasterizerHandle);
61
delete
reinterpret_cast
<NativeRasterizer *>(objHandle);
77
return
reinterpret_cast
<jlong>(new NativeLayerRasterizer);
81
NativeLayerRasterizer* nr =
reinterpret_cast
<NativeLayerRasterizer *>(layerHandle);
82
const Paint* paint =
reinterpret_cast
<Paint *>(paintHandle);
Matrix.cpp
32
SkMatrix* obj =
reinterpret_cast
<SkMatrix*>(objHandle);
37
const SkMatrix* src =
reinterpret_cast
<SkMatrix*>(srcHandle);
43
return
reinterpret_cast
<jlong>(obj);
47
SkMatrix* obj =
reinterpret_cast
<SkMatrix*>(objHandle);
52
SkMatrix* obj =
reinterpret_cast
<SkMatrix*>(objHandle);
57
SkMatrix* obj =
reinterpret_cast
<SkMatrix*>(objHandle);
62
SkMatrix* obj =
reinterpret_cast
<SkMatrix*>(objHandle);
66
SkMatrix* obj =
reinterpret_cast
<SkMatrix*>(objHandle);
67
SkMatrix* other =
reinterpret_cast
<SkMatrix*>(otherHandle);
71
SkMatrix* obj =
reinterpret_cast
<SkMatrix*>(objHandle)
[
all
...]
PathEffect.cpp
15
SkPathEffect* effect =
reinterpret_cast
<SkPathEffect*>(effectHandle);
21
SkPathEffect* outer =
reinterpret_cast
<SkPathEffect*>(outerHandle);
22
SkPathEffect* inner =
reinterpret_cast
<SkPathEffect*>(innerHandle);
24
return
reinterpret_cast
<jlong>(effect);
29
SkPathEffect* first =
reinterpret_cast
<SkPathEffect*>(firstHandle);
30
SkPathEffect* second =
reinterpret_cast
<SkPathEffect*>(secondHandle);
32
return
reinterpret_cast
<jlong>(effect);
45
return
reinterpret_cast
<jlong>(effect);
50
const SkPath* shape =
reinterpret_cast
<SkPath*>(shapeHandle);
54
return
reinterpret_cast
<jlong>(effect)
[
all
...]
/cts/suite/audio_quality/lib/src/
BuiltinProcessing.cpp
50
android::sp<Buffer>& data(*
reinterpret_cast
<android::sp<Buffer>*>(inputs[0]));
52
int64_t passMin = (
reinterpret_cast
<TaskCase::Value*>(inputs[1]))->getInt64();
53
int64_t passMax = (
reinterpret_cast
<TaskCase::Value*>(inputs[2]))->getInt64();
57
int16_t* rawData =
reinterpret_cast
<int16_t*>(data->getData());
79
TaskCase::Value* rmsVal =
reinterpret_cast
<TaskCase::Value*>(outputs[0]);
/external/compiler-rt/test/asan/TestCases/Linux/
sized_delete_test.cc
63
Del12Ar(
reinterpret_cast
<S12*>(new S20[100]));
64
Del12NoThrow(
reinterpret_cast
<S12*>(new S20));
65
Del12ArNoThrow(
reinterpret_cast
<S12*>(new S20[100]));
72
Del12(
reinterpret_cast
<S12*>(new S20));
80
D1 *d1 =
reinterpret_cast
<D1*>(new D2[10]);
/external/v8/src/heap/
scavenger-inl.h
42
Object** slot =
reinterpret_cast
<Object**>(slot_address);
45
HeapObject* heap_object =
reinterpret_cast
<HeapObject*>(object);
48
ScavengeObject(
reinterpret_cast
<HeapObject**>(slot), heap_object);
71
Scavenger::ScavengeObject(
reinterpret_cast
<HeapObject**>(p),
72
reinterpret_cast
<HeapObject*>(object));
/external/v8/test/cctest/
test-circular-queue.cc
47
Record* rec =
reinterpret_cast
<Record*>(scq.StartEnqueue());
59
Record* rec =
reinterpret_cast
<Record*>(scq.StartEnqueue());
66
Record* rec =
reinterpret_cast
<Record*>(scq.Peek());
69
CHECK_EQ(rec,
reinterpret_cast
<Record*>(scq.Peek()));
71
CHECK_NE(rec,
reinterpret_cast
<Record*>(scq.Peek()));
79
Record* rec =
reinterpret_cast
<Record*>(scq.StartEnqueue());
88
Record* rec =
reinterpret_cast
<Record*>(scq.Peek());
91
CHECK_EQ(rec,
reinterpret_cast
<Record*>(scq.Peek()));
93
CHECK_NE(rec,
reinterpret_cast
<Record*>(scq.Peek()));
118
Record* rec =
reinterpret_cast
<Record*>(scq_->StartEnqueue())
[
all
...]
/art/runtime/gc/accounting/
card_table.cc
80
uint8_t* biased_begin =
reinterpret_cast
<uint8_t*>(
reinterpret_cast
<uintptr_t>(cardtable_begin) -
81
(
reinterpret_cast
<uintptr_t>(heap_begin) >> kCardShift));
82
uintptr_t biased_byte =
reinterpret_cast
<uintptr_t>(biased_begin) & 0xff;
88
CHECK_EQ(
reinterpret_cast
<uintptr_t>(biased_begin) & 0xff, kCardDirty);
104
memset(
reinterpret_cast
<void*>(card_start), kCardClean, card_end - card_start);
117
CHECK_ALIGNED(
reinterpret_cast
<uintptr_t>(start), kCardSize);
118
CHECK_ALIGNED(
reinterpret_cast
<uintptr_t>(end), kCardSize);
142
<< " begin: " <<
reinterpret_cast
<void*>(begin)
143
<< " end: " <<
reinterpret_cast
<void*>(end
[
all
...]
/bionic/libc/private/
KernelArgumentBlock.h
36
uintptr_t* args =
reinterpret_cast
<uintptr_t*>(raw_args);
38
argv =
reinterpret_cast
<char**>(args + 1);
49
auxv =
reinterpret_cast
<ElfW(auxv_t)*>(p);
/device/google/dragon/recovery/updater/
flash_file.cpp
43
dev->data =
reinterpret_cast
<uint8_t*>(param->data);
52
const Value *value =
reinterpret_cast
<const Value*>(params);
53
struct file_data *dev =
reinterpret_cast
<struct file_data*>(calloc(1, sizeof(struct file_data)));
74
dev->data =
reinterpret_cast
<uint8_t*>(mmap(NULL, dev->info.st_size, PROT_READ | PROT_WRITE,
96
struct file_data *dev =
reinterpret_cast
<struct file_data*>(hnd);
107
struct file_data *dev =
reinterpret_cast
<struct file_data*>(hnd);
122
struct file_data *dev =
reinterpret_cast
<struct file_data*>(hnd);
137
struct file_data *dev =
reinterpret_cast
<struct file_data*>(hnd);
152
struct file_data *dev =
reinterpret_cast
<struct file_data*>(hnd);
159
struct file_data *dev =
reinterpret_cast
<struct file_data*>(hnd)
[
all
...]
/external/compiler-rt/test/asan/TestCases/Posix/
new_array_cookie_with_new_from_class.cc
33
assert(
reinterpret_cast
<uintptr_t>(foo) ==
34
reinterpret_cast
<uintptr_t>(Foo::allocated) + sizeof(void*));
35
*
reinterpret_cast
<uintptr_t*>(Foo::allocated) = 42;
/external/skia/platform_tools/android/apps/canvasproof/src/main/jni/
org_skia_canvasproof_CreateSkiaPicture.cpp
20
SkSafeUnref(
reinterpret_cast
<SkPicture*>(ptr));
38
return
reinterpret_cast
<long>(recorder.endRecordingAsPicture());
40
return
reinterpret_cast
<long>(SkPicture::CreateFromStream(&stream));
/packages/apps/Gallery2/jni_jpegstream/src/
jerr_hook.cpp
26
ErrManager* mgr =
reinterpret_cast
<ErrManager*>(cinfo->err);
37
ErrManager* mgr =
reinterpret_cast
<ErrManager*>(cinfo->err);
49
cinfo->err =
reinterpret_cast
<struct jpeg_error_mgr*>(errMgr);
/art/test/004-SignalTest/
signaltest.cc
58
struct ucontext *uc =
reinterpret_cast
<struct ucontext*>(context);
59
struct sigcontext *sc =
reinterpret_cast
<struct sigcontext*>(&uc->uc_mcontext);
62
struct ucontext *uc =
reinterpret_cast
<struct ucontext*>(context);
63
struct sigcontext *sc =
reinterpret_cast
<struct sigcontext*>(&uc->uc_mcontext);
66
struct ucontext *uc =
reinterpret_cast
<struct ucontext*>(context);
69
struct ucontext *uc =
reinterpret_cast
<struct ucontext*>(context);
/external/compiler-rt/test/ubsan/TestCases/TypeCheck/
vptr.cpp
79
p =
reinterpret_cast
<T*>(Buffer);
84
p =
reinterpret_cast
<T*>(new(TStorage) S);
93
p =
reinterpret_cast
<T*>(new U);
111
p =
reinterpret_cast
<T*>((i == 0) ? new S : new V);
153
return
reinterpret_cast
<U*>(p)->v() - 2;
162
(void)static_cast<T*>(
reinterpret_cast
<S*>(p));
/frameworks/webview/chromium/plat_support/
graphic_buffer_impl.cpp
44
return
reinterpret_cast
<intptr_t>(buffer);
49
GraphicBufferImpl* buffer =
reinterpret_cast
<GraphicBufferImpl*>(buffer_id);
55
GraphicBufferImpl* buffer =
reinterpret_cast
<GraphicBufferImpl*>(buffer_id);
61
GraphicBufferImpl* buffer =
reinterpret_cast
<GraphicBufferImpl*>(buffer_id);
67
GraphicBufferImpl* buffer =
reinterpret_cast
<GraphicBufferImpl*>(buffer_id);
73
GraphicBufferImpl* buffer =
reinterpret_cast
<GraphicBufferImpl*>(buffer_id);
/art/compiler/jni/
jni_compiler_test.cc
213
SetUpForTest(false, "foo", "()V",
reinterpret_cast
<void*>(&Java_MyClassNatives_foo));
271
reinterpret_cast
<void*>(&Java_MyClassNatives_fooI));
301
reinterpret_cast
<void*>(&Java_MyClassNatives_fooII));
332
reinterpret_cast
<void*>(&Java_MyClassNatives_fooJJ));
364
reinterpret_cast
<void*>(&Java_MyClassNatives_fooDD));
395
reinterpret_cast
<void*>(&Java_MyClassNatives_fooJJ_synchronized));
435
reinterpret_cast
<void*>(&Java_MyClassNatives_fooIOO));
482
reinterpret_cast
<void*>(&Java_MyClassNatives_fooSII));
509
reinterpret_cast
<void*>(&Java_MyClassNatives_fooSDD));
535
SetUpForTest(true, "logD", "(D)D",
reinterpret_cast
<void*>(&Java_MyClassNatives_logD))
[
all
...]
/art/compiler/utils/mips64/
constants_mips64.h
70
return ((*
reinterpret_cast
<const uint32_t*>(this)) & 0xFC00003F) == kBreakPointInstruction;
77
static Instr* At(uintptr_t pc) { return
reinterpret_cast
<Instr*>(pc); }
/bionic/libc/bionic/
setjmp_cookie.cpp
43
char* random_data =
reinterpret_cast
<char*>(args.getauxval(AT_RANDOM));
44
long value = *
reinterpret_cast
<long*>(random_data + 8);
/bionic/linker/
linker_block_allocator.cpp
52
FreeBlockInfo* block_info =
reinterpret_cast
<FreeBlockInfo*>(free_block_list_);
54
FreeBlockInfo* next_block_info =
reinterpret_cast
<FreeBlockInfo*>(
55
reinterpret_cast
<char*>(free_block_list_) + block_size_);
79
ssize_t offset =
reinterpret_cast
<uint8_t*>(block) - page->bytes;
87
FreeBlockInfo* block_info =
reinterpret_cast
<FreeBlockInfo*>(block);
107
LinkerBlockAllocatorPage* page =
reinterpret_cast
<LinkerBlockAllocatorPage*>(
118
FreeBlockInfo* first_block =
reinterpret_cast
<FreeBlockInfo*>(page->bytes);
135
const uint8_t* page_ptr =
reinterpret_cast
<const uint8_t*>(page);
/external/clang/include/clang/Sema/
IdentifierResolver.h
87
Ptr =
reinterpret_cast
<uintptr_t>(D);
93
Ptr =
reinterpret_cast
<uintptr_t>(I) | 0x1;
100
return
reinterpret_cast
<BaseIter>(Ptr & ~0x3);
113
return
reinterpret_cast
<NamedDecl*>(Ptr);
198
return (
reinterpret_cast
<uintptr_t>(Ptr) & 0x1) == 0;
203
assert((
reinterpret_cast
<uintptr_t>(Ptr) & 0x1) == 1
205
return
reinterpret_cast
<IdDeclInfo*>(
206
reinterpret_cast
<uintptr_t>(Ptr) & ~0x1
/external/clang/test/CodeGenCXX/
cfi-cast.cpp
86
reinterpret_cast
<B&>(r);
100
reinterpret_cast
<B&&>(r);
Completed in 428 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>