/external/speex/libspeex/ |
D | bits.c | 112 int nchars = len / BYTES_PER_CHAR; in speex_bits_read_from() local 113 if (nchars > bits->buf_size) in speex_bits_read_from() 118 char *tmp = (char*)speex_realloc(bits->chars, nchars); in speex_bits_read_from() 121 bits->buf_size=nchars; in speex_bits_read_from() 124 nchars=bits->buf_size; in speex_bits_read_from() 129 nchars=bits->buf_size; in speex_bits_read_from() 138 for (i=0;i<nchars;i++) in speex_bits_read_from() 141 bits->nbBits=nchars<<LOG2_BITS_PER_CHAR; in speex_bits_read_from() 149 int nchars = ((bits->nbBits+BITS_PER_CHAR-1)>>LOG2_BITS_PER_CHAR); in speex_bits_flush() local 151 SPEEX_MOVE(bits->chars, &bits->chars[bits->charPtr], nchars-bits->charPtr); in speex_bits_flush() [all …]
|
/external/ltp/testcases/network/nfs/nfslock01/ |
D | nfs_flock_dgen.c | 11 int i, j, k, nlines, nchars, ctype; in main() local 23 nchars = atoi(argv[2]); in main() 24 if (nchars > BUFSIZ) { in main() 40 for (j = 0; j < nchars; j++) in main()
|
/external/toybox/toys/posix/ |
D | uniq.c | 32 long nchars; 39 long nchars = TT.nchars, nfields; local 48 while (*str && nchars--) str++; 81 if (TT.nfields || TT.nchars) { in uniq_main()
|
/external/syslinux/com32/lib/ |
D | vsnprintf.c | 55 int ndigits = 0, nchars; in format_int() local 98 nchars = ndigits; in format_int() 101 nchars++; /* Need space for sign */ in format_int() 103 nchars += 2; /* Add 0x for hex */ in format_int() 107 if (!(flags & (FL_MINUS | FL_ZERO)) && width > nchars) { in format_int() 108 while (width > nchars) { in format_int() 129 while (width > nchars) { in format_int() 160 while ((flags & FL_MINUS) && width > nchars) { in format_int()
|
/external/syslinux/com32/lib/sys/vesa/ |
D | initvesa.c | 136 size_t nchars; in init_text_display() local 148 nchars = (__vesacon_text_cols+2) * (__vesacon_text_rows+2); in init_text_display() 150 __vesacon_text_display = ptr = malloc(nchars * sizeof(struct vesa_char)); in init_text_display() 155 vesacon_fill(ptr, def_char, nchars); in init_text_display()
|
/external/curl/lib/ |
D | memdebug.c | 496 int nchars; in curl_memlog() local 507 nchars = vsnprintf(buf, LOGLINE_BUFSIZE, format, ap); in curl_memlog() 510 if(nchars > LOGLINE_BUFSIZE - 1) in curl_memlog() 511 nchars = LOGLINE_BUFSIZE - 1; in curl_memlog() 513 if(nchars > 0) in curl_memlog() 514 fwrite(buf, 1, (size_t)nchars, logfile); in curl_memlog()
|
/external/python/cpython3/Modules/_decimal/libmpdec/ |
D | io.c | 897 mpd_ssize_t nchars; /* length in chars */ member 914 dest->nchars += (n > 0 ? 1 : 0); in _mbstr_copy_char() 926 dest->nchars += n; in _mbstr_copy_ascii() 938 dest->nchars += n; in _mbstr_copy_pad() 981 dest->nbytes = dest->nchars = 0; in _mpd_add_sep_dot() 1009 dest->nchars + n_sign < spec->min_width) { in _mpd_add_sep_dot() 1012 n_src = spec->min_width - (dest->nchars + n_sign); in _mpd_add_sep_dot() 1131 if (result->nchars < spec->min_width) { in _mpd_add_pad() 1140 add_chars = (spec->min_width - result->nchars); in _mpd_add_pad() 1188 result->nchars += add_chars; in _mpd_add_pad() [all …]
|
/external/python/cpython2/Objects/stringlib/ |
D | formatter.h | 308 calc_padding(Py_ssize_t nchars, Py_ssize_t width, STRINGLIB_CHAR align, in calc_padding() argument 313 if (nchars > width) in calc_padding() 314 *n_total = nchars; in calc_padding() 320 *n_total = nchars; in calc_padding() 326 *n_lpadding = *n_total - nchars; in calc_padding() 328 *n_lpadding = (*n_total - nchars) / 2; in calc_padding() 337 *n_rpadding = *n_total - nchars - *n_lpadding; in calc_padding() 343 fill_padding(STRINGLIB_CHAR *p, Py_ssize_t nchars, STRINGLIB_CHAR fill_char, in fill_padding() argument 352 STRINGLIB_FILL(p + nchars + n_lpadding, fill_char, n_rpadding); in fill_padding()
|
/external/python/cpython3/PC/ |
D | launcher.c | 890 parse_shebang(wchar_t * shebang_line, int nchars, wchar_t ** command, in parse_shebang() argument 898 wchar_t * endp = shebang_line + nchars - 1; in parse_shebang() 1131 int i, j, nchars = 0; in maybe_handle_shebang() local 1185 nchars = MultiByteToWideChar(bom->code_page, in maybe_handle_shebang() 1201 nchars = header_len / sizeof(wchar_t); in maybe_handle_shebang() 1213 nchars = header_len / sizeof(wchar_t); in maybe_handle_shebang() 1228 nchars = header_len / sizeof(wchar_t); in maybe_handle_shebang() 1243 nchars = header_len / sizeof(wchar_t); in maybe_handle_shebang() 1247 if (nchars > 0) { in maybe_handle_shebang() 1248 shebang_line[--nchars] = L'\0'; in maybe_handle_shebang() [all …]
|
D | getpathp.c | 854 Py_ssize_t nchars; in calculate_path() local 862 nchars = lookEnd-look; in calculate_path() 863 wcsncpy(lookBuf, look+1, nchars); in calculate_path() 864 lookBuf[nchars] = L'\0'; in calculate_path()
|
/external/python/cpython3/Python/ |
D | formatter_unicode.c | 328 calc_padding(Py_ssize_t nchars, Py_ssize_t width, Py_UCS4 align, in calc_padding() argument 333 if (nchars > width) in calc_padding() 334 *n_total = nchars; in calc_padding() 340 *n_total = nchars; in calc_padding() 346 *n_lpadding = *n_total - nchars; in calc_padding() 348 *n_lpadding = (*n_total - nchars) / 2; in calc_padding() 357 *n_rpadding = *n_total - nchars - *n_lpadding; in calc_padding() 364 Py_ssize_t nchars, in fill_padding() argument 378 pos = writer->pos + nchars + n_lpadding; in fill_padding()
|
/external/python/cpython2/PC/ |
D | getpathp.c | 659 Py_ssize_t nchars; in calculate_path() local 667 nchars = lookEnd-look; in calculate_path() 668 strncpy(lookBuf, look+1, nchars); in calculate_path() 669 lookBuf[nchars] = '\0'; in calculate_path()
|
/external/libedit/src/ |
D | common.c | 831 int nchars = c_hpos(el); in ed_prev_line() local 856 nchars-- > 0 && ptr < el->el_line.lastchar && *ptr != '\n'; in ed_prev_line() 874 int nchars = c_hpos(el); in ed_next_line() local 890 nchars-- > 0 && ptr < el->el_line.lastchar && *ptr != '\n'; in ed_next_line()
|
/external/nist-sip/java/gov/nist/core/ |
D | LexerCore.java | 652 public String charAsString(int nchars) { in charAsString() argument 653 return buffer.substring(ptr, ptr + nchars); in charAsString()
|
/external/python/cpython3/Modules/_io/ |
D | textio.c | 1417 Py_ssize_t nbytes, nchars; in textiowrapper_read_chunk() local 1499 nchars = PyUnicode_GET_LENGTH(decoded_chars); in textiowrapper_read_chunk() 1500 if (nchars > 0) in textiowrapper_read_chunk() 1501 self->b2cratio = (double) nbytes / nchars; in textiowrapper_read_chunk() 1504 if (nchars > 0) in textiowrapper_read_chunk()
|
/external/python/cpython2/Objects/ |
D | unicodeobject.c | 7220 Py_ssize_t nchars; in unicode_repeat() local 7240 nchars = len * str->length; in unicode_repeat() 7241 nbytes = ((size_t)nchars + 1u) * sizeof(Py_UNICODE); in unicode_repeat() 7242 if (nbytes / sizeof(Py_UNICODE) != ((size_t)nchars + 1u)) { in unicode_repeat() 7247 u = _PyUnicode_New(nchars); in unicode_repeat() 7257 if (done < nchars) { in unicode_repeat() 7261 while (done < nchars) { in unicode_repeat() 7262 Py_ssize_t n = (done <= nchars-done) ? done : nchars-done; in unicode_repeat()
|
/external/toybox/generated/ |
D | globals.h | 1381 long nchars; member
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 12469 Py_ssize_t nchars, n; in unicode_repeat() local 12486 nchars = len * PyUnicode_GET_LENGTH(str); in unicode_repeat() 12488 u = PyUnicode_New(nchars, PyUnicode_MAX_CHAR_VALUE(str)); in unicode_repeat() 12518 while (done < nchars) { in unicode_repeat() 12519 n = (done <= nchars-done) ? done : nchars-done; in unicode_repeat()
|
/external/mksh/src/ |
D | edit.c | 2262 x_push(size_t nchars) in x_push() argument 2265 strndupx(killstack[killsp], xcp, nchars, AEDIT); in x_push()
|