HomeSort by relevance Sort by last modified time
    Searched defs:outbuf (Results 1 - 25 of 61) 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/chromium_org/third_party/icu/source/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/chromium_org/third_party/libxml/src/
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/chromium_org/third_party/opus/src/tests/
test_opus_decode.c 65 short *outbuf; local
74 outbuf=&outbuf_int[8*2];
109 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor, fec);
115 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor+2, fec);
119 out_samples = opus_decode(dec[t], 0, -1, outbuf, 120/factor, fec);
121 out_samples = opus_decode(dec[t], 0, 1, outbuf, 120/factor, fec);
123 out_samples = opus_decode(dec[t], 0, 10, outbuf, 120/factor, fec);
125 out_samples = opus_decode(dec[t], 0, fast_rand(), outbuf, 120/factor, fec);
131 out_samples = opus_decode(dec[t], packet, 0, outbuf, 120/factor, fec);
135 outbuf[0]=32749
    [all...]
test_opus_encode.c 130 short *outbuf; local
219 outbuf=(short *)malloc(sizeof(short)*SAMPLES*2);
221 if(inbuf==NULL || outbuf==NULL || out2buf==NULL)test_failed();
271 out_samples = opus_decode(dec, packet, len, &outbuf[i<<1], MAX_FRAME_SAMP, 0);
358 out_samples = opus_decode(dec, packet, len, &outbuf[offset<<1], MAX_FRAME_SAMP, 0);
407 free(outbuf);
  /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 162 unsigned char outbuf[SIZE]; /* output buffer */ variable
261 outbuf[0] = (unsigned char)final; /* write first decompressed byte */
281 if (outcnt && out(&outd, outbuf, outcnt)) {
282 strm->next_in = outbuf; /* signal write error */
352 outbuf[outcnt++] = match[--stack];
353 if (out(&outd, outbuf, outcnt)) {
354 strm->next_in = outbuf; /* signal write error */
361 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/chromium_org/native_client_sdk/src/tests/nacl_io_socket_test/
socket_test.cc 223 char outbuf[256]; local
226 memset(outbuf, 1, sizeof(outbuf));
237 ki_sendto(sock1_, outbuf, sizeof(outbuf), 0, (sockaddr*) &addr, addrlen);
238 EXPECT_EQ(sizeof(outbuf), len1);
241 EXPECT_NE(0, memcmp(outbuf, inbuf, sizeof(outbuf)));
247 EXPECT_EQ(sizeof(outbuf), len2);
252 EXPECT_EQ(0, memcmp(outbuf, inbuf, sizeof(outbuf)))
256 char outbuf[256]; local
306 char outbuf[16 * 1024]; local
336 char outbuf[256]; local
366 char outbuf[256]; local
520 char* outbuf = (char*)malloc(LARGE_SEND_BYTES); local
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/base/
schanneladapter.cc 102 SChannelBuffer inbuf, outbuf, readable; member in struct:talk_base::SChannelAdapter::SSLImpl
273 impl_->outbuf.insert(impl_->outbuf.end(),
447 SChannelBuffer& outbuf = impl_->outbuf; local
448 while (pos < outbuf.size()) {
449 int sent = AsyncSocketAdapter::Send(&outbuf[pos], outbuf.size() - pos);
459 if (int remainder = static_cast<int>(outbuf.size() - pos)) {
460 memmove(&outbuf[0], &outbuf[pos], remainder)
492 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...]

Completed in 2670 milliseconds

1 2 3