/external/ltp/testcases/kernel/syscalls/cma/ |
D | process_vm_writev02.c | 48 static long bufsz; variable 113 char buf[bufsz]; in child_init_and_verify() 116 foo = SAFE_MALLOC(tst_exit, bufsz); in child_init_and_verify() 117 for (i = 0; i < bufsz; i++) in child_init_and_verify() 123 snprintf(buf, bufsz, "%p", foo); in child_init_and_verify() 131 for (i = 0; i < bufsz; i++) { in child_init_and_verify() 150 char buf[bufsz]; in child_write() 156 SAFE_READ(tst_exit, 0, pipe_fd[0], buf, bufsz); in child_write() 161 lp = SAFE_MALLOC(tst_exit, bufsz + PADDING_SIZE * 2); in child_write() 163 for (i = 0; i < bufsz + PADDING_SIZE * 2; i++) in child_write() [all …]
|
D | process_vm_readv03.c | 51 static long bufsz; variable 123 bufsz_left = bufsz; in gen_random_arr() 218 if (TEST_RETURN != bufsz) in child_invoke() 254 bufsz = sflag ? SAFE_STRTOL(NULL, sz_opt, NUM_LOCAL_VECS, LONG_MAX) in setup()
|
/external/toybox/toys/pending/ |
D | fold.c | 34 int bufsz, len = 0, maxlen; local 40 while ((bufsz = read(fd, toybuf, sizeof(toybuf))) > 0) { 44 while (pos < bufsz) { 51 bufsz -= pos + 1; 83 bufsz -= split + 1; 89 xwrite(1, buf, bufsz);
|
/external/python/cpython2/PC/os2emx/ |
D | getpathp.c | 263 size_t bufsz; in calculate_path() local 310 bufsz = 1; in calculate_path() 313 bufsz++; /* number of DELIM plus one */ in calculate_path() 315 bufsz *= strlen(pythonhome); in calculate_path() 318 bufsz = 0; in calculate_path() 319 bufsz += strlen(PYTHONPATH) + 1; in calculate_path() 320 bufsz += strlen(argv0_path) + 1; in calculate_path() 321 bufsz += strlen(zip_path) + 1; in calculate_path() 323 bufsz += strlen(envpath) + 1; in calculate_path() 325 module_search_path = buf = malloc(bufsz); in calculate_path()
|
/external/python/cpython2/PC/os2vacpp/ |
D | getpathp.c | 301 int bufsz; in calculate_path() local 357 bufsz = 1; in calculate_path() 360 bufsz++; /* number of DELIM plus one */ in calculate_path() 362 bufsz *= strlen(pythonhome); in calculate_path() 365 bufsz = 0; in calculate_path() 366 bufsz += strlen(PYTHONPATH) + 1; in calculate_path() 368 bufsz += strlen(envpath) + 1; in calculate_path() 369 bufsz += strlen(argv0_path) + 1; in calculate_path() 372 bufsz += strlen(machinepath) + 1; in calculate_path() 374 bufsz += strlen(userpath) + 1; in calculate_path() [all …]
|
/external/python/cpython2/Modules/ |
D | getpath.c | 382 size_t bufsz; in calculate_path() local 528 bufsz = strlen(zip_path); /* Replace "00" with version */ in calculate_path() 529 zip_path[bufsz - 6] = VERSION[0]; in calculate_path() 530 zip_path[bufsz - 5] = VERSION[2]; in calculate_path() 547 bufsz = 0; in calculate_path() 550 bufsz += strlen(rtpypath) + 1; in calculate_path() 559 bufsz += prefixsz; in calculate_path() 562 bufsz += delim - defpath + 1; in calculate_path() 564 bufsz += strlen(defpath) + 1; in calculate_path() 571 bufsz += strlen(zip_path) + 1; in calculate_path() [all …]
|
/external/strace/tests-mx32/ |
D | kexec_load.c | 49 size_t bufsz; member 115 segms[0].bufsz, segms[0].memsz); in main() 118 segms[i].buf, segms[i].bufsz, in main() 130 segms[i].buf, segms[i].bufsz, in main() 145 segms[i].buf, segms[i].bufsz, in main() 157 segms[i].buf, segms[i].bufsz, in main()
|
/external/strace/tests-m32/ |
D | kexec_load.c | 49 size_t bufsz; member 115 segms[0].bufsz, segms[0].memsz); in main() 118 segms[i].buf, segms[i].bufsz, in main() 130 segms[i].buf, segms[i].bufsz, in main() 145 segms[i].buf, segms[i].bufsz, in main() 157 segms[i].buf, segms[i].bufsz, in main()
|
/external/strace/tests/ |
D | kexec_load.c | 49 size_t bufsz; member 115 segms[0].bufsz, segms[0].memsz); in main() 118 segms[i].buf, segms[i].bufsz, in main() 130 segms[i].buf, segms[i].bufsz, in main() 145 segms[i].buf, segms[i].bufsz, in main() 157 segms[i].buf, segms[i].bufsz, in main()
|
/external/python/cpython2/PC/ |
D | getpathp.c | 467 size_t bufsz; in calculate_path() local 540 bufsz = 1; in calculate_path() 543 bufsz++; /* number of DELIM plus one */ in calculate_path() 545 bufsz *= strlen(pythonhome); in calculate_path() 548 bufsz = 0; in calculate_path() 549 bufsz += strlen(PYTHONPATH) + 1; in calculate_path() 550 bufsz += strlen(argv0_path) + 1; in calculate_path() 553 bufsz += strlen(userpath) + 1; in calculate_path() 555 bufsz += strlen(machinepath) + 1; in calculate_path() 556 bufsz += strlen(zip_path) + 1; in calculate_path() [all …]
|
/external/python/cpython3/PC/ |
D | getpathp.c | 801 size_t bufsz = 0; in calculate_module_search_path() local 804 bufsz = 1; in calculate_module_search_path() 807 bufsz++; /* number of DELIM plus one */ in calculate_module_search_path() 810 bufsz *= wcslen(calculate->home); in calculate_module_search_path() 812 bufsz += wcslen(PYTHONPATH) + 1; in calculate_module_search_path() 813 bufsz += wcslen(calculate->argv0_path) + 1; in calculate_module_search_path() 815 bufsz += wcslen(calculate->user_path) + 1; in calculate_module_search_path() 818 bufsz += wcslen(calculate->machine_path) + 1; in calculate_module_search_path() 820 bufsz += wcslen(calculate->zip_path) + 1; in calculate_module_search_path() 822 bufsz += wcslen(core_config->module_search_path_env) + 1; in calculate_module_search_path() [all …]
|
/external/one-true-awk/ |
D | run.c | 472 int bufsz = recsize; in array() local 475 if ((buf = (char *) malloc(bufsz)) == NULL) in array() 484 if (!adjbuf(&buf, &bufsz, strlen(buf)+strlen(s)+nsub+1, recsize, 0, "array")) in array() 523 int bufsz = recsize; in awkdelete() local 525 if ((buf = (char *) malloc(bufsz)) == NULL) in awkdelete() 532 if (!adjbuf(&buf, &bufsz, strlen(buf)+strlen(s)+nsub+1, recsize, 0, "awkdelete")) in awkdelete() 552 int bufsz = recsize; in intest() local 564 if ((buf = (char *) malloc(bufsz)) == NULL) { in intest() 572 if (!adjbuf(&buf, &bufsz, strlen(buf)+strlen(s)+nsub+1, recsize, 0, "intest")) in intest() 989 int bufsz=3*recsize; in awksprintf() local [all …]
|
D | lex.c | 364 static int bufsz = 500; in string() local 366 if (buf == 0 && (buf = (char *) malloc(bufsz)) == NULL) in string() 369 if (!adjbuf(&buf, &bufsz, bp-buf+2, 500, &bp, "string")) in string() 511 static int bufsz = 500; in regexpr() local 514 if (buf == 0 && (buf = (char *) malloc(bufsz)) == NULL) in regexpr() 518 if (!adjbuf(&buf, &bufsz, bp-buf+3, 500, &bp, "regexpr")) in regexpr()
|
D | b.c | 295 static int bufsz = 100; in cclenter() local 298 if (buf == 0 && (buf = (uschar *) malloc(bufsz)) == NULL) in cclenter() 316 if (!adjbuf((char **) &buf, &bufsz, bp-buf+2, 100, (char **) &bp, "cclenter1")) in cclenter() 324 if (!adjbuf((char **) &buf, &bufsz, bp-buf+2, 100, (char **) &bp, "cclenter2")) in cclenter() 775 static int bufsz = 100; in relex() local 799 if (buf == 0 && (buf = (uschar *) malloc(bufsz)) == NULL) in relex() 809 if (!adjbuf((char **) &buf, &bufsz, n, n, (char **) &bp, "relex1")) in relex() 836 if (!adjbuf((char **) &buf, &bufsz, bp-buf+1, 100, (char **) &bp, "relex2")) in relex()
|
/external/icu/icu4c/source/extra/uconv/ |
D | uconv.cpp | 538 bufsz(0), signature(0) {} in ConvertFile() 542 bufsz = bufferSize; in setBufferSize() 544 buf = new char[2 * bufsz]; in setBufferSize() 545 outbuf = buf + bufsz; in setBufferSize() 548 fromoffsets = new int32_t[bufsz + 1]; in setBufferSize() 573 size_t bufsz; member in ConvertFile 741 rd = fread(buf, 1, bufsz, infile); in convertFile() 761 flush = (UBool)(rd != bufsz); in convertFile() 768 unibuf = unibufp = u.getBuffer((int32_t)bufsz); in convertFile() 772 ucnv_toUnicode(convfrom, &unibufp, unibuf + bufsz, &cbufp, in convertFile() [all …]
|
/external/python/cpython3/Modules/ |
D | getpath.c | 793 size_t bufsz = wcslen(calculate->zip_path); in calculate_zip_path() local 794 calculate->zip_path[bufsz - 6] = VERSION[0]; in calculate_zip_path() 795 calculate->zip_path[bufsz - 5] = VERSION[2]; in calculate_zip_path() 806 size_t bufsz = 0; in calculate_module_search_path() local 808 bufsz += wcslen(core_config->module_search_path_env) + 1; in calculate_module_search_path() 818 bufsz += prefixsz; in calculate_module_search_path() 822 bufsz += delim - defpath + 1; in calculate_module_search_path() 825 bufsz += wcslen(defpath) + 1; in calculate_module_search_path() 831 bufsz += wcslen(calculate->zip_path) + 1; in calculate_module_search_path() 832 bufsz += wcslen(exec_prefix) + 1; in calculate_module_search_path() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_sanity.c | 532 if (sz * sizeof(int) > cmdbuf->bufsz) { in radeon_emit_packets() 554 cmdbuf->bufsz -= sz * sizeof(int); in radeon_emit_packets() 582 cmdbuf->bufsz -= sz * sizeof(int); in radeon_emit_scalars() 614 cmdbuf->bufsz -= sz * sizeof(int); in radeon_emit_scalars2() 654 cmdbuf->bufsz -= sz * sizeof(int); in radeon_emit_vectors() 793 cmdsz * 4 > cmdbuf->bufsz || in radeon_emit_packet3() 937 cmdbuf->bufsz -= cmdsz * 4; in radeon_emit_packet3() 987 cmdbuf.bufsz = rmesa->store.cmd_used; in radeonSanityCmdBuffer() 991 while ( cmdbuf.bufsz >= sizeof(header) ) { in radeonSanityCmdBuffer() 995 cmdbuf.bufsz -= sizeof(header); in radeonSanityCmdBuffer()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_sanity.c | 810 if (sz * sizeof(int) > cmdbuf->bufsz) { in radeon_emit_packets() 832 cmdbuf->bufsz -= sz * sizeof(int); in radeon_emit_packets() 860 cmdbuf->bufsz -= sz * sizeof(int); in radeon_emit_scalars() 892 cmdbuf->bufsz -= sz * sizeof(int); in radeon_emit_scalars2() 932 cmdbuf->bufsz -= sz * sizeof(int); in radeon_emit_vectors() 988 cmdbuf->bufsz -= sz * sizeof(int); in radeon_emit_veclinear() 1142 cmdsz * 4 > cmdbuf->bufsz || in radeon_emit_packet3() 1304 cmdbuf->bufsz -= cmdsz * 4; in radeon_emit_packet3() 1354 cmdbuf.bufsz = rmesa->store.cmd_used; in r200SanityCmdBuffer() 1358 while ( cmdbuf.bufsz >= sizeof(header) ) { in r200SanityCmdBuffer() [all …]
|
/external/u-boot/env/ |
D | common.c | 246 int env_complete(char *var, int maxv, char *cmdv[], int bufsz, char *buf) in env_complete() argument 258 if (found >= maxv - 2 || bufsz < vallen) in env_complete() 264 bufsz -= vallen; in env_complete()
|
/external/u-boot/drivers/net/ |
D | pic32_eth.c | 276 u32 idx, bufsz; in pic32_rx_desc_init() local 310 bufsz = readl(&ectl_p->con2.raw); in pic32_rx_desc_init() 311 bufsz &= ~(ETHCON_RXBUFSZ << ETHCON_RXBUFSZ_SHFT); in pic32_rx_desc_init() 312 bufsz |= ((MAX_RX_BUF_SIZE / 16) << ETHCON_RXBUFSZ_SHFT); in pic32_rx_desc_init() 313 writel(bufsz, &ectl_p->con2.raw); in pic32_rx_desc_init()
|
/external/kernel-headers/original/uapi/linux/ |
D | kexec.h | 55 size_t bufsz; member
|
/external/curl/lib/ |
D | version.c | 91 static size_t brotli_version(char *buf, size_t bufsz) in brotli_version() argument 98 return msnprintf(buf, bufsz, "%u.%u.%u", major, minor, patch); in brotli_version()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_curbe.c | 202 const GLuint bufsz = sz * 16 * sizeof(GLfloat); in brw_upload_constant_buffer() local 217 buf = intel_upload_space(brw, bufsz, 64, in brw_upload_constant_buffer()
|
/external/kmod/testsuite/ |
D | testsuite.c | 836 int len = 0, bufsz; in read_loaded_modules() local 855 bufsz = 0; in read_loaded_modules() 860 bufsz += strlen(dirent->d_name) + 1; in read_loaded_modules() 868 *buf = malloc(bufsz); in read_loaded_modules()
|
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/ |
D | p1.cpp | 116 constexpr int bufsz = 1024; variable
|