/external/chromium_org/content/test/ |
H A D | image_decoder_test.cc | 42 void ReadFileToVector(const base::FilePath& path, std::vector<char>* contents) { argument 45 contents->resize(raw_image_data.size()); 46 memcpy(&contents->front(), raw_image_data.data(), raw_image_data.size());
|
/external/chromium_org/extensions/browser/ |
H A D | computed_hashes.cc | 35 std::string contents; local 36 if (!base::ReadFileToString(path, &contents)) 40 scoped_ptr<base::Value> value(base::JSONReader::Read(contents)); 170 void ComputedHashes::ComputeHashesForContent(const std::string& contents, argument 174 // Even when the contents is empty, we want to output at least one hash 177 const char* block_start = contents.data() + offset; 178 DCHECK(offset <= contents.size()); 179 size_t bytes_to_read = std::min(contents.size() - offset, block_size); 189 // If |contents| is empty, then we want to just exit here. 194 } while (offset < contents [all...] |
/external/chromium_org/gin/ |
H A D | array_buffer.cc | 103 v8::ArrayBuffer::Contents contents = array->Externalize(); local 104 buffer_ = contents.Data(); 105 length_ = contents.ByteLength();
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/ |
H A D | fake_pepper_interface_html5_fs.h | 38 const std::vector<uint8_t>& contents); 39 FakeHtml5FsNode(const PP_FileInfo& info, const std::string& contents); 55 const std::vector<uint8_t>& contents() const { return contents_; } function in class:FakeHtml5FsNode 80 const std::string& contents, 83 const std::vector<uint8_t>& contents,
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
H A D | http_fs_test.cc | 89 const char contents[] = "0123456789abcdefg"; local 90 ASSERT_TRUE(ppapi_.server_template()->AddEntity("file", contents, NULL)); 119 const char contents[] = "0123456789abcdefg"; local 120 ASSERT_TRUE(ppapi_.server_template()->AddEntity("file", contents, NULL)); 149 const char contents[] = "contents"; local 150 ASSERT_TRUE(ppapi_.server_template()->AddEntity("file", contents, NULL)); 164 const char contents[] = "contents"; local 165 ASSERT_TRUE(ppapi_.server_template()->AddEntity("file", contents, NUL 181 const char contents[] = "contents"; local 199 const char contents[] = "0123456789abcdefg"; local 232 const char contents[] = "contents"; local [all...] |
/external/chromium_org/net/dns/ |
H A D | dns_hosts.cc | 18 // Parses the contents of a hosts file. Returns one token (IP or hostname) at 130 void ParseHostsWithCommaMode(const std::string& contents, argument 139 HostsParser parser(contents, comma_mode); 169 void ParseHostsWithCommaModeForTesting(const std::string& contents, argument 172 ParseHostsWithCommaMode(contents, dns_hosts, comma_mode); 175 void ParseHosts(const std::string& contents, DnsHosts* dns_hosts) { argument 185 ParseHostsWithCommaMode(contents, dns_hosts, comma_mode); 205 std::string contents; 206 if (!base::ReadFileToString(path, &contents)) 209 ParseHosts(contents, dns_host [all...] |
/external/chromium_org/ppapi/proxy/ |
H A D | flash_file_resource.cc | 106 PP_DirContents_Dev** contents) { 116 *contents = new PP_DirContents_Dev; 117 (*contents)->count = static_cast<int32_t>(entries.size()); 118 (*contents)->entries = new PP_DirEntry_Dev[entries.size()]; 121 PP_DirEntry_Dev* dest = &(*contents)->entries[i]; 134 PP_DirContents_Dev* contents) { 135 for (int32_t i = 0; i < contents->count; ++i) 136 delete[] contents->entries[i].name; 137 delete[] contents->entries; 138 delete contents; 104 GetDirContents(PP_Instance , const char* path, PP_DirContents_Dev** contents) argument 133 FreeDirContents(PP_Instance , PP_DirContents_Dev* contents) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | CSSStyleSheet.h | 109 StyleSheetContents* contents() const { return m_contents.get(); } function in class:blink::FINAL
|
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
H A D | ScopedStyleResolver.cpp | 75 StyleSheetContents* sheet = cssSheet->contents(); 86 StyleSheetContents* contents = m_authorStyleSheets[i]->contents(); local 87 if (contents->hasOneClient() || visitedSharedStyleSheetContents.add(contents).isNewEntry) 88 features.add(contents->ruleSet().features()); 133 MatchRequest matchRequest(&m_authorStyleSheets[i]->contents()->ruleSet(), includeEmptyRules, &m_scope->rootNode(), m_authorStyleSheets[i], i); 143 collector.matchPageRules(&m_authorStyleSheets[i]->contents()->ruleSet()); 151 resolver->viewportStyleResolver()->collectViewportRules(&m_authorStyleSheets[i]->contents()->ruleSet(), ViewportStyleResolver::AuthorOrigin);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | TreeScopeStyleSheetCollection.cpp | 81 addedSheets.append(newStylesheets[newIndex]->contents()); 90 addedSheets.append(newStylesheets[newIndex]->contents()); 178 StyleSheetContents* contents = m_activeAuthorStyleSheets[i]->contents(); local 179 if (contents->hasMediaQueries()) 180 contents->clearRuleSet(); 198 if (sheets[i]->contents()->usesRemUnits())
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
H A D | ArrayBuffer.h | 104 ArrayBufferContents contents(byteLength, 1, ArrayBufferContents::ZeroInitialize); 105 if (!contents.data()) 107 RefPtr<ArrayBuffer> buffer = adoptRef(new ArrayBuffer(contents)); 112 PassRefPtr<ArrayBuffer> ArrayBuffer::create(ArrayBufferContents& contents) argument 114 return adoptRef(new ArrayBuffer(contents)); 124 ArrayBufferContents contents(numElements, elementByteSize, policy); 125 if (!contents.data()) 127 return adoptRef(new ArrayBuffer(contents)); 130 ArrayBuffer::ArrayBuffer(ArrayBufferContents& contents) argument 133 contents [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/bio/ |
H A D | bio_mem.c | 312 long BIO_get_mem_data(BIO *bio, char **contents) { argument 313 return BIO_ctrl(bio, BIO_CTRL_INFO, 0, (char *) contents);
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
H A D | write_batch.cc | 136 void WriteBatchInternal::SetContents(WriteBatch* b, const Slice& contents) { argument 137 assert(contents.size() >= kHeader); 138 b->rep_.assign(contents.data(), contents.size());
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
H A D | sessiondescription.cc | 35 ContentInfos& contents, const std::string& name) { 36 for (ContentInfos::iterator content = contents.begin(); 37 content != contents.end(); ++content) { 46 const ContentInfos& contents, const std::string& name) { 47 for (ContentInfos::const_iterator content = contents.begin(); 48 content != contents.end(); ++content) { 57 const ContentInfos& contents, const std::string& type) { 58 for (ContentInfos::const_iterator content = contents.begin(); 59 content != contents.end(); ++content) { 96 content != copy->contents() 34 FindContentInfoByName( ContentInfos& contents, const std::string& name) argument 45 FindContentInfoByName( const ContentInfos& contents, const std::string& name) argument 56 FindContentInfoByType( const ContentInfos& contents, const std::string& type) argument [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
H A D | bc-align.c | 52 static void bc_align_destroy(void *contents); 53 static void bc_align_print(const void *contents, FILE *f, int indent_level); 78 bc_align_destroy(void *contents) argument 80 bytecode_align *align = (bytecode_align *)contents; 87 yasm_xfree(contents); 91 bc_align_print(const void *contents, FILE *f, int indent_level) argument 93 const bytecode_align *align = (const bytecode_align *)contents; 107 bytecode_align *align = (bytecode_align *)bc->contents; 137 bytecode_align *align = (bytecode_align *)bc->contents; 172 bytecode_align *align = (bytecode_align *)bc->contents; [all...] |
H A D | bc-incbin.c | 55 static void bc_incbin_destroy(void *contents); 56 static void bc_incbin_print(const void *contents, FILE *f, int indent_level); 78 bc_incbin_destroy(void *contents) argument 80 bytecode_incbin *incbin = (bytecode_incbin *)contents; 84 yasm_xfree(contents); 88 bc_incbin_print(const void *contents, FILE *f, int indent_level) argument 90 const bytecode_incbin *incbin = (const bytecode_incbin *)contents; 110 bytecode_incbin *incbin = (bytecode_incbin *)bc->contents; 134 bytecode_incbin *incbin = (bytecode_incbin *)bc->contents; 203 bytecode_incbin *incbin = (bytecode_incbin *)bc->contents; [all...] |
H A D | bc-org.c | 46 static void bc_org_destroy(void *contents); 47 static void bc_org_print(const void *contents, FILE *f, int indent_level); 72 bc_org_destroy(void *contents) argument 74 yasm_xfree(contents); 78 bc_org_print(const void *contents, FILE *f, int indent_level) argument 80 const bytecode_org *org = (const bytecode_org *)contents; 94 bytecode_org *org = (bytecode_org *)bc->contents; 108 bytecode_org *org = (bytecode_org *)bc->contents; 128 bytecode_org *org = (bytecode_org *)bc->contents;
|
H A D | bytecode.h | 61 * implementation-specific data is stored in #yasm_bytecode.contents. 66 * \param contents #yasm_bytecode.contents 68 void (*destroy) (/*@only@*/ void *contents); 72 * \param contents #yasm_bytecode.contents 76 void (*print) (const void *contents, FILE *f, int indent_level); 227 void *contents; member in struct:yasm_bytecode 233 * \param contents type-specific data 240 /*@only@*/ /*@null@*/ void *contents, unsigne [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/lc3b/ |
H A D | lc3bbc.c | 36 static void lc3b_bc_insn_destroy(void *contents); 37 static void lc3b_bc_insn_print(const void *contents, FILE *f, 71 lc3b_bc_insn_destroy(void *contents) argument 73 lc3b_insn *insn = (lc3b_insn *)contents; 75 yasm_xfree(contents); 79 lc3b_bc_insn_print(const void *contents, FILE *f, int indent_level) argument 81 const lc3b_insn *insn = (const lc3b_insn *)contents; 136 lc3b_insn *insn = (lc3b_insn *)bc->contents; 173 lc3b_insn *insn = (lc3b_insn *)bc->contents;
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/nasm/ |
H A D | nasm-parser-struct.h | 38 char *contents; member in struct:__anon16363::__anon16364
|
/external/chromium_org/ui/keyboard/ |
H A D | keyboard_controller_proxy.cc | 185 void KeyboardControllerProxy::SetupWebContents(content::WebContents* contents) { argument
|
/external/chromium_org/ui/message_center/views/ |
H A D | message_center_bubble.cc | 21 explicit ContentsView(MessageCenterBubble* bubble, views::View* contents); 37 ContentsView::ContentsView(MessageCenterBubble* bubble, views::View* contents) argument 40 AddChildView(contents);
|
/external/chromium_org/ui/views/controls/ |
H A D | scroll_view.h | 40 // Set the contents. Any previous contents will be deleted. The contents 43 const View* contents() const { return contents_; } function in class:views::ScrollView 44 View* contents() { return contents_; } function in class:views::ScrollView 103 // visible, in the coordinates of the contents view. The specified rectangle 104 // is constrained by the bounds of the contents view. This has no effect if 105 // the contents have not been set. 122 // The current contents and its viewport. |contents_| is contained in 146 // If true, never show the horizontal scrollbar (even if the contents i [all...] |
/external/llvm/bindings/python/llvm/ |
H A D | object.py | 103 def __init__(self, filename=None, contents=None): 107 contents can be either a native Python buffer type (like str) or a 110 if contents: 111 assert isinstance(contents, MemoryBuffer) 114 contents = MemoryBuffer(filename=filename) 116 if contents is None: 119 ptr = lib.LLVMCreateObjectFile(contents) 121 self.take_ownership(contents) 213 def contents(self): member in class:Section 280 getattr(self, 'contents') [all...] |
/external/bison/lib/ |
H A D | obstack.h | 102 /* Don't do the contents of this file more than once. */ 147 char contents[4]; /* objects begin here */ 296 __o->chunk->contents, \ 424 (h)->chunk->contents, \ 146 char contents[4]; /* objects begin here */ member in struct:_obstack_chunk
|