Home
last modified time | relevance | path

Searched refs:ssize (Results 1 - 25 of 42) sorted by relevance

12

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstacksize/
H A 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()
H A D1-1.c43 size_t ssize; in main() local
71 rc = pthread_attr_getstacksize(&attr, &ssize); in main()
77 /* printf("stack_size = %lu\n", ssize); */ in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstack/
H A 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()
H A D4-1.c57 size_t ssize; in main() local
92 rc = pthread_attr_getstack(&attr, &saddr, &ssize); in main()
97 /* printf("saddr = %p, ssize = %u\n", saddr, ssize); */ in main()
99 if (ssize != stack_size || saddr != stack_addr) { in main()
H A D1-1.c45 size_t ssize; in main() local
80 rc = pthread_attr_getstack(&attr, &saddr, &ssize); in main()
85 /* printf("saddr = %p, ssize = %u\n", saddr, ssize); */ in main()
/third_party/skia/src/core/
H A 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()
H A DSkEnumerate.h69 constexpr Iterator end() const { return Iterator{fBeginIndex + this->ssize(), fEnd}; } in end()
72 constexpr ptrdiff_t ssize() const { return std::distance(fBegin, fEnd); } in ssize() function in SkEnumerate
75 ptrdiff_t deltaEnd = this->ssize() - n; in first()
80 ptrdiff_t deltaBegin = this->ssize() - n; in last()
/third_party/lame/mpglib/
H A Dinterface.c72 mp->ssize = 0; in InitMP3()
518 mp->ssize = (mp->fr.stereo == 1) ? 9 : 17; in decodeMP3_clipchoice()
520 mp->ssize = (mp->fr.stereo == 1) ? 17 : 32; in decodeMP3_clipchoice()
522 mp->ssize += 2; in decodeMP3_clipchoice()
542 if (mp->bsize < mp->ssize) in decodeMP3_clipchoice()
545 copy_mp(mp, mp->ssize, mp->wordpointer); in decodeMP3_clipchoice()
560 int framesize = mp->fr.framesize - mp->ssize; in decodeMP3_clipchoice()
575 /* mp->dsize= mp->framesize - mp->ssize; */ in decodeMP3_clipchoice()
587 mp->ssize = 0; in decodeMP3_clipchoice()
628 mp->wordpointer = mp->bsspace[mp->bsnum] + 512 + mp->ssize in decodeMP3_clipchoice()
[all...]
H A Dcommon.c253 ssize = (fr->stereo == 1) ? 9 : 17; in decode_header()
255 ssize = (fr->stereo == 1) ? 17 : 32; in decode_header()
260 ssize += 2; in decode_header()
/third_party/backends/sanei/
H A Dsanei_ir.c450 size_t ssize; in sanei_ir_to_8bit() local
458 ssize = params->pixels_per_line * params->lines; in sanei_ir_to_8bit()
460 ssize *= 3; in sanei_ir_to_8bit()
461 outi = malloc (ssize * sizeof(SANE_Uint)); in sanei_ir_to_8bit()
477 memmove (outi, in_img, ssize * sizeof(SANE_Uint)); in sanei_ir_to_8bit()
479 for (i = ssize; i > 0; i--) { in sanei_ir_to_8bit()
530 int itop, len, ssize; in sanei_ir_spectral_clean() local
588 ssize = itop / 2; in sanei_ir_spectral_clean()
589 if (SAMPLE_SIZE < ssize) in sanei_ir_spectral_clean()
590 ssize in sanei_ir_spectral_clean()
[all...]
/third_party/python/Modules/
H A Dossaudiodev.c620 _ssize(oss_audio_t *self, int *nchannels, int *ssize) in _ssize() argument
633 *ssize = 1; /* 8 bit formats: 1 byte */ in _ssize()
639 *ssize = 2; /* 16 bit formats: 2 byte */ in _ssize()
658 int nchannels=0, ssize=0; in oss_bufsize() local
663 if (_ssize(self, &nchannels, &ssize) < 0 || !nchannels || !ssize) { in oss_bufsize()
671 return PyLong_FromLong((ai.fragstotal * ai.fragsize) / (nchannels * ssize)); in oss_bufsize()
680 int nchannels=0, ssize=0; in oss_obufcount() local
685 if (_ssize(self, &nchannels, &ssize) < 0 || !nchannels || !ssize) { in oss_obufcount()
703 int nchannels=0, ssize=0; oss_obuffree() local
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getstack/
H A 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/
H A Drunlist.c206 * @ssize: number of elements in @src (excluding end marker)
222 runlist_element *src, int ssize, int loc) in ntfs_rl_append()
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()
273 * @ssize: number of elements in @src (excluding end marker)
289 runlist_element *src, int ssize, int loc) in ntfs_rl_insert()
322 dst = ntfs_rl_realloc(dst, dsize, dsize + ssize in ntfs_rl_insert()
221 ntfs_rl_append(runlist_element *dst, int dsize, runlist_element *src, int ssize, int loc) ntfs_rl_append() argument
288 ntfs_rl_insert(runlist_element *dst, int dsize, runlist_element *src, int ssize, int loc) ntfs_rl_insert() argument
384 ntfs_rl_replace(runlist_element *dst, int dsize, runlist_element *src, int ssize, int loc) ntfs_rl_replace() argument
472 ntfs_rl_split(runlist_element *dst, int dsize, runlist_element *src, int ssize, int loc) ntfs_rl_split() argument
[all...]
/third_party/node/deps/v8/src/base/platform/
H A Dplatform-freebsd.cc70 const size_t ssize = map->kve_structsize; in GetSharedLibraryAddresses() local
73 CHECK_NE(0, ssize); in GetSharedLibraryAddresses()
89 start += ssize; in GetSharedLibraryAddresses()
/third_party/skia/third_party/externals/libjpeg-turbo/
H A 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/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getstacksize/
H A D1-1.c34 size_t ssize; in main() local
68 rc = pthread_attr_getstacksize(&attr, &ssize); in main()
73 /* printf("ssize = %lu\n", ssize); */ in main()
/third_party/ffmpeg/libavformat/
H A 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/astc-encoder/Source/
H A Dastcenc_weight_align.cpp236 vfloat ssize = 1.0f / rcp_stepsize; in compute_lowest_and_highest_weight() local
237 vfloat errscale = ssize * ssize; in compute_lowest_and_highest_weight()
312 vfloat ssize = 1.0f / rcp_stepsize; in compute_lowest_and_highest_weight() local
313 vfloat errscale = ssize * ssize; in compute_lowest_and_highest_weight()
/third_party/alsa-lib/src/pcm/
H A Dpcm_route.c1075 long csize = 0, ssize = 0; in _snd_pcm_route_determine_ttable() local
1106 if (schannel + 1 > ssize) in _snd_pcm_route_determine_ttable()
1107 ssize = schannel + 1; in _snd_pcm_route_determine_ttable()
1110 if (csize == 0 || ssize == 0) { in _snd_pcm_route_determine_ttable()
1115 *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()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A 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 in enlarge()
[all...]
/third_party/ltp/lib/
H A Dtst_test.c204 int ret, size = sizeof(buf), ssize, int_errno, buflen; in print_result() local
259 ssize = size - 2; in print_result()
261 str += MIN(ret, ssize); in print_result()
262 size -= MIN(ret, ssize); in print_result()
263 if (ret >= ssize) { in print_result()
267 ssize = size - 2; in print_result()
269 str += MIN(ret, ssize); in print_result()
270 size -= MIN(ret, ssize); in print_result()
271 if (ret >= ssize) in print_result()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A 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 in enlarge()
[all...]
/third_party/elfutils/tests/
H A Dbacktrace.c424 ssize_t ssize = readlink (selfpathname, data.selfpath, in exec_dump() local
427 assert (ssize > 0 && ssize < (ssize_t) sizeof (data.selfpath)); in exec_dump()
428 data.selfpath[ssize] = '\0'; in exec_dump()
/third_party/python/PC/
H A 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/backends/backend/
H A Dplustek-usbscan.c512 u_short ssize; in usb_PresetStepSize() local
517 ssize = (u_short)((double)CRYSTAL_FREQ / ( mclkdiv * 8.0 * in usb_PresetStepSize()
520 regs[0x46] = _HIBYTE( ssize ); in usb_PresetStepSize()
521 regs[0x47] = _LOBYTE( ssize ); in usb_PresetStepSize()
522 regs[0x48] = _HIBYTE( ssize ); in usb_PresetStepSize()
523 regs[0x49] = _LOBYTE( ssize ); in usb_PresetStepSize()
525 DBG( _DBG_INFO2, "* StepSize(Preset) = %u (0x%04x)\n", ssize, ssize ); in usb_PresetStepSize()

Completed in 22 milliseconds

12