Home
last modified time | relevance | path

Searched refs:p_ (Results 1 – 25 of 41) sorted by relevance

12

/external/oprofile/libutil++/
Dutility.h31 explicit scoped_ptr(T * p = 0) : p_(p) {} in p_() function
32 ~scoped_ptr() { delete p_; } in ~scoped_ptr() local
35 if (p == p_)
37 delete p_; variable
38 p_ = p;
41 T & operator*() const { return *p_; }
42 T * operator->() const { return p_; }
43 T * get() const { return p_; } in get()
46 T * tmp = sp.p_; in swap()
47 sp.p_ = p_; in swap()
[all …]
/external/chromium_org/v8/src/
Dsmart-pointers.h16 SmartPointerBase() : p_(NULL) {} in SmartPointerBase()
19 explicit SmartPointerBase(T* ptr) : p_(ptr) {} in SmartPointerBase()
24 : p_(rhs.p_) { in SmartPointerBase()
25 const_cast<SmartPointerBase<Deallocator, T>&>(rhs).p_ = NULL; in SmartPointerBase()
28 T* operator->() const { return p_; }
30 T& operator*() const { return *p_; }
32 T* get() const { return p_; } in get()
36 return p_[i];
41 return p_[i];
53 T* temp = p_; in Detach()
[all …]
/external/sfntly/cpp/src/sfntly/port/
Drefcount.h179 Ptr() : p_(NULL) { in Ptr()
184 Ptr(T* pT) : p_(NULL) { in Ptr()
188 Ptr(const Ptr<T>& p) : p_(NULL) { in Ptr()
197 if (p_ == pT) {
198 return p_;
208 p_ = pT;
209 return p_;
213 if (p_ == p.p_) {
214 return p_;
216 return operator=(p.p_);
[all …]
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/port/
Drefcount.h179 Ptr() : p_(NULL) { in Ptr()
184 Ptr(T* pT) : p_(NULL) { in Ptr()
188 Ptr(const Ptr<T>& p) : p_(NULL) { in Ptr()
197 if (p_ == pT) {
198 return p_;
208 p_ = pT;
209 return p_;
213 if (p_ == p.p_) {
214 return p_;
216 return operator=(p.p_);
[all …]
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dinternal_logging.cc72 char* p_; member in tcmalloc::Logger
80 state.p_ = state.buf_; in Log()
92 if (state.p_ >= state.end_) { in Log()
93 state.p_ = state.end_ - 1; in Log()
95 *state.p_ = '\n'; in Log()
96 state.p_++; in Log()
98 int msglen = state.p_ - state.buf_; in Log()
124 if (p_ < end_) { in Add()
125 *p_ = ' '; in Add()
126 p_++; in Add()
[all …]
/external/chromium_org/third_party/tcmalloc/chromium/src/
Dinternal_logging.cc73 char* p_; member in tcmalloc::Logger
81 state.p_ = state.buf_; in Log()
93 if (state.p_ >= state.end_) { in Log()
94 state.p_ = state.end_ - 1; in Log()
96 *state.p_ = '\n'; in Log()
97 state.p_++; in Log()
99 int msglen = state.p_ - state.buf_; in Log()
125 if (p_ < end_) { in Add()
126 *p_ = ' '; in Add()
127 p_++; in Add()
[all …]
/external/bzip2/
Dbzip2.1.preformatted19 _b_z_i_p_2 compresses files using the Burrows‐Wheeler block
27 those of _G_N_U _g_z_i_p_, but they are not identical.
29 _b_z_i_p_2 expects a list of file names to accompany the com­
41 _b_z_i_p_2 and _b_u_n_z_i_p_2 will by default not overwrite existing
44 If no file names are specified, _b_z_i_p_2 compresses from
45 standard input to standard output. In this case, _b_z_i_p_2
50 _b_u_n_z_i_p_2 (or _b_z_i_p_2 _−_d_) decompresses all specified files.
51 Files which were not created by _b_z_i_p_2 will be detected and
52 ignored, and a warning issued. _b_z_i_p_2 attempts to guess
63 …_._b_z_2_, _._b_z_, _._t_b_z_2 or _._t_b_z_, _b_z_i_p_2 complains that i…
[all …]
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/
Dfont_data_table.cc113 return (r_data_ != NULL) ? r_data_.p_ : in InternalReadData()
114 static_cast<ReadableFontData*>(w_data_.p_); in InternalReadData()
135 return w_data_.p_; in InternalWriteData()
/external/sfntly/cpp/src/sfntly/table/
Dfont_data_table.cc113 return (r_data_ != NULL) ? r_data_.p_ : in InternalReadData()
114 static_cast<ReadableFontData*>(w_data_.p_); in InternalReadData()
135 return w_data_.p_; in InternalWriteData()
/external/openfst/src/include/fst/
Dpartition.h261 : p_(partition), in PartitionIterator()
262 element_(p_.classes_[class_id]), in PartitionIterator()
278 element_ = p_.classes_[class_id_]; in Reset()
282 const Partition<T>& p_;
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dpartition.h256 : p_(partition), in PartitionIterator()
257 element_(p_.classes_[class_id]), in PartitionIterator()
273 element_ = p_.classes_[class_id_]; in Reset()
277 const Partition<T>& p_;
/external/clang/test/SemaTemplate/
Ddefault-expr-arguments.cpp242 PointerClass( T * object_p ) : p_( object_p ) { in PointerClass()
243 p_->acquire(); in PointerClass()
246 T * p_; member in PR8127::PointerClass
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
Dsampler_test.cc98 scoped_array(T* p) : p_(p) { } in scoped_array()
99 ~scoped_array() { delete[] p_; } in ~scoped_array()
100 const T* get() const { return p_; } in get()
101 T* get() { return p_; } in get()
102 T& operator[](int i) { return p_[i]; } in operator []()
104 T* p_; member in __anon34cab2160111::scoped_array
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
Dsampler_test.cc98 scoped_array(T* p) : p_(p) { } in scoped_array()
99 ~scoped_array() { delete[] p_; } in ~scoped_array()
100 const T* get() const { return p_; } in get()
101 T* get() { return p_; } in get()
102 T& operator[](int i) { return p_[i]; } in operator []()
104 T* p_; member in __anon3811d16c0111::scoped_array
/external/clang/test/SemaCXX/
Dwarn-unused-private-field.cpp215 A() : p_(__null), b_(false), a_(this), p2_(nullptr) {} in A()
216 void* p_; // expected-warning{{private field 'p_' is not used}} member in pr13413::A
/external/chromium_org/base/
Dobserver_list_threadsafe.h64 UnboundMethod(Method m, const Params& p) : m_(m), p_(p) { in UnboundMethod()
70 DispatchToMethod(obj, m_, p_); in Run()
74 Params p_; variable
/external/clang/test/Analysis/
Dtemporaries.cpp258 explicit A(int* p_) : p(p_) {} in A()
/external/libsepol/src/
Dhierarchy.c69 datum_name = a->p->p_##prefix##_val_to_name[datum->s.value - 1]; \
83 *parent = hashtab_search(a->p->p_##prefix##s.table, parent_name); \
89 a->p->p_##prefix##_val_to_name[datum->s.value - 1]); \
/external/chromium_org/third_party/sfntly/cpp/src/test/
Dsmart_pointer_test.cc59 EXPECT_EQ(NULL, p3.p_); in TestSmartPointer()
/external/sfntly/cpp/src/test/
Dsmart_pointer_test.cc59 EXPECT_EQ(NULL, p3.p_); in TestSmartPointer()
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/
Dfont.cc354 builder.Attach(GetTableBuilder(record->first.p_, record->second.p_)); in BuildAllTableBuilders()
399 return target->second.p_; in GetBuilder()
552 WritableFontDataPtr data = down_cast<WritableFontData*>(sliced_data.p_); in LoadTableData()
/external/sfntly/cpp/src/sfntly/
Dfont.cc354 builder.Attach(GetTableBuilder(record->first.p_, record->second.p_)); in BuildAllTableBuilders()
399 return target->second.p_; in GetBuilder()
552 WritableFontDataPtr data = down_cast<WritableFontData*>(sliced_data.p_); in LoadTableData()
/external/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc151 if (HasName(font_name, i->p_)) { in FindFont()
152 return i->p_; in FindFont()
157 return font_array[0].p_; in FindFont()
204 down_cast<GlyphTable::CompositeGlyph*>(glyph.p_); in ResolveCompositeGlyphs()
/external/chromium_org/third_party/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc151 if (HasName(font_name, i->p_)) { in FindFont()
152 return i->p_; in FindFont()
157 return font_array[0].p_; in FindFont()
204 down_cast<GlyphTable::CompositeGlyph*>(glyph.p_); in ResolveCompositeGlyphs()
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/core/
Dcmap_table.cc647 return StartCode(data_.p_, seg_count_, segment); in StartCode()
1146 size += b->SubSerialize(down_cast<WritableFontData*>(slice.p_)); in SubSerialize()
1249 data->CopyTo(wfd.p_); in NewCMapBuilder()
1251 builder.Attach(CMap::Builder::GetBuilder(wfd.p_, 0, cmap_id)); in NewCMapBuilder()
1253 cmap_builders->insert(std::make_pair(cmap_id, builder.p_)); in NewCMapBuilder()
1262 cmap_builders->insert(std::make_pair(cmap_id, cmap_builder.p_)); in NewCMapBuilder()

12