Home
last modified time | relevance | path

Searched refs:implicit_cast (Results 1 – 25 of 41) sorted by relevance

12

/external/chromium_org/net/disk_cache/simple/
Dsimple_version_upgrade_unittest.cc57 ASSERT_EQ(implicit_cast<int>(sizeof(data)), in TEST()
71 ASSERT_EQ(implicit_cast<int>(file_contents.size()), in TEST()
98 ASSERT_EQ(implicit_cast<int>(file_contents.size()), in TEST()
110 base::StringPrintf(" %" PRIx64, implicit_cast<uint64>(entry_hash)); in TEST()
111 ASSERT_EQ(implicit_cast<int>(entry_contents.size()), in TEST()
129 base::StringPrintf(" %" PRIx64, implicit_cast<uint64>(entry_hash)); in TEST()
Dsimple_index.cc109 DCHECK_LE(implicit_cast<int64>(std::numeric_limits<uint32>::min()), in SetLastUsedTime()
111 DCHECK_GE(implicit_cast<int64>(std::numeric_limits<uint32>::max()), in SetLastUsedTime()
386 DCHECK_GE(cache_size_, implicit_cast<uint64>((*it)->second.GetEntrySize())); in UpdateEntryIteratorSize()
Dsimple_util.cc100 DCHECK_GE(implicit_cast<int64>(std::numeric_limits<int32>::max()), data_size); in GetDataSizeFromKeyAndFileSize()
Dsimple_index_file_unittest.cc245 implicit_cast<int>(kDummyData.size()), in TEST_F()
288 ASSERT_EQ(implicit_cast<int>(index_file_contents.size()), in TEST_F()
Dsimple_synchronous_entry.cc938 if (key_read_result != implicit_cast<int>(header.key_length)) { in InitializeForOpen()
1017 if (bytes_written != implicit_cast<int>(key_.size())) { in InitializeCreatedFile()
1245 if (key_write_result != implicit_cast<int>(key_.size())) { in InitializeSparseFile()
1375 if (bytes_written != implicit_cast<int>(sizeof(header))) { in WriteSparseRange()
1410 if (bytes_written != implicit_cast<int>(sizeof(header))) { in AppendSparseRange()
/external/ceres-solver/internal/ceres/
Dcasts.h60 inline To implicit_cast(typename identity_<To>::type to) { in implicit_cast() function
67 inline To implicit_cast(typename identity_<From>::type const &f) { in implicit_cast() function
98 implicit_cast<From*, To>(NULL); in down_cast()
/external/chromium_org/third_party/cld/base/
Dcasts.h32 inline To implicit_cast(From const &f) { in implicit_cast() function
62 implicit_cast<From*, To>(0); in down_cast()
83 implicit_cast<From*, ToAsPointer>(0); in down_cast()
Dbasictypes.h184 inline To implicit_cast(From const &f) { in implicit_cast() function
/external/chromium_org/chrome/browser/apps/app_shim/
Dapp_shim_host_mac_unittest.cc81 implicit_cast<IPC::Listener*>(host_.release())->OnChannelError(); in SimulateDisconnect()
131 implicit_cast<apps::AppShimHandler::Host*>(host())->GetAppId()); in TEST_F()
139 implicit_cast<apps::AppShimHandler::Host*>(host())-> in TEST_F()
160 implicit_cast<apps::AppShimHandler::Host*>(host())->GetAppId()); in TEST_F()
/external/sfntly/cpp/src/sfntly/port/
Dtype.h69 inline To implicit_cast(From const &f) { in implicit_cast() function
84 implicit_cast<From*, To>(0); in down_cast()
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/port/
Dtype.h69 inline To implicit_cast(From const &f) { in implicit_cast() function
84 implicit_cast<From*, To>(0); in down_cast()
/external/chromium_org/ui/base/
Dpage_transition_types.cc16 return implicit_cast<int>(PageTransitionStripQualifier(lhs)) == in PageTransitionCoreTypeIs()
17 implicit_cast<int>(PageTransitionStripQualifier(rhs)); in PageTransitionCoreTypeIs()
/external/chromium_org/net/tools/dump_cache/
Durl_utilities_unittest.cc79 std::string unescaped_char(1, implicit_cast<unsigned char>(c)); in TEST()
93 std::string just_char(1, implicit_cast<unsigned char>(c)); in TEST()
/external/lldb/source/Expression/
DASTResultSynthesizer.cpp263 ImplicitCastExpr *implicit_cast = dyn_cast<ImplicitCastExpr>(last_expr); in SynthesizeBodyResult() local
265 if (!implicit_cast) in SynthesizeBodyResult()
268 if (implicit_cast->getCastKind() != CK_LValueToRValue) in SynthesizeBodyResult()
271 last_expr = implicit_cast->getSubExpr(); in SynthesizeBodyResult()
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Dwire_format.h214 implicit_cast<int>(type))); in WireTypeForFieldType()
226 implicit_cast<int>(type))); in TagSize()
Dwire_format_unittest.cc58 EXPECT_EQ(implicit_cast<int>(FieldDescriptor::MAX_TYPE), in TEST()
59 implicit_cast<int>(WireFormatLite::MAX_FIELD_TYPE)); in TEST()
60 EXPECT_EQ(implicit_cast<int>(FieldDescriptor::MAX_CPPTYPE), in TEST()
61 implicit_cast<int>(WireFormatLite::MAX_CPPTYPE)); in TEST()
65 implicit_cast<int>(FieldDescriptor::TypeToCppType( in TEST()
67 implicit_cast<int>(WireFormatLite::FieldTypeToCppType( in TEST()
/external/chromium_org/base/android/
Dscoped_java_ref.h152 implicit_cast<T>(obj); // Ensure U is assignable to T in Reset()
201 implicit_cast<T>(obj); // Ensure U is assignable to T in Reset()
/external/protobuf/src/google/protobuf/
Dwire_format.h277 implicit_cast<int>(type))); in WireTypeForFieldType()
289 implicit_cast<int>(type))); in TagSize()
Dwire_format_unittest.cc58 EXPECT_EQ(implicit_cast<int>(FieldDescriptor::MAX_TYPE), in TEST()
59 implicit_cast<int>(WireFormatLite::MAX_FIELD_TYPE)); in TEST()
60 EXPECT_EQ(implicit_cast<int>(FieldDescriptor::MAX_CPPTYPE), in TEST()
61 implicit_cast<int>(WireFormatLite::MAX_CPPTYPE)); in TEST()
65 implicit_cast<int>(FieldDescriptor::TypeToCppType( in TEST()
67 implicit_cast<int>(WireFormatLite::FieldTypeToCppType( in TEST()
/external/chromium_org/base/
Dmacros.h136 inline To implicit_cast(From const &f) { in implicit_cast() function
/external/chromium_org/net/disk_cache/
Dcache_util.cc156 return implicit_cast<int32>(max_size); in PreferredCacheSize()
/external/chromium_org/chrome/browser/ui/views/apps/
Dchrome_native_app_window_views_win.cc61 implicit_cast<views::WidgetDelegate*>(this)->GetWidget(); in IsRunningInAsh()
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
Dcommon.h326 inline To implicit_cast(From const &f) { in implicit_cast() function
355 implicit_cast<From*, To>(0); in down_cast()
368 using internal::implicit_cast;
/external/protobuf/src/google/protobuf/stubs/
Dcommon.h281 inline To implicit_cast(From const &f) { in implicit_cast() function
310 implicit_cast<From*, To>(0); in down_cast()
323 using internal::implicit_cast;
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl_lite.cc194 implicit_cast<int>(sizeof(junk)))); in Skip()

12