Searched refs:out_buf (Results 1 - 25 of 25) sorted by relevance

/macosx-10.10.1/OpenSSH-189/openssh/
H A Droaming_common.c41 static char *out_buf = NULL; variable
84 if (out_buf == NULL) {
86 out_buf = xmalloc(size);
125 memcpy(out_buf + out_last, buf, count);
132 memcpy(out_buf + out_last, buf, chunk);
133 memcpy(out_buf, buf + chunk, count - chunk);
214 atomicio(vwrite, fd, out_buf + out_buf_size - chunkend,
216 atomicio(vwrite, fd, out_buf, out_last);
218 atomicio(vwrite, fd, out_buf + (out_last - needed), needed);
H A Dumac.c202 UINT8 out_buf[AES_BLOCK_LEN]; local
211 aes_encryption(in_buf, out_buf, key);
212 memcpy(dst_buf,out_buf,AES_BLOCK_LEN);
218 aes_encryption(in_buf, out_buf, key);
219 memcpy(dst_buf,out_buf,nbytes);
/macosx-10.10.1/libarchive-30/libarchive/libarchive/
H A Darchive_read_support_compression_program.c129 char *out_buf; member in struct:program_filter
361 char *out_buf; local
366 out_buf = (char *)malloc(out_buf_len);
368 if (state == NULL || out_buf == NULL || description == NULL) {
372 free(out_buf);
383 state->out_buf = out_buf;
388 free(state->out_buf);
424 p = state->out_buf;
438 *buff = state->out_buf;
[all...]
/macosx-10.10.1/passwordserver_sasl-193/cyrus_sasl/plugins/
H A Danonymous.c196 char *out_buf; member in struct:client_context
314 result = _plug_buf_alloc(cparams->utils, &text->out_buf,
319 strcpy(text->out_buf, user);
320 text->out_buf[userlen] = '@';
322 memcpy(text->out_buf + userlen + 1, hostname, strlen(hostname));
324 *clientout = text->out_buf;
346 if (text->out_buf) utils->free(text->out_buf);
H A Dplain.c276 char *out_buf; member in struct:client_context
407 result = _plug_buf_alloc(params->utils, &(text->out_buf),
411 memset(text->out_buf, 0, *clientoutlen + 1);
412 p = text->out_buf;
421 *clientout = text->out_buf;
449 if (text->out_buf) utils->free(text->out_buf);
H A Dotp.c307 char *out_buf; member in struct:server_context
410 result = _plug_buf_alloc(params->utils, &(text->out_buf),
415 result = opiechallenge(&text->opie, text->authid, text->out_buf);
421 *serverout = text->out_buf;
422 *serveroutlen = strlen(text->out_buf);
505 if (text->out_buf) utils->free(text->out_buf);
1090 result = _plug_buf_alloc(params->utils, &(text->out_buf),
1095 sprintf(text->out_buf, "otp-%s %u %s ext",
1098 *serverout = text->out_buf;
1462 char *out_buf; member in struct:client_context
[all...]
H A Dscram.c447 char * out_buf; member in struct:server_context
1033 &(text->out_buf),
1042 sprintf(text->out_buf,
1062 strcpy (text->auth_message + pure_scram_length + 1, text->out_buf);
1068 *serverout = text->out_buf;
1069 *serveroutlen = (unsigned) strlen(text->out_buf);
1370 &(text->out_buf),
1379 text->out_buf[0] = 'v';
1380 text->out_buf[1] = '=';
1385 text->out_buf
1791 char * out_buf; member in struct:client_context
[all...]
H A Dpassdss.c113 char *out_buf; member in struct:context
769 if (text->out_buf) utils->free(text->out_buf);
900 result = MakeBuffer(text->utils, &text->out_buf, 0, &text->out_buf_len,
916 EVP_DigestUpdate(&mdctx, text->out_buf, *serveroutlen);
931 HMAC_Update(&text->hmac_recv_ctx, text->out_buf, *serveroutlen);
943 result = MakeBuffer(text->utils, &text->out_buf, *serveroutlen,
950 *serverout = text->out_buf;
1349 result = MakeBuffer(text->utils, &text->out_buf, 0, &text->out_buf_len,
1357 *clientout = text->out_buf;
[all...]
H A Dkerberos4.c182 char *out_buf; /* per-step mem management */ member in struct:context
379 if (text->out_buf) utils->free(text->out_buf);
501 result = _plug_buf_alloc(text->utils, &text->out_buf,
505 memcpy(text->out_buf,&nchal,4);
506 *serverout = text->out_buf;
636 result = _plug_buf_alloc(text->utils, &text->out_buf,
641 memcpy(text->out_buf,&sout,8);
642 *serverout = text->out_buf;
1048 ret = _plug_buf_alloc(text->utils, &(text->out_buf),
[all...]
H A Ddigestmd5.c253 char *out_buf; member in struct:context
1635 if (text->out_buf) utils->free(text->out_buf);
2004 text->out_buf = NULL;
2007 &text->out_buf, &text->out_buf_len, &resplen,
2017 &text->out_buf, &text->out_buf_len, &resplen,
2033 &text->out_buf, &text->out_buf_len, &resplen,
2047 &text->out_buf, &text->out_buf_len, &resplen,
2059 &text->out_buf, &text->out_buf_len, &resplen,
2076 &text->out_buf,
[all...]
H A Dntlm.c458 char *out_buf; member in struct:server_context
1007 if (_plug_buf_alloc(utils, &text->out_buf, &text->out_buf_len,
1013 rc = retry_read(text->sock, text->out_buf, len);
1019 p = (unsigned char *)text->out_buf;
1229 if (_plug_buf_alloc(utils, &text->out_buf, &text->out_buf_len,
1236 rc = retry_read(text->sock, text->out_buf, len);
1242 p = (unsigned char *)text->out_buf;
1450 &text->out_buf, &text->out_buf_len,
1454 *serverout = text->out_buf;
1581 sparams->utils, &text->out_buf,
1760 char *out_buf; member in struct:client_context
[all...]
H A Dcram.c498 char *out_buf; member in struct:client_context
677 result = _plug_buf_alloc(params->utils, &(text->out_buf),
681 snprintf(text->out_buf, maxsize, "%s %s", oparams->authid, in16);
683 *clientout = text->out_buf;
715 if (text->out_buf) utils->free(text->out_buf);
H A Dgssapi.c169 unsigned char *out_buf; /* per-step mem management */ member in struct:context
563 if (text->out_buf) {
564 text->utils->free(text->out_buf);
565 text->out_buf = NULL;
813 ret = _plug_buf_alloc(text->utils, &(text->out_buf),
821 memcpy(text->out_buf, output_token->value, *serveroutlen);
822 *serverout = (char *)text->out_buf;
1058 ret = _plug_buf_alloc(text->utils, &(text->out_buf),
1066 memcpy(text->out_buf, output_token->value, *serveroutlen);
1067 *serverout = (char *)text->out_buf;
[all...]
H A Dgs2.c112 char *out_buf; member in struct:context
251 if (text->out_buf != NULL) {
252 text->utils->free(text->out_buf);
253 text->out_buf = NULL;
430 ret = _plug_buf_alloc(text->utils, &text->out_buf,
434 memcpy(text->out_buf, output_token.value, *serveroutlen);
435 *serverout = text->out_buf;
777 &text->out_buf, &text->out_buf_len);
806 &text->out_buf, &text->out_buf_len);
811 *clientout = text->out_buf;
[all...]
H A Dsrp.c256 char *out_buf; member in struct:context
1515 if (text->out_buf) utils->free(text->out_buf);
1968 result = MakeBuffer(text->utils, &text->out_buf, &text->out_buf_len,
1977 *serverout = text->out_buf;
2119 result = MakeBuffer(text->utils, &text->out_buf, &text->out_buf_len,
2127 *serverout = text->out_buf;
2279 r = MakeBuffer(text->utils, &text->out_buf, &text->out_buf_len,
2288 buffer = text->out_buf;
2821 result = MakeBuffer(text->utils, &text->out_buf,
[all...]
/macosx-10.10.1/OpenSSL098-52/src/apps/
H A Dpasswd.c312 static char out_buf[6 + 9 + 24 + 2]; /* "$apr1$..salt..$.......md5hash..........\0" */ local
321 out_buf[0] = '$';
322 out_buf[1] = 0;
324 strncat(out_buf, magic, 4);
325 strncat(out_buf, "$", 1);
326 strncat(out_buf, salt, 8);
327 assert(strlen(out_buf) <= 6 + 8); /* "$apr1$..salt.." */
328 salt_out = out_buf + 2 + strlen(magic);
391 assert(output == out_buf + strlen(out_buf));
[all...]
/macosx-10.10.1/passwordserver_sasl-193/cyrus_sasl/lib/
H A Dexternal.c218 char *out_buf; member in struct:client_context
313 result = _buf_alloc(&text->out_buf, &text->out_buf_len, *clientoutlen + 1);
327 memcpy(text->out_buf, user, *clientoutlen);
335 text->out_buf[*clientoutlen] = '\0';
337 *clientout = text->out_buf;
360 if(text->out_buf) sasl_FREE(text->out_buf);
/macosx-10.10.1/Heimdal-398.1.2/appl/push/
H A Dpush.c214 char out_buf[PUSH_BUFSIZ]; local
273 out_len = snprintf (out_buf, sizeof(out_buf),
276 if (out_len < 0 || out_len > sizeof(out_buf))
278 if (net_write (s, out_buf, out_len) != out_len)
281 fprintf (stderr, "%s", out_buf);
481 out_len = snprintf (out_buf, sizeof(out_buf),
484 out_len = snprintf (out_buf, sizeof(out_buf),
[all...]
/macosx-10.10.1/eap8021x-198/EAP8021X.fproj/
H A Dpeap_plugin.c603 char * out_buf, int * out_buf_size,
634 EAPPacketCreate(out_buf, *out_buf_size,
676 char * out_buf, int * out_buf_size,
701 EAPPacketCreate(out_buf, *out_buf_size,
792 char out_buf[2048]; local
874 EAPPacketCreate(out_buf, sizeof(out_buf),
882 EAPPacketCreate(out_buf, sizeof(out_buf),
888 out_pkt_size = sizeof(out_buf);
601 peap_process_extensions(PEAPPluginDataRef context, EAPExtensionsPacketRef in_pkt_p, char * out_buf, int * out_buf_size, EAPClientStatus * client_status) argument
675 peap_eap_process(EAPClientPluginDataRef plugin, EAPRequestPacketRef in_pkt_p, char * out_buf, int * out_buf_size, EAPClientStatus * client_status, bool * call_module_free_packet) argument
[all...]
H A Deapfast_plugin.c1997 char * out_buf, int * out_buf_size,
2022 EAPPacketCreate(out_buf, *out_buf_size,
1996 eapfast_eap_process(EAPClientPluginDataRef plugin, EAPRequestPacketRef in_pkt_p, char * out_buf, int * out_buf_size, EAPClientStatus * client_status, bool * call_module_free_packet) argument
/macosx-10.10.1/postfix-255/postfix/src/util/
H A Dname_mask.c489 VSTRING *out_buf = vstring_alloc(1); local
499 demo_str = str_name_mask_opt(out_buf, "mask", demo_table,
507 vstring_free(out_buf);
/macosx-10.10.1/rsync-45/rsync/
H A Dlog.c305 char *in_buf = buf, *out_buf = convbuf; local
310 &out_buf,&out_cnt) == (size_t)-1) {
311 if (out_buf != convbuf) {
312 filtered_fwrite(f, convbuf, out_buf - convbuf, 0);
313 out_buf = convbuf;
321 if (out_buf != convbuf)
322 filtered_fwrite(f, convbuf, out_buf - convbuf, 0);
/macosx-10.10.1/bind9-45.101/bind9/unit/atf-src/atf-c/detail/
H A Dfs.c812 goto out_buf;
817 out_buf:
841 goto out_buf;
847 out_buf:
/macosx-10.10.1/emacs-93/emacs/src/
H A Dmac.c4798 UniChar *in_text, *buffer = NULL, *out_buf = NULL;
4827 out_buf = xmalloc (out_size);
4833 out_buf);
4836 xfree (out_buf);
4843 result = CFStringCreateWithCharacters (NULL, out_buf,
4847 if (out_buf)
4848 xfree (out_buf);
4794 UniChar *in_text, *buffer = NULL, *out_buf = NULL; local
/macosx-10.10.1/vim-55/src/
H A Dterm.c2514 * the number of calls to ui_write is reduced by using the buffer "out_buf"
2526 static char_u out_buf[OUT_SIZE + 1]; variable
2527 static int out_pos = 0; /* number of chars in out_buf */
2542 ui_write(out_buf, len);
2585 out_buf[out_pos++] = c;
2606 out_buf[out_pos++] = c;

Completed in 193 milliseconds