Searched defs:data (Results 176 - 200 of 7161) sorted by relevance

1234567891011>>

/external/chromium_org/base/
H A Dbig_endian_unittest.cc13 char data[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0xA, 0xB, 0xC, 0xD, 0xE, 0xF, local
21 BigEndianReader reader(data, sizeof(data));
24 EXPECT_EQ(data + 2, reader.ptr());
25 EXPECT_EQ(reader.remaining(), static_cast<int>(sizeof(data)) - 2);
40 EXPECT_EQ(expected.data(), piece.data());
44 char data[8]; local
51 BigEndianReader reader(data, sizeof(data));
74 char data[sizeof(expected)]; local
89 char data[8]; local
[all...]
/external/chromium_org/base/memory/
H A Dref_counted_memory_unittest.cc20 std::vector<uint8> data; local
21 data.push_back(45);
22 data.push_back(99);
23 scoped_refptr<RefCountedMemory> mem = RefCountedBytes::TakeVector(&data);
25 EXPECT_EQ(0U, data.size());
54 void* data = malloc(6); local
55 memcpy(data, "hello", 6);
57 scoped_refptr<RefCountedMemory> mem = new RefCountedMallocedMemory(data, 6);
/external/chromium_org/build/android/pylib/device/
H A Dintent.py14 category=None, component=None, data=None, extras=None,
24 data: A string containing a data URI.
38 self._data = data
65 def data(self): member in class:Intent
/external/chromium_org/cc/test/
H A Dtest_texture.h27 scoped_ptr<uint8_t[]> data; member in struct:cc::TestTexture
/external/chromium_org/chrome/browser/download/
H A Ddrag_download_item_views.cc38 ui::OSExchangeData data; local
43 &data);
58 data.SetFilenames(file_infos);
67 data,
/external/chromium_org/chrome/browser/extensions/api/module/
H A Dmodule.cc23 // A preference for storing the extension's update URL data. If not empty, the
32 std::string data; local
33 prefs->ReadPrefAsString(extension_id, kUpdateURLData, &data);
34 return data;
40 std::string data; local
41 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &data));
48 extension_id(), extension::kUpdateURLData, new base::StringValue(data));
/external/chromium_org/chrome/browser/extensions/api/top_sites/
H A Dtop_sites_api.cc32 const history::MostVisitedURLList& data) {
34 for (size_t i = 0; i < data.size(); i++) {
35 const history::MostVisitedURL& url = data[i];
31 OnMostVisitedURLsAvailable( const history::MostVisitedURLList& data) argument
H A Dtop_sites_apitest.cc43 void OnTopSitesAvailable(const history::MostVisitedURLList& data) { argument
/external/chromium_org/chrome/browser/ui/bookmarks/
H A Dbookmark_drag_drop.cc23 const BookmarkNodeData& data,
31 if (data.IsFromProfilePath(profile->GetPath())) {
33 data.GetNodes(model, profile->GetPath());
52 bookmarks::CloneBookmarkNode(model, data.elements, parent_node, index, true);
22 DropBookmarks(Profile* profile, const BookmarkNodeData& data, const BookmarkNode* parent_node, int index, bool copy) argument
/external/chromium_org/chrome/browser/ui/views/extensions/
H A Dbrowser_action_drag_data_unittest.cc15 ui::OSExchangeData::Provider* CloneProvider(const ui::OSExchangeData& data) { argument
17 ui::OSExchangeDataProviderWin::GetIDataObject(data));
28 ui::OSExchangeData data; local
29 data.SetURL(GURL("http://www.google.com"), L"Title");
33 EXPECT_FALSE(drag_data.Read(ui::OSExchangeData(CloneProvider(data))));
47 ui::OSExchangeData data; local
48 data.SetPickledData(BrowserActionDragData::GetBrowserActionCustomFormat(),
52 EXPECT_TRUE(drag_data.Read(ui::OSExchangeData(CloneProvider(data))));
/external/chromium_org/chrome/test/chromedriver/
H A Dutil_unittest.cc18 std::string data; local
24 ASSERT_TRUE(base::Base64Decode(kBase64ZipEntry, &data));
26 Status status = UnzipSoleFile(temp_dir.path(), data, &file);
36 std::string data; local
43 ASSERT_TRUE(base::Base64Decode(kBase64ZipArchive, &data));
45 Status status = UnzipSoleFile(temp_dir.path(), data, &file);
/external/chromium_org/components/autofill/core/common/
H A Dform_data_unittest.cc14 // This function serializes the form data into the pickle in version one format.
32 // This function serializes the form data into the pickle in incorrect format
51 FormData data; local
52 data.name = base::ASCIIToUTF16("name");
53 data.origin = GURL("origin");
54 data.action = GURL("action");
55 data.user_submitted = true;
75 data.fields.push_back(field_data);
81 data.fields.push_back(field_data);
84 SerializeFormData(data,
94 FormData data; local
137 FormData data; local
[all...]
/external/chromium_org/components/enhanced_bookmarks/
H A Dimage_store_util.cc20 std::vector<unsigned char> data; local
22 gfx::JPEG1xEncodedDataFromImage(image, kJpegEncodingQuality, &data);
27 return scoped_refptr<base::RefCountedMemory>(new base::RefCountedBytes(data));
/external/chromium_org/components/metrics/
H A Dcompression_utils_unittest.cc17 // The data to be compressed by gzip. This is the hex representation of "hello
36 std::string data(reinterpret_cast<const char*>(kData), arraysize(kData));
38 EXPECT_TRUE(GzipCompress(data, &compressed_data));
61 // Generate a data string of |kSize| for testing.
62 std::string data; local
63 data.resize(kSize);
65 data[i] = static_cast<char>(i & 0xFF);
68 EXPECT_TRUE(GzipCompress(data, &compressed_data));
73 EXPECT_EQ(data, uncompressed_data);
/external/chromium_org/components/omnibox/
H A Danswers_cache_unittest.cc30 AnswersQueryData data = cache.GetTopAnswerEntry(full_query_text.substr(0, 8)); local
31 EXPECT_EQ(full_query_text, data.full_query_text);
32 EXPECT_EQ(query_type, data.query_type);
34 // Mismatched prefix retrieves empty data.
35 data = cache.GetTopAnswerEntry(full_query_text.substr(1, 8));
36 EXPECT_TRUE(data.full_query_text.empty() && data.query_type.empty());
39 data = cache.GetTopAnswerEntry(full_query_text);
40 EXPECT_EQ(full_query_text, data.full_query_text);
41 EXPECT_EQ(query_type, data
55 AnswersQueryData data = local
[all...]
/external/chromium_org/content/browser/
H A Dnet_info_browsertest.cc46 std::string data; local
48 ExecuteScriptAndExtractString(shell()->web_contents(), script, &data));
49 return data;
53 bool data; local
55 ExecuteScriptAndExtractBool(shell()->web_contents(), script, &data));
56 return data;
/external/chromium_org/content/browser/speech/
H A Daudio_buffer.cc16 AudioChunk::AudioChunk(const uint8* data, size_t length, int bytes_per_sample) argument
17 : data_string_(reinterpret_cast<const char*>(data), length),
40 return reinterpret_cast<const int16*>(data_string_.data());
55 void AudioBuffer::Enqueue(const uint8* data, size_t length) {
56 chunks_.push_back(new AudioChunk(data, length, bytes_per_sample_));
/external/chromium_org/content/public/browser/
H A Dbrowser_child_process_observer.h20 virtual void BrowserChildProcessHostConnected(const ChildProcessData& data) {} argument
24 const ChildProcessData& data) {}
27 virtual void BrowserChildProcessCrashed(const ChildProcessData& data) {} argument
33 const ChildProcessData& data) {}
23 BrowserChildProcessHostDisconnected( const ChildProcessData& data) argument
32 BrowserChildProcessInstanceCreated( const ChildProcessData& data) argument
/external/chromium_org/content/public/child/
H A Drequest_peer.h51 // Called when a chunk of response data is downloaded. This method may be
55 // The encoded_data_length is the length of the encoded data transferred
56 // over the network, which could be different from data length (e.g. for
60 // Called when a chunk of response data is available. This method may
62 // The encoded_data_length is the length of the encoded data transferred
63 // over the network, which could be different from data length (e.g. for
65 virtual void OnReceivedData(const char* data,
71 virtual void OnReceivedCachedMetadata(const char* data, int len) {} argument
/external/chromium_org/crypto/
H A Dhkdf_unittest.cc59 std::vector<uint8> data; local
60 ASSERT_TRUE(base::HexStringToBytes(test.key_hex, &data));
61 const std::string key(reinterpret_cast<char*>(&data[0]), data.size());
63 data.clear();
67 ASSERT_TRUE(base::HexStringToBytes(salt, &data));
68 salt.assign(reinterpret_cast<char*>(&data[0]), data.size());
71 data.clear();
75 ASSERT_TRUE(base::HexStringToBytes(info, &data));
[all...]
H A Dhmac.cc36 bool HMAC::Verify(const base::StringPiece& data, argument
40 return VerifyTruncated(data, digest);
43 bool HMAC::VerifyTruncated(const base::StringPiece& data, argument
50 if (!Sign(data, computed_digest.get(), digest_length))
53 return SecureMemEqual(digest.data(), computed_digest.get(),
/external/chromium_org/extensions/browser/
H A Dfile_reader.cc29 std::string data; local
30 bool success = base::ReadFileToString(resource_.GetFilePath(), &data);
31 origin_loop_->PostTask(FROM_HERE, base::Bind(callback_, success, data));
/external/chromium_org/extensions/common/permissions/
H A Dsocket_permission_unittest.cc23 SocketPermissionData data; local
24 ASSERT_TRUE(data.ParseForTest(permission)) << "Parse permission \""
26 EXPECT_EQ(expected_result, data.GetAsStringForTest());
46 SocketPermissionData data;
48 EXPECT_FALSE(data.ParseForTest(std::string()));
49 EXPECT_FALSE(data.ParseForTest("*"));
50 EXPECT_FALSE(data.ParseForTest("\00\00*"));
51 EXPECT_FALSE(data.ParseForTest("\01*"));
52 EXPECT_FALSE(data.ParseForTest("tcp-connect:www.example.com:-1"));
53 EXPECT_FALSE(data
[all...]
/external/chromium_org/extensions/renderer/
H A Dstatic_v8_external_ascii_string_resource.cc17 const char* StaticV8ExternalAsciiStringResource::data() const { function in class:extensions::StaticV8ExternalAsciiStringResource
18 return buffer_.data();
/external/chromium_org/gin/
H A Dfunction_template.cc26 const v8::WeakCallbackData<v8::External, CallbackHolderBase>& data) {
27 data.GetParameter()->v8_ref_.Reset();
28 delete data.GetParameter();
25 WeakCallback( const v8::WeakCallbackData<v8::External, CallbackHolderBase>& data) argument

Completed in 443 milliseconds

1234567891011>>