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

123

/macosx-10.10/Libc-1044.1.2/net/FreeBSD/
H A Dnsap_addr.c91 char *tmpbuf = NULL; local
94 if (tmpbuf == NULL) {
95 tmpbuf = malloc(255*3);
96 if (tmpbuf == NULL) return NULL;
101 ascii = tmpbuf;
102 start = tmpbuf;
/macosx-10.10/file-46/file/src/
H A Dreadmacho.c71 unsigned char *tmpbuf; local
124 tmpbuf = malloc(HOWMANY + 1);
125 memset(tmpbuf, 0, sizeof(tmpbuf));
126 if ((tbytes = read(fd, tmpbuf, HOWMANY)) == -1) {
128 free(tmpbuf);
132 file_buffer(ms, -1, inname, tmpbuf, (size_t)tbytes);
133 free(tmpbuf);
/macosx-10.10/OpenSSL098-52/src/crypto/des/
H A Denc_read.c99 static unsigned char *tmpbuf=NULL; local
104 if (tmpbuf == NULL)
106 tmpbuf=OPENSSL_malloc(BSIZE);
107 if (tmpbuf == NULL) return(-1);
210 DES_pcbc_encrypt(net,tmpbuf,num,sched,iv,
213 DES_cbc_encrypt(net,tmpbuf,num,sched,iv,
218 memcpy(buf,tmpbuf,num);
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/servers/slapd/shell-backends/
H A Dpasswd-shell.c51 static char tmpbuf[ MAXLINELEN * 2 ]; variable
154 i = snprintf( tmpbuf, sizeof( tmpbuf ), "cn=%s, %s", pw->pw_name, op->ldop_suffixes[ 0 ] );
159 i = snprintf( tmpbuf, sizeof( tmpbuf ), "%s@%s", pw->pw_name, op->ldop_suffixes[ 0 ] );
162 if ( i < 0 || i >= sizeof( tmpbuf ) ) {
167 entry->lde_dn = estrdup( tmpbuf );
/macosx-10.10/OpenSSL098-52/src/crypto/rand/
H A Drand_unix.c159 unsigned char tmpbuf[ENTROPY_NEEDED]; local
258 r = read(fd,(unsigned char *)tmpbuf+n, ENTROPY_NEEDED-n);
290 r = RAND_query_egd_bytes(*egdsocket, (unsigned char *)tmpbuf+n,
300 RAND_add(tmpbuf,sizeof tmpbuf,(double)n);
301 OPENSSL_cleanse(tmpbuf,n);
/macosx-10.10/Heimdal-398.1.2/appl/popper/
H A Dpop_send.c117 static char tmpbuf[MAXMSGLINELEN + 20]; local
118 if (snprintf (tmpbuf,
119 sizeof(tmpbuf),
122 pop_sendline (p,tmpbuf);
/macosx-10.10/ntp-92/ntpq/
H A Dlibntpq.c79 char* tmpbuf = srcbuf; local
81 while ( *tmpbuf != 0 )
83 if ( *tmpbuf == '\"' )
85 tmpbuf++;
89 if ( *tmpbuf == '\\' )
91 tmpbuf++;
92 switch ( *tmpbuf )
103 tmpbuf++;
108 *resultbuf++ = *tmpbuf++;
/macosx-10.10/libiconv-42/libiconv/extras/
H A Diconv_string.c71 char tmpbuf[tmpbufsize]; local
75 char* outptr = tmpbuf;
88 count += outptr-tmpbuf;
91 char* outptr = tmpbuf;
100 count += outptr-tmpbuf;
/macosx-10.10/ncurses-44/ncurses/progs/
H A Ddump_entry.c67 static DYNBUF tmpbuf; variable
141 free_DYN(&tmpbuf);
485 strncpy_DYN(&tmpbuf, src++, 1);
495 tmpbuf.text[tmpbuf.used - 1] = '\n';
498 indent_DYN(&tmpbuf, level);
499 strncpy_DYN(&tmpbuf, "%", 1);
500 strncpy_DYN(&tmpbuf, src, 1);
504 strncpy_DYN(&tmpbuf, "\n", 1);
505 indent_DYN(&tmpbuf, leve
[all...]
/macosx-10.10/patch_cmds-17/patch/
H A Dutil.c306 char *tmpbuf; local
308 if ((tmpbuf = strdup(filename)) == NULL)
312 char *s = strrchr(tmpbuf, '/');
317 if (mkpath(tmpbuf) != 0)
318 pfatal("creation of %s failed", tmpbuf);
319 free(tmpbuf);
381 char *filebase, *filedir, tmpbuf[MAXPATHLEN]; local
388 (snprintf(tmpbuf, sizeof tmpbuf, f, a1, a2, a3), stat(tmpbuf,
[all...]
/macosx-10.10/OpenSSL098-52/src/engines/
H A De_cswift.c549 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
551 sprintf(tmpbuf, "%ld", sw_status);
552 ERR_add_error_data(2, "CryptoSwift error number is ",tmpbuf);
566 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
568 sprintf(tmpbuf, "%ld", sw_status);
569 ERR_add_error_data(2, "CryptoSwift error number is ",tmpbuf);
694 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
696 sprintf(tmpbuf, "%ld", sw_status);
697 ERR_add_error_data(2, "CryptoSwift error number is ",tmpbuf);
711 char tmpbuf[DECIMAL_SIZ local
876 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
894 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
987 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
1009 char tmpbuf[DECIMAL_SIZE(sw_status)+1]; local
1074 char tmpbuf[20]; local
1090 char tmpbuf[20]; local
[all...]
/macosx-10.10/bind9-45.101/bind9/lib/bind9/
H A Dgetaddresses.c90 char tmpbuf[128], *d; local
93 strcpy(tmpbuf, hostname);
94 d = strchr(tmpbuf, '%');
98 if (inet_pton(AF_INET6, tmpbuf, &in6) == 1) {
/macosx-10.10/hfs-285/fsck_hfs/dfalib/
H A DBTreeScanner.c232 Buf_t *tmpbuf = NULL; local
235 myPhyOffset, myContiguousBytes, &tmpbuf );
239 if (tmpbuf)
241 if (tmpbuf->Length < myContiguousBytes)
243 memcpy(theScanStatePtr->bufferPtr, tmpbuf->Buffer, myContiguousBytes);
244 CacheRelease(myBTreeCBPtr->fcbPtr->fcbVolume->vcbBlockCache, tmpbuf, 0);
/macosx-10.10/ntp-92/ntpd/
H A Drefclock_neoclock4x.c735 char tmpbuf[80]; local
740 snprintf(tmpbuf, sizeof(tmpbuf)-1,
745 tt = add_var(&out->kv_list, sizeof(tmpbuf)-1, RO|DEF);
746 snprintf(tt, sizeof(tmpbuf)-1, "calc_utc=\"%s\"", tmpbuf);
910 char tmpbuf[256]; local
927 memset(tmpbuf, 0x00, sizeof(tmpbuf));
941 strcpy(tmpbuf, "unknow
[all...]
/macosx-10.10/Heimdal-398.1.2/lib/libedit/src/
H A Dsearch.c455 Char tmpbuf[EL_BUFSIZ]; local
459 tmpbuf[0] = '.';
460 tmpbuf[1] = '*';
466 tmplen = c_gets(el, &tmpbuf[LEN],
472 ch = tmpbuf[tmplen];
473 tmpbuf[tmplen] = '\0';
486 (void) Strncpy(tmpbuf, el->el_search.patbuf,
487 sizeof(tmpbuf) / sizeof(*tmpbuf) - 1);
490 (void) Strncpy(&el->el_search.patbuf[2], tmpbuf,
[all...]
/macosx-10.10/libedit-40/src/
H A Dsearch.c458 Char tmpbuf[EL_BUFSIZ]; local
462 tmpbuf[0] = '.';
463 tmpbuf[1] = '*';
469 tmplen = c_gets(el, &tmpbuf[LEN],
475 ch = tmpbuf[tmplen];
476 tmpbuf[tmplen] = '\0';
489 (void) Strncpy(tmpbuf, el->el_search.patbuf,
490 sizeof(tmpbuf) / sizeof(*tmpbuf) - 1);
493 (void) Strncpy(&el->el_search.patbuf[2], tmpbuf,
[all...]
/macosx-10.10/lukemftp-14/tnftp/libedit/
H A Dsearch.c439 char tmpbuf[EL_BUFSIZ]; local
443 tmpbuf[0] = '.';
444 tmpbuf[1] = '*';
450 tmplen = c_gets(el, &tmpbuf[LEN],
456 ch = tmpbuf[tmplen];
457 tmpbuf[tmplen] = '\0';
470 (void) strncpy(tmpbuf, el->el_search.patbuf,
471 sizeof(tmpbuf) - 1);
474 (void) strncpy(&el->el_search.patbuf[2], tmpbuf,
484 tmpbuf[tmple
[all...]
/macosx-10.10/curl-83.1.2/curl/lib/
H A Dcurl_ntlm_wb.c232 char *tmpbuf = buf; local
250 size = sread(conn->ntlm_auth_hlpr_socket, tmpbuf, len_out);
258 else if(tmpbuf[size - 1] == '\n') {
259 tmpbuf[size - 1] = '\0';
262 tmpbuf += size;
/macosx-10.10/OpenSSL098-52/src/apps/
H A Dasn1pars.c96 unsigned char *tmpbuf; local
307 tmpbuf=(unsigned char *)str;
319 tmpbuf+=j;
322 ctmpbuf = tmpbuf;
341 tmpbuf=at->value.asn1_string->data;
344 str=(char *)tmpbuf;
/macosx-10.10/smb-759.0/kernel/netsmb/
H A Dsmb_smb.c591 uint8_t *tmpbuf= NULL; local
605 SMB_MALLOC(tmpbuf, uint8_t *, bc, M_SMBTEMP, M_WAITOK);
606 if (!tmpbuf)
609 error = md_get_mem(mdp, (void *)tmpbuf, bc, MB_MSYSTEM);
614 smb_hexdump(__FUNCTION__, "BLOB = ", tmpbuf, bc);
619 lanmanoffset = oslen = smb_utf16_strnsize((const uint16_t *)tmpbuf, bc);
624 lanmanlen = smb_utf16_strnsize((const uint16_t *)&tmpbuf[lanmanoffset], bc);
632 lanmanoffset = oslen = strnlen((const char *)tmpbuf, bc);
637 lanmanlen = strnlen((const char *)&tmpbuf[lanmanoffset], bc);
651 smb_hexdump(__FUNCTION__, "OS = ", tmpbuf, osle
1209 char *tmpbuf = NULL; local
[all...]
/macosx-10.10/bind9-45.101/bind9/contrib/query-loc-0.4.0/
H A Dloc_ntoa.c127 static char tmpbuf[sizeof local
147 ascii = tmpbuf;
/macosx-10.10/emacs-93/emacs/src/
H A Dunexnext.c478 char tmpbuf[L_tmpnam]; local
487 tmpnam(tmpbuf);
488 tmpfile = rindex(tmpbuf, '/');
490 tmpfile = tmpbuf;
/macosx-10.10/bind9-45.101/bind9/lib/isc/win32/
H A Dfsaccess.c63 char tmpbuf[256]; local
87 strcpy(tmpbuf, filename);
88 machinename = strtok(tmpbuf, "\\");
/macosx-10.10/ntp-92/lib/isc/win32/
H A Dfsaccess.c63 char tmpbuf[256]; local
87 strcpy(tmpbuf, filename);
88 machinename = strtok(tmpbuf, "\\");
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/sgi/
H A Dsgi.c193 UShort *tmpbuf; member in struct:__anon13217
427 if( (image->tmpbuf = ibufalloc(image)) == 0 ) {
428 i_errhdlr("iopen: error on tmpbuf alloc %d\n",image->xsize);
482 if(image->tmpbuf) {
483 free(image->tmpbuf);
484 image->tmpbuf = 0;
923 cptr = (unsigned char *)image->tmpbuf;
935 if (img_write(image,(char *)(image->tmpbuf),cnt) != cnt)
983 cnt = img_rle_compact(buffer,2,image->tmpbuf,1,image->xsize);
986 if (img_write(image,(char *)(image->tmpbuf),cn
[all...]

Completed in 308 milliseconds

123