/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/curl/lib/ |
D | memdebug.c | 480 int nchars; in curl_dbg_log() local 491 nchars = mvsnprintf(buf, LOGLINE_BUFSIZE, format, ap); in curl_dbg_log() 494 if(nchars > LOGLINE_BUFSIZE - 1) in curl_dbg_log() 495 nchars = LOGLINE_BUFSIZE - 1; in curl_dbg_log() 497 if(nchars > 0) in curl_dbg_log() 498 fwrite(buf, 1, (size_t)nchars, curl_dbg_logfile); in curl_dbg_log()
|
/external/python/cpython3/Modules/_decimal/libmpdec/ |
D | io.c | 903 mpd_ssize_t nchars; /* length in chars */ member 920 dest->nchars += (n > 0 ? 1 : 0); in _mbstr_copy_char() 932 dest->nchars += n; in _mbstr_copy_ascii() 944 dest->nchars += n; in _mbstr_copy_pad() 987 dest->nbytes = dest->nchars = 0; in _mpd_add_sep_dot() 1015 dest->nchars + n_sign < spec->min_width) { in _mpd_add_sep_dot() 1018 n_src = spec->min_width - (dest->nchars + n_sign); in _mpd_add_sep_dot() 1137 if (result->nchars < spec->min_width) { in _mpd_add_pad() 1146 add_chars = (spec->min_width - result->nchars); in _mpd_add_pad() 1194 result->nchars += add_chars; in _mpd_add_pad() [all …]
|
/external/toybox/toys/posix/ |
D | uniq.c | 38 long nchars = TT.s, nfields = TT.f; local 46 while (*str && nchars--) str++;
|
/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/Python/ |
D | formatter_unicode.c | 331 calc_padding(Py_ssize_t nchars, Py_ssize_t width, Py_UCS4 align, in calc_padding() argument 336 if (nchars > width) in calc_padding() 337 *n_total = nchars; in calc_padding() 343 *n_total = nchars; in calc_padding() 349 *n_lpadding = *n_total - nchars; in calc_padding() 351 *n_lpadding = (*n_total - nchars) / 2; in calc_padding() 359 *n_rpadding = *n_total - nchars - *n_lpadding; in calc_padding() 366 Py_ssize_t nchars, in fill_padding() argument 380 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/python/cpython3/PC/ |
D | launcher.c | 1028 parse_shebang(wchar_t * shebang_line, int nchars, wchar_t ** command, in parse_shebang() argument 1036 wchar_t * endp = shebang_line + nchars - 1; in parse_shebang() 1288 int i, j, nchars = 0; in maybe_handle_shebang() local 1342 nchars = MultiByteToWideChar(bom->code_page, in maybe_handle_shebang() 1358 nchars = header_len / sizeof(wchar_t); in maybe_handle_shebang() 1370 nchars = header_len / sizeof(wchar_t); in maybe_handle_shebang() 1385 nchars = header_len / sizeof(wchar_t); in maybe_handle_shebang() 1400 nchars = header_len / sizeof(wchar_t); in maybe_handle_shebang() 1404 if (nchars > 0) { in maybe_handle_shebang() 1405 shebang_line[--nchars] = L'\0'; in maybe_handle_shebang() [all …]
|
D | getpathp.c | 965 Py_ssize_t nchars; in calculate_module_search_path() local 973 nchars = lookEnd-look; in calculate_module_search_path() 974 wcsncpy(lookBuf, look+1, nchars); in calculate_module_search_path() 975 lookBuf[nchars] = L'\0'; in calculate_module_search_path()
|
/external/u-boot/common/ |
D | bedbug.c | 957 int nchars = 0; in get_word() local 972 dest[nchars++] = *ptr++; in get_word() 974 dest[nchars] = 0; in get_word() 977 return nchars; in get_word()
|
/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/bc/src/ |
D | vm.c | 294 vm->nchars = 0; in bc_vm_printf() 305 vm->nchars = (c == '\n' ? 0 : vm->nchars + 1); in bc_vm_putchar()
|
D | program.c | 493 vm->nchars += bc_vm_printf("%s", str); in bc_program_printChars() 495 if (nl) vm->nchars = strlen(nl + 1); in bc_program_printChars() 521 if (c == 'n') vm->nchars = SIZE_MAX; in bc_program_printString()
|
D | num.c | 1574 if (vm->nchars >= (size_t) (vm->line_len - 1)) { in bc_num_printNewline() 2442 vm->nchars = 0; in bc_num_printDebug() 2453 vm->nchars = 0; in bc_num_printDigs()
|
/external/bc/include/ |
D | vm.h | 163 size_t nchars; member
|
/external/toybox/toys/pending/ |
D | bc.c | 43 size_t nchars; 1901 if (TT.nchars >= TT.line_len - 1) { in bc_num_printNewline() 1904 TT.nchars = 0; in bc_num_printNewline() 1914 ++TT.nchars; in bc_num_printDigits() 1919 for (exp = 0; exp < len; pow /= 10, ++TT.nchars, ++exp) { in bc_num_printDigits() 1933 TT.nchars += 1; in bc_num_printHex() 1938 TT.nchars += len; in bc_num_printHex() 1946 TT.nchars += n->neg; in bc_num_printDecimal() 2023 TT.nchars += neg; in bc_num_printBase() 4793 TT.nchars += printf("%s", str); in bc_program_printChars() [all …]
|
/external/python/cpython3/Modules/_io/ |
D | textio.c | 1752 Py_ssize_t nbytes, nchars; in textiowrapper_read_chunk() local 1836 nchars = PyUnicode_GET_LENGTH(decoded_chars); in textiowrapper_read_chunk() 1837 if (nchars > 0) in textiowrapper_read_chunk() 1838 self->b2cratio = (double) nbytes / nchars; in textiowrapper_read_chunk() 1841 if (nchars > 0) in textiowrapper_read_chunk()
|
/external/python/cpython2/Objects/ |
D | unicodeobject.c | 7215 Py_ssize_t nchars; in unicode_repeat() local 7235 nchars = len * str->length; in unicode_repeat() 7236 nbytes = ((size_t)nchars + 1u) * sizeof(Py_UNICODE); in unicode_repeat() 7237 if (nbytes / sizeof(Py_UNICODE) != ((size_t)nchars + 1u)) { in unicode_repeat() 7242 u = _PyUnicode_New(nchars); in unicode_repeat() 7252 if (done < nchars) { in unicode_repeat() 7256 while (done < nchars) { in unicode_repeat() 7257 Py_ssize_t n = (done <= nchars-done) ? done : nchars-done; in unicode_repeat()
|
/external/toybox/android/linux/generated/ |
D | globals.h | 490 size_t nchars; member
|
/external/toybox/android/mac/generated/ |
D | globals.h | 490 size_t nchars; member
|
/external/toybox/android/device/generated/ |
D | globals.h | 490 size_t nchars; member
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 12534 Py_ssize_t nchars, n; in unicode_repeat() local 12551 nchars = len * PyUnicode_GET_LENGTH(str); in unicode_repeat() 12553 u = PyUnicode_New(nchars, PyUnicode_MAX_CHAR_VALUE(str)); in unicode_repeat() 12583 while (done < nchars) { in unicode_repeat() 12584 n = (done <= nchars-done) ? done : nchars-done; in unicode_repeat()
|
/external/fonttools/Lib/fontTools/subset/ |
D | __init__.py | 2453 nchars = len(text_utf32)//4 2454 for u in struct.unpack('>%dL' % nchars, text_utf32):
|
/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()
|