/external/ltp/testcases/network/nfs/nfslock01/ |
nfs_flock_dgen.c | 11 int i, j, k, nlines, nchars, ctype; local 23 nchars = atoi(argv[2]); 24 if (nchars > BUFSIZ) { 40 for (j = 0; j < nchars; j++)
|
/external/speex/libspeex/ |
bits.c | 112 int nchars = len / BYTES_PER_CHAR; local 113 if (nchars > bits->buf_size) 118 char *tmp = (char*)speex_realloc(bits->chars, nchars); 121 bits->buf_size=nchars; 124 nchars=bits->buf_size; 129 nchars=bits->buf_size; 138 for (i=0;i<nchars;i++) 141 bits->nbBits=nchars<<LOG2_BITS_PER_CHAR; 149 int nchars = ((bits->nbBits+BITS_PER_CHAR-1)>>LOG2_BITS_PER_CHAR); local 151 SPEEX_MOVE(bits->chars, &bits->chars[bits->charPtr], nchars-bits->charPtr) 159 int nchars = nbytes\/BYTES_PER_CHAR; local [all...] |
/external/syslinux/com32/lib/ |
vsnprintf.c | 55 int ndigits = 0, nchars; local 98 nchars = ndigits; 101 nchars++; /* Need space for sign */ 103 nchars += 2; /* Add 0x for hex */ 107 if (!(flags & (FL_MINUS | FL_ZERO)) && width > nchars) { 108 while (width > nchars) { 129 while (width > nchars) { 160 while ((flags & FL_MINUS) && width > nchars) {
|
/external/toybox/toys/posix/ |
uniq.c | 32 long nchars; 39 long nchars = TT.nchars, nfields; local 48 while (*str && nchars--) str++; 81 if (TT.nfields || TT.nchars) {
|
/toolchain/binutils/binutils-2.27/gas/ |
frags.c | 94 /* Try to augment current frag by nchars chars. 96 and begin a new frag. Unless the new frag has nchars chars available 100 frag_grow (size_t nchars) 102 if (obstack_room (&frchain_now->frch_obstack) < nchars) 110 if (nchars < 0x10000) 111 newc = 2 * nchars; 113 newc = nchars + 0x10000; 117 if (newc < nchars) 118 as_fatal (_("can't extend frag %lu chars"), (unsigned long) nchars); 126 while (obstack_room (&frchain_now->frch_obstack) < nchars) [all...] |
frags.h | 130 void frag_grow (size_t nchars); 131 char *frag_more (size_t nchars);
|
listing.c | 829 unsigned int nchars; local 838 nchars = (LISTING_WORD_SIZE * 2 + 1) * listing_lhs_width; 844 for (idx = 0; idx < nchars; idx++) 859 while (src[cur] && idx < nchars) 877 for (; idx < nchars; idx++) 890 nchars = ((LISTING_WORD_SIZE * 2) + 1) * listing_lhs_width_second - 1; 896 while (src[cur] && idx < nchars) [all...] |
/external/syslinux/com32/lib/sys/vesa/ |
initvesa.c | 136 size_t nchars; local 148 nchars = (__vesacon_text_cols+2) * (__vesacon_text_rows+2); 150 __vesacon_text_display = ptr = malloc(nchars * sizeof(struct vesa_char)); 155 vesacon_fill(ptr, def_char, nchars);
|
/bionic/benchmarks/ |
util.cpp | 53 wchar_t* GetAlignedPtr(std::vector<wchar_t>* buf, size_t alignment, size_t nchars) { 54 buf->resize(nchars + ceil((3 * alignment) / sizeof(wchar_t)));
|
/external/curl/lib/ |
memdebug.c | 496 int nchars; local 507 nchars = vsnprintf(buf, LOGLINE_BUFSIZE, format, ap); 510 if(nchars > LOGLINE_BUFSIZE - 1) 511 nchars = LOGLINE_BUFSIZE - 1; 513 if(nchars > 0) 514 fwrite(buf, 1, (size_t)nchars, logfile);
|
/bionic/tests/ |
stdio_test.cpp | 579 constexpr size_t nchars = 32; local 580 wchar_t buf[nchars]; 582 ASSERT_EQ(2, swprintf(buf, nchars, L"ab")) << strerror(errno); 584 ASSERT_EQ(5, swprintf(buf, nchars, L"%s", "abcde")); 592 ASSERT_EQ(12, swprintf(buf, nchars, L"%s", kString)); 599 constexpr size_t nchars = 32; local 600 wchar_t buf[nchars]; 602 ASSERT_EQ(20, swprintf(buf, nchars, L"%a", 3.1415926535)); 607 constexpr size_t nchars = 32; local 608 wchar_t buf[nchars]; 616 constexpr size_t nchars = 32; local 625 constexpr size_t nchars = 32; local 633 constexpr size_t nchars = 32; local 641 constexpr size_t nchars = 32; local 649 constexpr size_t nchars = 32; local 657 constexpr size_t nchars = 32; local 668 constexpr size_t nchars = 32; local [all...] |
/external/python/cpython3/Modules/_decimal/libmpdec/ |
io.c | 897 mpd_ssize_t nchars; /* length in chars */ member in struct:__anon33301 914 dest->nchars += (n > 0 ? 1 : 0); 926 dest->nchars += n; 938 dest->nchars += n; 956 * of UTF-8 characters is stored in dest->nchars. 981 dest->nbytes = dest->nchars = 0; 1009 dest->nchars + n_sign < spec->min_width) { 1012 n_src = spec->min_width - (dest->nchars + n_sign); 1064 * result->nchars := strlen(result->data) 1068 * result->nchars := number of characters (possibly UTF-8 [all...] |
/system/core/adb/ |
adb_utils.cpp | 297 DWORD nchars = GetTempPathW(arraysize(temp_path), temp_path); local 298 if (nchars >= arraysize(temp_path) || nchars == 0) {
|
/bionic/libc/stdio/ |
printf_common.h | 781 size_t insize, nchars, nconv; local 789 insize = nchars = nconv = 0; 791 while (nchars != (size_t)prec) { 795 nchars++;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/ |
formatter.h | 308 calc_padding(Py_ssize_t nchars, Py_ssize_t width, STRINGLIB_CHAR align,
313 if (nchars > width)
314 *n_total = nchars;
320 *n_total = nchars;
326 *n_lpadding = *n_total - nchars;
328 *n_lpadding = (*n_total - nchars) / 2;
337 *n_rpadding = *n_total - nchars - *n_lpadding;
343 fill_padding(STRINGLIB_CHAR *p, Py_ssize_t nchars, STRINGLIB_CHAR fill_char,
352 STRINGLIB_FILL(p + nchars + n_lpadding, fill_char, n_rpadding);
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/ |
formatter.h | 308 calc_padding(Py_ssize_t nchars, Py_ssize_t width, STRINGLIB_CHAR align,
313 if (nchars > width)
314 *n_total = nchars;
320 *n_total = nchars;
326 *n_lpadding = *n_total - nchars;
328 *n_lpadding = (*n_total - nchars) / 2;
337 *n_rpadding = *n_total - nchars - *n_lpadding;
343 fill_padding(STRINGLIB_CHAR *p, Py_ssize_t nchars, STRINGLIB_CHAR fill_char,
352 STRINGLIB_FILL(p + nchars + n_lpadding, fill_char, n_rpadding);
[all...] |
/external/python/cpython2/Objects/stringlib/ |
formatter.h | 308 calc_padding(Py_ssize_t nchars, Py_ssize_t width, STRINGLIB_CHAR align, 313 if (nchars > width) 314 *n_total = nchars; 320 *n_total = nchars; 326 *n_lpadding = *n_total - nchars; 328 *n_lpadding = (*n_total - nchars) / 2; 337 *n_rpadding = *n_total - nchars - *n_lpadding; 343 fill_padding(STRINGLIB_CHAR *p, Py_ssize_t nchars, STRINGLIB_CHAR fill_char, 352 STRINGLIB_FILL(p + nchars + n_lpadding, fill_char, n_rpadding); [all...] |
/external/python/cpython2/PC/ |
getpathp.c | 659 Py_ssize_t nchars; local 667 nchars = lookEnd-look; 668 strncpy(lookBuf, look+1, nchars); 669 lookBuf[nchars] = '\0';
|
/external/python/cpython3/Python/ |
formatter_unicode.c | 328 calc_padding(Py_ssize_t nchars, Py_ssize_t width, Py_UCS4 align, 333 if (nchars > width) 334 *n_total = nchars; 340 *n_total = nchars; 346 *n_lpadding = *n_total - nchars; 348 *n_lpadding = (*n_total - nchars) / 2; 357 *n_rpadding = *n_total - nchars - *n_lpadding; 364 Py_ssize_t nchars, 378 pos = writer->pos + nchars + n_lpadding; [all...] |
/external/python/cpython3/PC/ |
launcher.c | 890 parse_shebang(wchar_t * shebang_line, int nchars, wchar_t ** command, 898 wchar_t * endp = shebang_line + nchars - 1; 1131 int i, j, nchars = 0; local [all...] |
getpathp.c | 854 Py_ssize_t nchars; local 862 nchars = lookEnd-look; 863 wcsncpy(lookBuf, look+1, nchars); 864 lookBuf[nchars] = L'\0';
|
/system/core/base/ |
logging.cpp | 105 DWORD nchars = GetModuleFileNameA(nullptr, longname, arraysize(longname)); 106 if ((nchars >= arraysize(longname)) || (nchars == 0)) {
|
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
vfscanf.c | 487 int nchars;
local 494 nchars = 0;
525 nchars++;
540 n = nchars;
|
vfwprintf.c | 427 size_t insize, nchars, nconv;
local 442 insize = nchars = nconv = 0;
444 while (nchars != (size_t)prec) {
450 nchars++;
[all...] |
/external/libedit/src/ |
common.c | 831 int nchars = c_hpos(el); local 856 nchars-- > 0 && ptr < el->el_line.lastchar && *ptr != '\n'; 874 int nchars = c_hpos(el); local 890 nchars-- > 0 && ptr < el->el_line.lastchar && *ptr != '\n';
|