HomeSort by relevance Sort by last modified time
    Searched full:static_cast (Results 1151 - 1175 of 12288) sorted by null

<<41424344454647484950>>

  /external/chromium/sdch/open-vcdiff/src/
rolling_hash_test.cc 35 EXPECT_EQ(static_cast<uint32_t>((-static_cast<int32_t>(operand)) % kBase),
50 RollingHashUtil::HashStep(static_cast<unsigned char>(first_value),
66 TestModBase(static_cast<uint32_t>(-10));
165 return static_cast<double>(timer.GetInUsec())
177 return static_cast<double>(timer.GetInUsec())
  /external/chromium_org/base/strings/
sys_string_conversions_posix.cc 58 case static_cast<size_t>(-1):
86 case static_cast<size_t>(-1):
114 case static_cast<size_t>(-2):
115 case static_cast<size_t>(-1):
143 case static_cast<size_t>(-2):
144 case static_cast<size_t>(-1):
  /external/chromium_org/cc/test/
pixel_comparator.cc 154 error_pixels_percentage = static_cast<float>(error_pixels_count) /
157 static_cast<float>(small_error_pixels_count) / pixels_count * 100.0f;
164 avg_abs_error_r = static_cast<float>(sum_abs_error_r) / error_pixels_count;
165 avg_abs_error_g = static_cast<float>(sum_abs_error_g) / error_pixels_count;
166 avg_abs_error_b = static_cast<float>(sum_abs_error_b) / error_pixels_count;
167 avg_abs_error_a = static_cast<float>(sum_abs_error_a) / error_pixels_count;
  /external/chromium_org/chrome/browser/ui/views/
tab_icon_view.cc 117 float float_src_w = static_cast<float>(src_w);
118 float float_src_h = static_cast<float>(src_h);
128 float scale = std::min(static_cast<float>(width()) / scalable_w,
129 static_cast<float>(height()) / scalable_h);
130 int dest_w = static_cast<int>(float_src_w * scale);
131 int dest_h = static_cast<int>(float_src_h * scale);
  /external/chromium_org/chrome/browser/ui/views/tabs/
dragged_tab_view.cc 52 static_cast<views::NativeWidgetWin*>(container_->native_widget())->
86 x = static_cast<int>(scale * screen_point.x());
87 y = static_cast<int>(scale * screen_point.y());
181 static_cast<int>(ps.width() * kScalingFactor),
182 static_cast<int>(ps.height() * kScalingFactor)));
191 return static_cast<int>(value * kScalingFactor);
  /external/chromium_org/chrome/common/extensions/
extension_messages.cc 59 int val = static_cast<int>(p);
68 *p = static_cast<param_type>(val);
72 ParamTraits<int>::Log(static_cast<int>(p), l);
126 WriteParam(m, static_cast<int>(p));
135 *p = static_cast<APIPermission::ID>(api_id);
141 LogParam(static_cast<int>(p), l);
  /external/chromium_org/chrome/common/extensions/features/
base_feature_provider_unittest.cc 19 static_cast<SimpleFeature*>(provider->GetFeature("description"));
47 static_cast<SimpleFeature*>(provider->GetFeature("theme"));
53 static_cast<SimpleFeature*>(provider->GetFeature("devtools_page"));
62 static_cast<SimpleFeature*>(provider->GetFeature("contextMenus"));
88 static_cast<SimpleFeature*>(provider->GetFeature("chromePrivate"));
94 static_cast<SimpleFeature*>(provider->GetFeature("clipboardWrite"));
  /external/chromium_org/chrome/renderer/net/
predictor_queue.cc 17 CHECK(0 < static_cast<BufferSize>(size + 3)); // Avoid overflow worries.
37 BufferSize length = static_cast<BufferSize>(unsigned_length);
77 DCHECK(static_cast<size_t>(space_till_wrap) == strlen(&buffer_[dest]));
89 DCHECK(static_cast<size_t>(length) == strlen(&buffer_[dest]));
117 BufferSize first_fragment_size = static_cast<BufferSize> (out_string->size());
124 terminal_null = static_cast<BufferSize>(out_string->size())
  /external/chromium_org/chrome/utility/media_galleries/
pmp_column_reader.cc 138 field_type_ = static_cast<PmpFieldType>(field_type_data);
157 expected_body_length = static_cast<int64>(rows_read_) * sizeof(uint32);
160 expected_body_length = static_cast<int64>(rows_read_) * sizeof(double);
163 expected_body_length = static_cast<int64>(rows_read_) * sizeof(uint8);
166 expected_body_length = static_cast<int64>(rows_read_) * sizeof(uint64);
186 const uint8* string_end = static_cast<const uint8*>(
  /external/chromium_org/components/autofill/core/browser/
password_generator.cc 43 characters->push_back(static_cast<char>(i));
45 characters->push_back(static_cast<char>(i));
47 characters->push_back(static_cast<char>(i));
103 ret.push_back(static_cast<char>(base::RandInt(kMinUpper, kMaxUpper)));
106 ret.push_back(static_cast<char>(base::RandInt(kMinLower, kMaxLower)));
109 ret.push_back(static_cast<char>(base::RandInt(kMinDigit, kMaxDigit)));
  /external/chromium_org/content/browser/
browser_context.cc 45 static_cast<StoragePartitionImplMap*>(
70 static_cast<StoragePartitionImpl*>(storage_partition)->
130 return static_cast<DownloadManager*>(
196 static_cast<StoragePartitionImplMap*>(
237 static_cast<DOMStorageContextWrapper*>(
242 static_cast<IndexedDBContextImpl*>(
  /external/chromium_org/content/browser/media/
webrtc_internals.cc 61 dict->SetInteger("pid", static_cast<int>(pid));
83 if (this_pid != static_cast<int>(pid) || this_lid != lid)
90 id.SetInteger("pid", static_cast<int>(pid));
110 if (this_pid != static_cast<int>(pid) || this_lid != lid)
128 update.SetInteger("pid", static_cast<int>(pid));
145 dict.SetInteger("pid", static_cast<int>(pid));
  /external/chromium_org/content/browser/speech/endpointer/
endpointer_unittest.cc 48 float randNum = static_cast<float>(rand() - (RAND_MAX / 2)) /
49 static_cast<float>(RAND_MAX);
50 samples[i] = static_cast<int16>(gain * randNum);
54 time += static_cast<int64>(kFrameSize * (1e6 / kSampleRate));
93 ep_config.set_frame_period(1.0f / static_cast<float>(kFrameRate));
94 ep_config.set_frame_duration(1.0f / static_cast<float>(kFrameRate));
  /external/chromium_org/content/child/
webblobregistry_impl.cc 92 static_cast<uint64>(data_item.offset),
93 static_cast<uint64>(data_item.length),
104 static_cast<uint64>(data_item.offset),
105 static_cast<uint64>(data_item.length));
117 static_cast<uint64>(data_item.offset),
118 static_cast<uint64>(data_item.length),
  /external/chromium_org/net/base/
net_log_unittest.h 31 static_cast<size_t>(static_cast<int>(entries.size()) + i) :
32 static_cast<size_t>(i);
100 static_cast<size_t>(static_cast<int>(entries.size()) + i) :
101 static_cast<size_t>(i);
  /external/chromium_org/ppapi/examples/input/
pointer_event_input.cc 55 UpdateSquare(static_cast<int>(mouse_event.GetPosition().x()),
56 static_cast<int>(mouse_event.GetPosition().y()));
64 UpdateSquare(static_cast<int>(mouse_event.GetPosition().x()),
65 static_cast<int>(mouse_event.GetPosition().y()));
77 UpdateSquare(static_cast<int>(point.position().x()),
78 static_cast<int>(point.position().y()));
  /external/chromium_org/sdch/open-vcdiff/src/
rolling_hash_test.cc 35 EXPECT_EQ(static_cast<uint32_t>((-static_cast<int32_t>(operand)) % kBase),
50 RollingHashUtil::HashStep(static_cast<unsigned char>(first_value),
66 TestModBase(static_cast<uint32_t>(-10));
165 return static_cast<double>(timer.GetInUsec())
177 return static_cast<double>(timer.GetInUsec())
  /external/chromium_org/sync/internal_api/public/base/
enum_set_unittest.cc 32 EXPECT_EQ(static_cast<size_t>(5), TestEnumSet::kValueCount);
38 EXPECT_EQ(static_cast<size_t>(0), enums.Size());
49 EXPECT_EQ(static_cast<size_t>(1), enums.Size());
60 EXPECT_EQ(static_cast<size_t>(2), enums.Size());
71 EXPECT_EQ(static_cast<size_t>(3), enums.Size());
82 EXPECT_EQ(static_cast<size_t>(5), enums.Size());
  /external/chromium_org/third_party/WebKit/Source/core/dom/
LiveNodeList.h 65 ASSERT(m_rootType == static_cast<unsigned>(rootType));
66 ASSERT(m_invalidationType == static_cast<unsigned>(invalidationType));
67 ASSERT(m_collectionType == static_cast<unsigned>(collectionType));
86 ALWAYS_INLINE NodeListInvalidationType invalidationType() const { return static_cast<NodeListInvalidationType>(m_invalidationType); }
87 ALWAYS_INLINE CollectionType type() const { return static_cast<CollectionType>(m_collectionType); }
130 ALWAYS_INLINE NodeListRootType rootType() const { return static_cast<NodeListRootType>(m_rootType); }
  /external/chromium_org/third_party/WebKit/Source/core/platform/audio/
AudioResamplerKernel.cpp 43 , m_sourceBuffer(2 + static_cast<int>(MaxFramesToProcess * AudioResampler::MaxRate))
59 int endIndex = static_cast<int>(nextFractionalIndex + 1.0); // round up to next integer index
97 ASSERT(virtualReadIndex >= 0 && 1 + static_cast<unsigned>(virtualReadIndex + (framesToProcess - 1) * rate) < m_sourceBuffer.size());
102 unsigned readIndex = static_cast<unsigned>(virtualReadIndex);
110 *destination++ = static_cast<float>(sample);
116 int readIndex = static_cast<int>(virtualReadIndex);
EqualPowerPanner.cpp 128 *destinationL++ = static_cast<float>(inputL * gainL);
129 *destinationR++ = static_cast<float>(inputL * gainR);
138 *destinationL++ = static_cast<float>(inputL + inputR * gainL);
139 *destinationR++ = static_cast<float>(inputR * gainR);
147 *destinationL++ = static_cast<float>(inputL * gainL);
148 *destinationR++ = static_cast<float>(inputR + inputL * gainR);
  /external/chromium_org/third_party/WebKit/Source/core/platform/chromium/support/
WebMediaStreamSource.cpp 108 m_private = MediaStreamSource::create(id, static_cast<MediaStreamSource::Type>(type), name);
120 return static_cast<Type>(m_private.get()->type());
132 m_private->setReadyState(static_cast<MediaStreamSource::ReadyState>(state));
138 return static_cast<ReadyState>(m_private->readyState());
147 return static_cast<ExtraDataContainer*>(data)->extraData();
237 ConsumerWrapper* wrapper = static_cast<ConsumerWrapper*>((*it).get());
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
IntSize.h 58 float aspectRatio() const { return static_cast<float>(m_width) / static_cast<float>(m_height); }
68 m_width = static_cast<int>(static_cast<float>(m_width) * widthScale);
69 m_height = static_cast<int>(static_cast<float>(m_height) * heightScale);
  /external/chromium_org/third_party/WebKit/Source/modules/filesystem/
WorkerGlobalScopeFileSystem.cpp 58 FileSystemType fileSystemType = static_cast<FileSystemType>(type);
75 FileSystemType fileSystemType = static_cast<FileSystemType>(type);
139 COMPILE_ASSERT(static_cast<int>(WorkerGlobalScopeFileSystem::TEMPORARY) == static_cast<int>(FileSystemTypeTemporary), enum_mismatch); member in namespace:WebCore
140 COMPILE_ASSERT(static_cast<int>(WorkerGlobalScopeFileSystem::PERSISTENT) == static_cast<int>(FileSystemTypePersistent), enum_mismatch); member in namespace:WebCore
  /external/chromium_org/third_party/WebKit/Source/wtf/
ArrayBufferView.h 153 char* base = static_cast<char*>(baseAddress());
167 char* base = static_cast<char*>(baseAddress());
181 char* base = static_cast<char*>(baseAddress());
197 if (static_cast<unsigned>(end) > arraySize)
201 *offset = static_cast<unsigned>(start);
202 *length = static_cast<unsigned>(end - start);

Completed in 1760 milliseconds

<<41424344454647484950>>