Searched defs:new_data (Results 1 - 25 of 47) sorted by relevance

12

/external/syslinux/gpxe/src/core/
H A Dlinebuf.c79 char *new_data; local
94 new_data = realloc ( linebuf->data, ( new_len + 1 ) );
95 if ( ! new_data )
97 memcpy ( ( new_data + linebuf->len ), data, consume );
98 new_data[new_len] = '\0';
99 linebuf->data = new_data;
/external/webrtc/webrtc/modules/audio_processing/transient/
H A Dwpd_node.cc63 int WPDNode::set_data(const float* new_data, size_t length) { argument
64 if (!new_data || length != length_) {
67 memcpy(data_.get(), new_data, length * sizeof(data_[0]));
/external/boringssl/src/crypto/asn1/
H A Da_enum.c159 unsigned char *new_data = OPENSSL_realloc(ret->data, len + 4); local
160 if (!new_data) {
164 ret->data = new_data;
H A Da_int.c434 unsigned char *new_data = OPENSSL_realloc(ret->data, len + 4); local
435 if (!new_data) {
439 ret->data = new_data;
/external/sfntly/cpp/src/sfntly/table/bitmap/
H A Dbitmap_glyph.cc97 int32_t BitmapGlyph::Builder::SubSerialize(WritableFontData* new_data) { argument
98 return InternalReadData()->CopyTo(new_data);
H A Debsc_table.cc102 int32_t EbscTable::Builder::SubSerialize(WritableFontData* new_data) { argument
103 UNREFERENCED_PARAMETER(new_data);
H A Dbig_glyph_metrics.cc158 int32_t BigGlyphMetrics::Builder::SubSerialize(WritableFontData* new_data) { argument
159 return Data()->CopyTo(new_data);
H A Dindex_sub_table.cc207 int32_t IndexSubTable::Builder::SubSerialize(WritableFontData* new_data) { argument
208 UNREFERENCED_PARAMETER(new_data);
H A Dsmall_glyph_metrics.cc122 int32_t SmallGlyphMetrics::Builder::SubSerialize(WritableFontData* new_data) { argument
123 return Data()->CopyTo(new_data);
H A Debdt_table.cc99 int32_t EbdtTable::Builder::SubSerialize(WritableFontData* new_data) { argument
101 size += new_data->WriteFixed(Offset::kVersion, kVersion);
111 slice.Attach(down_cast<WritableFontData*>(new_data->Slice(size)));
H A Deblc_table.cc70 ReadableFontDataPtr new_data; local
71 new_data.Attach(down_cast<ReadableFontData*>(
77 BitmapSizeTable::Builder::CreateBuilder(new_data, data));
98 int32_t EblcTable::Builder::SubSerialize(WritableFontData* new_data) { argument
100 int32_t size = new_data->WriteFixed(0, kVersion);
101 size += new_data->WriteULong(size, size_table_builders_.size());
154 index_sub_table_array_offset += new_data->WriteUShort(
157 index_sub_table_array_offset += new_data->WriteUShort(
160 index_sub_table_array_offset += new_data->WriteULong(
167 new_data
300 ReadableFontDataPtr new_data; local
[all...]
H A Dindex_sub_table_format1.cc121 ReadableFontDataPtr new_data; local
122 new_data.Attach(down_cast<ReadableFontData*>(
124 if (new_data == NULL) {
128 new IndexSubTableFormat1::Builder(new_data,
145 WritableFontDataPtr new_data; local
146 new_data.Attach(down_cast<WritableFontData*>(
149 new IndexSubTableFormat1::Builder(new_data,
182 WritableFontData* new_data) {
183 int32_t size = SerializeIndexSubHeader(new_data);
192 target.Attach(down_cast<WritableFontData*>(new_data
181 SubSerialize( WritableFontData* new_data) argument
[all...]
H A Dindex_sub_table_format2.cc139 ReadableFontDataPtr new_data; local
140 new_data.Attach(down_cast<ReadableFontData*>(
142 if (new_data == NULL) {
146 new IndexSubTableFormat2::Builder(new_data,
162 WritableFontDataPtr new_data; local
163 new_data.Attach(down_cast<WritableFontData*>(
166 new IndexSubTableFormat2::Builder(new_data,
192 WritableFontData* new_data) {
193 int32_t size = SerializeIndexSubHeader(new_data);
199 target.Attach(down_cast<WritableFontData*>(new_data
191 SubSerialize( WritableFontData* new_data) argument
[all...]
/external/selinux/libsepol/cil/test/unit/
H A DCilTest.c56 struct cil_file_data *new_data = malloc(sizeof(*new_data)); local
81 new_data->buffer = buffer;
82 new_data->file_size = file_size;
84 *data = new_data;
/external/sfntly/cpp/src/sfntly/table/
H A Dfont_data_table.cc53 WritableFontDataPtr new_data; local
62 new_data.Attach(WritableFontData::CreateWritableFontData(size));
63 SubSerialize(new_data);
66 new_data.Attach(WritableFontData::CreateWritableFontData(
69 data->CopyTo(new_data);
72 return new_data.Detach();
92 WritableFontDataPtr new_data; local
93 new_data.Attach(WritableFontData::CreateWritableFontData(size));
94 SubSerialize(new_data);
95 data = new_data;
119 WritableFontDataPtr new_data; local
[all...]
/external/brotli/enc/
H A Dringbuffer.h75 uint8_t* new_data = BROTLI_ALLOC( local
80 memcpy(new_data, rb->data_,
84 rb->data_ = new_data;
/external/harfbuzz_ng/src/
H A Dhb-blob.cc462 char *new_data; local
464 new_data = (char *) malloc (blob->length);
465 if (unlikely (!new_data))
470 memcpy (new_data, blob->data, blob->length);
473 blob->data = new_data;
474 blob->user_data = new_data;
/external/mesa3d/src/compiler/glsl/
H A Dblob.c40 uint8_t *new_data; local
52 new_data = reralloc_size(blob, blob->data, to_allocate);
53 if (new_data == NULL)
56 blob->data = new_data;
/external/syslinux/gpxe/src/net/
H A Ddhcpopts.c192 void *new_data; local
206 new_data = realloc ( options->data, new_options_len );
207 if ( ! new_data ) {
213 options->data = new_data;
/external/libchrome/base/
H A Did_map.h104 // Replaces the value for |id| with |new_data| and returns a pointer to the
109 T* Replace(KeyType id, T* new_data) { argument
111 DCHECK(!check_on_null_data_ || new_data);
119 i->second = new_data;
/external/libmojo/mojo/edk/system/
H A Dchannel.cc393 void* new_data = base::AlignedAlloc(size_, kChannelMessageAlignment); local
394 memcpy(new_data, data_, num_occupied_bytes_);
396 data_ = static_cast<char*>(new_data);
426 char* new_data = static_cast<char*>( local
428 memcpy(new_data, data_ + num_discarded_bytes_, num_preserved_bytes);
430 data_ = new_data;
/external/libtextclassifier/util/utf8/
H A Dunicodetext.cc58 char* new_data = new char[capacity_]; local
62 memcpy(new_data, data_, size_);
65 data_ = new_data;
/external/parameter-framework/asio/include/asio/
H A Dbuffer.hpp377 char* new_data = buffer_cast<char*>(b) + start; local
379 return mutable_buffer(new_data, new_size
391 char* new_data = buffer_cast<char*>(b) + start; local
393 return mutable_buffer(new_data, new_size
405 const char* new_data = buffer_cast<const char*>(b) + start; local
407 return const_buffer(new_data, new_size
419 const char* new_data = buffer_cast<const char*>(b) + start; local
421 return const_buffer(new_data, new_size
/external/parameter-framework/asio-1.10.6/include/asio/
H A Dbuffer.hpp377 char* new_data = buffer_cast<char*>(b) + start; local
379 return mutable_buffer(new_data, new_size
391 char* new_data = buffer_cast<char*>(b) + start; local
393 return mutable_buffer(new_data, new_size
405 const char* new_data = buffer_cast<const char*>(b) + start; local
407 return const_buffer(new_data, new_size
419 const char* new_data = buffer_cast<const char*>(b) + start; local
421 return const_buffer(new_data, new_size
/external/protobuf/src/google/protobuf/
H A Drepeated_field_unittest.cc1493 Nested* new_data = new Nested; local
1494 new_data->set_bb(i);
1495 data.push_back(new_data);
1497 new_data = goldenproto.add_repeated_nested_message();
1498 new_data->set_bb(i);
1512 string* new_data = new string; local
1513 *new_data = "name-" + SimpleItoa(i);
1514 data.push_back(new_data);
1516 new_data = goldenproto.add_repeated_string();
1517 *new_data
1530 Nested* new_data = new Nested; local
1549 string* new_data = new string; local
[all...]

Completed in 537 milliseconds

12