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

<<31323334353637383940>>

  /system/connectivity/shill/
protobuf_lite_streams.cc 42 static_cast<CopyingInputStream*>(file_stream)));
62 lseek(fd_, count, SEEK_CUR) != static_cast<off_t>(-1)) {
  /system/gatekeeper/include/gatekeeper/
gatekeeper_utils.h 48 const uint8_t* s1 = static_cast<const uint8_t*>(p1);
49 const uint8_t* s2 = static_cast<const uint8_t*>(p2);
  /system/keymaster/
android_keymaster_utils.cpp 37 const uint8_t* s1 = static_cast<const uint8_t*>(p1);
38 const uint8_t* s2 = static_cast<const uint8_t*>(p2);
  /system/update_engine/common/
hwid_override_unittest.cc 51 static_cast<int>(keyval.length()));
59 static_cast<int>(keyval.length()));
  /prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/io/
coded_stream.h     [all...]
  /prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/io/
coded_stream.h     [all...]
  /prebuilts/misc/windows/protobuf2.5/include/google/protobuf/io/
coded_stream.h     [all...]
  /prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/io/
coded_stream.h     [all...]
  /art/compiler/debug/dwarf/
writer.h 57 PushUint32(static_cast<uint32_t>(value));
62 PushUint32(static_cast<uint32_t>(value));
79 PushUint8(static_cast<uint8_t>(value));
85 PushUint16(static_cast<uint16_t>(value));
89 PushUint32(static_cast<uint32_t>(value));
93 PushUint64(static_cast<uint64_t>(value));
  /art/runtime/
mapping_table.h 76 dex_pc_ = static_cast<uint32_t>(DecodeSignedLeb128(&encoded_table_ptr_));
92 // For negative delta, unsigned overflow after static_cast does exactly what we need.
93 dex_pc_ += static_cast<uint32_t>(DecodeSignedLeb128(&encoded_table_ptr_));
153 dex_pc_ = static_cast<uint32_t>(DecodeSignedLeb128(&encoded_table_ptr_));
169 // For negative delta, unsigned overflow after static_cast does exactly what we need.
170 dex_pc_ += static_cast<uint32_t>(DecodeSignedLeb128(&encoded_table_ptr_));
  /bionic/libc/bionic/
legacy_32_bit_support.cpp 65 unsigned long off_hi = static_cast<unsigned long>(off >> 32);
66 unsigned long off_lo = static_cast<unsigned long>(off);
75 return pread64(fd, buf, byte_count, static_cast<off64_t>(offset));
80 return pwrite64(fd, buf, byte_count, static_cast<off64_t>(offset));
102 return fallocate64(fd, mode, static_cast<off64_t>(offset), static_cast<off64_t>(length));
  /device/google/contexthub/util/nanotool/
nanopacket.cpp 72 reason_ = static_cast<uint32_t>(reason);
91 packet_buffer_[5] = static_cast<uint32_t>(reason);
92 packet_buffer_[6] = static_cast<uint32_t>(reason) >> 8;
93 packet_buffer_[7] = static_cast<uint32_t>(reason) >> 16;
94 packet_buffer_[8] = static_cast<uint32_t>(reason) >> 24;
138 return static_cast<PacketReason>(reason_);
  /external/eigen/unsupported/test/
matrix_power.cpp 56 VERIFY(C.isApprox(B, static_cast<T>(tol)));
71 angle = std::ldexp(static_cast<T>(i-10), -1);
78 VERIFY(C.isApprox(B, static_cast<T>(tol)));
100 VERIFY(m4.isApprox(m5, static_cast<RealScalar>(tol)));
104 VERIFY(m4.isApprox(m5, static_cast<RealScalar>(tol)));
108 VERIFY(m4.isApprox(m5, static_cast<RealScalar>(tol)));
  /external/libchrome/base/strings/
sys_string_conversions_posix.cc 59 case static_cast<size_t>(-1):
87 case static_cast<size_t>(-1):
115 case static_cast<size_t>(-2):
116 case static_cast<size_t>(-1):
144 case static_cast<size_t>(-2):
145 case static_cast<size_t>(-1):
  /external/libcxx/include/experimental/
optional 541 static_cast<value_type>(_VSTD::forward<_Up>(__v));
553 static_cast<value_type>(_VSTD::forward<_Up>(__v));
580 if (static_cast<bool>(__x) != static_cast<bool>(__y))
582 if (!static_cast<bool>(__x))
602 if (!static_cast<bool>(__y))
604 if (!static_cast<bool>(__x))
644 return !static_cast<bool>(__x);
653 return !static_cast<bool>(__x);
662 return static_cast<bool>(__x)
    [all...]
  /external/libcxxabi/src/
fallback_malloc.ipp 71 { return static_cast<heap_offset>(static_cast<size_t>(reinterpret_cast<const char *>(ptr) - heap) / sizeof (heap_node)); }
101 p->len = static_cast<heap_size>(p->len - nelems);
104 q->len = static_cast<heap_size>(nelems);
146 p->len = static_cast<heap_size>(p->len + cp->len); // make the free heap_node larger
153 cp->len = static_cast<heap_size>(cp->len + p->len);
  /external/llvm/lib/Support/
RWMutex.cpp 51 static_cast<pthread_rwlock_t*>(malloc(sizeof(pthread_rwlock_t)));
70 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_);
79 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_);
89 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_);
99 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_);
109 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_);
  /external/opencv3/modules/cudacodec/src/
video_parser.cpp 73 packet.payload_size = static_cast<unsigned long>(size);
101 VideoParser* thiz = static_cast<VideoParser*>(userData);
112 newFormat.codec = static_cast<Codec>(format->codec);
113 newFormat.chromaFormat = static_cast<ChromaFormat>(format->chroma_format);
133 VideoParser* thiz = static_cast<VideoParser*>(userData);
153 VideoParser* thiz = static_cast<VideoParser*>(userData);
  /external/pdfium/testing/
test_support.cpp 69 static_cast<int>(strlen(predictable_flag)));
89 static_cast<char*>(malloc(file_length)));
123 static_cast<unsigned short*>(malloc(length)));
168 TestLoader* pLoader = static_cast<TestLoader*>(param);
189 TestSaver* pThis = static_cast<TestSaver*>(pFileWrite);
190 pThis->m_String.append(static_cast<const char*>(data), size);
  /external/skia/src/utils/win/
SkDWriteFontFileStream.cpp 120 return static_cast<size_t>(realFileSize);
196 *fragmentStart = static_cast<BYTE const*>(data) + static_cast<size_t>(fileOffset);
206 if (!fStream->seek(static_cast<size_t>(fileOffset))) {
209 SkAutoTMalloc<uint8_t> streamData(static_cast<size_t>(fragmentSize));
210 if (fStream->read(streamData.get(), static_cast<size_t>(fragmentSize)) != fragmentSize) {
  /external/v8/src/base/platform/
platform-macos.cc 104 time_t tv = static_cast<time_t>(std::floor(time/msPerSecond));
115 return static_cast<double>(t->tm_gmtoff * msPerSecond -
131 static_cast<intptr_t>(OS::AllocateAlignment()));
140 uint8_t* base = static_cast<uint8_t*>(reservation);
146 size_t prefix_size = static_cast<size_t>(aligned_base - base);
162 address_ = static_cast<void*>(aligned_base);
platform-solaris.cc 40 time_t tv = static_cast<time_t>(std::floor(time/msPerSecond));
49 return -static_cast<double>(timezone * msPerSecond);
91 static_cast<intptr_t>(OS::AllocateAlignment()));
100 uint8_t* base = static_cast<uint8_t*>(reservation);
106 size_t prefix_size = static_cast<size_t>(aligned_base - base);
122 address_ = static_cast<void*>(aligned_base);
  /external/vulkan-validation-layers/libs/glm/gtx/
vector_query.inl 26 return length(cross(detail::tvec3<T, P>(v0, static_cast<T>(0)), detail::tvec3<T, P>(v1, static_cast<T>(0)))) < epsilon;
113 static_cast<T>(1),
114 length(v0)) * max(static_cast<T>(1), length(v1)) * epsilon;
126 return abs(length(v) - static_cast<T>(1)) <= static_cast<T>(2) * epsilon;
  /external/webrtc/webrtc/modules/video_coding/codecs/i420/
i420.cc 126 *buffer++ = static_cast<uint8_t>(width >> 8);
127 *buffer++ = static_cast<uint8_t>(width & 0xFF);
128 *buffer++ = static_cast<uint8_t>(height >> 8);
129 *buffer++ = static_cast<uint8_t>(height & 0xFF);
223 *width = static_cast<uint16_t>(*buffer++) << 8;
225 *height = static_cast<uint16_t>(*buffer++) << 8;
  /external/webrtc/webrtc/test/
fake_encoder.cc 29 encoded_buffer_[i] = static_cast<uint8_t>(i);
67 static_cast<size_t>(target_bitrate_kbps_ * time_since_last_encode_ms);
68 size_t min_bits = static_cast<size_t>(
73 static_cast<size_t>(max_target_bitrate_kbps_ * time_since_last_encode_ms);
84 size_t min_stream_bits = static_cast<size_t>(
86 size_t max_stream_bits = static_cast<size_t>(

Completed in 3619 milliseconds

<<31323334353637383940>>