Home
last modified time | relevance | path

Searched refs:temp_buffer (Results 1 – 13 of 13) sorted by relevance

/third_party/ffmpeg/libavformat/
Dm4vdec.c35 uint32_t temp_buffer = -1; in mpeg4video_probe() local
41 temp_buffer = (temp_buffer << 8) + probe_packet->buf[i]; in mpeg4video_probe()
42 if (temp_buffer & 0xfffffe00) in mpeg4video_probe()
44 if (temp_buffer < 2) in mpeg4video_probe()
47 if (temp_buffer == VOP_STARTCODE) in mpeg4video_probe()
49 else if (temp_buffer == VISUAL_OBJ_STARTCODE) in mpeg4video_probe()
51 else if (temp_buffer >= 0x100 && temp_buffer < 0x120) in mpeg4video_probe()
53 else if (temp_buffer >= 0x120 && temp_buffer < 0x130) in mpeg4video_probe()
55 else if (temp_buffer == SLICE_STARTCODE || temp_buffer == EXT_STARTCODE) in mpeg4video_probe()
57 else if (!(0x1AF < temp_buffer && temp_buffer < 0x1B7) && in mpeg4video_probe()
[all …]
Dhlsenc.c128 uint8_t *temp_buffer; member
548 *range_length = avio_close_dyn_buf(ctx->pb, &vs->temp_buffer); in flush_dynbuf()
550 avio_write(vs->out, vs->temp_buffer, *range_length); in flush_dynbuf()
560 avio_write(vs->out, vs->temp_buffer, *range_length); in reflush_dynbuf()
2538 av_freep(&vs->temp_buffer);
2600 av_freep(&vs->temp_buffer);
2815 av_freep(&vs->temp_buffer);
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vs_variant.c161 void *temp_buffer = MALLOC( align(count,4) * temp_vertex_stride + in vsvg_run_elts() local
174 temp_buffer ); in vsvg_run_elts()
177 temp_buffer, in vsvg_run_elts()
178 temp_buffer, in vsvg_run_elts()
193 temp_buffer ); in vsvg_run_elts()
198 temp_buffer ); in vsvg_run_elts()
204 temp_buffer, in vsvg_run_elts()
220 FREE(temp_buffer); in vsvg_run_elts()
231 void *temp_buffer = MALLOC( align(count,4) * temp_vertex_stride + in vsvg_run_linear() local
243 temp_buffer ); in vsvg_run_linear()
[all …]
/third_party/protobuf/src/google/protobuf/io/
Dzero_copy_stream_unittest.cc306 char* temp_buffer = new char[40]; in TEST_F() local
333 EXPECT_TRUE(coded_input->ReadRaw(temp_buffer, insize)); in TEST_F()
334 EXPECT_EQ(0, memcmp(temp_buffer, strA, insize)); in TEST_F()
338 EXPECT_TRUE(coded_input->ReadRaw(temp_buffer, insize)); in TEST_F()
339 EXPECT_EQ(0, memcmp(temp_buffer, strB, insize)); in TEST_F()
346 delete[] temp_buffer; in TEST_F()
606 char* temp_buffer = new char[40]; in TEST_F() local
640 EXPECT_TRUE(coded_input->ReadRaw(temp_buffer, insize)); in TEST_F()
641 EXPECT_EQ(0, memcmp(temp_buffer, strA, insize)) in TEST_F()
642 << "strA=" << strA << " in=" << temp_buffer; in TEST_F()
[all …]
/third_party/e2fsprogs/lib/ext2fs/
Dinode.c35 #define SCAN_BLOCK_STATUS(scan) ((scan)->temp_buffer + (scan)->inode_size)
51 char *temp_buffer; member
215 &scan->temp_buffer); in ext2fs_open_inode_scan()
237 ext2fs_free_mem(&scan->temp_buffer); in ext2fs_close_inode_scan()
238 scan->temp_buffer = NULL; in ext2fs_close_inode_scan()
655 memcpy(scan->temp_buffer, scan->ptr, scan->bytes_left); in ext2fs_get_next_inode_full()
682 memcpy(scan->temp_buffer+extra_bytes, scan->ptr, in ext2fs_get_next_inode_full()
691 (struct ext2_inode_large *)scan->temp_buffer)) in ext2fs_get_next_inode_full()
698 (struct ext2_inode_large *) scan->temp_buffer, in ext2fs_get_next_inode_full()
701 memcpy(iptr, scan->temp_buffer, length); in ext2fs_get_next_inode_full()
/third_party/ffmpeg/libavcodec/
Dwavpackenc.c91 int32_t *temp_buffer[2][2]; member
912 av_fast_padded_malloc(&s->temp_buffer[i][0], &s->temp_buffer_size[i][0], in allocate_buffers()
914 if (!s->temp_buffer[i][0]) in allocate_buffers()
922 av_fast_padded_malloc(&s->temp_buffer[i][1], &s->temp_buffer_size[i][1], in allocate_buffers()
924 if (!s->temp_buffer[i][1]) in allocate_buffers()
1067 memcpy(s->temp_buffer[0][0], samples, buf_size); in wv_mono()
1078 decorr_mono(s->temp_buffer[j&1][0], s->temp_buffer[~j&1][0], in wv_mono()
1088 decorr_mono(s->temp_buffer[j&1][0], s->temp_buffer[~j&1][0], in wv_mono()
1092 size = log2mono(s->temp_buffer[j&1][0], nb_samples, log_limit); in wv_mono()
1099 memcpy(s->best_buffer[0], s->temp_buffer[j&1][0], buf_size); in wv_mono()
[all …]
/third_party/libuv/src/win/
Dprocess.c531 WCHAR* temp_buffer = NULL; in make_program_args() local
572 temp_buffer = (WCHAR*) uv__malloc(temp_buffer_len * sizeof(WCHAR)); in make_program_args()
573 if (temp_buffer == NULL) { in make_program_args()
587 temp_buffer, in make_program_args()
596 wcscpy(pos, temp_buffer); in make_program_args()
600 pos = quote_cmd_arg(temp_buffer, pos); in make_program_args()
606 uv__free(temp_buffer); in make_program_args()
613 uv__free(temp_buffer); in make_program_args()
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_parse_utils.cpp2680 dng_memory_data temp_buffer (tagCount + 1); in ParseStringTag() local
2682 char *buffer = temp_buffer.Buffer_char (); in ParseStringTag()
2772 dng_memory_data temp_buffer (tagCount + 1); in ParseDualStringTag() local
2774 char *buffer = temp_buffer.Buffer_char (); in ParseDualStringTag()
2947 dng_memory_data temp_buffer ((uChars + 1) * 2); in ParseEncodedStringTag() local
2949 uint16 *buffer = temp_buffer.Buffer_uint16 (); in ParseEncodedStringTag()
3009 dng_memory_data temp_buffer (aChars + 1); in ParseEncodedStringTag() local
3011 char *buffer = temp_buffer.Buffer_char (); in ParseEncodedStringTag()
/third_party/NuttX/fs/nfs/
Dnfs_adapter.c1567 char *temp_buffer = NULL; in vfs_nfs_write() local
1618 temp_buffer = malloc(bufsize); in vfs_nfs_write()
1619 if (temp_buffer == NULL) in vfs_nfs_write()
1652 if (LOS_CopyToKernel(temp_buffer, writesize, buffer, writesize) != 0) in vfs_nfs_write()
1692 error = memcpy_s(ptr, writesize, temp_buffer, writesize); in vfs_nfs_write()
1763 free(temp_buffer); in vfs_nfs_write()
1767 free(temp_buffer); in vfs_nfs_write()
1786 char *temp_buffer = NULL; in vfs_nfs_writepage() local
1829 temp_buffer = malloc(bufsize); in vfs_nfs_writepage()
1830 if (temp_buffer == NULL) in vfs_nfs_writepage()
[all …]
/third_party/python/Modules/
Dposixmodule.c6023 PyObject *temp_buffer) in parse_file_actions() argument
6068 if (PyList_Append(temp_buffer, path)) { in parse_file_actions()
6147 PyObject *temp_buffer = NULL; in py_posix_spawn() local
6197 temp_buffer = PyList_New(0); in py_posix_spawn()
6198 if (!temp_buffer) { in py_posix_spawn()
6201 if (parse_file_actions(file_actions, &file_actions_buf, temp_buffer)) { in py_posix_spawn()
6254 Py_XDECREF(temp_buffer); in py_posix_spawn()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cGPUShaderFP64Tests.cpp6833 glw::GLint temp_buffer[2] = { 0, GL_NONE }; in verifyProgramInterfaceQuerySupport() local
6864 sizeof(temp_buffer) / sizeof(temp_buffer[0]), &n_written_items, temp_buffer); in verifyProgramInterfaceQuerySupport()
6873 retrieved_array_size = temp_buffer[0]; in verifyProgramInterfaceQuerySupport()
6874 retrieved_type = temp_buffer[1]; in verifyProgramInterfaceQuerySupport()
/third_party/chromium/patch/
D0004-3.2-Beta5.patch6797 + uint8_t temp_buffer[state_size];
6798 + state->GetData(temp_buffer, state_size, 0);
6799 + base::Pickle pickle(reinterpret_cast<const char*>(temp_buffer),
D0003-3.2-Beta3-1115.patch48070 + CachedBuffer& temp_buffer = cached_buffers_.front();
48071 + munmap(temp_buffer.mapped_, temp_buffer.buffer_size_);
48072 + close(temp_buffer.fd_);
48113 + CachedBuffer& temp_buffer = cached_buffers_.front();
48114 + munmap(temp_buffer.mapped_, temp_buffer.buffer_size_);
48115 + close(temp_buffer.fd_);
48116 + renderer_extension_remote_->FinishPaint(temp_buffer.fd_browser_);