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

1234

/macosx-10.9.5/tcl-102/tcl_ext/trf/trf/generic/templates/
H A Dmd_template.c50 static void MD_UpdateBuf _ANSI_ARGS_ ((VOID* context, char* buffer, int bufLen));
173 MD_Updatebuf (context, buffer, bufLen)
176 int bufLen;
180 if ((s->count + bufLen) < CHUNK_SIZE) {
186 memcpy ((VOID*) (s->buf + s->count), (VOID*) buffer, bufLen);
187 s->count += bufLen;
203 bufLen -= k;
206 while (bufLen > CHUNK_SIZE) {
210 bufLen -= CHUNK_SIZE;
213 s->count = bufLen;
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/trf/trf/generic/
H A Dsha.c71 static void MDsha_UpdateBuf _ANSI_ARGS_ ((VOID* context, unsigned char* buffer, int bufLen));
202 MDsha_UpdateBuf (context, buffer, bufLen)
205 int bufLen;
209 if ((s->count + bufLen) < CHUNK_SIZE) {
215 memcpy ((VOID*) (s->buf + s->count), (VOID*) buffer, bufLen);
216 s->count += bufLen;
232 bufLen -= k;
235 while (bufLen > CHUNK_SIZE) {
239 bufLen -= CHUNK_SIZE;
242 s->count = bufLen;
[all...]
H A Drmd128.c61 static void MDrmd128_UpdateBuf _ANSI_ARGS_ ((VOID* context, unsigned char* buffer, int bufLen));
203 MDrmd128_UpdateBuf (context, buffer, bufLen)
206 int bufLen;
210 if ((ctx->byteCount + bufLen) < CHUNK_SIZE) {
216 memcpy ((VOID*) (ctx->buf + ctx->byteCount), (VOID*) buffer, bufLen);
217 ctx->byteCount += bufLen;
238 bufLen -= k;
241 while (bufLen >= CHUNK_SIZE) {
253 bufLen -= CHUNK_SIZE;
256 ctx->byteCount = bufLen;
[all...]
H A Drmd160.c61 static void MDrmd160_UpdateBuf _ANSI_ARGS_ ((VOID* context, unsigned char* buffer, int bufLen));
203 MDrmd160_UpdateBuf (context, buffer, bufLen)
206 int bufLen;
210 if ((ctx->byteCount + bufLen) < CHUNK_SIZE) {
216 memcpy ((VOID*) (ctx->buf + ctx->byteCount), (VOID*) buffer, bufLen);
217 ctx->byteCount += bufLen;
238 bufLen -= k;
241 while (bufLen >= CHUNK_SIZE) {
253 bufLen -= CHUNK_SIZE;
256 ctx->byteCount = bufLen;
[all...]
H A Dcrc_zlib.c49 static void MDcrcz_UpdateBuf _ANSI_ARGS_ ((VOID* context, unsigned char* buffer, int bufLen));
178 MDcrcz_UpdateBuf (context, buffer, bufLen)
181 int bufLen;
185 CRC = zf.zcrc32 (CRC, buffer, bufLen);
H A Dhaval.c50 static void MDHaval_UpdateBuf _ANSI_ARGS_ ((VOID* context, unsigned char* buffer, int bufLen));
172 MDHaval_UpdateBuf (context, buffer, bufLen)
175 int bufLen;
177 haval_hash ((CTX_TYPE*) context, (unsigned char*) buffer, bufLen);
H A Dmd2.c49 static void MDmd2_UpdateBuf _ANSI_ARGS_ ((VOID* context, unsigned char* buffer, int bufLen));
172 MDmd2_UpdateBuf (context, buffer, bufLen)
175 int bufLen;
177 md2f.update ((MD2_CTX*) context, (unsigned char*) buffer, bufLen);
H A Dsha1.c53 static void MDsha1_UpdateBuf _ANSI_ARGS_ ((VOID* context, unsigned char* buffer, int bufLen));
184 MDsha1_UpdateBuf (context, buffer, bufLen)
187 int bufLen;
189 sha1f.update ((SHA_CTX*) context, (unsigned char*) buffer, bufLen);
H A Drs_ecc.c61 unsigned char* buffer, int bufLen,
82 unsigned char* buffer, int bufLen,
325 EncodeBuffer (ctrlBlock, buffer, bufLen, interp, clientData)
328 int bufLen;
347 if (k > bufLen) {
352 memcpy ((VOID*) (c->block + c->charCount), (VOID*) buffer, bufLen);
353 c->charCount += bufLen;
369 bufLen -= k;
377 while (bufLen > (MSG_LEN-1)) {
382 * case of 'bufLen
[all...]
H A Dadler.c49 static void MDAdler_UpdateBuf _ANSI_ARGS_ ((VOID* context, unsigned char* buffer, int bufLen));
183 MDAdler_UpdateBuf (context, buffer, bufLen)
186 int bufLen;
190 ADLER = zf.zadler32 (ADLER, buffer, bufLen);
H A Dmd5dig.c56 unsigned char* buffer, int bufLen));
198 MDmd5_UpdateBuf (context, buffer, bufLen)
201 int bufLen;
203 /* MD5Update ((MD5_CTX*) context, (unsigned char*) buffer, bufLen);*/
205 PRTSTR ("update by %d (%s)\n", bufLen, buffer);
213 md5f.update (MD5_CTXP context, (unsigned char*) buffer, bufLen);
H A Dcrc.c50 static void MDcrc_UpdateBuf _ANSI_ARGS_ ((VOID* context, unsigned char* buffer, int bufLen));
196 MDcrc_UpdateBuf (context, buffer, bufLen)
199 int bufLen;
210 for (i=0; i < bufLen; i++) {
H A Dreflect.h74 int bufLen,
H A Dbincode.c78 int bufLen,
107 int bufLen,
379 EncodeBuffer (ctrlBlock, buffer, bufLen, interp, clientData)
382 int bufLen;
387 char* out = (char*) ckalloc (8*bufLen+1);
391 for (i=0, j=0; i < bufLen; i++) {
400 res = c->write (c->writeClientData, (unsigned char*) out, 8*bufLen, interp);
626 DecodeBuffer (ctrlBlock, buffer, bufLen, interp, clientData)
629 int bufLen;
636 char* out = (char*) ckalloc (7+bufLen/
[all...]
H A Dhexcode.c67 int bufLen,
94 int bufLen,
345 EncodeBuffer (ctrlBlock, buffer, bufLen, interp, clientData)
348 int bufLen;
353 char* out = (char*) ckalloc (2*bufLen+1);
357 for (i=0, j=0; i < bufLen; i++) {
364 res = c->write (c->writeClientData, (unsigned char*) out, 2*bufLen, interp);
592 DecodeBuffer (ctrlBlock, buffer, bufLen, interp, clientData)
595 int bufLen;
602 char* out = (char*) ckalloc (1+bufLen/
[all...]
H A Doctcode.c70 int bufLen,
99 int bufLen,
368 EncodeBuffer (ctrlBlock, buffer, bufLen, interp, clientData)
371 int bufLen;
376 char* out = (char*) ckalloc (3*bufLen+1);
380 for (i=0, j=0; i < bufLen; i++) {
388 res = c->write (c->writeClientData, (unsigned char*) out, 3*bufLen, interp);
614 DecodeBuffer (ctrlBlock, buffer, bufLen, interp, clientData)
617 int bufLen;
624 char* out = (char*) ckalloc (2+bufLen/
[all...]
/macosx-10.9.5/Security-55471.14.18/include/security_cryptkit/
H A DbyteRep.h57 unsigned bufLen,
60 unsigned bufLen,
65 unsigned bufLen,
68 unsigned bufLen,
H A DbyteRep.c279 unsigned bufLen,
287 if(bufLen < sizeof(int)) {
294 bufLen -= sizeof(int);
299 if(bufLen < aNumBytes) {
335 unsigned bufLen,
346 x = byteRepToGiant(buf, bufLen, &gLen);
350 bufLen -= gLen;
355 y = byteRepToGiant(buf, bufLen, &gLen);
377 unsigned bufLen,
387 if(bufLen < (
278 byteRepToGiant(const unsigned char *buf, unsigned bufLen, unsigned *giantLen) argument
334 byteRepToKey(const unsigned char *buf, unsigned bufLen, int twist, curveParams *cp, unsigned *keyLen) argument
376 byteRepToCurveParams(const unsigned char *buf, unsigned bufLen, unsigned *cpLen) argument
442 byteRepToSig(const unsigned char *buf, unsigned bufLen, int codeVersion, int *sigMagic, int *sigVersion, int *sigMinVersion, giant *g0, giant *g1) argument
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_cryptkit/lib/
H A DbyteRep.h57 unsigned bufLen,
60 unsigned bufLen,
65 unsigned bufLen,
68 unsigned bufLen,
H A DbyteRep.c279 unsigned bufLen,
287 if(bufLen < sizeof(int)) {
294 bufLen -= sizeof(int);
299 if(bufLen < aNumBytes) {
335 unsigned bufLen,
346 x = byteRepToGiant(buf, bufLen, &gLen);
350 bufLen -= gLen;
355 y = byteRepToGiant(buf, bufLen, &gLen);
377 unsigned bufLen,
387 if(bufLen < (
278 byteRepToGiant(const unsigned char *buf, unsigned bufLen, unsigned *giantLen) argument
334 byteRepToKey(const unsigned char *buf, unsigned bufLen, int twist, curveParams *cp, unsigned *keyLen) argument
376 byteRepToCurveParams(const unsigned char *buf, unsigned bufLen, unsigned *cpLen) argument
442 byteRepToSig(const unsigned char *buf, unsigned bufLen, int codeVersion, int *sigMagic, int *sigVersion, int *sigMinVersion, giant *g0, giant *g1) argument
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/tls/tls/
H A DtlsBIO.c56 BioWrite (bio, buf, bufLen)
59 int bufLen;
65 (unsigned int) bio, bufLen, (unsigned int) chan);
68 ret = Tcl_WriteRaw(chan, buf, bufLen);
70 ret = Tcl_Write(chan, buf, bufLen);
74 (unsigned int) chan, bufLen, ret, Tcl_Eof(chan), Tcl_GetErrno());
91 BioRead (bio, buf, bufLen)
94 int bufLen;
100 (unsigned int) bio, bufLen, (unsigned int) chan);
105 ret = Tcl_ReadRaw(chan, buf, bufLen);
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/tools/genrb/
H A Drle.h40 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode* status);
57 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* status);
/macosx-10.9.5/BerkeleyDB-21/db/examples_c/getting_started/
H A Dexample_database_load.c202 size_t bufLen, dataLen; local
238 bufLen = 0;
243 bufLen += dataLen;
246 memcpy(databuf + bufLen, &quantity, dataLen);
247 bufLen += dataLen;
249 bufLen = pack_string(databuf, name, bufLen);
250 bufLen = pack_string(databuf, sku, bufLen);
251 bufLen
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/samples/numfmt/
H A Dutil.cpp66 int32_t bufLen = str.extract(0, 0x7fffffff, stackBuffer, sizeof(stackBuffer), "UTF-8"); local
67 if(bufLen < sizeof(stackBuffer)) {
70 buf = new char[bufLen + 1];
71 bufLen = str.extract(0, 0x7fffffff, buf, bufLen + 1, "UTF-8");
/macosx-10.9.5/IOKitUser-907.100.13/adb.subproj/
H A DIOADBLib.c107 size_t bufLen = 8; local
112 buffer, &bufLen); // Out Struct
113 *length = (UInt32) bufLen;

Completed in 157 milliseconds

1234