/external/libdivsufsort/include/ |
D | divsufsort_private.h | 156 assert(ssize < STACK_SIZE);\ 157 stack[ssize].a = (_a), stack[ssize].b = (_b),\ 158 stack[ssize].c = (_c), stack[ssize++].d = (_d);\ 162 assert(ssize < STACK_SIZE);\ 163 stack[ssize].a = (_a), stack[ssize].b = (_b),\ 164 stack[ssize].c = (_c), stack[ssize].d = (_d), stack[ssize++].e = (_e);\ 168 assert(0 <= ssize);\ 169 if(ssize == 0) { return; }\ 170 (_a) = stack[--ssize].a, (_b) = stack[ssize].b,\ 171 (_c) = stack[ssize].c, (_d) = stack[ssize].d;\ [all …]
|
/external/python/cpython2/Modules/ |
D | linuxaudiodev.c | 242 int rate, ssize, nchannels, n, fmt, emulate=0; in lad_setparameters() local 245 &rate, &ssize, &nchannels, &fmt, &emulate)) in lad_setparameters() 253 if (ssize < 0) { in lad_setparameters() 255 ssize); in lad_setparameters() 271 if (audio_types[n].a_bps != ssize) { in lad_setparameters() 274 audio_types[n].a_name, audio_types[n].a_bps, ssize); in lad_setparameters() 305 _ssize(lad_t *self, int *nchannels, int *ssize) in _ssize() argument 318 *ssize = sizeof(char); in _ssize() 324 *ssize = sizeof(short); in _ssize() 343 int nchannels=0, ssize=0; in lad_bufsize() local [all …]
|
D | ossaudiodev.c | 538 _ssize(oss_audio_t *self, int *nchannels, int *ssize) in _ssize() argument 551 *ssize = 1; /* 8 bit formats: 1 byte */ in _ssize() 557 *ssize = 2; /* 16 bit formats: 2 byte */ in _ssize() 576 int nchannels=0, ssize=0; in oss_bufsize() local 578 if (_ssize(self, &nchannels, &ssize) < 0 || !nchannels || !ssize) { in oss_bufsize() 586 return PyInt_FromLong((ai.fragstotal * ai.fragsize) / (nchannels * ssize)); in oss_bufsize() 595 int nchannels=0, ssize=0; in oss_obufcount() local 597 if (_ssize(self, &nchannels, &ssize) < 0 || !nchannels || !ssize) { in oss_obufcount() 606 (ssize * nchannels)); in oss_obufcount() 615 int nchannels=0, ssize=0; in oss_obuffree() local [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstacksize/ |
D | 2-1.c | 41 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()
|
D | 1-1.c | 43 size_t ssize; in main() local 71 rc = pthread_attr_getstacksize(&attr, &ssize); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstack/ |
D | 2-1.c | 42 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()
|
D | 4-1.c | 57 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()
|
D | 1-1.c | 45 size_t ssize; in main() local 80 rc = pthread_attr_getstack(&attr, &saddr, &ssize); in main()
|
/external/bison/lib/ |
D | vbitset.c | 385 bitset_windex ssize; in vbitset_copy1() local 395 ssize = VBITSET_SIZE (src); in vbitset_copy1() 398 memcpy (dstp, srcp, sizeof (bitset_word) * ssize); in vbitset_copy1() 400 memset (dstp + sizeof (bitset_word) * ssize, 0, in vbitset_copy1() 401 sizeof (bitset_word) * (dsize - ssize)); in vbitset_copy1() 411 bitset_windex ssize; in vbitset_not() local 418 ssize = VBITSET_SIZE (src); in vbitset_not() 421 for (i = 0; i < ssize; i++) in vbitset_not() 425 memset (dstp + sizeof (bitset_word) * ssize, 0, in vbitset_not() 426 sizeof (bitset_word) * (dsize - ssize)); in vbitset_not() [all …]
|
D | ebitset.c | 956 bitset_windex ssize; in ebitset_subset_p() local 962 ssize = EBITSET_SIZE (src); in ebitset_subset_p() 965 for (j = 0; j < ssize; j++) in ebitset_subset_p() 971 selt = j < ssize ? selts[j] : 0; in ebitset_subset_p() 998 bitset_windex ssize; in ebitset_disjoint_p() local 1004 ssize = EBITSET_SIZE (src); in ebitset_disjoint_p() 1007 for (j = 0; j < ssize; j++) in ebitset_disjoint_p() 1013 selt = j < ssize ? selts[j] : 0; in ebitset_disjoint_p()
|
/external/syslinux/gpxe/src/core/ |
D | vsprintf.c | 352 int vssnprintf ( char *buf, ssize_t ssize, const char *fmt, va_list args ) { in vssnprintf() argument 355 if ( ssize < 0 ) in vssnprintf() 356 ssize = 0; in vssnprintf() 359 return vsnprintf ( buf, ssize, fmt, args ); in vssnprintf() 371 int ssnprintf ( char *buf, ssize_t ssize, const char *fmt, ... ) { in ssnprintf() argument 377 len = vssnprintf ( buf, ssize, fmt, args ); in ssnprintf()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getstack/ |
D | 1-1.c | 35 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()
|
/external/compiler-rt/lib/asan/ |
D | asan_linux.cc | 159 void ReadContextStack(void *context, uptr *stack, uptr *ssize) { in ReadContextStack() argument 162 *ssize = ucp->uc_stack.ss_size; in ReadContextStack() 165 void ReadContextStack(void *context, uptr *stack, uptr *ssize) { in ReadContextStack() argument
|
D | asan_interceptors.cc | 330 static void ClearShadowMemoryForContextStack(uptr stack, uptr ssize) { in ClearShadowMemoryForContextStack() argument 334 ssize += stack - bottom; in ClearShadowMemoryForContextStack() 335 ssize = RoundUpTo(ssize, PageSize); in ClearShadowMemoryForContextStack() 337 if (AddrIsInMem(bottom) && ssize && ssize <= kMaxSaneContextStackSize) { in ClearShadowMemoryForContextStack() 338 PoisonShadow(bottom, ssize, 0); in ClearShadowMemoryForContextStack() 352 uptr stack, ssize; in INTERCEPTOR() local 353 ReadContextStack(ucp, &stack, &ssize); in INTERCEPTOR() 354 ClearShadowMemoryForContextStack(stack, ssize); in INTERCEPTOR() 360 ClearShadowMemoryForContextStack(stack, ssize); in INTERCEPTOR()
|
/external/syslinux/gpxe/src/include/gpxe/ |
D | vsprintf.h | 69 extern int vssnprintf ( char *buf, ssize_t ssize, const char *fmt, 72 ssnprintf ( char *buf, ssize_t ssize, const char *fmt, ... );
|
/external/pdfium/third_party/libjpeg/ |
D | fpdfapi_jdmaster.c | 133 int ssize = cinfo->min_DCT_scaled_size; in jpeg_calc_output_dimensions() local 134 while (ssize < DCTSIZE && in jpeg_calc_output_dimensions() 135 (compptr->h_samp_factor * ssize * 2 <= in jpeg_calc_output_dimensions() 137 (compptr->v_samp_factor * ssize * 2 <= in jpeg_calc_output_dimensions() 139 ssize = ssize * 2; in jpeg_calc_output_dimensions() 141 compptr->DCT_scaled_size = ssize; in jpeg_calc_output_dimensions()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getstacksize/ |
D | 1-1.c | 34 size_t ssize; in main() local 68 rc = pthread_attr_getstacksize(&attr, &ssize); in main()
|
/external/libjpeg-turbo/ |
D | jdmaster.c | 295 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()
|
/external/vboot_reference/utility/ |
D | bmpblk_util.c | 101 uint32_t ssize; in do_efi_decompress() local 108 r = EfiGetInfo(ibuf, isize, &osize, &ssize); in do_efi_decompress() 115 sbuf = malloc(ssize); in do_efi_decompress() 118 ssize, in do_efi_decompress() 132 r = EfiDecompress(ibuf, isize, obuf, osize, sbuf, ssize); in do_efi_decompress()
|
D | efidecompress.c | 1073 uint32_t ssize=0, osize=0; in main() local 1074 EFI_STATUS r = GetInfo(ibuf, isize, &osize, &ssize); in main() 1082 ssize, osize); in main() 1084 uint8_t *sbuf = malloc(ssize); in main() 1088 ssize, in main() 1103 r = TianoDecompress(ibuf, isize, obuf, osize, sbuf, ssize); in main() 1110 r = EfiDecompress(ibuf, isize, obuf, osize, sbuf, ssize); in main()
|
/external/elfutils/tests/ |
D | backtrace.c | 367 ssize_t ssize = readlink (selfpathname, data.selfpath, in exec_dump() local 370 assert (ssize > 0 && ssize < (ssize_t) sizeof (data.selfpath)); in exec_dump() 371 data.selfpath[ssize] = '\0'; in exec_dump()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | regcomp.c | 61 sopno ssize; /* malloced strip size (allocated) */ member 186 p->ssize = len/(size_t)2*(size_t)3 + (size_t)1; /* ugh */ in llvm_regcomp() 187 p->strip = (sop *)calloc(p->ssize, sizeof(sop)); in llvm_regcomp() 1293 enlarge(p, p->ssize + len); /* this many unexpected additions */ in dupl() 1294 assert(p->ssize >= p->slen + len); in dupl() 1319 if (p->slen >= p->ssize) in doemit() 1320 enlarge(p, (p->ssize+1) / 2 * 3); /* +50% */ in doemit() 1321 assert(p->slen < p->ssize); in doemit() 1384 if (p->ssize >= size) in enlarge() 1393 p->ssize = size; in enlarge()
|
/external/llvm/lib/Support/ |
D | regcomp.c | 69 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()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | regcomp.c | 69 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()
|
/external/python/cpython2/Lib/test/ |
D | test_ossaudiodev.py | 44 def play_sound_file(self, data, rate, ssize, nchannels): argument 75 expected_time = float(len(data)) / (ssize//8) / nchannels / rate
|