Home
last modified time | relevance | path

Searched refs:kLength (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/ppapi/native_client/src/trusted/plugin/
Dsrpc_params.cc20 const size_t kLength = strlen(types); in FillVec() local
21 if (kLength > NACL_SRPC_MAX_ARGS) { in FillVec()
27 if (kLength > 0) { in FillVec()
29 reinterpret_cast<NaClSrpcArg*>(malloc(kLength * sizeof(*args))); in FillVec()
34 memset(static_cast<void*>(args), 0, kLength * sizeof(*args)); in FillVec()
35 for (size_t i = 0; i < kLength; ++i) { in FillVec()
40 vec[kLength] = NULL; in FillVec()
/external/chromium_org/net/base/
Dupload_file_element_reader_unittest.cc182 const uint64 kLength = bytes_.size() - kOffset * 3; in TEST_F() local
187 kLength, in TEST_F()
192 EXPECT_EQ(kLength, reader_->GetContentLength()); in TEST_F()
193 EXPECT_EQ(kLength, reader_->BytesRemaining()); in TEST_F()
194 std::vector<char> buf(kLength); in TEST_F()
199 reader_->Read(wrapped_buffer.get(), kLength, read_callback.callback())); in TEST_F()
200 EXPECT_EQ(static_cast<int>(kLength), read_callback.WaitForResult()); in TEST_F()
202 bytes_.begin() + kOffset + kLength); in TEST_F()
336 const uint64 kLength = bytes_.size() - kOffset * 3; in TEST_F() local
338 temp_file_path_, kOffset, kLength, base::Time())); in TEST_F()
[all …]
/external/v8/src/
Dscopeinfo.h65 for (int i = 0; i < kLength; ++i) { in ContextSlotCache()
82 static const int kLength = 256; variable
125 Key keys_[kLength];
126 uint32_t values_[kLength];
Dheap.h2238 static const int kLength = 256; variable
2239 static const int kCapacityMask = kLength - 1;
2251 for (int i = 0; i < kLength; ++i) { in KeyedLookupCache()
2275 Key keys_[kLength];
2276 int field_offsets_[kLength];
2319 for (int i = 0; i < kLength; ++i) { in DescriptorLookupCache()
2332 return (array_hash ^ name_hash) % kLength; in Hash()
2335 static const int kLength = 64; variable
2341 Key keys_[kLength];
2342 int results_[kLength];
Dscopeinfo.cc395 return static_cast<int>((addr_hash ^ name->Hash()) % kLength); in Hash()
437 for (int index = 0; index < kLength; index++) keys_[index].data = NULL; in Clear()
Dspaces.h175 static const size_t kLength = variable
187 return CellsForLength(kLength); in CellsCount()
Dheap.cc6850 for (int index = 0; index < kLength; index++) keys_[index].map = NULL; in Clear()
6855 for (int index = 0; index < kLength; index++) keys_[index].array = NULL; in Clear()
/external/chromium_org/chrome/browser/ui/webui/ntp/
Dntp_login_handler.cc57 const int kLength = 27; in GetGAIAPictureForNTP() local
59 skia::ImageOperations::RESIZE_BEST, kLength, kLength); in GetGAIAPictureForNTP()
61 gfx::Canvas canvas(gfx::Size(kLength, kLength), 1.0f, false); in GetGAIAPictureForNTP()
66 canvas.DrawRect(gfx::Rect(0, 0, kLength - 1, kLength - 1), color); in GetGAIAPictureForNTP()
/external/skia/gm/
Dconvexpaths.cpp98 kLength = 100, in makePaths() enumerator
103 fPaths.back().lineTo(kLength * SkIntToScalar(i) / kPtsPerSide, 0); in makePaths()
106 fPaths.back().lineTo(kLength, kLength * SkIntToScalar(i) / kPtsPerSide); in makePaths()
109 fPaths.back().lineTo(kLength * SkIntToScalar(i) / kPtsPerSide, kLength); in makePaths()
112 fPaths.back().lineTo(0, kLength * SkIntToScalar(i) / kPtsPerSide); in makePaths()
/external/chromium_org/v8/src/
Dscopeinfo.h65 for (int i = 0; i < kLength; ++i) { in ContextSlotCache()
82 static const int kLength = 256; variable
125 Key keys_[kLength];
126 uint32_t values_[kLength];
Dheap.h2625 static const int kLength = 256; variable
2626 static const int kCapacityMask = kLength - 1;
2638 for (int i = 0; i < kLength; ++i) { in KeyedLookupCache()
2662 Key keys_[kLength];
2663 int field_offsets_[kLength];
2706 for (int i = 0; i < kLength; ++i) { in DescriptorLookupCache()
2721 return (source_hash ^ name_hash) % kLength; in Hash()
2724 static const int kLength = 64; variable
2730 Key keys_[kLength];
2731 int results_[kLength];
Dscopeinfo.cc418 return static_cast<int>((addr_hash ^ name->Hash()) % kLength); in Hash()
461 for (int index = 0; index < kLength; index++) keys_[index].data = NULL; in Clear()
Dspaces.h174 static const size_t kLength = variable
186 return CellsForLength(kLength); in CellsCount()
Dheap.cc7770 for (int index = 0; index < kLength; index++) keys_[index].map = NULL; in Clear()
7775 for (int index = 0; index < kLength; index++) keys_[index].source = NULL; in Clear()
/external/chromium_org/content/browser/fileapi/
Dupload_file_system_file_element_reader_unittest.cc236 const int kLength = file_data_.size() - kOffset * 3; in TEST_F() local
238 file_system_context_.get(), file_url_, kOffset, kLength, base::Time())); in TEST_F()
242 EXPECT_EQ(static_cast<uint64>(kLength), reader_->GetContentLength()); in TEST_F()
243 EXPECT_EQ(static_cast<uint64>(kLength), reader_->BytesRemaining()); in TEST_F()
244 scoped_refptr<net::IOBufferWithSize> buf = new net::IOBufferWithSize(kLength); in TEST_F()
248 EXPECT_EQ(kLength, read_callback.WaitForResult()); in TEST_F()
250 file_data_.begin() + kOffset + kLength, in TEST_F()
/external/chromium_org/content/renderer/media/
Daudio_message_filter_unittest.cc93 const uint32 kLength = 1024; in TEST() local
98 socket_handle, kLength)); in TEST()
101 EXPECT_EQ(kLength, delegate.length()); in TEST()
/external/chromium_org/chrome/browser/spellchecker/
Dspellcheck_message_filter_unittest.cc88 static const int kLength = 5; in TEST() local
95 SpellCheckResult(kDecoration, kLocation, kLength, kReplacement)); in TEST()
120 EXPECT_EQ(kLength, sent_results[0].length); in TEST()
/external/chromium_org/gpu/command_buffer/common/
Dbitfield_helpers.h17 static const unsigned int kLength = length; variable
/external/chromium_org/webkit/browser/blob/
Dview_blob_internals_job.cc36 const char kLength[] = "Length: "; variable
231 AddHTMLListItem(kLength, UTF16ToUTF8(base::FormatNumber( in GenerateHTMLForBlobData()
/external/chromium_org/chrome/app/
Dclient_util.cc76 const size_t kLength = 16; in GetPreReadPopulationAndGroup() local
77 std::string random_value(metrics_id.empty() ? base::RandBytesAsString(kLength) in GetPreReadPopulationAndGroup()