/third_party/cJSON/tests/ |
D | print_number.c | 30 unsigned char new_buffer[26]; in assert_print_number() local 39 buffer.buffer = new_buffer; in assert_print_number() 42 memset(new_buffer, 0, sizeof(new_buffer)); in assert_print_number() 48 for(i = 0;i <sizeof(new_buffer);i++) in assert_print_number() 50 if(i >3 && new_buffer[i] =='0') in assert_print_number() 52 …if((new_buffer[i-3] =='e' && new_buffer[i-2] == '-' && new_buffer[i] =='0') ||(new_buffer[i-2] =='… in assert_print_number() 54 while(new_buffer[i] !='\0') in assert_print_number() 56 new_buffer[i] = new_buffer[i+1]; in assert_print_number()
|
/third_party/gstreamer/gstplugins_bad/gst/subenc/ |
D | gstwebvttenc.c | 89 GstBuffer *new_buffer; in gst_webvtt_enc_chain() local 98 new_buffer = gst_buffer_new_wrapped (g_strdup (header), strlen (header)); in gst_webvtt_enc_chain() 100 GST_BUFFER_PTS (new_buffer) = GST_CLOCK_TIME_NONE; in gst_webvtt_enc_chain() 101 GST_BUFFER_DURATION (new_buffer) = GST_CLOCK_TIME_NONE; in gst_webvtt_enc_chain() 103 ret = gst_pad_push (webvttenc->srcpad, new_buffer); in gst_webvtt_enc_chain() 139 new_buffer = gst_buffer_new_wrapped (g_string_free (s, FALSE), buf_size); in gst_webvtt_enc_chain() 141 GST_BUFFER_TIMESTAMP (new_buffer) = GST_BUFFER_TIMESTAMP (buf); in gst_webvtt_enc_chain() 142 GST_BUFFER_DURATION (new_buffer) = GST_BUFFER_DURATION (buf); in gst_webvtt_enc_chain() 144 ret = gst_pad_push (webvttenc->srcpad, new_buffer); in gst_webvtt_enc_chain()
|
D | gstsrtenc.c | 86 GstBuffer *new_buffer; in gst_srt_enc_chain() local 122 new_buffer = gst_buffer_new_wrapped (g_string_free (s, FALSE), buf_size); in gst_srt_enc_chain() 124 GST_BUFFER_TIMESTAMP (new_buffer) = GST_BUFFER_TIMESTAMP (buf); in gst_srt_enc_chain() 125 GST_BUFFER_DURATION (new_buffer) = GST_BUFFER_DURATION (buf); in gst_srt_enc_chain() 129 return gst_pad_push (srtenc->srcpad, new_buffer); in gst_srt_enc_chain()
|
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/ |
D | gstrtprtxreceive.c | 459 GstBuffer *new_buffer = gst_buffer_new (); in _gst_rtp_buffer_new_from_rtx() local 466 gst_buffer_append_memory (new_buffer, mem); in _gst_rtp_buffer_new_from_rtx() 472 gst_buffer_append_memory (new_buffer, mem); in _gst_rtp_buffer_new_from_rtx() 483 gst_buffer_append_memory (new_buffer, mem); in _gst_rtp_buffer_new_from_rtx() 498 gst_buffer_append_memory (new_buffer, mem); in _gst_rtp_buffer_new_from_rtx() 502 gst_rtp_buffer_map (new_buffer, GST_MAP_WRITE, &new_rtp); in _gst_rtp_buffer_new_from_rtx() 508 gst_buffer_copy_into (new_buffer, rtp->buffer, in _gst_rtp_buffer_new_from_rtx() 510 GST_BUFFER_FLAG_SET (new_buffer, GST_RTP_BUFFER_FLAG_RETRANSMISSION); in _gst_rtp_buffer_new_from_rtx() 512 return new_buffer; in _gst_rtp_buffer_new_from_rtx() 521 GstBuffer *new_buffer = NULL; in gst_rtp_rtx_receive_chain() local [all …]
|
D | gstrtprtxsend.c | 387 GstBuffer *new_buffer = gst_buffer_new (); in gst_rtp_rtx_buffer_new() local 414 gst_buffer_append_memory (new_buffer, mem); in gst_rtp_rtx_buffer_new() 422 gst_buffer_append_memory (new_buffer, mem); in gst_rtp_rtx_buffer_new() 434 gst_buffer_append_memory (new_buffer, mem); in gst_rtp_rtx_buffer_new() 440 gst_rtp_buffer_map (new_buffer, GST_MAP_WRITE, &new_rtp); in gst_rtp_rtx_buffer_new() 449 gst_buffer_copy_into (new_buffer, buffer, GST_BUFFER_COPY_TIMESTAMPS, 0, -1); in gst_rtp_rtx_buffer_new() 451 return new_buffer; in gst_rtp_rtx_buffer_new()
|
/third_party/ffmpeg/libavcodec/ |
D | dirac_parser.c | 158 void *new_buffer = in dirac_combine_frame() local 161 if (!new_buffer) in dirac_combine_frame() 163 pc->buffer = new_buffer; in dirac_combine_frame() 171 void *new_buffer = av_fast_realloc(pc->buffer, &pc->buffer_size, in dirac_combine_frame() local 173 if (!new_buffer) in dirac_combine_frame() 175 pc->buffer = new_buffer; in dirac_combine_frame()
|
D | parser.c | 263 void *new_buffer = av_fast_realloc(pc->buffer, &pc->buffer_size, in ff_combine_frame() local 267 if (!new_buffer) { in ff_combine_frame() 272 pc->buffer = new_buffer; in ff_combine_frame() 285 void *new_buffer = av_fast_realloc(pc->buffer, &pc->buffer_size, in ff_combine_frame() local 288 if (!new_buffer) { in ff_combine_frame() 294 pc->buffer = new_buffer; in ff_combine_frame()
|
/third_party/skia/third_party/externals/spirv-cross/ |
D | spirv_cross_containers.hpp | 351 T *new_buffer = in reserve() local 355 if (!new_buffer) in reserve() 359 if (new_buffer != this->ptr) in reserve() 364 new (&new_buffer[i]) T(std::move(this->ptr[i])); in reserve() 371 this->ptr = new_buffer; in reserve() 400 T *new_buffer = in insert() local 404 if (!new_buffer) in insert() 409 auto *target_itr = new_buffer; in insert() 412 if (new_buffer != this->ptr) in insert() 428 if (new_buffer != this->ptr || insert_begin != insert_end) in insert() [all …]
|
/third_party/gstreamer/gstplugins_base/tests/check/elements/ |
D | audiomixer.c | 183 new_buffer (gsize num_bytes, gint data, GstClockTime ts, GstClockTime dur, in new_buffer() function 869 buffer = new_buffer (44100, 0, 0, 250 * GST_MSECOND, 0); in GST_START_TEST() 883 buffer = new_buffer (44100, 0, 900 * GST_MSECOND, 250 * GST_MSECOND, in GST_START_TEST() 898 buffer = new_buffer (44100, 0, 1150 * GST_MSECOND, 250 * GST_MSECOND, 0); in GST_START_TEST() 912 buffer = new_buffer (44100, 0, 2 * GST_SECOND, 250 * GST_MSECOND, in GST_START_TEST() 1298 buffer = new_buffer (2000, 1, 1 * GST_SECOND, 1 * GST_SECOND, 0); in send_buffers_sync() 1302 buffer = new_buffer (2000, 1, 2 * GST_SECOND, 1 * GST_SECOND, 0); in send_buffers_sync() 1308 buffer = new_buffer (2000, 2, 2 * GST_SECOND, 1 * GST_SECOND, 0); in send_buffers_sync() 1312 buffer = new_buffer (2000, 2, 3 * GST_SECOND, 1 * GST_SECOND, 0); in send_buffers_sync() 1380 buffer = new_buffer (2000, 1, 1 * GST_SECOND, 1 * GST_SECOND, 0); in send_buffers_sync_discont() [all …]
|
/third_party/boost/boost/signals2/detail/ |
D | auto_buffer.hpp | 295 pointer new_buffer = allocate( new_capacity ); // strong in move_to_new_buffer() local 298 new_buffer, in move_to_new_buffer() 300 copy_impl( begin(), end(), new_buffer ); // strong in move_to_new_buffer() 302 return new_buffer; in move_to_new_buffer() 307 pointer new_buffer = allocate( new_capacity ); // strong in move_to_new_buffer() local 308 copy_impl( begin(), end(), new_buffer ); // nothrow in move_to_new_buffer() 309 return new_buffer; in move_to_new_buffer() 314 pointer new_buffer = move_to_new_buffer( new_capacity, in reserve_impl() local 317 buffer_ = new_buffer; in reserve_impl() 523 pointer new_buffer = allocate( r.size() ); in operator =() local [all …]
|
/third_party/glib/gio/inotify/ |
D | inotify-kernel.c | 183 gchar *new_buffer; in ik_source_read_all_the_events() local 199 new_buffer = g_malloc (n_read + n_readable); in ik_source_read_all_the_events() 200 memcpy (new_buffer, buffer, n_read); in ik_source_read_all_the_events() 201 n_read += ik_source_read_some_events (iks, new_buffer + n_read, n_readable); in ik_source_read_all_the_events() 203 buffer = new_buffer; in ik_source_read_all_the_events()
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | ucnvseltst.c | 352 char *new_buffer; in serializeAndUnserialize() local 360 new_buffer = (char *)uprv_malloc(ser_len); in serializeAndUnserialize() 362 ser_len2 = ucnvsel_serialize(sel, new_buffer, ser_len, status); in serializeAndUnserialize() 365 uprv_free(new_buffer); in serializeAndUnserialize() 370 *buffer = new_buffer; in serializeAndUnserialize() 371 sel = ucnvsel_openFromSerialized(new_buffer, ser_len, status); in serializeAndUnserialize()
|
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtpvrawdepay.c | 344 GstBuffer *new_buffer; in gst_rtp_vraw_depay_process_packet() local 366 gst_buffer_pool_acquire_buffer (rtpvrawdepay->pool, &new_buffer, NULL); in gst_rtp_vraw_depay_process_packet() 372 GST_BUFFER_PTS (new_buffer) = -1; in gst_rtp_vraw_depay_process_packet() 375 new_buffer, GST_MAP_WRITE | GST_VIDEO_FRAME_MAP_FLAG_NO_REF)) { in gst_rtp_vraw_depay_process_packet() 376 gst_buffer_unref (new_buffer); in gst_rtp_vraw_depay_process_packet() 380 rtpvrawdepay->outbuf = new_buffer; in gst_rtp_vraw_depay_process_packet()
|
D | rtpulpfeccommon.c | 342 GstBuffer *new_buffer = gst_buffer_new (); in rtp_ulpfec_map_info_map() local 344 gst_buffer_append_memory (new_buffer, mem); in rtp_ulpfec_map_info_map() 348 buffer = new_buffer; in rtp_ulpfec_map_info_map()
|
/third_party/openssl/crypto/kdf/ |
D | scrypt.c | 90 const unsigned char *new_buffer, in pkey_scrypt_set_membuf() argument 93 if (new_buffer == NULL) in pkey_scrypt_set_membuf() 103 *buffer = OPENSSL_memdup(new_buffer, new_buflen); in pkey_scrypt_set_membuf()
|
/third_party/mesa3d/src/gallium/frontends/va/ |
D | image.c | 206 struct pipe_video_buffer *new_buffer = NULL; in vlVaDeriveImage() local 319 new_buffer = drv->pipe->create_video_buffer(drv->pipe, &new_template); in vlVaDeriveImage() 322 if (!new_buffer) { in vlVaDeriveImage() 334 surf->buffer, new_buffer, in vlVaDeriveImage() 339 surfaces = surf->buffer->get_surfaces(new_buffer); in vlVaDeriveImage() 347 w = align(new_buffer->width, 2); in vlVaDeriveImage() 348 h = align(new_buffer->height, 2); in vlVaDeriveImage() 378 img_buf->derived_image_buffer = new_buffer; in vlVaDeriveImage()
|
/third_party/mesa3d/src/loader/ |
D | loader_dri3_helper.c | 1967 struct loader_dri3_buffer *new_buffer; in dri3_get_buffer() local 1971 new_buffer = dri3_alloc_render_buffer(draw, in dri3_get_buffer() 1976 if (!new_buffer) in dri3_get_buffer() 1988 new_buffer->image, in dri3_get_buffer() 1991 MIN2(buffer->width, new_buffer->width), in dri3_get_buffer() 1992 MIN2(buffer->height, new_buffer->height), in dri3_get_buffer() 1995 dri3_fence_reset(draw->conn, new_buffer); in dri3_get_buffer() 1998 new_buffer->pixmap, in dri3_get_buffer() 2002 dri3_fence_trigger(draw->conn, new_buffer); in dri3_get_buffer() 2009 dri3_fence_reset(draw->conn, new_buffer); in dri3_get_buffer() [all …]
|
/third_party/node/src/ |
D | aliased_buffer.h | 232 NativeT* new_buffer = static_cast<NativeT*>(ab->GetBackingStore()->Data()); in reserve() local 234 memcpy(new_buffer, buffer_, old_size_in_bytes); in reserve() 242 buffer_ = new_buffer; in reserve()
|
/third_party/gstreamer/gstplugins_bad/ext/kate/ |
D | gstkatetag.c | 282 GstBuffer *new_buffer; in gst_kate_tag_parse_packet() local 285 new_buffer = gst_buffer_copy (buffer); in gst_kate_tag_parse_packet() 287 buffer = new_buffer; in gst_kate_tag_parse_packet()
|
/third_party/gstreamer/gstplugins_base/gst/rawparse/ |
D | gstrawbaseparse.c | 429 GstBuffer *new_buffer; in gst_raw_base_parse_align_buffer() local 432 new_buffer = gst_buffer_new_allocate (NULL, out_size, ¶ms); in gst_raw_base_parse_align_buffer() 435 gst_buffer_fill (new_buffer, 0, map.data, out_size); in gst_raw_base_parse_align_buffer() 437 gst_buffer_copy_into (new_buffer, buffer, GST_BUFFER_COPY_METADATA, 0, in gst_raw_base_parse_align_buffer() 445 return new_buffer; in gst_raw_base_parse_align_buffer()
|
/third_party/gstreamer/gstplugins_bad/ext/wayland/ |
D | wllinuxdmabuf.c | 43 struct wl_buffer *new_buffer) in create_succeeded() argument 48 d->wbuf = new_buffer; in create_succeeded()
|
/third_party/boost/libs/spirit/example/lex/ |
D | word_count_functor_flex.cpp | 234 void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); 1117 void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) in yy_switch_to_buffer() argument 1119 void yy_switch_to_buffer( new_buffer ) in yy_switch_to_buffer() 1120 YY_BUFFER_STATE new_buffer; in yy_switch_to_buffer() 1123 if ( yy_current_buffer == new_buffer ) 1134 yy_current_buffer = new_buffer;
|
/third_party/gstreamer/gstreamer/docs/random/wtay/ |
D | plugin_guidelines | 14 ! GstBuffer *new_buffer; 25 ! gst_pad_push (elem->some_sink_pad, new_buffer); 59 ! GstBuffer *new_buffer; 72 ! gst_pad_push (elem->some_sink_pad, new_buffer);
|
/third_party/gstreamer/gstplugins_good/sys/rpicamsrc/ |
D | RaspiStillYUV.c | 440 MMAL_BUFFER_HEADER_T *new_buffer = mmal_queue_get(pData->pstate->camera_pool->queue); in camera_buffer_callback() local 443 if (new_buffer) in camera_buffer_callback() 445 status = mmal_port_send_buffer(port, new_buffer); in camera_buffer_callback() 448 if (!new_buffer || status != MMAL_SUCCESS) in camera_buffer_callback()
|
/third_party/gstreamer/gstreamer/gst/parse/ |
D | lex.priv_gst_parse_yy.c | 502 void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner ); 506 void yypush_buffer_state ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner ); 2008 void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner) in yy_switch_to_buffer() argument 2018 if ( YY_CURRENT_BUFFER == new_buffer ) in yy_switch_to_buffer() 2029 YY_CURRENT_BUFFER_LVALUE = new_buffer; in yy_switch_to_buffer() 2162 void yypush_buffer_state (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner) in yypush_buffer_state() argument 2165 if (new_buffer == NULL) in yypush_buffer_state() 2182 YY_CURRENT_BUFFER_LVALUE = new_buffer; in yypush_buffer_state()
|