Home
last modified time | relevance | path

Searched refs:data_ (Results 1 – 25 of 275) sorted by relevance

1234567891011

/third_party/cef/libcef/common/
Ddrag_data_impl.cc18 : data_(data), read_only_(false) {} in CefDragDataImpl()
23 : data_(data), in CefDragDataImpl()
38 drag_data = new CefDragDataImpl(data_, image_, image_hotspot_); in Clone()
50 return (data_.url.is_valid() && in IsLink()
51 data_.file_contents_content_disposition.empty()); in IsLink()
56 return (!data_.url.is_valid() && in IsFragment()
57 data_.file_contents_content_disposition.empty() && in IsFragment()
58 data_.filenames.empty()); in IsFragment()
63 return (!data_.file_contents_content_disposition.empty() || in IsFile()
64 !data_.filenames.empty()); in IsFile()
[all …]
/third_party/vk-gl-cts/external/amber/src/src/
Dtokenizer.cc55 Tokenizer::Tokenizer(const std::string& data) : data_(data) {} in Tokenizer()
61 if (current_position_ >= data_.length()) in NextToken()
64 if (data_[current_position_] == '#') { in NextToken()
68 if (current_position_ >= data_.length()) in NextToken()
71 if (data_[current_position_] == '\n') { in NextToken()
77 if (data_[current_position_] == '"') { in NextToken()
81 for (; current_position_ < data_.length(); current_position_++) { in NextToken()
82 auto c = data_[current_position_]; in NextToken()
159 if (data_[current_position_] == ',' || data_[current_position_] == '(' || in NextToken()
160 data_[current_position_] == ')') { in NextToken()
[all …]
/third_party/gn/src/base/
Dscoped_generic.h72 ScopedGeneric() : data_(traits_type::InvalidValue()) {} in ScopedGeneric()
76 explicit ScopedGeneric(const element_type& value) : data_(value) {} in ScopedGeneric()
80 : data_(value, traits) {} in ScopedGeneric()
84 : data_(rvalue.release(), rvalue.get_traits()) {} in ScopedGeneric()
98 if (data_.generic != traits_type::InvalidValue() && data_.generic == value)
101 data_.generic = value;
109 swap(static_cast<Traits&>(data_), static_cast<Traits&>(other.data_)); in swap()
110 swap(data_.generic, other.data_.generic); in swap()
117 element_type old_generic = data_.generic; in release()
118 data_.generic = traits_type::InvalidValue(); in release()
[all …]
/third_party/flutter/engine/flutter/fml/
Dunique_object.h47 UniqueObject() : data_(Traits::InvalidValue()) {} in UniqueObject()
48 explicit UniqueObject(const T& value) : data_(value) {} in UniqueObject()
50 UniqueObject(const T& value, const Traits& traits) : data_(value, traits) {} in UniqueObject()
53 : data_(other.release(), other.get_traits()) {} in UniqueObject()
63 FML_CHECK(data_.generic == Traits::InvalidValue() ||
64 data_.generic != value);
66 data_.generic = value;
74 swap(static_cast<Traits&>(data_), static_cast<Traits&>(other.data_)); in swap()
75 swap(data_.generic, other.data_.generic); in swap()
82 T old_generic = data_.generic; in release()
[all …]
/third_party/protobuf/src/google/protobuf/
Dreflection.h74 bool empty() const { return accessor_->IsEmpty(data_); } in empty()
75 int size() const { return accessor_->Size(data_); } in size()
76 T Get(int index) const { return accessor_->template Get<T>(data_, index); } in Get()
86 iterator begin() const { return iterator(data_, accessor_, true); } in begin()
87 iterator end() const { return iterator(data_, accessor_, false); } in end()
93 data_ = reflection->RepeatedFieldData(const_cast<Message*>(&message), field, in RepeatedFieldRef()
99 const void* data_; variable
110 bool empty() const { return accessor_->IsEmpty(data_); } in empty()
111 int size() const { return accessor_->Size(data_); } in size()
112 T Get(int index) const { return accessor_->template Get<T>(data_, index); } in Get()
[all …]
Dunknown_field_set.cc115 total_size += sizeof(*field.data_.length_delimited_.string_value) + in SpaceUsedExcludingSelfLong()
117 *field.data_.length_delimited_.string_value); in SpaceUsedExcludingSelfLong()
120 total_size += field.data_.group_->SpaceUsedLong(); in SpaceUsedExcludingSelfLong()
137 field.data_.varint_ = value; in AddVarint()
145 field.data_.fixed32_ = value; in AddFixed32()
153 field.data_.fixed64_ = value; in AddFixed64()
161 field.data_.length_delimited_.string_value = new std::string; in AddLengthDelimited()
163 return field.data_.length_delimited_.string_value; in AddLengthDelimited()
171 field.data_.group_ = new UnknownFieldSet; in AddGroup()
173 return field.data_.group_; in AddGroup()
[all …]
/third_party/node/src/tracing/
Dtraced_value.cc118 data_ += std::to_string(value); in SetInteger()
123 data_ += DoubleToCString(value); in SetDouble()
128 data_ += value ? "true" : "false"; in SetBoolean()
133 data_ += "null"; in SetNull()
138 data_ += EscapeString(value); in SetString()
143 data_ += '{'; in BeginDictionary()
149 data_ += '['; in BeginArray()
155 data_ += std::to_string(value); in AppendInteger()
160 data_ += DoubleToCString(value); in AppendDouble()
165 data_ += value ? "true" : "false"; in AppendBoolean()
[all …]
/third_party/spirv-tools/test/util/
Dilist_test.cpp31 int data_; member in spvtools::utils::__anonedd809d30111::TestNode
52 nodes[i].data_ = i; in TEST()
57 for (auto& i : list) output.push_back(i.data_); in TEST()
67 nodes[i].data_ = i; in BuildList()
84 EXPECT_EQ((++list.end())->data_, 0); in TEST()
98 EXPECT_EQ((--list.end())->data_, 9); in TEST()
106 for (auto& i : list) output.push_back(i.data_); in TEST()
116 for (auto& i : list) output.push_back(i.data_); in TEST()
127 for (auto& i : list) output.push_back(i.data_); in TEST()
138 nodes[5].data_ = 5; in TEST()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/util/
Dilist_test.cpp31 int data_; member in spvtools::utils::__anon05679df40111::TestNode
52 nodes[i].data_ = i; in TEST()
57 for (auto& i : list) output.push_back(i.data_); in TEST()
67 nodes[i].data_ = i; in BuildList()
84 EXPECT_EQ((++list.end())->data_, 0); in TEST()
98 EXPECT_EQ((--list.end())->data_, 9); in TEST()
106 for (auto& i : list) output.push_back(i.data_); in TEST()
116 for (auto& i : list) output.push_back(i.data_); in TEST()
127 for (auto& i : list) output.push_back(i.data_); in TEST()
138 nodes[5].data_ = 5; in TEST()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/util/
Dilist_test.cpp31 int data_; member in spvtools::utils::__anond4a73d880111::TestNode
52 nodes[i].data_ = i; in TEST()
57 for (auto& i : list) output.push_back(i.data_); in TEST()
67 nodes[i].data_ = i; in BuildList()
84 EXPECT_EQ((++list.end())->data_, 0); in TEST()
98 EXPECT_EQ((--list.end())->data_, 9); in TEST()
106 for (auto& i : list) output.push_back(i.data_); in TEST()
116 for (auto& i : list) output.push_back(i.data_); in TEST()
127 for (auto& i : list) output.push_back(i.data_); in TEST()
138 nodes[5].data_ = 5; in TEST()
[all …]
/third_party/libphonenumber/cpp/src/phonenumbers/utf/
Dunicodetext.cc118 if (data_) { in reserve()
119 memcpy(new_data, data_, size_); in reserve()
120 if (ours_) delete[] data_; // If we owned the old buffer, free it. in reserve()
122 data_ = new_data; in reserve()
133 if (size_ < new_size) memset(data_ + size_, 0, new_size - size_); in resize()
142 if (ours_) delete[] data_; in clear()
143 data_ = NULL; in clear()
150 memcpy(data_, data, size); in Copy()
154 if (data == data_) return; // We already own this memory. (Weird case.) in TakeOwnershipOf()
155 if (ours_ && data_) delete[] data_; // If we owned the old buffer, free it. in TakeOwnershipOf()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DRWMutex.cpp58 data_ = rwlock; in RWMutexImpl()
64 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in ~RWMutexImpl()
73 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in lock_shared()
83 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in unlock_shared()
93 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in lock()
103 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in unlock()
112 RWMutexImpl::RWMutexImpl() : data_(new MutexImpl(false)) { } in RWMutexImpl()
115 delete static_cast<MutexImpl *>(data_); in ~RWMutexImpl()
119 return static_cast<MutexImpl *>(data_)->acquire(); in lock_shared()
123 return static_cast<MutexImpl *>(data_)->release(); in unlock_shared()
[all …]
/third_party/openh264/test/utils/
DBufferedData.h12 BufferedData() : data_ (NULL), capacity_ (0), length_ (0) {} in BufferedData()
15 free (data_); in ~BufferedData()
22 data_[length_++] = c; in PushBack()
30 memcpy (data_ + length_, data, len); in PushBack()
37 memcpy (ptr, data_, len); in PopFront()
38 memmove (data_, data_ + len, length_ - len); in PopFront()
66 return data_; in data()
74 uint8_t* data = static_cast<uint8_t*> (realloc (data_, newsize)); in EnsureCapacity()
79 data_ = data; in EnsureCapacity()
86 uint8_t* data_; variable
/third_party/skia/src/core/
DSkTraceEvent.h175 : data_(static_cast<uint64_t>(reinterpret_cast<uintptr_t>(id))) { in TraceID()
179 : data_(id) { (void)flags; } in TraceID()
181 : data_(id) { (void)flags; } in TraceID()
183 : data_(id) { (void)flags; } in TraceID()
185 : data_(id) { (void)flags; } in TraceID()
187 : data_(static_cast<uint64_t>(id)) { (void)flags; } in TraceID()
189 : data_(static_cast<uint64_t>(id)) { (void)flags; } in TraceID()
191 : data_(static_cast<uint64_t>(id)) { (void)flags; } in TraceID()
193 : data_(static_cast<uint64_t>(id)) { (void)flags; } in TraceID()
195 : data_(static_cast<uint64_t>(id)) { (void)flags; } in TraceID()
[all …]
/third_party/flutter/skia/src/core/
DSkTraceEvent.h175 : data_(static_cast<uint64_t>(reinterpret_cast<uintptr_t>(id))) { in TraceID()
179 : data_(id) { (void)flags; } in TraceID()
181 : data_(id) { (void)flags; } in TraceID()
183 : data_(id) { (void)flags; } in TraceID()
185 : data_(id) { (void)flags; } in TraceID()
187 : data_(static_cast<uint64_t>(id)) { (void)flags; } in TraceID()
189 : data_(static_cast<uint64_t>(id)) { (void)flags; } in TraceID()
191 : data_(static_cast<uint64_t>(id)) { (void)flags; } in TraceID()
193 : data_(static_cast<uint64_t>(id)) { (void)flags; } in TraceID()
195 : data_(static_cast<uint64_t>(id)) { (void)flags; } in TraceID()
[all …]
/third_party/libphonenumber/cpp/src/phonenumbers/base/memory/
Dscoped_ptr.h101 explicit scoped_ptr_impl(T* p) : data_(p) { }
104 scoped_ptr_impl(T* p, const D& d) : data_(p, d) {}
110 : data_(other->release(), other->get_deleter()) {
126 if (data_.ptr != NULL) {
129 static_cast<D&>(data_)(data_.ptr);
135 if (p != NULL && p == data_.ptr)
152 T* old = data_.ptr;
153 data_.ptr = NULL;
155 static_cast<D&>(data_)(old);
156 data_.ptr = p;
[all …]
/third_party/libexif/contrib/c++/
Dexif.hxx453 ExifData *data_; member
456 : data_(exif_data_new()) in Data()
460 : data_(exif_data_new_from_file(path)) in Data()
463 *success = data_; in Data()
466 if(!data_) in Data()
469 if(!data_) in Data()
475 : data_(exif_data_new_from_data(data, size)) in Data()
479 : data_(other.data_) in Data()
481 exif_data_ref(data_); in Data()
486 exif_data_unref(data_); in ~Data()
[all …]
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/
Dos2_table.cc106 return data_->ReadUShort(Offset::kVersion); in TableVersion()
110 return data_->ReadShort(Offset::kXAvgCharWidth); in XAvgCharWidth()
114 return data_->ReadUShort(Offset::kUsWeightClass); in UsWeightClass()
118 return data_->ReadUShort(Offset::kUsWidthClass); in UsWidthClass()
122 return data_->ReadUShort(Offset::kFsType); in FsType()
126 return data_->ReadShort(Offset::kYSubscriptXSize); in YSubscriptXSize()
130 return data_->ReadShort(Offset::kYSubscriptYSize); in YSubscriptYSize()
134 return data_->ReadShort(Offset::kYSubscriptXOffset); in YSubscriptXOffset()
138 return data_->ReadShort(Offset::kYSubscriptYOffset); in YSubscriptYOffset()
142 return data_->ReadShort(Offset::kYSuperscriptXSize); in YSuperscriptXSize()
[all …]
Dfont_header_table.cc26 return data_->ReadFixed(Offset::kTableVersion); in TableVersion()
30 return data_->ReadFixed(Offset::kFontRevision); in FontRevision()
34 return data_->ReadULong(Offset::kCheckSumAdjustment); in ChecksumAdjustment()
38 return data_->ReadULong(Offset::kMagicNumber); in MagicNumber()
42 return data_->ReadUShort(Offset::kFlags); in FlagsAsInt()
46 return data_->ReadUShort(Offset::kUnitsPerEm); in UnitsPerEm()
50 return data_->ReadDateTimeAsLong(Offset::kCreated); in Created()
54 return data_->ReadDateTimeAsLong(Offset::kModified); in Modified()
58 return data_->ReadUShort(Offset::kXMin); in XMin()
62 return data_->ReadUShort(Offset::kYMin); in YMin()
[all …]
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/
Dos2_table.cc106 return data_->ReadUShort(Offset::kVersion); in TableVersion()
110 return data_->ReadShort(Offset::kXAvgCharWidth); in XAvgCharWidth()
114 return data_->ReadUShort(Offset::kUsWeightClass); in UsWeightClass()
118 return data_->ReadUShort(Offset::kUsWidthClass); in UsWidthClass()
122 return data_->ReadUShort(Offset::kFsType); in FsType()
126 return data_->ReadShort(Offset::kYSubscriptXSize); in YSubscriptXSize()
130 return data_->ReadShort(Offset::kYSubscriptYSize); in YSubscriptYSize()
134 return data_->ReadShort(Offset::kYSubscriptXOffset); in YSubscriptXOffset()
138 return data_->ReadShort(Offset::kYSubscriptYOffset); in YSubscriptYOffset()
142 return data_->ReadShort(Offset::kYSuperscriptXSize); in YSuperscriptXSize()
[all …]
Dfont_header_table.cc26 return data_->ReadFixed(Offset::kTableVersion); in TableVersion()
30 return data_->ReadFixed(Offset::kFontRevision); in FontRevision()
34 return data_->ReadULong(Offset::kCheckSumAdjustment); in ChecksumAdjustment()
38 return data_->ReadULong(Offset::kMagicNumber); in MagicNumber()
42 return data_->ReadUShort(Offset::kFlags); in FlagsAsInt()
46 return data_->ReadUShort(Offset::kUnitsPerEm); in UnitsPerEm()
50 return data_->ReadDateTimeAsLong(Offset::kCreated); in Created()
54 return data_->ReadDateTimeAsLong(Offset::kModified); in Modified()
58 return data_->ReadUShort(Offset::kXMin); in XMin()
62 return data_->ReadUShort(Offset::kYMin); in YMin()
[all …]
Dmaximum_profile_table.cc26 return data_->ReadFixed(Offset::kVersion); in TableVersion()
30 return data_->ReadUShort(Offset::kNumGlyphs); in NumGlyphs()
34 return data_->ReadUShort(Offset::kMaxPoints); in MaxPoints()
38 return data_->ReadUShort(Offset::kMaxContours); in MaxContours()
42 return data_->ReadUShort(Offset::kMaxCompositePoints); in MaxCompositePoints()
46 return data_->ReadUShort(Offset::kMaxCompositeContours); in MaxCompositeContours()
50 return data_->ReadUShort(Offset::kMaxZones); in MaxZones()
54 return data_->ReadUShort(Offset::kMaxTwilightPoints); in MaxTwilightPoints()
58 return data_->ReadUShort(Offset::kMaxStorage); in MaxStorage()
62 return data_->ReadUShort(Offset::kMaxFunctionDefs); in MaxFunctionDefs()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dcord.h710 constexpr InlineRep() : data_() {} in InlineRep()
711 explicit InlineRep(InlineData::DefaultInitType init) : data_(init) {} in InlineRep()
780 return memcmp(&data_, &other.data_, sizeof(data_)) == 0; in IsSame()
785 memcpy(&x, &data_, sizeof(x)); in BitwiseCompare()
786 memcpy(&y, &other.data_, sizeof(y)); in BitwiseCompare()
788 memcpy(&x, reinterpret_cast<const char*>(&data_) + 8, sizeof(x)); in BitwiseCompare()
789 memcpy(&y, reinterpret_cast<const char*>(&other.data_) + 8, sizeof(y)); in BitwiseCompare()
801 sizeof(data_) - 1); in CopyTo()
802 memcpy(&(*dst)[0], &data_, sizeof(data_) - 1); in CopyTo()
811 bool is_tree() const { return data_.is_tree(); } in is_tree()
[all …]
/third_party/cef/tests/cefclient/browser/
Dscheme_test.cc44 data_ = in Open()
54 data_.append(dump); in Open()
56 data_.append( in Open()
70 if (LoadBinaryResource("logo.png", data_)) { in Open()
85 DCHECK(!data_.empty()); in GetResponseHeaders()
91 response_length = data_.length(); in GetResponseHeaders()
105 if (offset_ < data_.length()) { in Read()
108 std::min(bytes_to_read, static_cast<int>(data_.length() - offset_)); in Read()
109 memcpy(data_out, data_.c_str() + offset_, transfer_size); in Read()
120 std::string data_; member in client::scheme_test::__anon9726d4370111::ClientSchemeHandler
/third_party/node/deps/icu-small/source/common/
Dlstmbe.cpp81 ConstArray1D() : data_(nullptr), d1_(0) {} in ConstArray1D()
83 ConstArray1D(const float* data, int32_t d1) : data_(data), d1_(d1) {} in ConstArray1D()
91 data_ = reinterpret_cast<const float*>(data); in init()
99 return data_[i]; in get()
103 const float* data_; member in ConstArray1D
117 ConstArray2D() : data_(nullptr), d1_(0), d2_(0) {} in ConstArray2D()
120 : data_(data), d1_(d1), d2_(d2) {} in ConstArray2D()
128 data_ = reinterpret_cast<const float*>(data); in init()
139 return data_[i * d2_ + j]; in get()
145 return ConstArray1D(data_ + i * d2_, d2_); in row()
[all …]

1234567891011