/external/llvm-project/openmp/runtime/test/affinity/format/ |
D | affinity_display.1.c | 28 size_t nchars; in main() local 44 nchars = omp_get_affinity_format(default_format, (size_t)FORMAT_STORE); in main() 47 if (nchars > FORMAT_STORE) { in main() 49 printf(" FORMAT_STORE by %d.\n", (int)nchars - FORMAT_STORE); in main() 66 #pragma omp parallel private(tid, nchars) in main() 69 nchars = omp_capture_affinity(buffer[tid], (size_t)BUFFER_STORE, NULL); in main() 72 if (nchars > max_req_store) in main() 73 max_req_store = nchars; in main()
|
/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 | 439 int nchars; in curl_dbg_log() local 450 nchars = mvsnprintf(buf, LOGLINE_BUFSIZE, format, ap); in curl_dbg_log() 453 if(nchars > LOGLINE_BUFSIZE - 1) in curl_dbg_log() 454 nchars = LOGLINE_BUFSIZE - 1; in curl_dbg_log() 456 if(nchars > 0) in curl_dbg_log() 457 fwrite(buf, 1, (size_t)nchars, curl_dbg_logfile); in curl_dbg_log()
|
/external/python/cpython3/Modules/_decimal/libmpdec/ |
D | io.c | 919 mpd_ssize_t nchars; /* length in chars */ member 936 dest->nchars += (n > 0 ? 1 : 0); in _mbstr_copy_char() 948 dest->nchars += n; in _mbstr_copy_ascii() 960 dest->nchars += n; in _mbstr_copy_pad() 1003 dest->nbytes = dest->nchars = 0; in _mpd_add_sep_dot() 1031 dest->nchars + n_sign < spec->min_width) { in _mpd_add_sep_dot() 1034 n_src = spec->min_width - (dest->nchars + n_sign); in _mpd_add_sep_dot() 1153 if (result->nchars < spec->min_width) { in _mpd_add_pad() 1162 add_chars = (spec->min_width - result->nchars); in _mpd_add_pad() 1210 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 | 333 calc_padding(Py_ssize_t nchars, Py_ssize_t width, Py_UCS4 align, in calc_padding() argument 338 if (nchars > width) in calc_padding() 339 *n_total = nchars; in calc_padding() 345 *n_total = nchars; in calc_padding() 351 *n_lpadding = *n_total - nchars; in calc_padding() 353 *n_lpadding = (*n_total - nchars) / 2; in calc_padding() 361 *n_rpadding = *n_total - nchars - *n_lpadding; in calc_padding() 368 Py_ssize_t nchars, in fill_padding() argument 382 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() 1289 int i, j, nchars = 0; in maybe_handle_shebang() local 1343 nchars = MultiByteToWideChar(bom->code_page, in maybe_handle_shebang() 1359 nchars = header_len / sizeof(wchar_t); in maybe_handle_shebang() 1371 nchars = header_len / sizeof(wchar_t); in maybe_handle_shebang() 1386 nchars = header_len / sizeof(wchar_t); in maybe_handle_shebang() 1401 nchars = header_len / sizeof(wchar_t); in maybe_handle_shebang() 1405 if (nchars > 0) { in maybe_handle_shebang() 1406 shebang_line[--nchars] = L'\0'; in maybe_handle_shebang() [all …]
|
D | getpathp.c | 926 Py_ssize_t nchars; in calculate_module_search_path() local 934 nchars = lookEnd-look; in calculate_module_search_path() 935 wcsncpy(lookBuf, look+1, nchars); in calculate_module_search_path() 936 lookBuf[nchars] = L'\0'; in calculate_module_search_path()
|
/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 | 485 vm.nchars = 0; 496 vm.nchars = (c == '\n' ? 0 : vm.nchars + 1);
|
D | program.c | 515 size_t len = vm.nchars + strlen(str); in bc_program_printChars() 522 vm.nchars = len > UINT16_MAX ? UINT16_MAX : (uint16_t) len; in bc_program_printChars() 548 if (c == 'n') vm.nchars = UINT16_MAX; in bc_program_printString()
|
D | num.c | 1657 if (vm.nchars >= vm.line_len - 1) { in bc_num_printNewline() 2916 vm.nchars = 0; in bc_num_printDebug() 2928 vm.nchars = 0; in bc_num_printDigs()
|
/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/bc/include/ |
D | vm.h | 363 uint16_t nchars; member
|
/external/python/cpython3/Modules/_io/ |
D | textio.c | 1795 Py_ssize_t nbytes, nchars; in textiowrapper_read_chunk() local 1878 nchars = PyUnicode_GET_LENGTH(decoded_chars); in textiowrapper_read_chunk() 1879 if (nchars > 0) in textiowrapper_read_chunk() 1880 self->b2cratio = (double) nbytes / nchars; in textiowrapper_read_chunk() 1883 if (nchars > 0) in textiowrapper_read_chunk()
|
/external/rust/crates/bstr/src/ |
D | impls.rs | 342 let nchars = self.chars().count(); in fmt() localVariable 343 let remaining_pads = width.saturating_sub(nchars); in fmt()
|
/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 | 527 size_t nchars; member
|
/external/toybox/android/device/generated/ |
D | globals.h | 527 size_t nchars; member
|
/external/toybox/android/mac/generated/ |
D | globals.h | 527 size_t nchars; member
|
/external/fonttools/Lib/fontTools/subset/ |
D | __init__.py | 2630 nchars = len(text_utf32)//4 2631 for u in struct.unpack('>%dL' % nchars, text_utf32):
|
/external/mksh/src/ |
D | edit.c | 2261 x_push(size_t nchars) in x_push() argument 2264 strndupx(killstack[killsp], xcp, nchars, AEDIT); in x_push()
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 12784 Py_ssize_t nchars, n; in unicode_repeat() local 12801 nchars = len * PyUnicode_GET_LENGTH(str); in unicode_repeat() 12803 u = PyUnicode_New(nchars, PyUnicode_MAX_CHAR_VALUE(str)); in unicode_repeat() 12833 while (done < nchars) { in unicode_repeat() 12834 n = (done <= nchars-done) ? done : nchars-done; in unicode_repeat()
|