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

1234

/macosx-10.9.5/Security-55471.14.18/include/security_comcryption/
H A DcomcryptPriv.c120 void mallocCodeBufs(comcryptBuf *cbuf) argument
128 cbuf->codeBufSize = comcryptMaxOutBufSize(NULL,
132 cbuf->codeBuf = (unsigned char *)ascMalloc(cbuf->codeBufSize);
138 cbuf->level2BufSize = comcryptMaxOutBufSize(NULL,
142 cbuf->level2Buf = (unsigned char *)ascMalloc(cbuf->level2BufSize);
144 cbuf->queue = (queueElt *)ascMalloc(sizeof(queueElt) * QLEN);
155 cbuf->lookAhead = (unsigned char *)ascMalloc(LOOKAHEAD_SIZE);
157 cbuf
166 initCodeBufs( comcryptBuf *cbuf, const unsigned char *key, unsigned keyLen, unsigned char laEnable, unsigned char sigSeqEnable) argument
207 freeCodeBufs(comcryptBuf *cbuf) argument
330 testLookAhead(comcryptBuf *cbuf, int i1, int i2) argument
350 initTestLookAhead(comcryptBuf *cbuf) argument
392 initSigSequence(comcryptBuf *cbuf, const unsigned char *key, unsigned keyLen) argument
447 sigMunge(comcryptBuf *cbuf, const unsigned char *tokenPtr, unsigned numTokens, unsigned char *byteCodePtr, unsigned char *longCodePtr) argument
[all...]
H A DcomcryptPriv.h140 comcryptBuf cbuf; member in struct:__anon3654
316 comcryptBuf *cbuf,
331 void initSigSequence(comcryptBuf *cbuf,
334 void sigMunge(comcryptBuf *cbuf,
340 void nextSigWord(comcryptBuf *cbuf,
347 extern int testLookAhead(comcryptBuf *cbuf, int i1, int i2);
348 extern int initTestLookAhead(comcryptBuf *cbuf);
350 #define testLookAhead(cbuf, i1, i2)
351 #define initTestLookAhead(cbuf)
378 static inline void nextSigWord(comcryptBuf *cbuf, argument
[all...]
H A Dcomcryption.c84 mallocCodeBufs(&cpriv->cbuf);
85 if((cpriv->cbuf.codeBuf == NULL) ||
86 (cpriv->cbuf.level2Buf == NULL)) {
90 if(cpriv->cbuf.lookAhead == NULL) {
98 cpriv->cbuf.nextBuf = (comcryptBuf *)ascMalloc(sizeof(comcryptBuf));
99 if(cpriv->cbuf.nextBuf == NULL) {
102 mallocCodeBufs(cpriv->cbuf.nextBuf);
103 if((cpriv->cbuf.nextBuf->codeBuf == NULL) ||
104 (cpriv->cbuf.nextBuf->level2Buf == NULL)) {
108 if(cpriv->cbuf
397 comcryptBlock( comcryptPriv *cpriv, comcryptBuf *cbuf, const unsigned char *plainText, unsigned plainTextLen, unsigned char *cipherText, unsigned *cipherTextLen, unsigned recursLevel) argument
949 deComcryptBlock( comcryptPriv *cpriv, comcryptBuf *cbuf, unsigned char *cipherText, unsigned cipherTextLen, unsigned char *plainText, unsigned *plainTextLen, comcryptEos endOfStream, unsigned *blockSize) argument
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_comcryption/lib/
H A DcomcryptPriv.c120 void mallocCodeBufs(comcryptBuf *cbuf) argument
128 cbuf->codeBufSize = comcryptMaxOutBufSize(NULL,
132 cbuf->codeBuf = (unsigned char *)ascMalloc(cbuf->codeBufSize);
138 cbuf->level2BufSize = comcryptMaxOutBufSize(NULL,
142 cbuf->level2Buf = (unsigned char *)ascMalloc(cbuf->level2BufSize);
144 cbuf->queue = (queueElt *)ascMalloc(sizeof(queueElt) * QLEN);
155 cbuf->lookAhead = (unsigned char *)ascMalloc(LOOKAHEAD_SIZE);
157 cbuf
166 initCodeBufs( comcryptBuf *cbuf, const unsigned char *key, unsigned keyLen, unsigned char laEnable, unsigned char sigSeqEnable) argument
207 freeCodeBufs(comcryptBuf *cbuf) argument
330 testLookAhead(comcryptBuf *cbuf, int i1, int i2) argument
350 initTestLookAhead(comcryptBuf *cbuf) argument
392 initSigSequence(comcryptBuf *cbuf, const unsigned char *key, unsigned keyLen) argument
447 sigMunge(comcryptBuf *cbuf, const unsigned char *tokenPtr, unsigned numTokens, unsigned char *byteCodePtr, unsigned char *longCodePtr) argument
[all...]
H A DcomcryptPriv.h140 comcryptBuf cbuf; member in struct:__anon4366
316 comcryptBuf *cbuf,
331 void initSigSequence(comcryptBuf *cbuf,
334 void sigMunge(comcryptBuf *cbuf,
340 void nextSigWord(comcryptBuf *cbuf,
347 extern int testLookAhead(comcryptBuf *cbuf, int i1, int i2);
348 extern int initTestLookAhead(comcryptBuf *cbuf);
350 #define testLookAhead(cbuf, i1, i2)
351 #define initTestLookAhead(cbuf)
378 static inline void nextSigWord(comcryptBuf *cbuf, argument
[all...]
H A Dcomcryption.c84 mallocCodeBufs(&cpriv->cbuf);
85 if((cpriv->cbuf.codeBuf == NULL) ||
86 (cpriv->cbuf.level2Buf == NULL)) {
90 if(cpriv->cbuf.lookAhead == NULL) {
98 cpriv->cbuf.nextBuf = (comcryptBuf *)ascMalloc(sizeof(comcryptBuf));
99 if(cpriv->cbuf.nextBuf == NULL) {
102 mallocCodeBufs(cpriv->cbuf.nextBuf);
103 if((cpriv->cbuf.nextBuf->codeBuf == NULL) ||
104 (cpriv->cbuf.nextBuf->level2Buf == NULL)) {
108 if(cpriv->cbuf
397 comcryptBlock( comcryptPriv *cpriv, comcryptBuf *cbuf, const unsigned char *plainText, unsigned plainTextLen, unsigned char *cipherText, unsigned *cipherTextLen, unsigned recursLevel) argument
949 deComcryptBlock( comcryptPriv *cpriv, comcryptBuf *cbuf, unsigned char *cipherText, unsigned cipherTextLen, unsigned char *plainText, unsigned *plainTextLen, comcryptEos endOfStream, unsigned *blockSize) argument
[all...]
/macosx-10.9.5/uucp-11/uucp/uuconf/
H A Derrstr.c32 static char *zeprint_num P((char *zbuf, size_t cbuf, int ival));
39 uuconf_error_string (pglobal, ierr, zbuf, cbuf)
43 size_t cbuf;
146 if (cbuf == 0)
150 --cbuf;
155 if (ccopy > cbuf)
156 ccopy = cbuf;
159 cbuf -= ccopy;
160 if (cbuf > 0)
163 --cbuf;
[all...]
/macosx-10.9.5/Heimdal-323.92.1/lib/roken/
H A Dnet_read.c47 char *cbuf = (char *)buf; local
52 count = read (fd, cbuf, rem);
61 cbuf += count;
72 char *cbuf = (char *)buf; local
83 count = _read (sock, cbuf, rem);
85 count = recv (sock, cbuf, rem, 0);
93 count = _read (sock, cbuf, rem);
96 count = recv (sock, cbuf, rem, 0);
112 cbuf += count;
H A Dnet_write.c47 const char *cbuf = (const char *)buf; local
52 count = write (fd, cbuf, rem);
59 cbuf += count;
70 const char *cbuf = (const char *)buf; local
80 count = _write (sock, cbuf, rem);
82 count = send (sock, cbuf, rem, 0);
90 count = _write (sock, cbuf, rem);
93 count = send (sock, cbuf, rem, 0);
101 cbuf += count;
/macosx-10.9.5/curl-78.94.1/curl/lib/
H A Dsockaddr.h37 char cbuf[256]; /* this should be big enough to fit a lot */ member in union:Curl_sockaddr_storage::__anon7344
/macosx-10.9.5/ntp-88/libntp/
H A Ddolfptoa.c23 u_char cbuf[24]; local
36 memset((char *) cbuf, 0, sizeof(cbuf));
50 cp = cpend = &cbuf[10];
60 if (cp < cbuf) abort(); /* rather die a horrible death than trash the memory */
73 if (cp < cbuf) abort(); /* rather die a horrible death than trash the memory */
86 cpdec = &cbuf[13];
91 cpdec = &cbuf[10];
123 if (cpend > (cbuf + sizeof(cbuf))) abor
[all...]
H A Ddofptoa.c22 u_char cbuf[12]; local
35 memset((char *)cbuf, 0, sizeof cbuf);
41 cp = cpend = &cbuf[5];
68 cpdec = &cbuf[8];
/macosx-10.9.5/uucp-11/uucp/unix/
H A Dgetcwd.c11 getcwd (zbuf, cbuf)
13 size_t cbuf;
29 cread = fread (zbuf, sizeof (char), cbuf, e);
/macosx-10.9.5/vim-53/src/
H A Dworkshop.c279 char cbuf[BUFSIZ]; /* build vim command here */ local
287 vim_snprintf(cbuf, sizeof(cbuf), "w %s", filename);
288 coloncmd(cbuf, TRUE);
342 char cbuf[BUFSIZ]; /* command buffer */ local
373 vim_snprintf(cbuf, sizeof(cbuf),
375 coloncmd(cbuf, FALSE);
381 vim_snprintf(cbuf, sizeof(cbuf),
394 char cbuf[BUFSIZ]; /* command buffer */ local
414 char cbuf[BUFSIZ]; /* command buffer */ local
438 char cbuf[BUFSIZ]; /* command buffer */ local
460 char cbuf[BUFSIZ]; /* command buffer */ local
661 char cbuf[BUFSIZ]; local
784 char cbuf[BUFSIZ + MAXPATHLEN]; local
863 char cbuf[4096]; local
911 char cbuf[BUFSIZ]; /* command buffer */ local
980 char cbuf[BUFSIZ]; /* command buffer */ local
996 char cbuf[BUFSIZ]; /* command buffer */ local
1026 char cbuf[BUFSIZ]; /* command buffer */ local
1235 char cbuf[BUFSIZ]; /* command buffer */ local
1603 char cbuf[BUFSIZ]; local
[all...]
H A Dos_beos.c99 char cbuf[1];
110 count = read(0, &cbuf, sizeof(cbuf));
113 add_to_input_buf(&cbuf[0], count);
/macosx-10.9.5/Heimdal-323.92.1/lib/krb5/
H A Dnet_write.c56 const char *cbuf = (const char *)buf; local
85 count = send (fd, cbuf, rem, 0);
101 count = write (fd, cbuf, rem);
112 cbuf += count;
/macosx-10.9.5/xnu-2422.115.4/libsyscall/mach/
H A Dpanic.c64 extern int write(int fd, const char* cbuf, int nbyte);
H A Dfprintf_stderr.c41 int write(int fd, const char* cbuf, int nbyte);
/macosx-10.9.5/Heimdal-323.92.1/appl/ftp/ftpd/
H A Dftpcmd.y56 char cbuf[64*1024];
1135 if (ftpd_getline(cbuf, sizeof(cbuf)-1) == NULL) {
1141 if (strncasecmp(cbuf, "PASS", 4) != 0)
1142 setproctitle("%s: %s", proctitle, cbuf);
1144 if ((cp = strchr(cbuf, '\r'))) {
1148 if ((cp = strpbrk(cbuf, " \n")))
1149 cpos = cp - cbuf;
1152 c = cbuf[cpos];
1153 cbuf[cpo
[all...]
/macosx-10.9.5/Libc-997.90.3/gen/
H A Dwordexp.c204 char *cbuf = NULL; local
264 while(!cbuf || need > cbuf_l) {
268 cbuf = reallocf(cbuf, cbuf_l);
269 if (cbuf == NULL) {
273 cbuf[0] = '\0';
275 strlcat(cbuf, "set -u; ", cbuf_l);
284 strlcat(cbuf, "export IFS=${_IFS}; ", cbuf_l);
286 strlcat(cbuf, cmd, cbuf_l);
287 need = strlcat(cbuf, word
[all...]
/macosx-10.9.5/ntp-88/ntpd/
H A Drefclock_bancomm.c419 char cbuf[7]; local
472 sprintf(cbuf,"%3.3x", ((vts.btfp_time[ 0 ] & 0x000f) <<8) +
474 time_vme->day = (unsigned short)atoi(cbuf);
477 sprintf(cbuf,"%2.2x", vts.btfp_time[ 1 ] & 0x00ff);
479 time_vme->hr = (unsigned short)atoi(cbuf);
482 sprintf(cbuf,"%2.2x", (vts.btfp_time[ 2 ] & 0xff00) >>8);
483 time_vme->mn = (unsigned short)atoi(cbuf);
486 sprintf(cbuf,"%2.2x", vts.btfp_time[ 2 ] & 0x00ff);
487 time_vme->sec = (unsigned short)atoi(cbuf);
492 sprintf(cbuf,"
[all...]
/macosx-10.9.5/less-23/less/
H A Dcommand.c193 register char *cbuf; local
196 cbuf = get_cmdbuf();
202 multi_search(cbuf, (int) number);
208 while (*cbuf == '+' || *cbuf == ' ')
209 cbuf++;
212 if (*cbuf == '\0')
215 every_first_cmd = save(cbuf);
218 toggle_option(optchar, cbuf, optflag);
222 match_brac(cbuf[
918 register char *cbuf; local
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/i18n/
H A Dname2uni.cpp122 char* cbuf = (char*) uprv_malloc(maxLen); local
123 if (cbuf == NULL) {
191 name.extract(0, len, cbuf, maxLen, US_INV);
194 c = u_charFromName(U_EXTENDED_CHAR_NAME, cbuf, &status);
251 uprv_free(cbuf);
/macosx-10.9.5/cups-372.4/cups/cups/
H A Dfile-private.h109 Bytef cbuf[4096]; /* (De)compression buffer */ member in struct:_cups_file_s
/macosx-10.9.5/remote_cmds-41.90.1/rwho.tproj/
H A Drwho.c170 char buf[BUFSIZ], cbuf[80]; local
173 strftime(cbuf, sizeof(cbuf),
183 cbuf);

Completed in 360 milliseconds

1234