Home
last modified time | relevance | path

Searched refs:size2 (Results 1 - 25 of 78) sorted by relevance

1234

/third_party/ffmpeg/libavcodec/
H A Dbytestream.h183 int size2; in bytestream2_skip_p() local
186 size2 = FFMIN(p->buffer_end - p->buffer, size); in bytestream2_skip_p()
187 if (size2 != size) in bytestream2_skip_p()
189 p->buffer += size2; in bytestream2_skip_p()
271 int size2 = FFMIN(g->buffer_end - g->buffer, size); in bytestream2_get_buffer() local
272 memcpy(dst, g->buffer, size2); in bytestream2_get_buffer()
273 g->buffer += size2; in bytestream2_get_buffer()
274 return size2; in bytestream2_get_buffer()
290 int size2; in bytestream2_put_buffer() local
293 size2 in bytestream2_put_buffer()
314 int size2; bytestream2_set_buffer() local
351 int size2; bytestream2_copy_buffer() local
[all...]
H A Deatgv.c78 int size, size1, size2, offset, run; in unpack() local
93 /* determine size1 and size2 */ in unpack()
101 size2 = 0; in unpack()
104 size2 = ((src[0] & 0xC) << 6) + src[3] + 5; in unpack()
110 size2 = (src[0] & 0x3F) + 4; in unpack()
115 size2 = ((src[0] & 0x1C) >> 2) + 3; in unpack()
132 if (size2 > 0) { in unpack()
135 size -= size2; in unpack()
136 run = FFMIN(size2, dst_end - dst); in unpack()
H A Dxxan.c142 int size2, back; in xan_unpack() local
146 size2 = ((opcode & 0x1c) >> 2) + 3; in xan_unpack()
150 size2 = (opcode & 0x3f) + 4; in xan_unpack()
154 size2 = ((opcode & 0x0c) << 6) + bytestream2_get_byte(&s->gb) + 5; in xan_unpack()
155 if (size + size2 > dest_end - dest) in xan_unpack()
158 if (dest + size + size2 > dest_end || in xan_unpack()
163 av_memcpy_backptr(dest, back, size2); in xan_unpack()
164 dest += size2; in xan_unpack()
H A Dxan.c169 int size2, back; in xan_unpack() local
174 size2 = ((opcode & 0x1c) >> 2) + 3; in xan_unpack()
179 size2 = (opcode & 0x3f) + 4; in xan_unpack()
184 size2 = ((opcode & 0x0c) << 6) + bytestream2_get_byte(&ctx) + 5; in xan_unpack()
187 if (dest_end - dest < size + size2 || in xan_unpack()
193 av_memcpy_backptr(dest, back, size2); in xan_unpack()
194 dest += size2; in xan_unpack()
/third_party/lzma/C/
H A D7zStream.c104 size_t size2 = p->size - p->pos; in LookToRead2_Look_Lookahead() local
105 if (size2 == 0 && *size != 0) in LookToRead2_Look_Lookahead()
109 size2 = p->bufSize; in LookToRead2_Look_Lookahead()
110 res = ISeekInStream_Read(p->realStream, p->buf, &size2); in LookToRead2_Look_Lookahead()
111 p->size = size2; in LookToRead2_Look_Lookahead()
113 if (*size > size2) in LookToRead2_Look_Lookahead()
114 *size = size2; in LookToRead2_Look_Lookahead()
123 size_t size2 = p->size - p->pos; in LookToRead2_Look_Exact() local
124 if (size2 == 0 && *size != 0) in LookToRead2_Look_Exact()
131 size2 in LookToRead2_Look_Exact()
[all...]
H A DAlloc.c290 size_t size2; in BigAlloc() local
292 size2 = (size + ps) & ~ps; in BigAlloc()
293 if (size2 >= size) in BigAlloc()
295 void *p = VirtualAlloc(NULL, size2, MEM_COMMIT | MY__MEM_LARGE_PAGES, PAGE_READWRITE); in BigAlloc()
298 PRINT_ALLOC("Alloc-BM ", g_allocCountMid, size2, p) in BigAlloc()
H A D7zAlloc.c27 const unsigned size2 = (unsigned)size; in Print_Alloc() local
28 fprintf(stderr, "\n%s count = %10d : %10u bytes; ", s, *counter, size2); in Print_Alloc()
/third_party/libuv/test/
H A Dtest-cwd-and-chdir.c32 size_t size2; in TEST_IMPL() local
49 size2 = sizeof buffer_new; in TEST_IMPL()
50 err = uv_cwd(buffer_new, &size2); in TEST_IMPL()
53 ASSERT_EQ(size1, size2); in TEST_IMPL()
/third_party/ltp/testcases/lib/
H A Dtst_get_median.c33 const size_t size2 = size / 2; in main() local
34 printf("%d", (size & 1) ? arr[size2] : ((arr[size2 - 1] + arr[size2]) / 2)); in main()
/third_party/ffmpeg/libavutil/tests/
H A Dpixelutils.c124 int size1, size2; in main() local
129 size1 = size2 = 1 << (i << 1); in main()
132 case 0: size1++; size2++; break; in main()
133 case 1: size2++; break; in main()
138 buf2 = av_malloc(size2); in main()
145 RANDOM_INIT(buf2, size2); in main()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/
H A Dtest_stacksave.c59 uint32_t size2 = size - j; in test_two_vlas_in_loops() local
61 uint32_t mid2 = size2 / 2; in test_two_vlas_in_loops()
62 uint32_t vla2[size2]; in test_two_vlas_in_loops()
63 for (uint32_t k = start2; k < size2; ++k) { in test_two_vlas_in_loops()
67 vla1[j] = (vla2[start2] << 2) + (vla2[mid2] << 1) + vla2[size2 - 1]; in test_two_vlas_in_loops()
/third_party/node/deps/openssl/openssl/crypto/
H A Dder_writer.c31 * and after WPACKET_close(). We use size1 and size2 to determine if in int_end_context()
35 size_t size1, size2; in int_end_context() local
47 && WPACKET_get_total_written(pkt, &size2) in int_end_context()
48 && (size1 == size2 || WPACKET_put_bytes_u8(pkt, tag)); in int_end_context()
183 * and after WPACKET_close(). We use size1 and size2 to determine if in ossl_DER_w_end_sequence()
190 size_t size1, size2; in ossl_DER_w_end_sequence() local
194 && WPACKET_get_total_written(pkt, &size2) in ossl_DER_w_end_sequence()
195 && (size1 == size2 in ossl_DER_w_end_sequence()
/third_party/openssl/crypto/
H A Dder_writer.c31 * and after WPACKET_close(). We use size1 and size2 to determine if in int_end_context()
35 size_t size1, size2; in int_end_context() local
47 && WPACKET_get_total_written(pkt, &size2) in int_end_context()
48 && (size1 == size2 || WPACKET_put_bytes_u8(pkt, tag)); in int_end_context()
183 * and after WPACKET_close(). We use size1 and size2 to determine if in ossl_DER_w_end_sequence()
190 size_t size1, size2; in ossl_DER_w_end_sequence() local
194 && WPACKET_get_total_written(pkt, &size2) in ossl_DER_w_end_sequence()
195 && (size1 == size2 in ossl_DER_w_end_sequence()
/third_party/alsa-lib/src/topology/
H A Ddapm.c888 size_t size2; in tplg_decode_dapm_widget() local
962 size2 = mc->size + mc->priv.size; in tplg_decode_dapm_widget()
963 tplg_log(tplg, 'D', pos, "kcontrol mixer size %zd", size2); in tplg_decode_dapm_widget()
964 if (size2 > size) { in tplg_decode_dapm_widget()
966 size2); in tplg_decode_dapm_widget()
971 bin, size2); in tplg_decode_dapm_widget()
982 size2 = ec->size + ec->priv.size; in tplg_decode_dapm_widget()
983 tplg_log(tplg, 'D', pos, "kcontrol enum size %zd", size2); in tplg_decode_dapm_widget()
984 if (size2 > size) { in tplg_decode_dapm_widget()
986 size2); in tplg_decode_dapm_widget()
[all...]
H A Dctl.c1295 size_t size2; in tplg_decode_control_mixer() local
1309 size2 = mc->size + mc->priv.size; in tplg_decode_control_mixer()
1310 if (size2 > size) { in tplg_decode_control_mixer()
1316 err = tplg_decode_control_mixer1(tplg, &heap, &mt, pos, bin, size2); in tplg_decode_control_mixer()
1325 bin += size2; in tplg_decode_control_mixer()
1326 size -= size2; in tplg_decode_control_mixer()
1327 pos += size2; in tplg_decode_control_mixer()
1398 size_t size2; in tplg_decode_control_enum() local
1412 size2 = ec->size + ec->priv.size; in tplg_decode_control_enum()
1413 if (size2 > siz in tplg_decode_control_enum()
1489 size_t size2; tplg_decode_control_bytes() local
[all...]
/third_party/mbedtls/tests/include/test/
H A Dmacros.h196 * \param size2 Size of the second buffer in bytes.
199 #define TEST_MEMORY_COMPARE(p1, size1, p2, size2) \
201 TEST_EQUAL((size1), (size2)); \
208 #define ASSERT_COMPARE(p1, size1, p2, size2) TEST_MEMORY_COMPARE(p1, size1, p2, size2)
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
H A D3-1.c17 * 2. Map size2 = (_SC_PAGE_SIZE + 1) bytes into memory, starting at the same
50 size_t size2; in main() local
57 size2 = page_size + 1; in main()
109 mmap(pa, size2, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_FIXED, fd2, in main()
131 munmap(pa2, size2); in main()
/third_party/libwebsockets/lib/core-net/
H A Dlws-dsh.c39 const void *src2, size_t size2, lws_dll2_t *replace);
151 const void *src2, size_t size2, lws_dll2_t *replace) in _lws_dsh_alloc_tail()
153 size_t asize = sizeof(lws_dsh_obj_t) + lws_dsh_align(size1 + size2); in _lws_dsh_alloc_tail()
193 s.best->size = size1 + size2; in _lws_dsh_alloc_tail()
196 memcpy((uint8_t *)&s.best[1] + size1, src2, size2); in _lws_dsh_alloc_tail()
239 obj->size = size1 + size2; in _lws_dsh_alloc_tail()
244 memcpy((uint8_t *)&obj[1] + size1, src2, size2); in _lws_dsh_alloc_tail()
274 const void *src2, size_t size2) in lws_dsh_alloc_tail()
276 return _lws_dsh_alloc_tail(dsh, kind, src1, size1, src2, size2, NULL); in lws_dsh_alloc_tail()
150 _lws_dsh_alloc_tail(lws_dsh_t *dsh, int kind, const void *src1, size_t size1, const void *src2, size_t size2, lws_dll2_t *replace) _lws_dsh_alloc_tail() argument
273 lws_dsh_alloc_tail(lws_dsh_t *dsh, int kind, const void *src1, size_t size1, const void *src2, size_t size2) lws_dsh_alloc_tail() argument
/third_party/ffmpeg/libavformat/
H A Dmpc.c125 int ret, size, size2, curbits, cur = c->curframe; in mpc_read_packet() local
142 size2 = (tmp >> (12 - curbits)) & 0xFFFFF; in mpc_read_packet()
144 size2 = (tmp << (curbits - 12) | avio_rl32(s->pb) >> (44 - curbits)) & 0xFFFFF; in mpc_read_packet()
149 size = ((size2 + curbits + 31) & ~31) >> 3; in mpc_read_packet()
157 c->curbits = (curbits + size2) & 0x1F; in mpc_read_packet()
/third_party/python/Objects/
H A Dunionobject.c94 PyObject **items2, Py_ssize_t size2) in merge()
99 for (int i = 0; i < size2; i++) { in merge()
111 tuple = PyTuple_New(size1 + size2 - i); in merge()
165 Py_ssize_t size1, size2; in _Py_union_type_or() local
167 PyObject **items2 = get_types(&other, &size2); in _Py_union_type_or()
168 PyObject *tuple = merge(items1, size1, items2, size2); in _Py_union_type_or()
93 merge(PyObject **items1, Py_ssize_t size1, PyObject **items2, Py_ssize_t size2) merge() argument
/third_party/node/deps/v8/src/diagnostics/arm/
H A Ddisasm-arm.cc596 // 'size2 or 'size3, for Advanced SIMD instructions, 2 or 3 registers. in FormatOption()
597 DCHECK(STRING_STARTS_WITH(format, "size2") || in FormatOption()
2267 Format(instr, q ? "vpadal.s'size2 'Qd, 'Qm" : "vpadal.s'size2 'Dd, 'Dm"); in DecodeAdvancedSIMDTwoOrThreeRegisters()
2269 Format(instr, q ? "vpadal.u'size2 'Qd, 'Qm" : "vpadal.u'size2 'Dd, 'Dm"); in DecodeAdvancedSIMDTwoOrThreeRegisters()
2271 Format(instr, q ? "vpaddl.s'size2 'Qd, 'Qm" : "vpaddl.s'size2 'Dd, 'Dm"); in DecodeAdvancedSIMDTwoOrThreeRegisters()
2273 Format(instr, q ? "vpaddl.u'size2 'Qd, 'Qm" : "vpaddl.u'size2 'D in DecodeAdvancedSIMDTwoOrThreeRegisters()
[all...]
/third_party/ltp/tools/sparse/sparse-src/
H A Dcse.c167 int size1, size2; in insn_compare() local
255 size2 = i2->orig_type->bit_size; in insn_compare()
256 if (size1 != size2) in insn_compare()
257 return size1 < size2 ? -1 : 1; in insn_compare()
/third_party/node/deps/v8/src/diagnostics/
H A Dsystem-jit-metadata-win.h76 template <std::size_t size1, std::size_t size2>
78 const str_bytes<size2>& str2) { in JoinBytes()
80 auto idx2 = std::make_index_sequence<size2>(); in JoinBytes()
81 return str_bytes<size1 + size2>{str1, idx1, str2, idx2}; in JoinBytes()
/third_party/skia/third_party/externals/microhttpd/src/testspdy/
H A Dtest_struct_namevalue.c36 int size2; variable
294 size2 = sizeof(pairs_different)/sizeof(pairs_different[0]); in main()
296 for(i=0;i<size2; i+=2) in main()
329 for(i=size2 - 2; i >= 0; i-=2) in main()
/third_party/lzma/CPP/7zip/Compress/
H A DLzma2Decoder.cpp252 size_t size2 = size; in Read() local
255 const SRes res = Lzma2DecMt_Read(_dec, (Byte *)data, &size2, &inProcessed); in Read()
259 *processedSize = (UInt32)size2; in Read()

Completed in 19 milliseconds

1234