/external/sfntly/cpp/src/sfntly/table/ |
D | font_data_table.cc | 53 WritableFontDataPtr new_data; in Data() local 62 new_data.Attach(WritableFontData::CreateWritableFontData(size)); in Data() 63 SubSerialize(new_data); in Data() 66 new_data.Attach(WritableFontData::CreateWritableFontData( in Data() 69 data->CopyTo(new_data); in Data() 72 return new_data.Detach(); in Data() 92 WritableFontDataPtr new_data; in Build() local 93 new_data.Attach(WritableFontData::CreateWritableFontData(size)); in Build() 94 SubSerialize(new_data); in Build() 95 data = new_data; in Build() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | sync_buffer_unittest.cc | 56 AudioMultiVector new_data(kChannels, kNewLen); in TEST() local 60 new_data[channel][i] = i; in TEST() 66 sync_buffer.PushBack(new_data); in TEST() 73 EXPECT_EQ(new_data[channel][i], in TEST() 96 AudioMultiVector new_data(kChannels, kNewLen); in TEST() local 100 new_data[channel][i] = 1000 + i; in TEST() 103 sync_buffer.PushBack(new_data); in TEST() 129 AudioMultiVector new_data(kChannels, kNewLen); in TEST() local 133 new_data[channel][i] = i; in TEST() 139 sync_buffer.PushBack(new_data); in TEST() [all …]
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
D | eblc_table.cc | 70 ReadableFontDataPtr new_data; in CreateBitmapSizeTable() local 71 new_data.Attach(down_cast<ReadableFontData*>( in CreateBitmapSizeTable() 77 BitmapSizeTable::Builder::CreateBuilder(new_data, data)); in CreateBitmapSizeTable() 98 int32_t EblcTable::Builder::SubSerialize(WritableFontData* new_data) { in SubSerialize() argument 100 int32_t size = new_data->WriteFixed(0, kVersion); in SubSerialize() 101 size += new_data->WriteULong(size, size_table_builders_.size()); in SubSerialize() 154 index_sub_table_array_offset += new_data->WriteUShort( in SubSerialize() 157 index_sub_table_array_offset += new_data->WriteUShort( in SubSerialize() 160 index_sub_table_array_offset += new_data->WriteULong( in SubSerialize() 167 new_data->Slice(index_sub_table_offset))); in SubSerialize() [all …]
|
D | index_sub_table_format2.cc | 139 ReadableFontDataPtr new_data; in CreateBuilder() local 140 new_data.Attach(down_cast<ReadableFontData*>( in CreateBuilder() 142 if (new_data == NULL) { in CreateBuilder() 146 new IndexSubTableFormat2::Builder(new_data, in CreateBuilder() 162 WritableFontDataPtr new_data; in CreateBuilder() local 163 new_data.Attach(down_cast<WritableFontData*>( in CreateBuilder() 166 new IndexSubTableFormat2::Builder(new_data, in CreateBuilder() 192 WritableFontData* new_data) { in SubSerialize() argument 193 int32_t size = SerializeIndexSubHeader(new_data); in SubSerialize() 199 target.Attach(down_cast<WritableFontData*>(new_data->Slice(size))); in SubSerialize() [all …]
|
D | index_sub_table_format5.cc | 141 ReadableFontDataPtr new_data; in CreateBuilder() local 142 new_data.Attach(down_cast<ReadableFontData*>( in CreateBuilder() 144 if (new_data == NULL) { in CreateBuilder() 148 new IndexSubTableFormat5::Builder(new_data, in CreateBuilder() 164 WritableFontDataPtr new_data; in CreateBuilder() local 165 new_data.Attach(down_cast<WritableFontData*>( in CreateBuilder() 168 new IndexSubTableFormat5::Builder(new_data, in CreateBuilder() 201 WritableFontData* new_data) { in SubSerialize() argument 202 int32_t size = SerializeIndexSubHeader(new_data); in SubSerialize() 208 target.Attach(down_cast<WritableFontData*>(new_data->Slice( in SubSerialize() [all …]
|
D | index_sub_table_format3.cc | 134 ReadableFontDataPtr new_data; in CreateBuilder() local 135 new_data.Attach(down_cast<ReadableFontData*>( in CreateBuilder() 137 if (new_data == NULL) { in CreateBuilder() 141 new IndexSubTableFormat3::Builder(new_data, in CreateBuilder() 157 WritableFontDataPtr new_data; in CreateBuilder() local 158 new_data.Attach(down_cast<WritableFontData*>( in CreateBuilder() 161 new IndexSubTableFormat3::Builder(new_data, in CreateBuilder() 194 WritableFontData* new_data) { in SubSerialize() argument 195 int32_t size = SerializeIndexSubHeader(new_data); in SubSerialize() 204 target.Attach(down_cast<WritableFontData*>(new_data->Slice( in SubSerialize() [all …]
|
D | index_sub_table_format1.cc | 121 ReadableFontDataPtr new_data; in CreateBuilder() local 122 new_data.Attach(down_cast<ReadableFontData*>( in CreateBuilder() 124 if (new_data == NULL) { in CreateBuilder() 128 new IndexSubTableFormat1::Builder(new_data, in CreateBuilder() 145 WritableFontDataPtr new_data; in CreateBuilder() local 146 new_data.Attach(down_cast<WritableFontData*>( in CreateBuilder() 149 new IndexSubTableFormat1::Builder(new_data, in CreateBuilder() 182 WritableFontData* new_data) { in SubSerialize() argument 183 int32_t size = SerializeIndexSubHeader(new_data); in SubSerialize() 192 target.Attach(down_cast<WritableFontData*>(new_data->Slice( in SubSerialize() [all …]
|
D | index_sub_table_format4.cc | 168 ReadableFontDataPtr new_data; in CreateBuilder() local 169 new_data.Attach(down_cast<ReadableFontData*>( in CreateBuilder() 171 if (new_data == NULL) { in CreateBuilder() 175 new IndexSubTableFormat4::Builder(new_data, in CreateBuilder() 191 WritableFontDataPtr new_data; in CreateBuilder() local 192 new_data.Attach(down_cast<WritableFontData*>( in CreateBuilder() 195 new IndexSubTableFormat4::Builder(new_data, in CreateBuilder() 229 WritableFontData* new_data) { in SubSerialize() argument 230 int32_t size = SerializeIndexSubHeader(new_data); in SubSerialize() 239 target.Attach(down_cast<WritableFontData*>(new_data->Slice( in SubSerialize() [all …]
|
D | bitmap_glyph.cc | 97 int32_t BitmapGlyph::Builder::SubSerialize(WritableFontData* new_data) { in SubSerialize() argument 98 return InternalReadData()->CopyTo(new_data); in SubSerialize()
|
D | ebsc_table.cc | 102 int32_t EbscTable::Builder::SubSerialize(WritableFontData* new_data) { in SubSerialize() argument 103 UNREFERENCED_PARAMETER(new_data); in SubSerialize()
|
/external/syslinux/gpxe/src/core/ |
D | linebuf.c | 79 char *new_data; in line_buffer() local 94 new_data = realloc ( linebuf->data, ( new_len + 1 ) ); in line_buffer() 95 if ( ! new_data ) in line_buffer() 97 memcpy ( ( new_data + linebuf->len ), data, consume ); in line_buffer() 98 new_data[new_len] = '\0'; in line_buffer() 99 linebuf->data = new_data; in line_buffer()
|
/external/harfbuzz_ng/src/ |
D | hb-blob.cc | 462 char *new_data; in _try_writable() local 464 new_data = (char *) malloc (blob->length); in _try_writable() 465 if (unlikely (!new_data)) in _try_writable() 470 memcpy (new_data, blob->data, blob->length); in _try_writable() 473 blob->data = new_data; in _try_writable() 474 blob->user_data = new_data; in _try_writable()
|
/external/sfntly/cpp/src/sfntly/table/core/ |
D | cmap_table.cc | 318 int32_t CMapTable::CMap::Builder::SubSerialize(WritableFontData* new_data) { in SubSerialize() argument 319 return InternalReadData()->CopyTo(new_data); in SubSerialize() 1066 CMapTable::CMapFormat4::Builder::SubSerialize(WritableFontData* new_data) { in SubSerialize() argument 1068 return CMap::Builder::SubSerialize(new_data); in SubSerialize() 1071 index += new_data->WriteUShort(index, CMapFormat::kFormat4); in SubSerialize() 1073 index += new_data->WriteUShort(index, language()); in SubSerialize() 1076 index += new_data->WriteUShort(index, seg_count * 2); in SubSerialize() 1079 index += new_data->WriteUShort(index, search_range); in SubSerialize() 1081 index += new_data->WriteUShort(index, entry_selector); in SubSerialize() 1083 index += new_data->WriteUShort(index, range_shift); in SubSerialize() [all …]
|
D | name_table.cc | 367 int32_t NameTable::Builder::SubSerialize(WritableFontData* new_data) { in SubSerialize() argument 373 new_data->WriteUShort(NameTable::Offset::kFormat, 0); in SubSerialize() 374 new_data->WriteUShort(NameTable::Offset::kCount, name_entry_map_.size()); in SubSerialize() 375 new_data->WriteUShort(NameTable::Offset::kStringOffset, in SubSerialize() 385 new_data->WriteUShort( in SubSerialize() 388 new_data->WriteUShort( in SubSerialize() 391 new_data->WriteUShort( in SubSerialize() 394 new_data->WriteUShort( in SubSerialize() 398 new_data->WriteUShort( in SubSerialize() 401 new_data->WriteUShort( in SubSerialize() [all …]
|
/external/webrtc/webrtc/modules/audio_processing/transient/ |
D | wpd_node.cc | 63 int WPDNode::set_data(const float* new_data, size_t length) { in set_data() argument 64 if (!new_data || length != length_) { in set_data() 67 memcpy(data_.get(), new_data, length * sizeof(data_[0])); in set_data()
|
/external/autotest/frontend/afe/ |
D | rdb_model_extensions.py | 86 new_data = dict(data) 92 new_data[name] = obj.default 95 new_data[name] = '' 96 return new_data
|
/external/syslinux/core/fs/iso9660/ |
D | susp_rr.c | 318 char *pos_pt, *new_data; in susp_rr_get_entries() local 364 new_data = malloc(count + 1); in susp_rr_get_entries() 365 if (susp_rr_is_out_of_mem(new_data)) { in susp_rr_get_entries() 373 memcpy(new_data, *data, *len_data); in susp_rr_get_entries() 376 new_data[count] = 0; in susp_rr_get_entries() 377 *data = new_data; in susp_rr_get_entries()
|
/external/boringssl/src/crypto/asn1/ |
D | a_enum.c | 159 unsigned char *new_data = OPENSSL_realloc(ret->data, len + 4); in BN_to_ASN1_ENUMERATED() local 160 if (!new_data) { in BN_to_ASN1_ENUMERATED() 164 ret->data = new_data; in BN_to_ASN1_ENUMERATED()
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/ |
D | monsoon_power_monitor.py | 34 new_data = device.CollectData() 35 assert new_data, 'Unable to collect data from device' 36 samples += new_data
|
/external/protobuf/src/google/protobuf/ |
D | repeated_field_unittest.cc | 1493 Nested* new_data = new Nested; in TEST_F() local 1494 new_data->set_bb(i); in TEST_F() 1495 data.push_back(new_data); in TEST_F() 1497 new_data = goldenproto.add_repeated_nested_message(); in TEST_F() 1498 new_data->set_bb(i); in TEST_F() 1512 string* new_data = new string; in TEST_F() local 1513 *new_data = "name-" + SimpleItoa(i); in TEST_F() 1514 data.push_back(new_data); in TEST_F() 1516 new_data = goldenproto.add_repeated_string(); in TEST_F() 1517 *new_data = "name-" + SimpleItoa(i); in TEST_F() [all …]
|
/external/libtextclassifier/util/utf8/ |
D | unicodetext.cc | 58 char* new_data = new char[capacity_]; in reserve() local 62 memcpy(new_data, data_, size_); in reserve() 65 data_ = new_data; in reserve()
|
/external/syslinux/gpxe/src/net/ |
D | dhcpopts.c | 192 void *new_data; in resize_dhcp_option() local 206 new_data = realloc ( options->data, new_options_len ); in resize_dhcp_option() 207 if ( ! new_data ) { in resize_dhcp_option() 213 options->data = new_data; in resize_dhcp_option()
|
/external/libmojo/mojo/edk/system/ |
D | channel.cc | 393 void* new_data = base::AlignedAlloc(size_, kChannelMessageAlignment); in Reserve() local 394 memcpy(new_data, data_, num_occupied_bytes_); in Reserve() 396 data_ = static_cast<char*>(new_data); in Reserve() 426 char* new_data = static_cast<char*>( in Discard() local 428 memcpy(new_data, data_ + num_discarded_bytes_, num_preserved_bytes); in Discard() 430 data_ = new_data; in Discard()
|
/external/sfntly/cpp/src/sfntly/table/truetype/ |
D | loca_table.cc | 184 int32_t LocaTable::Builder::SubSerialize(WritableFontData* new_data) { in SubSerialize() argument 189 size += new_data->WriteULong(size, *l); in SubSerialize() 191 size += new_data->WriteUShort(size, *l / 2); in SubSerialize()
|
/external/webrtc/webrtc/base/ |
D | buffer.h | 167 scoped_ptr<uint8_t[]> new_data(new uint8_t[capacity]); in EnsureCapacity() 168 std::memcpy(new_data.get(), data_.get(), size_); in EnsureCapacity() 169 data_ = std::move(new_data); in EnsureCapacity()
|