Home
last modified time | relevance | path

Searched refs:tmpbuf (Results 1 – 25 of 30) sorted by relevance

12

/minix3/tests/fs/common/
H A Dfstest_zfs.c102 char tmpbuf[128]; in zfs_fstest_mount() local
107 snprintf(tmpbuf, sizeof(tmpbuf)-1, "blanket=/dev/zfs:%s:%s", in zfs_fstest_mount()
109 setenv("RUMPHIJACK", tmpbuf, 1); in zfs_fstest_mount()
116 snprintf(tmpbuf, sizeof(tmpbuf)-1, "zpool create %s %s", in zfs_fstest_mount()
118 if ((error = system(tmpbuf)) != 0) { in zfs_fstest_mount()
/minix3/external/bsd/top/dist/
H A Dcommands.c595 char tmpbuf[20]; in cmd_number() local
598 newval = readline(tmpbuf, 8, Yes); in cmd_number()
628 char tmpbuf[20]; in cmd_delay() local
631 if (readline(tmpbuf, 8, No) > 0) in cmd_delay()
633 newval = atof(tmpbuf); in cmd_delay()
661 char tmpbuf[20]; in cmd_displays() local
667 if ((i = readline(tmpbuf, 10, Yes)) > 0) in cmd_displays()
698 char tmpbuf[MAX_COLS]; in cmd_order() local
704 if (readline(tmpbuf, sizeof(tmpbuf), No) > 0) in cmd_order()
706 if ((i = string_index(tmpbuf, gstate->statics->order_names)) == -1) in cmd_order()
[all …]
/minix3/crypto/external/bsd/openssl/lib/libdes/
H A Doenc_read.c98 static unsigned char *tmpbuf=NULL; in des_enc_read() local
103 if (tmpbuf == NULL) in des_enc_read()
105 tmpbuf=OPENSSL_malloc(BSIZE); in des_enc_read()
106 if (tmpbuf == NULL) return(-1); in des_enc_read()
205 des_pcbc_encrypt(net,tmpbuf,num,sched,iv, in des_enc_read()
208 des_cbc_encrypt(net,tmpbuf,num,sched,iv, in des_enc_read()
213 memcpy(buf,tmpbuf,num); in des_enc_read()
/minix3/crypto/external/bsd/openssl/dist/crypto/des/
H A Denc_read.c102 static unsigned char *tmpbuf = NULL; in OPENSSL_IMPLEMENT_GLOBAL()
107 if (tmpbuf == NULL) { in OPENSSL_IMPLEMENT_GLOBAL()
108 tmpbuf = OPENSSL_malloc(BSIZE); in OPENSSL_IMPLEMENT_GLOBAL()
109 if (tmpbuf == NULL) in OPENSSL_IMPLEMENT_GLOBAL()
217 DES_pcbc_encrypt(net, tmpbuf, num, sched, iv, DES_DECRYPT); in OPENSSL_IMPLEMENT_GLOBAL()
219 DES_cbc_encrypt(net, tmpbuf, num, sched, iv, DES_DECRYPT); in OPENSSL_IMPLEMENT_GLOBAL()
225 memcpy(buf, tmpbuf, num); in OPENSSL_IMPLEMENT_GLOBAL()
H A Ddes.c489 char tmpbuf[8]; in doencryption() local
492 memcpy(tmpbuf, &(buf[l]), (unsigned int)rem); in doencryption()
496 memcpy(&(buf[l]), tmpbuf, (unsigned int)rem); in doencryption()
/minix3/usr.bin/patch/
H A Dutil.c322 char *tmpbuf; in makedirs() local
324 if ((tmpbuf = strdup(filename)) == NULL) in makedirs()
328 char *s = strrchr(tmpbuf, '/'); in makedirs()
330 free(tmpbuf); in makedirs()
335 if (mkpath(tmpbuf) != 0) in makedirs()
336 pfatal("creation of %s failed", tmpbuf); in makedirs()
337 free(tmpbuf); in makedirs()
399 char *filebase, *filedir, tmpbuf[MAXPATHLEN]; in checked_in() local
406 (snprintf(tmpbuf, sizeof tmpbuf, f, a1, a2, a3), stat(tmpbuf, &filestat) == 0) in checked_in()
/minix3/crypto/external/bsd/openssl/dist/engines/
H A De_cswift.c547 char tmpbuf[DECIMAL_SIZE(sw_status) + 1]; in cswift_mod_exp() local
549 sprintf(tmpbuf, "%ld", sw_status); in cswift_mod_exp()
550 ERR_add_error_data(2, "CryptoSwift error number is ", tmpbuf); in cswift_mod_exp()
563 char tmpbuf[DECIMAL_SIZE(sw_status) + 1]; in cswift_mod_exp() local
565 sprintf(tmpbuf, "%ld", sw_status); in cswift_mod_exp()
566 ERR_add_error_data(2, "CryptoSwift error number is ", tmpbuf); in cswift_mod_exp()
684 char tmpbuf[DECIMAL_SIZE(sw_status) + 1]; in cswift_mod_exp_crt() local
686 sprintf(tmpbuf, "%ld", sw_status); in cswift_mod_exp_crt()
687 ERR_add_error_data(2, "CryptoSwift error number is ", tmpbuf); in cswift_mod_exp_crt()
700 char tmpbuf[DECIMAL_SIZE(sw_status) + 1]; in cswift_mod_exp_crt() local
[all …]
H A De_capi.c863 unsigned char *tmpbuf; in capi_rsa_priv_dec() local
885 if (!(tmpbuf = OPENSSL_malloc(flen))) { in capi_rsa_priv_dec()
890 tmpbuf[flen - i - 1] = from[i]; in capi_rsa_priv_dec()
893 if (!CryptDecrypt(capi_key->key, 0, TRUE, 0, tmpbuf, &flen)) { in capi_rsa_priv_dec()
896 OPENSSL_free(tmpbuf); in capi_rsa_priv_dec()
899 memcpy(to, tmpbuf, flen); in capi_rsa_priv_dec()
901 OPENSSL_free(tmpbuf); in capi_rsa_priv_dec()
/minix3/tests/lib/libcurses/slave/
H A Dslave.c60 char *cmdbuf, *tmpbuf, **args, **tmpargs; in process_commands() local
78 if ((tmpbuf = realloc(cmdbuf, maxlen)) == NULL) in process_commands()
81 cmdbuf = tmpbuf; in process_commands()
127 ret = asprintf(&tmpbuf, in process_commands()
134 args[argslen] = tmpbuf; in process_commands()
/minix3/crypto/external/bsd/openssl/dist/crypto/rand/
H A Drand_unix.c248 unsigned char tmpbuf[ENTROPY_NEEDED]; in RAND_poll() local
357 r = read(fd, (unsigned char *)tmpbuf + n, in RAND_poll()
396 r = RAND_query_egd_bytes(*egdsocket, (unsigned char *)tmpbuf + n, in RAND_poll()
405 RAND_add(tmpbuf, sizeof tmpbuf, (double)n); in RAND_poll()
406 OPENSSL_cleanse(tmpbuf, n); in RAND_poll()
/minix3/lib/libedit/
H A Dsearch.c457 Char tmpbuf[EL_BUFSIZ]; in cv_search() local
461 tmpbuf[0] = '.'; in cv_search()
462 tmpbuf[1] = '*'; in cv_search()
468 tmplen = c_gets(el, &tmpbuf[LEN], in cv_search()
474 ch = tmpbuf[tmplen]; in cv_search()
475 tmpbuf[tmplen] = '\0'; in cv_search()
488 (void) Strncpy(tmpbuf, el->el_search.patbuf, in cv_search()
489 sizeof(tmpbuf) / sizeof(*tmpbuf) - 1); in cv_search()
492 (void) Strncpy(&el->el_search.patbuf[2], tmpbuf, in cv_search()
502 tmpbuf[tmplen++] = '.'; in cv_search()
[all …]
H A Dcommon.c907 Char tmpbuf[EL_BUFSIZ]; in ed_command() local
910 tmplen = c_gets(el, tmpbuf, STR("\n: ")); in ed_command()
913 if (tmplen < 0 || (tmpbuf[tmplen] = 0, parse_line(el, tmpbuf)) == -1) in ed_command()
/minix3/lib/libc/inet/
H A Dnsap_addr.c100 char *tmpbuf = inet_nsap_ntoa_tmpbuf; in inet_nsap_ntoa() local
108 ascii = tmpbuf; in inet_nsap_ntoa()
109 start = tmpbuf; in inet_nsap_ntoa()
/minix3/external/bsd/bind/dist/lib/bind9/
H A Dgetaddresses.c92 char tmpbuf[128], *d; in bind9_getaddresses() local
95 strcpy(tmpbuf, hostname); in bind9_getaddresses()
96 d = strchr(tmpbuf, '%'); in bind9_getaddresses()
100 if (inet_pton(AF_INET6, tmpbuf, &in6) == 1) { in bind9_getaddresses()
/minix3/crypto/external/bsd/openssl/dist/apps/
H A Dasn1pars.c98 unsigned char *tmpbuf; in MAIN() local
292 tmpbuf = (unsigned char *)str; in MAIN()
303 tmpbuf += j; in MAIN()
306 ctmpbuf = tmpbuf; in MAIN()
323 tmpbuf = at->value.asn1_string->data; in MAIN()
326 str = (char *)tmpbuf; in MAIN()
/minix3/crypto/external/bsd/openssl/dist/doc/crypto/
H A DBIO_f_ssl.pod139 char tmpbuf[1024];
191 len = BIO_read(sbio, tmpbuf, 1024);
193 BIO_write(out, tmpbuf, len);
205 char tmpbuf[1024];
295 len = BIO_gets(sbio, tmpbuf, 1024);
297 BIO_write(sbio, tmpbuf, len);
298 BIO_write(out, tmpbuf, len);
300 if((tmpbuf[0] == '\r') || (tmpbuf[0] == '\n')) break;
H A DBIO_s_connect.pod171 char tmpbuf[1024];
182 len = BIO_read(cbio, tmpbuf, 1024);
184 BIO_write(out, tmpbuf, len);
/minix3/external/bsd/bind/dist/contrib/query-loc-0.4.0/
H A Dloc_ntoa.c125 static char tmpbuf[sizeof local
145 ascii = tmpbuf;
/minix3/external/bsd/bind/dist/lib/isc/win32/
H A Dfsaccess.c65 char tmpbuf[256]; in is_ntfs() local
89 strcpy(tmpbuf, filename); in is_ntfs()
90 machinename = strtok(tmpbuf, "\\"); in is_ntfs()
/minix3/crypto/external/bsd/openssl/dist/crypto/pkcs7/
H A Dpk7_smime.c546 BIO *tmpbuf, *bread; in PKCS7_decrypt() local
548 if (!(tmpbuf = BIO_new(BIO_f_buffer()))) { in PKCS7_decrypt()
553 if (!(bread = BIO_push(tmpbuf, tmpmem))) { in PKCS7_decrypt()
555 BIO_free_all(tmpbuf); in PKCS7_decrypt()
/minix3/sys/ufs/chfs/
H A Dchfs_write.c291 void *tmpbuf = NULL; in chfs_write_flash_dnode() local
322 tmpbuf = kmem_zalloc(CHFS_PAD(size) in chfs_write_flash_dnode()
324 memcpy(tmpbuf, bp->b_data, len); in chfs_write_flash_dnode()
331 vec[1].iov_base = tmpbuf; in chfs_write_flash_dnode()
404 kmem_free(tmpbuf, CHFS_PAD(size) - sizeof(*dnode)); in chfs_write_flash_dnode()
/minix3/crypto/external/bsd/openssl/dist/crypto/pem/
H A Dpvkfmt.c97 unsigned char *tmpbuf, *q; in read_lebn() local
100 tmpbuf = OPENSSL_malloc(nbyte); in read_lebn()
101 if (!tmpbuf) in read_lebn()
103 q = tmpbuf; in read_lebn()
106 *r = BN_bin2bn(tmpbuf, nbyte, NULL); in read_lebn()
107 OPENSSL_free(tmpbuf); in read_lebn()
/minix3/external/bsd/top/dist/machine/
H A Dm_irixsgi.c345 char tmpbuf[20]; in machine_init() local
349 strncpy(tmpbuf, utsname.release, 9); in machine_init()
350 tmpbuf[9] = '\0'; in machine_init()
353 tmpbuf, utsname.machine); in machine_init()
/minix3/external/bsd/flex/dist/
H A Dmain.c451 struct Buf tmpbuf; in check_options() local
452 buf_init(&tmpbuf, sizeof(char)); in check_options()
461 buf_strappend(&tmpbuf, str); in check_options()
464 buf_m4_define(&m4defs_buf, "M4_YY_SC_DEFS", tmpbuf.elts); in check_options()
465 buf_destroy(&tmpbuf); in check_options()
/minix3/external/bsd/bind/dist/lib/dns/
H A Drdata.c1459 char tmpbuf[64]; in inet_totext() local
1462 if (inet_ntop(af, src->base, tmpbuf, sizeof(tmpbuf)) == NULL) in inet_totext()
1464 if (strlen(tmpbuf) > isc_buffer_availablelength(target)) in inet_totext()
1466 isc_buffer_putstr(target, tmpbuf); in inet_totext()

12