Searched defs:kLength (Results 1 - 22 of 22) sorted by relevance

/external/chromium_org/gpu/command_buffer/common/
H A Dbitfield_helpers.h17 static const unsigned int kLength = length; member in class:gpu::BitField
/external/chromium_org/ppapi/native_client/src/trusted/plugin/
H A Dsrpc_params.cc20 const size_t kLength = strlen(types); local
21 if (kLength > NACL_SRPC_MAX_ARGS) {
27 if (kLength > 0) {
29 reinterpret_cast<NaClSrpcArg*>(malloc(kLength * sizeof(*args)));
34 memset(static_cast<void*>(args), 0, kLength * sizeof(*args));
35 for (size_t i = 0; i < kLength; ++i) {
40 vec[kLength] = NULL;
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Daudio_vector_unittest.cc95 static const size_t kLength = 10; local
96 AudioVector vec1(kLength);
97 AudioVector vec2(kLength);
98 // Set the first vector to [0, 1, ..., kLength - 1].
99 // Set the second vector to [kLength, kLength + 1, ..., 2 * kLength - 1].
100 for (size_t i = 0; i < kLength; ++i) {
102 vec2[i] = static_cast<int16_t>(i + kLength);
106 ASSERT_EQ(2 * kLength, vec
124 static const size_t kLength = 10; local
368 static const size_t kLength = 100; local
[all...]
/external/chromium_org/net/base/
H A Dupload_file_element_reader_unittest.cc182 const uint64 kLength = bytes_.size() - kOffset * 3; local
187 kLength,
192 EXPECT_EQ(kLength, reader_->GetContentLength());
193 EXPECT_EQ(kLength, reader_->BytesRemaining());
194 std::vector<char> buf(kLength);
199 reader_->Read(wrapped_buffer.get(), kLength, read_callback.callback()));
200 EXPECT_EQ(static_cast<int>(kLength), read_callback.WaitForResult());
202 bytes_.begin() + kOffset + kLength);
/external/chromium_org/third_party/skia/gm/
H A Dconvexpaths.cpp102 kLength = 100, enumerator in enum:skiagm::ConvexPathsGM::__anon15038
107 fPaths.back().lineTo(kLength * SkIntToScalar(i) / kPtsPerSide, 0);
110 fPaths.back().lineTo(kLength, kLength * SkIntToScalar(i) / kPtsPerSide);
113 fPaths.back().lineTo(kLength * SkIntToScalar(i) / kPtsPerSide, kLength);
116 fPaths.back().lineTo(0, kLength * SkIntToScalar(i) / kPtsPerSide);
/external/chromium_org/third_party/webrtc/common_audio/
H A Daudio_util_unittest.cc65 const int kLength = kSamplesPerChannel * kNumChannels; local
74 int16_t interleaved[kLength];
76 ExpectArraysEq(kInterleaved, interleaved, kLength);
/external/skia/gm/
H A Dconvexpaths.cpp102 kLength = 100, enumerator in enum:skiagm::ConvexPathsGM::__anon30452
107 fPaths.back().lineTo(kLength * SkIntToScalar(i) / kPtsPerSide, 0);
110 fPaths.back().lineTo(kLength, kLength * SkIntToScalar(i) / kPtsPerSide);
113 fPaths.back().lineTo(kLength * SkIntToScalar(i) / kPtsPerSide, kLength);
116 fPaths.back().lineTo(0, kLength * SkIntToScalar(i) / kPtsPerSide);
/external/chromium_org/chrome/browser/chromeos/file_system_provider/operations/
H A Dread_file_unittest.cc33 const int kLength = 5; member in namespace:chromeos::file_system_provider::operations::__anon3210
86 io_buffer_ = make_scoped_refptr(new net::IOBuffer(kOffset + kLength));
104 kLength,
130 EXPECT_EQ(kLength, options.length);
142 kLength,
164 kLength,
195 EXPECT_EQ(kLength, event->chunk_length());
197 EXPECT_EQ(data, std::string(io_buffer_->data(), kLength));
210 kLength,
/external/chromium_org/chrome/browser/spellchecker/
H A Dspellcheck_message_filter_unittest.cc88 static const int kLength = 5; local
95 SpellCheckResult(kDecoration, kLocation, kLength, kReplacement));
118 EXPECT_EQ(kLength, sent_results[0].length);
/external/chromium_org/content/renderer/media/
H A Daudio_message_filter_unittest.cc90 const uint32 kLength = 1024; local
93 kStreamId, base::SharedMemory::NULLHandle(), socket_descriptor, kLength));
96 EXPECT_EQ(kLength, delegate.length());
/external/chromium_org/chrome/browser/ui/webui/ntp/
H A Dntp_login_handler.cc58 const int kLength = 27; local
60 skia::ImageOperations::RESIZE_BEST, kLength, kLength);
62 gfx::Canvas canvas(gfx::Size(kLength, kLength), 1.0f, false);
67 canvas.DrawRect(gfx::Rect(0, 0, kLength - 1, kLength - 1), color);
/external/chromium_org/content/browser/fileapi/
H A Dupload_file_system_file_element_reader_unittest.cc241 const int kLength = file_data_.size() - kOffset * 3; local
243 file_system_context_.get(), file_url_, kOffset, kLength, base::Time()));
247 EXPECT_EQ(static_cast<uint64>(kLength), reader_->GetContentLength());
248 EXPECT_EQ(static_cast<uint64>(kLength), reader_->BytesRemaining());
249 scoped_refptr<net::IOBufferWithSize> buf = new net::IOBufferWithSize(kLength);
253 EXPECT_EQ(kLength, read_callback.WaitForResult());
255 file_data_.begin() + kOffset + kLength,
/external/chromium_org/storage/browser/blob/
H A Dview_blob_internals_job.cc36 const char kLength[] = "Length: "; member in namespace:__anon10701
231 AddHTMLListItem(kLength, base::UTF16ToUTF8(base::FormatNumber(
/external/chromium_org/tools/telemetry/telemetry/core/
H A Dbitmaptools.cc177 const int kLength = 3 * 256; local
178 int counts[kLength] = {};
/external/chromium_org/v8/src/
H A Dscopeinfo.h39 for (int i = 0; i < kLength; ++i) {
54 static const int kLength = 256; member in class:v8::internal::ContextSlotCache
103 Key keys_[kLength];
104 uint32_t values_[kLength];
H A Dcode-stubs.h1516 static const int kLength = 0; member in class:FINAL
/external/chromium_org/chrome/app/
H A Dclient_util.cc84 const size_t kLength = 16; local
86 : base::RandBytesAsString(kLength));
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dfile_system_unittest.cc508 const int64 kLength = entry->file_info().size() + 100; local
513 kLength,
527 EXPECT_EQ(kLength, server_entry->file_size());
/external/chromium_org/chrome/browser/ui/webui/options/
H A Dautofill_options_handler.cc96 static const char kLength[] = "length"; local
143 component->SetString(kLength, "long");
146 component->SetString(kLength, "short");
/external/chromium_org/v8/test/cctest/
H A Dtest-heap-profiler.cc1228 const int kLength = 10; local
1229 v8::Handle<v8::Object> objects[kLength];
1230 v8::SnapshotObjectId ids[kLength];
1234 for (int i = 0; i < kLength; i++) {
1239 for (int i = 0; i < kLength; i++) {
1248 for (int i = 0; i < kLength; i++) {
1256 for (int i = 0; i < kLength; i++) {
/external/chromium_org/v8/src/heap/
H A Dheap.h2253 static const int kLength = 256; member in class:v8::internal::KeyedLookupCache
2254 static const int kCapacityMask = kLength - 1;
2269 for (int i = 0; i < kLength; ++i) {
2291 Key keys_[kLength];
2292 int field_offsets_[kLength];
2335 for (int i = 0; i < kLength; ++i) {
2350 return (source_hash ^ name_hash) % kLength;
2353 static const int kLength = 64; member in class:v8::internal::DescriptorLookupCache
2359 Key keys_[kLength];
2360 int results_[kLength];
[all...]
H A Dspaces.h152 static const size_t kLength = (1 << kPageSizeBits) >> (kPointerSizeLog2); member in class:v8::internal::Bitmap
162 int CellsCount() { return CellsForLength(kLength); }

Completed in 5161 milliseconds