HomeSort by relevance Sort by last modified time
    Searched full:static_cast (Results 126 - 150 of 7695) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/libchrome/base/files/
memory_mapped_file_posix.cc 37 map_size = static_cast<size_t>(file_len);
55 static_cast<uint64_t>(aligned_size) >
57 static_cast<uint64_t>(region.size) >
63 map_start = static_cast<off_t>(aligned_start);
64 map_size = static_cast<size_t>(aligned_size);
65 length_ = static_cast<size_t>(region.size);
68 data_ = static_cast<uint8_t*>(mmap(NULL, map_size, PROT_READ, MAP_SHARED,
  /frameworks/native/include/ui/
Gralloc1On0Adapter.h 37 static_cast<gralloc1_capability_t>(GRALLOC1_LAST_CAPABILITY + 1);
40 static_cast<gralloc1_function_descriptor_t>(GRALLOC1_LAST_FUNCTION + 1);
42 static_cast<gralloc1_function_descriptor_t>(GRALLOC1_LAST_FUNCTION + 2);
44 static_cast<gralloc1_function_descriptor_t>(GRALLOC1_LAST_FUNCTION + 3);
68 return static_cast<gralloc1_device_t*>(this);
73 return static_cast<Gralloc1On0Adapter*>(device);
114 return static_cast<int32_t>(error);
121 return static_cast<int32_t>(error);
174 return static_cast<int32_t>(GRALLOC1_ERROR_BAD_DESCRIPTOR);
177 return static_cast<int32_t>(error)
    [all...]
  /frameworks/rs/
rsApiFileA3D.cpp 24 FileA3D *fa3d = static_cast<FileA3D *>(file);
38 FileA3D *fa3d = static_cast<FileA3D *>(file);
48 FileA3D *fa3d = static_cast<FileA3D *>(file);
74 Context *rsc = static_cast<Context *>(con);
84 Context *rsc = static_cast<Context *>(con);
85 Asset *asset = static_cast<Asset *>(_asset);
102 Context *rsc = static_cast<Context *>(con);
rsScript.cpp 171 Script *s = static_cast<Script *>(vs);
172 Allocation *a = static_cast<Allocation *>(va);
201 Script *s = static_cast<Script *>(vs);
206 static_cast<Allocation *>(vaout), params, paramLen, sc);
231 Script *s = static_cast<Script *>(vs);
236 static_cast<Allocation *>(vaout), sc);
240 Script *s = static_cast<Script *>(vs);
246 Script *s = static_cast<Script *>(vs);
251 Script *s = static_cast<Script *>(vs);
256 Script *s = static_cast<Script *>(vs)
    [all...]
  /hardware/qcom/display/msm8996/sdm/include/utils/
constants.h 35 #define INT(exp) static_cast<int>(exp)
36 #define FLOAT(exp) static_cast<float>(exp)
37 #define UINT8(exp) static_cast<uint8_t>(exp)
38 #define UINT16(exp) static_cast<uint16_t>(exp)
39 #define UINT32(exp) static_cast<uint32_t>(exp)
40 #define INT32(exp) static_cast<int32_t>(exp)
41 #define UINT64(exp) static_cast<uint64_t>(exp)
  /system/core/debuggerd/x86/
machine.cpp 37 dump_memory(log, backtrace, static_cast<uintptr_t>(r.eax), "memory near eax:");
38 dump_memory(log, backtrace, static_cast<uintptr_t>(r.ebx), "memory near ebx:");
39 dump_memory(log, backtrace, static_cast<uintptr_t>(r.ecx), "memory near ecx:");
40 dump_memory(log, backtrace, static_cast<uintptr_t>(r.edx), "memory near edx:");
41 dump_memory(log, backtrace, static_cast<uintptr_t>(r.esi), "memory near esi:");
42 dump_memory(log, backtrace, static_cast<uintptr_t>(r.edi), "memory near edi:");
44 dump_memory(log, backtrace, static_cast<uintptr_t>(r.eip), "code around eip:");
  /external/clang/include/clang/Basic/
DiagnosticOptions.h 41 return static_cast<DiagnosticLevelMask>(~static_cast<UT>(M));
47 return static_cast<DiagnosticLevelMask>(
48 static_cast<UT>(LHS) | static_cast<UT>(RHS));
54 return static_cast<DiagnosticLevelMask>(
55 static_cast<UT>(LHS) & static_cast<UT>(RHS));
103 Type get##Name() const { return static_cast<Type>(Name); } \
104 void set##Name(Type Value) { Name = static_cast<unsigned>(Value);
    [all...]
  /frameworks/base/core/jni/
android_util_jar_StrictJarFile.cpp 45 static_cast<jlong>(entry.crc32),
46 static_cast<jlong>(entry.compressed_length),
47 static_cast<jlong>(entry.uncompressed_length),
48 static_cast<jint>(entry.method),
49 static_cast<jint>(0), // time
51 static_cast<jlong>(entry.offset));
57 return static_cast<jlong>(-1);
65 return static_cast<jlong>(-1);
94 return static_cast<jlong>(-1);
110 return static_cast<jlong>(-1)
    [all...]
  /packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
bigintegertest.cpp 65 a *= static_cast <uint64_t>(0);
67 a *= static_cast <uint64_t>(123);
71 b *= static_cast<uint64_t>(1);
73 b *= static_cast<uint64_t>(0);
77 c *= static_cast<uint64_t>(456u);
87 a *= static_cast <uint32_t>(0);
89 a *= static_cast <uint32_t>(123);
93 b *= static_cast<uint32_t>(1);
95 b *= static_cast<uint32_t>(0);
99 c *= static_cast<uint32_t>(456u)
    [all...]
  /art/runtime/arch/arm/
context_arm.h 53 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfCoreRegisters));
58 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfCoreRegisters));
63 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfCoreRegisters));
71 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfSRegisters));
76 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfSRegisters));
  /external/clang/test/SemaCXX/
cast-conversion.cpp 19 static_cast<B>(10); // expected-error {{no matching conversion for static_cast from 'int' to 'B'}}
44 static_cast<float*>(f0<0>()); // expected-error{{ambiguous}}
73 return static_cast<long long>(a); // expected-error {{ambiguous conversion for static_cast from 'AmbiguousCast' to 'long long'}}
  /external/libchrome/crypto/
openssl_bio_string_unittest.cc 23 EXPECT_EQ(static_cast<int>(expected1.size()),
30 EXPECT_EQ(static_cast<int>(expected2.size()),
34 EXPECT_EQ(static_cast<int>(expected3.size()),
49 EXPECT_EQ(static_cast<int>(expected1.size()),
56 EXPECT_EQ(static_cast<int>(expected2.size()),
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
entry_counters.h 36 return mEntryCounts[static_cast<int>(ngramType)];
66 ++mEntryCounters[static_cast<int>(ngramType)];
70 --mEntryCounters[static_cast<int>(ngramType)];
74 return mEntryCounters[static_cast<int>(ngramType)];
78 mEntryCounters[static_cast<int>(ngramType)] = count;
  /frameworks/native/libs/ui/
GraphicBuffer.cpp 39 uint64_t id = static_cast<uint64_t>(getpid()) << 32;
40 id |= static_cast<uint32_t>(android_atomic_inc(&nextId));
78 width = static_cast<int>(inWidth);
79 height = static_cast<int>(inHeight);
80 stride = static_cast<int>(inStride);
82 usage = static_cast<int>(inUsage);
122 return static_cast<status_t>(mInitCheck);
133 return static_cast<ANativeWindowBuffer*>(
144 static_cast<int>(inWidth) == width &&
145 static_cast<int>(inHeight) == height &
    [all...]
  /external/webrtc/webrtc/base/
common.h 27 #define RTC_UNUSED(x) RtcUnused(static_cast<const void*>(&x))
28 #define RTC_UNUSED2(x, y) RtcUnused(static_cast<const void*>(&x)); \
29 RtcUnused(static_cast<const void*>(&y))
30 #define RTC_UNUSED3(x, y, z) RtcUnused(static_cast<const void*>(&x)); \
31 RtcUnused(static_cast<const void*>(&y)); \
32 RtcUnused(static_cast<const void*>(&z))
33 #define RTC_UNUSED4(x, y, z, a) RtcUnused(static_cast<const void*>(&x)); \
34 RtcUnused(static_cast<const void*>(&y)); \
35 RtcUnused(static_cast<const void*>(&z)); \
36 RtcUnused(static_cast<const void*>(&a)
    [all...]
httpcommon-inl.h 36 const CTYPE* path = strchrn(val, len, static_cast<CTYPE>('/'));
47 if (const CTYPE* at = strchrn(val, len, static_cast<CTYPE>('@'))) {
52 if (const CTYPE* colon = strchrn(val, len, static_cast<CTYPE>(':'))) {
56 port_ = static_cast<uint16_t>(::strtoul(colon + 1, NULL, 10));
66 const CTYPE* query = strchrn(val, len, static_cast<CTYPE>('?'));
73 path_.assign(1, static_cast<CTYPE>('/'));
75 ASSERT(val[0] == static_cast<CTYPE>('/'));
117 if ((pos > query_.length()) || (static_cast<CTYPE>('=') != query_[pos-1]))
120 std::string::size_type end = query_.find(static_cast<CTYPE>('&'), pos);
  /external/pdfium/xfa/src/fwl/src/basewidget/
fwl_comboboximp.cpp 33 return static_cast<CFWL_ComboBoxImp*>(GetImpl())->GetCurSel();
36 return static_cast<CFWL_ComboBoxImp*>(GetImpl())->SetCurSel(iSel);
39 return static_cast<CFWL_ComboBoxImp*>(GetImpl())->SetEditText(wsText);
42 return static_cast<CFWL_ComboBoxImp*>(GetImpl())->GetEditTextLength();
47 return static_cast<CFWL_ComboBoxImp*>(GetImpl())
51 return static_cast<CFWL_ComboBoxImp*>(GetImpl())
55 return static_cast<CFWL_ComboBoxImp*>(GetImpl())
59 return static_cast<CFWL_ComboBoxImp*>(GetImpl())->GetEditLimit();
62 return static_cast<CFWL_ComboBoxImp*>(GetImpl())->SetEditLimit(nLimit);
65 return static_cast<CFWL_ComboBoxImp*>(GetImpl())->EditDoClipboard(iCmd);
    [all...]
  /external/v8/src/interpreter/
bytecode-array-builder.cc 44 return static_cast<uint32_t>(
50 return static_cast<uint32_t>(operand);
149 int bytecode_size = static_cast<int>(bytecodes_.size());
168 DCHECK_EQ(Bytecodes::NumberOfOperands(bytecode), static_cast<int>(N));
171 for (int i = 0; i < static_cast<int>(N); i++) {
177 bytecodes()->push_back(static_cast<uint8_t>(operands[i]));
281 Output(Bytecode::kLdaSmi8, static_cast<uint8_t>(raw_smi));
292 Output(Bytecode::kLdaConstant, static_cast<uint8_t>(entry));
294 Output(Bytecode::kLdaConstantWide, static_cast<uint16_t>(entry));
397 Output(bytecode, static_cast<uint8_t>(name_index)
    [all...]
  /device/generic/goldfish/camera/
Converters.h 82 #define R16(rgb) static_cast<uint8_t>(rgb & kRed5)
83 #define G16(rgb) static_cast<uint8_t>((rgb & kGreen6) >> 5)
84 #define B16(rgb) static_cast<uint8_t>((rgb & kBlue5) >> 11)
86 #define R16_32(rgb) static_cast<uint8_t>(((rgb & kRed5) << 3) | ((rgb & kRed5) >> 2))
87 #define G16_32(rgb) static_cast<uint8_t>(((rgb & kGreen6) >> 3) | ((rgb & kGreen6) >> 9))
88 #define B16_32(rgb) static_cast<uint8_t>(((rgb & kBlue5) >> 8) | ((rgb & kBlue5) >> 14))
90 #define R32(rgb) static_cast<uint8_t>(rgb & kRed8)
91 #define G32(rgb) static_cast<uint8_t>(((rgb & kGreen8) >> 8) & 0xff)
92 #define B32(rgb) static_cast<uint8_t>(((rgb & kBlue8) >> 16) & 0xff)
94 #define RGB565(r, g, b) static_cast<uint16_t>((((static_cast<uint16_t>(b) << 6) | g) << 5) | r
    [all...]
  /external/llvm/include/llvm/ADT/
iterator.h 54 DerivedT tmp = *static_cast<const DerivedT *>(this);
68 DerivedT tmp = *static_cast<const DerivedT *>(this);
74 return static_cast<DerivedT *>(this)->operator+=(1);
77 DerivedT tmp = *static_cast<DerivedT *>(this);
78 ++*static_cast<DerivedT *>(this);
85 return static_cast<DerivedT *>(this)->operator-=(1);
91 DerivedT tmp = *static_cast<DerivedT *>(this);
92 --*static_cast<DerivedT *>(this);
97 return !static_cast<const DerivedT *>(this)->operator==(RHS);
104 return !static_cast<const DerivedT *>(this)->operator<(RHS) &
    [all...]
  /external/parameter-framework/asio-1.10.6/include/asio/impl/
io_service.hpp 26 (void)static_cast<io_service::service*>(static_cast<Service*>(0));
27 (void)static_cast<const io_service::id*>(&Service::id);
43 (void)static_cast<io_service::service*>(static_cast<Service*>(0));
44 (void)static_cast<const io_service::id*>(&Service::id);
53 (void)static_cast<io_service::service*>(static_cast<Service*>(0));
54 (void)static_cast<const io_service::id*>(&Service::id);
  /external/v8/test/unittests/compiler/
value-numbering-reducer-unittest.cc 76 Operator::Opcode opcode = static_cast<Operator::Opcode>(kMaxInputCount + i);
81 const TestOperator op1(static_cast<Operator::Opcode>(input_count),
83 Node* n1 = graph()->NewNode(&op1, static_cast<int>(input_count), inputs);
87 const TestOperator op2(static_cast<Operator::Opcode>(input_count),
89 Node* n2 = graph()->NewNode(&op2, static_cast<int>(input_count), inputs);
101 Operator::Opcode opcode = static_cast<Operator::Opcode>(2 + i);
107 Node* n = graph()->NewNode(&op1, static_cast<int>(input_count), inputs);
111 r = Reduce(graph()->NewNode(&op1, static_cast<int>(input_count), inputs));
115 r = Reduce(graph()->NewNode(&op1, static_cast<int>(input_count), inputs));
  /external/vulkan-validation-layers/libs/glm/gtx/
inertia.inl 50 Result[2][2] *= static_cast<T>(2);
63 Result[2][2] *= static_cast<T>(2);
64 Result[3][3] = static_cast<T>(1);
75 T a = static_cast<T>(2) * Mass * Radius * Radius / T(5);
86 T a = static_cast<T>(2) * Mass * Radius * Radius / T(5);
88 Result[3][3] = static_cast<T>(1);
99 T a = static_cast<T>(2) * Mass * Radius * Radius / T(3);
110 T a = static_cast<T>(2) * Mass * Radius * Radius / T(3);
112 Result[3][3] = static_cast<T>(1);
matrix_operation.inl 18 detail::tmat2x2<T, P> Result(static_cast<T>(1));
30 detail::tmat2x3<T, P> Result(static_cast<T>(1));
42 detail::tmat2x4<T, P> Result(static_cast<T>(1));
54 detail::tmat3x2<T, P> Result(static_cast<T>(1));
66 detail::tmat3x3<T, P> Result(static_cast<T>(1));
79 detail::tmat3x4<T, P> Result(static_cast<T>(1));
92 detail::tmat4x4<T, P> Result(static_cast<T>(1));
106 detail::tmat4x3<T, P> Result(static_cast<T>(1));
119 detail::tmat4x2<T, P> Result(static_cast<T>(1));
  /external/libcxxabi/test/
catch_class_03.pass.cpp 80 assert(static_cast<C1&>(a).id_ == 4);
81 assert(static_cast<C2&>(a).id_ == 3);
82 assert(static_cast<B&>(static_cast<C1&>(a)).id_ == 2);
83 assert(static_cast<B&>(static_cast<C2&>(a)).id_ == 1);
102 assert(static_cast<const C1&>(a).id_ == 4);
103 assert(static_cast<const C2&>(a).id_ == 3);
104 assert(static_cast<const B&>(static_cast<const C1&>(a)).id_ == 2)
    [all...]

Completed in 725 milliseconds

1 2 3 4 56 7 8 91011>>