Home
last modified time | relevance | path

Searched refs:ssize (Results 1 – 25 of 47) sorted by relevance

12

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstacksize/
D2-1.c41 size_t ssize; in thread_func() local
48 if ((rc = pthread_attr_getstacksize(&attr, &ssize)) != 0) { in thread_func()
53 if (ssize < stack_size) { in thread_func()
55 "size (%zu < %zu)\n", ssize, stack_size); in thread_func()
66 size_t ssize; in main() local
98 rc = pthread_attr_getstacksize(&attr, &ssize); in main()
D1-1.c43 size_t ssize; in main() local
71 rc = pthread_attr_getstacksize(&attr, &ssize); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstack/
D2-1.c42 size_t ssize; in thread_func() local
49 if ((rc = pthread_attr_getstack(&attr, &saddr, &ssize)) != 0) { in thread_func()
53 if (ssize != stack_size || saddr != stack_addr) { in thread_func()
66 size_t ssize; in main() local
105 if ((rc = pthread_attr_getstack(&attr, &saddr, &ssize)) != 0) { in main()
D4-1.c57 size_t ssize; in main() local
92 rc = pthread_attr_getstack(&attr, &saddr, &ssize); in main()
99 if (ssize != stack_size || saddr != stack_addr) { in main()
D1-1.c45 size_t ssize; in main() local
80 rc = pthread_attr_getstack(&attr, &saddr, &ssize); in main()
/third_party/flutter/skia/src/core/
DSkPicture.cpp177 int32_t ssize; in MakeFromStream() local
178 if (!stream->readS32(&ssize) || ssize >= 0 || !procs.fPictureProc) { in MakeFromStream()
181 size_t size = sk_negate_to_size_t(ssize); in MakeFromStream()
200 int32_t ssize = buffer.read32(); in MakeFromBuffer() local
201 if (ssize < 0) { in MakeFromBuffer()
206 size_t size = sk_negate_to_size_t(ssize); in MakeFromBuffer()
209 if (ssize != 1) { in MakeFromBuffer()
/third_party/skia/src/core/
DSkPicture.cpp180 int32_t ssize; in MakeFromStream() local
181 if (!stream->readS32(&ssize) || ssize >= 0 || !procs.fPictureProc) { in MakeFromStream()
184 size_t size = sk_negate_to_size_t(ssize); in MakeFromStream()
203 int32_t ssize = buffer.read32(); in MakeFromBuffer() local
204 if (ssize < 0) { in MakeFromBuffer()
209 size_t size = sk_negate_to_size_t(ssize); in MakeFromBuffer()
212 if (ssize != 1) { in MakeFromBuffer()
DSkEnumerate.h69 constexpr Iterator end() const { return Iterator{fBeginIndex + this->ssize(), fEnd}; }
72 constexpr ptrdiff_t ssize() const { return std::distance(fBegin, fEnd); }
75 ptrdiff_t deltaEnd = this->ssize() - n;
80 ptrdiff_t deltaBegin = this->ssize() - n;
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpceltpay.c139 guint ssize, guint size, GstClockTime duration) in gst_rtp_celt_pay_add_queued() argument
142 rtpceltpay->sbytes += ssize; in gst_rtp_celt_pay_add_queued()
395 guint i, ssize, packet_len; in gst_rtp_celt_pay_handle_buffer() local
427 ssize = 1; in gst_rtp_celt_pay_handle_buffer()
429 ssize++; in gst_rtp_celt_pay_handle_buffer()
431 GST_DEBUG_OBJECT (rtpceltpay, "bytes for size %u", ssize); in gst_rtp_celt_pay_handle_buffer()
434 payload_len = ssize + map.size + rtpceltpay->bytes + rtpceltpay->sbytes; in gst_rtp_celt_pay_handle_buffer()
448 gst_rtp_celt_pay_add_queued (rtpceltpay, buffer, ssize, map.size, duration); in gst_rtp_celt_pay_handle_buffer()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getstack/
D1-1.c35 size_t ssize; in main() local
70 rc = pthread_attr_getstack(&attr, &saddr, &ssize); in main()
75 printf("saddr = %p, ssize = %zu\n", saddr, ssize); in main()
/third_party/ntfs-3g/libntfs-3g/
Drunlist.c222 runlist_element *src, int ssize, int loc) in ntfs_rl_append() argument
236 right = ntfs_rl_are_mergeable(src + ssize - 1, dst + loc + 1); in ntfs_rl_append()
239 dst = ntfs_rl_realloc(dst, dsize, dsize + ssize - right); in ntfs_rl_append()
249 __ntfs_rl_merge(src + ssize - 1, dst + loc + 1); in ntfs_rl_append()
252 marker = loc + ssize + 1; in ntfs_rl_append()
256 ntfs_rl_mc(dst, loc + 1, src, 0, ssize); in ntfs_rl_append()
289 runlist_element *src, int ssize, int loc) in ntfs_rl_insert() argument
322 dst = ntfs_rl_realloc(dst, dsize, dsize + ssize - left + disc); in ntfs_rl_insert()
339 marker = loc + ssize - left + disc; in ntfs_rl_insert()
343 ntfs_rl_mc(dst, loc + disc, src, left, ssize - left); in ntfs_rl_insert()
[all …]
/third_party/python/Modules/
Dossaudiodev.c613 _ssize(oss_audio_t *self, int *nchannels, int *ssize) in _ssize() argument
626 *ssize = 1; /* 8 bit formats: 1 byte */ in _ssize()
632 *ssize = 2; /* 16 bit formats: 2 byte */ in _ssize()
651 int nchannels=0, ssize=0; in oss_bufsize() local
656 if (_ssize(self, &nchannels, &ssize) < 0 || !nchannels || !ssize) { in oss_bufsize()
664 return PyLong_FromLong((ai.fragstotal * ai.fragsize) / (nchannels * ssize)); in oss_bufsize()
673 int nchannels=0, ssize=0; in oss_obufcount() local
678 if (_ssize(self, &nchannels, &ssize) < 0 || !nchannels || !ssize) { in oss_obufcount()
687 (ssize * nchannels)); in oss_obufcount()
696 int nchannels=0, ssize=0; in oss_obuffree() local
[all …]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getstacksize/
D1-1.c34 size_t ssize; in main() local
68 rc = pthread_attr_getstacksize(&attr, &ssize); in main()
/third_party/libjpeg-turbo/
Djdmaster.c295 int ssize = cinfo->_min_DCT_scaled_size; in jpeg_calc_output_dimensions() local
296 while (ssize < DCTSIZE && in jpeg_calc_output_dimensions()
298 (compptr->h_samp_factor * ssize * 2) == 0) && in jpeg_calc_output_dimensions()
300 (compptr->v_samp_factor * ssize * 2) == 0)) { in jpeg_calc_output_dimensions()
301 ssize = ssize * 2; in jpeg_calc_output_dimensions()
304 compptr->DCT_h_scaled_size = compptr->DCT_v_scaled_size = ssize; in jpeg_calc_output_dimensions()
306 compptr->DCT_scaled_size = ssize; in jpeg_calc_output_dimensions()
/third_party/skia/third_party/externals/libjpeg-turbo/
Djdmaster.c283 int ssize = cinfo->_min_DCT_scaled_size; in jpeg_calc_output_dimensions() local
284 while (ssize < DCTSIZE && in jpeg_calc_output_dimensions()
286 (compptr->h_samp_factor * ssize * 2) == 0) && in jpeg_calc_output_dimensions()
288 (compptr->v_samp_factor * ssize * 2) == 0)) { in jpeg_calc_output_dimensions()
289 ssize = ssize * 2; in jpeg_calc_output_dimensions()
292 compptr->DCT_h_scaled_size = compptr->DCT_v_scaled_size = ssize; in jpeg_calc_output_dimensions()
294 compptr->DCT_scaled_size = ssize; in jpeg_calc_output_dimensions()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Djdmaster.c295 int ssize = cinfo->_min_DCT_scaled_size; in jpeg_calc_output_dimensions() local
296 while (ssize < DCTSIZE && in jpeg_calc_output_dimensions()
298 (compptr->h_samp_factor * ssize * 2) == 0) && in jpeg_calc_output_dimensions()
300 (compptr->v_samp_factor * ssize * 2) == 0)) { in jpeg_calc_output_dimensions()
301 ssize = ssize * 2; in jpeg_calc_output_dimensions()
304 compptr->DCT_h_scaled_size = compptr->DCT_v_scaled_size = ssize; in jpeg_calc_output_dimensions()
306 compptr->DCT_scaled_size = ssize; in jpeg_calc_output_dimensions()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/tag/
Dtags.c366 gint prefix, ssize; in gst_tag_freeform_string_to_utf8() local
370 ssize = GST_ROUND_DOWN_4 (size - 4); in gst_tag_freeform_string_to_utf8()
384 ssize = GST_ROUND_DOWN_2 (size - 2); in gst_tag_freeform_string_to_utf8()
399 g_convert (data + prefix, ssize, "UTF-8", c, &bytes_read, NULL, in gst_tag_freeform_string_to_utf8()
401 if (bytes_read == ssize) in gst_tag_freeform_string_to_utf8()
/third_party/ffmpeg/libavformat/
Dmoflex.c172 unsigned type, ssize, codec_id = 0; in moflex_read_sync() local
178 read_var_byte(s, &ssize); in moflex_read_sync()
182 if (ssize > 0) in moflex_read_sync()
183 avio_skip(pb, ssize); in moflex_read_sync()
/third_party/alsa-lib/src/pcm/
Dpcm_route.c1074 long csize = 0, ssize = 0; in _snd_pcm_route_determine_ttable() local
1105 if (schannel + 1 > ssize) in _snd_pcm_route_determine_ttable()
1106 ssize = schannel + 1; in _snd_pcm_route_determine_ttable()
1109 if (csize == 0 || ssize == 0) { in _snd_pcm_route_determine_ttable()
1114 *tt_ssize = ssize; in _snd_pcm_route_determine_ttable()
1302 unsigned int csize, ssize; in _snd_pcm_route_open() local
1390 err = _snd_pcm_route_determine_ttable(tt, &csize, &ssize, chmap); in _snd_pcm_route_open()
1397 ttable = malloc(csize * ssize * sizeof(snd_pcm_route_ttable_entry_t)); in _snd_pcm_route_open()
1404 err = _snd_pcm_route_load_ttable(tt, ttable, csize, ssize, in _snd_pcm_route_open()
1415 ttable, ssize, in _snd_pcm_route_open()
/third_party/ltp/lib/
Dtst_test.c198 int ret, size = sizeof(buf), ssize, int_errno, buflen; in print_result() local
253 ssize = size - 2; in print_result()
255 str += MIN(ret, ssize); in print_result()
256 size -= MIN(ret, ssize); in print_result()
257 if (ret >= ssize) { in print_result()
261 ssize = size - 2; in print_result()
263 str += MIN(ret, ssize); in print_result()
264 size -= MIN(ret, ssize); in print_result()
265 if (ret >= ssize) in print_result()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
Dregcomp.c69 sopno ssize; /* malloced strip size (allocated) */ member
194 p->ssize = len/(size_t)2*(size_t)3 + (size_t)1; /* ugh */ in llvm_regcomp()
195 p->strip = (sop *)calloc(p->ssize, sizeof(sop)); in llvm_regcomp()
1331 enlarge(p, p->ssize + len); /* this many unexpected additions */ in dupl()
1332 assert(p->ssize >= p->slen + len); in dupl()
1357 if (p->slen >= p->ssize) in doemit()
1358 enlarge(p, (p->ssize+1) / 2 * 3); /* +50% */ in doemit()
1359 assert(p->slen < p->ssize); in doemit()
1422 if (p->ssize >= size) in enlarge()
1436 p->ssize = size; in enlarge()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
Dregcomp.c197 sopno ssize; /* malloced strip size (allocated) */ member
322 p->ssize = len/(size_t)2*(size_t)3 + (size_t)1; /* ugh */ in llvm_regcomp()
323 p->strip = (sop *)calloc(p->ssize, sizeof(sop)); in llvm_regcomp()
1459 enlarge(p, p->ssize + len); /* this many unexpected additions */ in dupl()
1460 assert(p->ssize >= p->slen + len); in dupl()
1485 if (p->slen >= p->ssize) in doemit()
1486 enlarge(p, (p->ssize+1) / 2 * 3); /* +50% */ in doemit()
1487 assert(p->slen < p->ssize); in doemit()
1550 if (p->ssize >= size) in enlarge()
1564 p->ssize = size; in enlarge()
/third_party/python/PC/
D_msi.c678 DWORD ssize = sizeof(sbuf); in _msi_SummaryInformation_GetProperty_impl() local
681 &fval, sval, &ssize); in _msi_SummaryInformation_GetProperty_impl()
683 ssize++; in _msi_SummaryInformation_GetProperty_impl()
684 sval = malloc(ssize); in _msi_SummaryInformation_GetProperty_impl()
689 &fval, sval, &ssize); in _msi_SummaryInformation_GetProperty_impl()
705 result = PyBytes_FromStringAndSize(sval, ssize); in _msi_SummaryInformation_GetProperty_impl()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_blitter.c315 unsigned ssize, dsize, spitch, dpitch; in emit_blit() local
358 ssize = sslice->size0; in emit_blit()
360 ssize = src->layout.layer_size; in emit_blit()
386 A5XX_RB_2D_SRC_SIZE_ARRAY_PITCH(ssize)); in emit_blit()
/third_party/python/Lib/test/
Dtest_ossaudiodev.py45 def play_sound_file(self, data, rate, ssize, nchannels): argument
76 expected_time = float(len(data)) / (ssize/8) / nchannels / rate

12