HomeSort by relevance Sort by last modified time
    Searched defs:outbuf (Results 1 - 25 of 53) sorted by null

1 2 3

  /external/openssh/
rsa.c 77 u_char *inbuf, *outbuf; local
84 outbuf = xmalloc(olen);
90 if ((len = RSA_public_encrypt(ilen, inbuf, outbuf, key,
94 if (BN_bin2bn(outbuf, len, out) == NULL)
97 memset(outbuf, 0, olen);
99 xfree(outbuf);
106 u_char *inbuf, *outbuf; local
110 outbuf = xmalloc(olen);
116 if ((len = RSA_private_decrypt(ilen, inbuf, outbuf, key,
120 if (BN_bin2bn(outbuf, len, out) == NULL
    [all...]
  /external/bzip2/
unzcrash.c 41 uchar outbuf[M_BLOCK_OUT]; variable
107 outbuf, &nOut, zbuf, nZ, 0, 0 );
118 if (inbuf[i] != outbuf[i]) {
132 if (inbuf[i] != outbuf[i]) {
  /external/apache-harmony/crypto/src/test/impl/java.injected/org/apache/harmony/crypto/internal/
NullCipherSpiTest.java 113 ByteBuffer outbuf = ByteBuffer.allocate(6); local
116 spi.engineUpdate(null, outbuf);
131 int result = spi.engineUpdate(inbuf, outbuf);
134 assertEquals("incorrect outbuf", i + 4, outbuf.get(i));
138 outbuf = ByteBuffer.allocate(5);
144 spi.engineUpdate(inbuf, outbuf);
158 ByteBuffer outbuf = ByteBuffer.allocate(6); local
161 spi.engineDoFinal(null, outbuf);
176 int result = spi.engineDoFinal(inbuf, outbuf);
    [all...]
  /external/e2fsprogs/misc/
logsave.c 36 void *outbuf = 0; variable
108 n = realloc(outbuf, outbufsize + c);
110 outbuf = n;
111 memcpy(((char *)outbuf)+outbufsize, buffer, c);
308 if (outbuf) {
325 write_all(outfd, outbuf, outbufsize);
326 free(outbuf);
  /external/eigen/unsupported/test/
FFTW.cpp 152 ComplexVector outbuf; local
156 fft.fwd( outbuf , inbuf);
158 VERIFY( fft_rmse(outbuf,inbuf) < test_precision<T>() );// gross check
159 fft.inv( buf3 , outbuf);
166 fft.inv( buf4 , outbuf);
173 fft.inv( buf3 , outbuf);
  /bootable/diskinstaller/
installer.c 80 char *outbuf; local
91 if (!(outbuf = malloc(size + 1))) {
97 strcpy(outbuf, cmd);
100 strcat(outbuf, " ");
101 strcat(outbuf, str);
105 ALOGI("Executing: %s", outbuf);
106 rv = system(outbuf);
107 free(outbuf);
113 ALOGI("Done executing %s (%d)", outbuf, rv);
  /external/icu4c/test/perf/DateFmtPerf/
DateFmtPerf.h 391 char outbuf[500]; local
402 sprintf(outbuf, "%lg", result);
  /external/icu4c/test/thaitest/
thaitest.cpp 405 char outbuf[1024]; local
409 printf("%s", u_strToUTF8(outbuf, sizeof(outbuf), &strlength, &bom, 1, &status));
416 printf("%s", u_strToUTF8(outbuf, sizeof(outbuf), &strlength, &chars[prevbreak],
  /external/ipsec-tools/src/racoon/
gssapi.c 523 vchar_t *outbuf; local
561 if (gssapi_gss2vmbuf(hash_out, &outbuf) < 0) {
573 return outbuf;
583 vchar_t *outbuf; local
606 if (gssapi_gss2vmbuf(hash_out, &outbuf) < 0) {
618 return outbuf;
  /external/libxml2/
HTMLtree.c 408 xmlOutputBufferPtr outbuf; local
416 outbuf = (xmlOutputBufferPtr) xmlMalloc(sizeof(xmlOutputBuffer));
417 if (outbuf == NULL) {
421 memset(outbuf, 0, (size_t) sizeof(xmlOutputBuffer));
422 outbuf->buffer = buf;
423 outbuf->encoder = NULL;
424 outbuf->writecallback = NULL;
425 outbuf->closecallback = NULL;
426 outbuf->context = NULL;
427 outbuf->written = 0
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/stdlib/
SDL_iconv.c 44 char **outbuf, size_t *outbytesleft)
48 retCode = iconv(cd, (char **)inbuf, inbytesleft, outbuf, outbytesleft);
50 retCode = iconv(cd, inbuf, inbytesleft, outbuf, outbytesleft);
209 char **outbuf, size_t *outbytesleft)
222 if ( !outbuf || !*outbuf || !outbytesleft || !*outbytesleft ) {
227 dst = *outbuf;
798 *outbuf = dst;
820 char *outbuf; local
845 outbuf = string
    [all...]
  /external/zlib/src/examples/
gun.c 161 unsigned char outbuf[SIZE]; /* output buffer */ variable
260 outbuf[0] = (unsigned char)final; /* write first decompressed byte */
280 if (outcnt && out(&outd, outbuf, outcnt)) {
281 strm->next_in = outbuf; /* signal write error */
351 outbuf[outcnt++] = match[--stack];
352 if (out(&outd, outbuf, outcnt)) {
353 strm->next_in = outbuf; /* signal write error */
360 outbuf[outcnt++] = *--p;
  /external/chromium/third_party/libjingle/source/talk/base/
schanneladapter.cc 102 SChannelBuffer inbuf, outbuf, readable; member in struct:talk_base::SChannelAdapter::SSLImpl
276 impl_->outbuf.insert(impl_->outbuf.end(),
450 SChannelBuffer& outbuf = impl_->outbuf; local
451 while (pos < outbuf.size()) {
452 int sent = AsyncSocketAdapter::Send(&outbuf[pos], outbuf.size() - pos);
462 if (int remainder = outbuf.size() - pos) {
463 memmove(&outbuf[0], &outbuf[pos], remainder)
495 SChannelBuffer& outbuf = impl_->outbuf; local
    [all...]
  /external/dropbear/libtomcrypt/testprof/
der_tests.c 23 unsigned char strs[10][10], outbuf[128]; local
33 outlen = sizeof(outbuf);
34 if ((err = der_encode_set(list, 3, outbuf, &outlen)) != CRYPT_OK) {
45 if ((err = der_decode_set(outbuf, outlen, list, 3)) != CRYPT_OK) {
81 outlen = sizeof(outbuf);
82 if ((err = der_encode_setof(list, 10, outbuf, &outlen)) != CRYPT_OK) {
92 if ((err = der_decode_set(outbuf, outlen, list, 10)) != CRYPT_OK) {
456 unsigned char bitbuf[10], octetbuf[10], ia5buf[10], printbuf[10], outbuf[256]; local
488 outlen = sizeof(outbuf);
489 DO(der_encode_sequence(&types[x>6?x-7:x], 1, outbuf, &outlen))
    [all...]
  /external/qemu/distrib/zlib-1.2.3/
gzio.c 62 Byte *outbuf; /* output buffer */ member in struct:gz_stream
115 s->stream.next_out = s->outbuf = Z_NULL;
159 s->stream.next_out = s->outbuf = (Byte*)ALLOC(Z_BUFSIZE);
161 if (err != Z_OK || s->outbuf == Z_NULL) {
246 s->stream.next_out = s->outbuf;
247 if (fwrite(s->outbuf, 1, Z_BUFSIZE, s->file) != Z_BUFSIZE) {
384 TRYFREE(s->outbuf);
575 s->stream.next_out = s->outbuf;
576 if (fwrite(s->outbuf, 1, Z_BUFSIZE, s->file) != Z_BUFSIZE) {
721 if ((uInt)fwrite(s->outbuf, 1, len, s->file) != len)
    [all...]
  /external/qemu/hw/
scsi-disk.c 357 uint8_t *outbuf; local
369 outbuf = (uint8_t *)r->iov.iov_base;
429 memset(outbuf, 0, 4);
432 memset(outbuf, 0, 18);
434 outbuf[7] = 10;
436 outbuf[12] = 0x3a;
437 outbuf[13] = 0;
439 outbuf[0] = 0xf0;
440 outbuf[1] = 0;
441 outbuf[2] = s->sense
    [all...]
  /external/wpa_supplicant_8/src/crypto/
tls_schannel.c 216 SecBufferDesc outbuf; local
233 outbuf.cBuffers = 1;
234 outbuf.pBuffers = outbufs;
235 outbuf.ulVersion = SECBUFFER_VERSION;
241 &outbuf, &sspi_flags_out, &ts_expiry);
246 &outbuf, &sspi_flags_out, &ts_expiry);
318 SecBufferDesc inbuf, outbuf; local
358 outbuf.cBuffers = 1;
359 outbuf.pBuffers = outbufs;
360 outbuf.ulVersion = SECBUFFER_VERSION
    [all...]
  /external/wpa_supplicant_8/src/eap_peer/
eap_pwd.c 32 struct wpabuf *outbuf; member in struct:eap_pwd_data
129 data->inbuf = data->outbuf = NULL;
247 data->outbuf = wpabuf_alloc(sizeof(struct eap_pwd_id) +
249 if (data->outbuf == NULL) {
253 wpabuf_put_be16(data->outbuf, data->group_num);
254 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_RAND_FUNC);
255 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_PRF);
256 wpabuf_put_data(data->outbuf, id->token, sizeof(id->token));
257 wpabuf_put_u8(data->outbuf, EAP_PWD_PREP_NONE);
258 wpabuf_put_data(data->outbuf, data->id_peer, data->id_peer_len)
    [all...]
  /external/wpa_supplicant_8/src/eap_server/
eap_server_pwd.c 33 struct wpabuf *outbuf; member in struct:eap_pwd_data
125 data->inbuf = data->outbuf = NULL;
167 data->outbuf = wpabuf_alloc(sizeof(struct eap_pwd_id) +
169 if (data->outbuf == NULL) {
176 wpabuf_put_be16(data->outbuf, data->group_num);
177 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_RAND_FUNC);
178 wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_PRF);
179 wpabuf_put_data(data->outbuf, &data->token, sizeof(data->token));
180 wpabuf_put_u8(data->outbuf, EAP_PWD_PREP_NONE);
181 wpabuf_put_data(data->outbuf, data->id_server, data->id_server_len)
    [all...]
  /hardware/libhardware/include/hardware/
hwcomposer.h 305 /* outbuf is the buffer that receives the composed image for
306 * virtual displays. Writes to the outbuf must wait until
308 * writes to outbuf are complete should be returned in
318 * For physical displays, outbuf will be NULL.
320 buffer_handle_t outbuf; member in struct:hwc_display_contents_1::__anon20701::__anon20703
322 /* File descriptor for a fence that will signal when outbuf is
326 * Will be -1 whenever outbuf is NULL, or when the outbuf can be
  /packages/apps/Nfc/nxp/jni/
com_android_nfc_NativeNfcTag.cpp 700 // outbuf is passed into the transceive - it may be pointed to new memory
705 uint8_t *outbuf = NULL; local
740 buf = outbuf = (uint8_t *)e->GetByteArrayElements(data, NULL);
754 outbuf = (uint8_t*)malloc(buflen + 2);
756 memcpy(outbuf, buf, buflen);
757 nfc_insert_crc_a(outbuf, buflen);
779 outbuf = (uint8_t*)malloc(buflen + 2);
781 memcpy(outbuf, buf, buflen);
782 nfc_insert_crc_a(outbuf, buflen);
810 transceive_info.sSendData.buffer = outbuf + offset
    [all...]
  /external/e2fsprogs/intl/
dcigettext.c 886 unsigned char *outbuf; local
895 outbuf = freemem + sizeof (size_t);
910 &outbuf,
911 outbuf + freemem_size - sizeof (size_t),
928 char *outptr = (char *) outbuf;
940 outbuf = (unsigned char *) outptr;
998 outbuf = freemem + sizeof (size_t);
1003 *(size_t *) freemem = outbuf - freemem - sizeof (size_t);
1006 freemem_size -= outbuf - freemem;
1007 freemem = outbuf;
    [all...]
  /external/openssl/crypto/rand/
rand_win.c 258 LPBYTE outbuf; local
265 if (netstatget(NULL, L"LanmanWorkstation", 0, 0, &outbuf) == 0)
267 RAND_add(outbuf, sizeof(STAT_WORKSTATION_0), 45);
268 netfree(outbuf);
270 if (netstatget(NULL, L"LanmanServer", 0, 0, &outbuf) == 0)
272 RAND_add(outbuf, sizeof(STAT_SERVER_0), 17);
273 netfree(outbuf);
  /external/icu4c/extra/uconv/
uconv.cpp 537 buf(NULL), outbuf(NULL), fromoffsets(NULL),
545 outbuf = buf + bufsz;
570 char *buf, *outbuf; member in class:ConvertFile
924 bufp = outbuf;
929 ucnv_fromUnicode(convto, &bufp, outbuf + bufsz,
    [all...]
  /external/libpng/
pngtest.c 716 char inbuf[256], outbuf[256]; local
    [all...]

Completed in 1051 milliseconds

1 2 3