Home
last modified time | relevance | path

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

123

/external/libdivsufsort/include/
Ddivsufsort_private.h156 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/
Dlinuxaudiodev.c242 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 …]
Dossaudiodev.c538 _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/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/bsdiff/
DDivSuffixSorter.java537 int ssize; in ssSwapMerge() local
540 for (check = 0, ssize = 0; ; ) { in ssSwapMerge()
560 if (ssize > 0) { in ssSwapMerge()
561 StackElement se = stack[--ssize]; in ssSwapMerge()
590 if (ssize > 0) { in ssSwapMerge()
591 StackElement se = stack[--ssize]; in ssSwapMerge()
637 stack[ssize++] = new StackElement(r, rm, last, (next & 3) | (check & 4)); in ssSwapMerge()
646 stack[ssize++] = new StackElement(first, lm, l, (check & 3) | (next & 4)); in ssSwapMerge()
672 if (ssize > 0) { in ssSwapMerge()
673 StackElement se = stack[--ssize]; in ssSwapMerge()
[all …]
/external/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()
/external/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()
/external/skia/src/core/
DSkPicture.cpp176 int32_t ssize; in MakeFromStream() local
177 if (!stream->readS32(&ssize) || ssize >= 0 || !procs.fPictureProc) { in MakeFromStream()
180 size_t size = sk_negate_to_size_t(ssize); in MakeFromStream()
199 int32_t ssize = buffer.read32(); in MakeFromBuffer() local
200 if (ssize < 0) { in MakeFromBuffer()
205 size_t size = sk_negate_to_size_t(ssize); in MakeFromBuffer()
208 if (ssize != 1) { in MakeFromBuffer()
/external/skqp/src/core/
DSkPicture.cpp176 int32_t ssize; in MakeFromStream() local
177 if (!stream->readS32(&ssize) || ssize >= 0 || !procs.fPictureProc) { in MakeFromStream()
180 size_t size = sk_negate_to_size_t(ssize); in MakeFromStream()
199 int32_t ssize = buffer.read32(); in MakeFromBuffer() local
200 if (ssize < 0) { in MakeFromBuffer()
205 size_t size = sk_negate_to_size_t(ssize); in MakeFromBuffer()
208 if (ssize != 1) { in MakeFromBuffer()
/external/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()
/external/python/cpython3/Modules/
Dossaudiodev.c615 _ssize(oss_audio_t *self, int *nchannels, int *ssize) in _ssize() argument
628 *ssize = 1; /* 8 bit formats: 1 byte */ in _ssize()
634 *ssize = 2; /* 16 bit formats: 2 byte */ in _ssize()
653 int nchannels=0, ssize=0; in oss_bufsize() local
658 if (_ssize(self, &nchannels, &ssize) < 0 || !nchannels || !ssize) { in oss_bufsize()
666 return PyLong_FromLong((ai.fragstotal * ai.fragsize) / (nchannels * ssize)); in oss_bufsize()
675 int nchannels=0, ssize=0; in oss_obufcount() local
680 if (_ssize(self, &nchannels, &ssize) < 0 || !nchannels || !ssize) { in oss_obufcount()
689 (ssize * nchannels)); in oss_obufcount()
698 int nchannels=0, ssize=0; in oss_obuffree() local
[all …]
/external/compiler-rt/lib/asan/
Dasan_linux.cc159 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
Dasan_interceptors.cc330 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/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()
/external/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()
/external/vboot_reference/utility/
Dbmpblk_util.c101 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()
Defidecompress.c1073 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/ltp/lib/
Dtst_test.c188 int ret, size = sizeof(buf), ssize; in print_result() local
239 ssize = size - 2; in print_result()
241 str += MIN(ret, ssize); in print_result()
242 size -= MIN(ret, ssize); in print_result()
243 if (ret >= ssize) { in print_result()
247 ssize = size - 2; in print_result()
249 str += MIN(ret, ssize); in print_result()
250 size -= MIN(ret, ssize); in print_result()
251 if (ret >= ssize) in print_result()
/external/u-boot/cmd/
Dsetexpr.c82 int ssize, /* string bufer size */ in substitute() argument
97 if (*slen + nlen - olen > ssize) { in substitute()
108 tail = ssize - (p + len - string); in substitute()
/external/u-boot/drivers/video/
Dfsl_diu_fb.c195 u32 offset, ssize; in allocate_buf() local
198 ssize = size + bytes_align; in allocate_buf()
199 buf->vaddr = malloc(ssize); in allocate_buf()
203 memset(buf->vaddr, 0, ssize); in allocate_buf()
/external/elfutils/tests/
Dbacktrace.c377 ssize_t ssize = readlink (selfpathname, data.selfpath, in exec_dump() local
380 assert (ssize > 0 && ssize < (ssize_t) sizeof (data.selfpath)); in exec_dump()
381 data.selfpath[ssize] = '\0'; in exec_dump()
/external/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
Dregcomp.c196 sopno ssize; /* malloced strip size (allocated) */ member
321 p->ssize = len/(size_t)2*(size_t)3 + (size_t)1; /* ugh */ in llvm_regcomp()
322 p->strip = (sop *)calloc(p->ssize, sizeof(sop)); in llvm_regcomp()
1458 enlarge(p, p->ssize + len); /* this many unexpected additions */ in dupl()
1459 assert(p->ssize >= p->slen + len); in dupl()
1484 if (p->slen >= p->ssize) in doemit()
1485 enlarge(p, (p->ssize+1) / 2 * 3); /* +50% */ in doemit()
1486 assert(p->slen < p->ssize); in doemit()
1549 if (p->ssize >= size) in enlarge()
1563 p->ssize = size; in enlarge()

123