Home
last modified time | relevance | path

Searched refs:new_data (Results 1 - 25 of 92) sorted by relevance

1234

/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/
H A Dfont_data_table.cc53 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()
119 WritableFontDataPtr new_data; InternalWriteData() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/encode_decode/
H A Ddecoder_lib.c687 struct decoder_process_data_st new_data; in decoder_process() local
697 memset(&new_data, 0, sizeof(new_data)); in decoder_process()
698 new_data.ctx = data->ctx; in decoder_process()
699 new_data.recursion = data->recursion + 1; in decoder_process()
702 #define LEVEL (new_data.recursion < sizeof(LEVEL_STR) \ in decoder_process()
703 ? &LEVEL_STR[sizeof(LEVEL_STR) - new_data.recursion - 1] \ in decoder_process()
712 (void *)new_data.ctx); in decoder_process()
735 (void *)new_data.ctx, LEVEL); in decoder_process()
743 (void *)new_data in decoder_process()
[all...]
H A Dencoder_lib.c416 struct encoder_process_data_st new_data; in encoder_process() local
432 memset(&new_data, 0, sizeof(new_data)); in encoder_process()
433 new_data.ctx = data->ctx; in encoder_process()
434 new_data.current_encoder_inst_index = i; in encoder_process()
435 new_data.next_encoder_inst = current_encoder_inst; in encoder_process()
436 new_data.count_output_structure = data->count_output_structure; in encoder_process()
437 new_data.level = data->level + 1; in encoder_process()
503 ok = encoder_process(&new_data); in encoder_process()
505 data->prev_encoder_inst = new_data in encoder_process()
[all...]
/third_party/openssl/crypto/encode_decode/
H A Ddecoder_lib.c687 struct decoder_process_data_st new_data; in decoder_process() local
697 memset(&new_data, 0, sizeof(new_data)); in decoder_process()
698 new_data.ctx = data->ctx; in decoder_process()
699 new_data.recursion = data->recursion + 1; in decoder_process()
702 #define LEVEL (new_data.recursion < sizeof(LEVEL_STR) \ in decoder_process()
703 ? &LEVEL_STR[sizeof(LEVEL_STR) - new_data.recursion - 1] \ in decoder_process()
712 (void *)new_data.ctx); in decoder_process()
735 (void *)new_data.ctx, LEVEL); in decoder_process()
743 (void *)new_data in decoder_process()
[all...]
H A Dencoder_lib.c416 struct encoder_process_data_st new_data; in encoder_process() local
432 memset(&new_data, 0, sizeof(new_data)); in encoder_process()
433 new_data.ctx = data->ctx; in encoder_process()
434 new_data.current_encoder_inst_index = i; in encoder_process()
435 new_data.next_encoder_inst = current_encoder_inst; in encoder_process()
436 new_data.count_output_structure = data->count_output_structure; in encoder_process()
437 new_data.level = data->level + 1; in encoder_process()
503 ok = encoder_process(&new_data); in encoder_process()
505 data->prev_encoder_inst = new_data in encoder_process()
[all...]
/third_party/pulseaudio/src/modules/
H A Dmodule-device-restore.c727 static pa_hook_result_t sink_new_hook_callback(pa_core *c, pa_sink_new_data *new_data, struct userdata *u) { in sink_new_hook_callback() argument
732 pa_assert(new_data); in sink_new_hook_callback()
736 name = pa_sprintf_malloc("sink:%s", new_data->name); in sink_new_hook_callback()
741 if (!new_data->active_port) { in sink_new_hook_callback()
743 pa_sink_new_data_set_port(new_data, e->port); in sink_new_hook_callback()
744 new_data->save_port = true; in sink_new_hook_callback()
757 static pa_hook_result_t sink_fixate_hook_callback(pa_core *c, pa_sink_new_data *new_data, struct userdata *u) { in sink_fixate_hook_callback() argument
762 pa_assert(new_data); in sink_fixate_hook_callback()
766 name = pa_sprintf_malloc("sink:%s", new_data->name); in sink_fixate_hook_callback()
768 if ((e = perportentry_read(u, name, new_data in sink_fixate_hook_callback()
869 source_new_hook_callback(pa_core *c, pa_source_new_data *new_data, struct userdata *u) source_new_hook_callback() argument
899 source_fixate_hook_callback(pa_core *c, pa_source_new_data *new_data, struct userdata *u) source_fixate_hook_callback() argument
[all...]
H A Dmodule-intended-roles.c68 static pa_hook_result_t sink_input_new_hook_callback(pa_core *c, pa_sink_input_new_data *new_data, struct userdata *u) { in sink_input_new_hook_callback() argument
74 pa_assert(new_data); in sink_input_new_hook_callback()
77 if (!new_data->proplist) { in sink_input_new_hook_callback()
82 if (new_data->sink) { in sink_input_new_hook_callback()
83 pa_log_debug("Not setting device for stream %s, because already set.", pa_strnull(pa_proplist_gets(new_data->proplist, PA_PROP_MEDIA_NAME))); in sink_input_new_hook_callback()
87 if (!(role = pa_proplist_gets(new_data->proplist, PA_PROP_MEDIA_ROLE))) { in sink_input_new_hook_callback()
88 pa_log_debug("Not setting device for stream %s, because it lacks role.", pa_strnull(pa_proplist_gets(new_data->proplist, PA_PROP_MEDIA_NAME))); in sink_input_new_hook_callback()
94 if (role_match(c->default_sink->proplist, role) && pa_sink_input_new_data_set_sink(new_data, c->default_sink, false, false)) in sink_input_new_hook_callback()
105 if (role_match(s->proplist, role) && pa_sink_input_new_data_set_sink(new_data, s, false, false)) in sink_input_new_hook_callback()
112 static pa_hook_result_t source_output_new_hook_callback(pa_core *c, pa_source_output_new_data *new_data, struc argument
[all...]
H A Dmodule-allow-passthrough.c163 static pa_hook_result_t sink_input_new_cb(pa_core *core, pa_sink_input_new_data *new_data, struct userdata *u) { in sink_input_new_cb() argument
178 if (!new_data->sink) { in sink_input_new_cb()
181 pa_sink_input_new_data_set_sink(new_data, sink, false, false); in sink_input_new_cb()
184 if (!new_data->format && new_data->nego_formats && !pa_idxset_isempty(new_data->nego_formats)) in sink_input_new_cb()
185 new_data->format = pa_format_info_copy(pa_idxset_first(new_data->nego_formats, NULL)); in sink_input_new_cb()
187 if (!new_data->format) { in sink_input_new_cb()
193 if (pa_sink_input_new_data_is_passthrough(new_data)) in sink_input_new_cb()
[all...]
H A Dmodule-stream-restore.c1438 static pa_hook_result_t sink_input_new_hook_callback(pa_core *c, pa_sink_input_new_data *new_data, struct userdata *u) { in sink_input_new_hook_callback() argument
1443 pa_assert(new_data); in sink_input_new_hook_callback()
1447 if (!(name = pa_proplist_get_stream_group(new_data->proplist, "sink-input", IDENTIFICATION_PROPERTY))) in sink_input_new_hook_callback()
1450 if (new_data->sink) in sink_input_new_hook_callback()
1451 pa_log_debug("Not restoring device for stream %s, because already set to '%s'.", name, new_data->sink->name); in sink_input_new_hook_callback()
1452 else if (new_data->origin_sink) in sink_input_new_hook_callback()
1459 new_data->preferred_sink = pa_xstrdup(e->device); in sink_input_new_hook_callback()
1474 if (pa_sink_input_new_data_set_sink(new_data, s, true, false)) in sink_input_new_hook_callback()
1486 static pa_hook_result_t sink_input_fixate_hook_callback(pa_core *c, pa_sink_input_new_data *new_data, struct userdata *u) { in sink_input_fixate_hook_callback() argument
1491 pa_assert(new_data); in sink_input_fixate_hook_callback()
1615 source_output_new_hook_callback(pa_core *c, pa_source_output_new_data *new_data, struct userdata *u) source_output_new_hook_callback() argument
1667 source_output_fixate_hook_callback(pa_core *c, pa_source_output_new_data *new_data, struct userdata *u) source_output_fixate_hook_callback() argument
[all...]
H A Dmodule-switch-on-port-available.c448 static pa_hook_result_t sink_new_hook_callback(pa_core *c, pa_sink_new_data *new_data, void *u) { in sink_new_hook_callback() argument
450 pa_device_port *p = new_sink_source(new_data->ports, new_data->active_port); in sink_new_hook_callback()
453 pa_log_debug("Switching initial port for sink '%s' to '%s'", new_data->name, p->name); in sink_new_hook_callback()
454 pa_sink_new_data_set_port(new_data, p->name); in sink_new_hook_callback()
459 static pa_hook_result_t source_new_hook_callback(pa_core *c, pa_source_new_data *new_data, void *u) { in source_new_hook_callback() argument
461 pa_device_port *p = new_sink_source(new_data->ports, new_data->active_port); in source_new_hook_callback()
464 pa_log_debug("Switching initial port for source '%s' to '%s'", new_data->name, p->name); in source_new_hook_callback()
465 pa_source_new_data_set_port(new_data, in source_new_hook_callback()
[all...]
/third_party/node/tools/gyp/pylib/gyp/
H A Dxcode_ninja.py193 new_data = {}
196 new_data[main_gyp] = {}
197 new_data[main_gyp]["included_files"] = []
198 new_data[main_gyp]["targets"] = []
199 new_data[main_gyp]["xcode_settings"] = data[orig_gyp].get("xcode_settings", {})
223 # Add to new_data.
229 new_data[main_gyp]["targets"].append(new_data_target)
287 # Add to new_target_list, new_target_dicts and new_data.
294 new_data[sources_gyp] = {}
295 new_data[sources_gy
[all...]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
H A Dxcode_ninja.py193 new_data = {}
196 new_data[main_gyp] = {}
197 new_data[main_gyp]["included_files"] = []
198 new_data[main_gyp]["targets"] = []
199 new_data[main_gyp]["xcode_settings"] = data[orig_gyp].get("xcode_settings", {})
223 # Add to new_data.
229 new_data[main_gyp]["targets"].append(new_data_target)
287 # Add to new_target_list, new_target_dicts and new_data.
294 new_data[sources_gyp] = {}
295 new_data[sources_gy
[all...]
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/bitmap/
H A Deblc_table.cc70 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 in SubSerialize()
305 ReadableFontDataPtr new_data; Initialize() local
[all...]
H A Dindex_sub_table_format5.cc141 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()
202 int32_t size = SerializeIndexSubHeader(new_data); in SubSerialize()
208 target.Attach(down_cast<WritableFontData*>(new_data in SubSerialize()
200 SubSerialize( WritableFontData* new_data) SubSerialize() argument
[all...]
H A Dindex_sub_table_format2.cc139 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()
193 int32_t size = SerializeIndexSubHeader(new_data); in SubSerialize()
199 target.Attach(down_cast<WritableFontData*>(new_data in SubSerialize()
191 SubSerialize( WritableFontData* new_data) SubSerialize() argument
[all...]
H A Dindex_sub_table_format1.cc121 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()
183 int32_t size = SerializeIndexSubHeader(new_data); in SubSerialize()
192 target.Attach(down_cast<WritableFontData*>(new_data in SubSerialize()
181 SubSerialize( WritableFontData* new_data) SubSerialize() argument
[all...]
H A Dindex_sub_table_format3.cc134 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()
195 int32_t size = SerializeIndexSubHeader(new_data); in SubSerialize()
204 target.Attach(down_cast<WritableFontData*>(new_data in SubSerialize()
193 SubSerialize( WritableFontData* new_data) SubSerialize() argument
[all...]
H A Dindex_sub_table_format4.cc168 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()
230 int32_t size = SerializeIndexSubHeader(new_data); in SubSerialize()
239 target.Attach(down_cast<WritableFontData*>(new_data in SubSerialize()
228 SubSerialize( WritableFontData* new_data) SubSerialize() argument
[all...]
/third_party/pulseaudio/src/modules/macosx/
H A Dmodule-coreaudio-device.c409 pa_sink_new_data new_data; in ca_device_create_sink() local
473 pa_sink_new_data_init(&new_data); in ca_device_create_sink()
474 new_data.card = u->card; in ca_device_create_sink()
475 new_data.driver = __FILE__; in ca_device_create_sink()
476 new_data.module = u->module; in ca_device_create_sink()
477 new_data.namereg_fail = false; in ca_device_create_sink()
478 pa_sink_new_data_set_name(&new_data, ca_sink->name); in ca_device_create_sink()
479 pa_sink_new_data_set_channel_map(&new_data, &ca_sink->map); in ca_device_create_sink()
480 pa_sink_new_data_set_sample_spec(&new_data, &ca_sink->ss); in ca_device_create_sink()
481 pa_proplist_sets(new_data in ca_device_create_sink()
543 pa_source_new_data new_data; ca_device_create_source() local
[all...]
/third_party/skia/third_party/externals/libwebp/tests/fuzzer/
H A Dadvanced_api_fuzzer.c94 const uint8_t* new_data = data; in LLVMFuzzerTestOneInput() local
97 if (new_data + new_size > data + size) { in LLVMFuzzerTestOneInput()
98 new_size = data + size - new_data; in LLVMFuzzerTestOneInput()
100 status = WebPIAppend(idec, new_data, new_size); in LLVMFuzzerTestOneInput()
102 new_data += new_size; in LLVMFuzzerTestOneInput()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/
H A Dcmap_table.cc318 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 in SubSerialize()
1127 SubSerialize(WritableFontData* new_data) SubSerialize() argument
[all...]
/third_party/node/deps/v8/src/objects/
H A Dstring-table.cc229 std::unique_ptr<Data> new_data(new (capacity) Data(capacity)); in Resize()
231 DCHECK_LT(data->number_of_elements(), new_data->capacity()); in Resize()
233 new_data->capacity(), new_data->number_of_elements(), in Resize()
234 new_data->number_of_deleted_elements(), data->number_of_elements())); in Resize()
243 new_data->FindInsertionEntry(cage_base, hash); in Resize()
244 new_data->Set(insertion_index, string); in Resize()
246 new_data->number_of_elements_ = data->number_of_elements(); in Resize()
248 new_data->previous_data_ = std::move(data); in Resize()
249 return new_data; in Resize()
613 std::unique_ptr<Data> new_data = EnsureCapacity() local
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-blob.cc492 char *new_data; in try_make_writable() local
494 new_data = (char *) hb_malloc (this->length); in try_make_writable()
495 if (unlikely (!new_data)) in try_make_writable()
500 memcpy (new_data, this->data, this->length); in try_make_writable()
503 this->data = new_data; in try_make_writable()
504 this->user_data = new_data; in try_make_writable()
751 char *new_data = (char *) hb_realloc (data, allocated); in hb_blob_create_from_file_or_fail() local
752 if (unlikely (!new_data)) goto fread_fail; in hb_blob_create_from_file_or_fail()
753 data = new_data; in hb_blob_create_from_file_or_fail()
/third_party/node/deps/brotli/c/enc/
H A Dringbuffer.h75 uint8_t* new_data = BROTLI_ALLOC( in RingBufferInitBuffer() local
78 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(new_data)) return; in RingBufferInitBuffer()
80 memcpy(new_data, rb->data_, in RingBufferInitBuffer()
84 rb->data_ = new_data; in RingBufferInitBuffer()
/third_party/skia/third_party/externals/brotli/c/enc/
H A Dringbuffer.h75 uint8_t* new_data = BROTLI_ALLOC( in RingBufferInitBuffer() local
78 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(new_data)) return; in RingBufferInitBuffer()
80 memcpy(new_data, rb->data_, in RingBufferInitBuffer()
84 rb->data_ = new_data; in RingBufferInitBuffer()

Completed in 20 milliseconds

1234