Home
last modified time | relevance | path

Searched refs:bstr_ (Results 1 – 2 of 2) sorted by relevance

/external/chromium/base/
Dscoped_bstr_win.cc11 : bstr_(SysAllocString(non_bstr)) { in ScopedBstr()
16 SysFreeString(bstr_); in ~ScopedBstr()
20 if (bstr != bstr_) { in Reset()
22 SysFreeString(bstr_); in Reset()
23 bstr_ = bstr; in Reset()
28 BSTR bstr = bstr_; in Release()
29 bstr_ = NULL; in Release()
34 BSTR tmp = bstr_; in Swap()
35 bstr_ = bstr2.bstr_; in Swap()
36 bstr2.bstr_ = tmp; in Swap()
[all …]
Dscoped_bstr_win.h17 ScopedBstr() : bstr_(NULL) { in ScopedBstr()
71 return bstr_; in BSTR()
75 BSTR bstr_;
104 DCHECK(lstrlenW(str) == (string_bytes / sizeof(bstr_.str_[0])) - 1) << in StackBstrT()
106 memcpy(bstr_.str_, str, string_bytes); in StackBstrT()
107 bstr_.len_ = string_bytes - sizeof(wchar_t); in StackBstrT()
111 return bstr_.str_; in BSTR()
118 } bstr_; variable