/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/openssl/crypto/des/ |
enc_writ.c | 93 static unsigned char *outbuf=NULL; 99 if (outbuf == NULL) 101 outbuf=OPENSSL_malloc(BSIZE+HDRSIZE); 102 if (outbuf == NULL) return(-1); 128 p=outbuf; 146 DES_pcbc_encrypt(cp,&(outbuf[HDRSIZE]),(len<8)?8:len,sched,iv, 149 DES_cbc_encrypt(cp,&(outbuf[HDRSIZE]),(len<8)?8:len,sched,iv, 160 i=write(fd,(void *)&(outbuf[j]),outnum-j); 162 i=_write(fd,(void *)&(outbuf[j]),outnum-j);
|
/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/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...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/extensions/ |
lbxbuf.h | 47 extern char *ReserveOutBuf(ZlibBufferPtr outbuf, int outlen);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/ |
lbxbuf.h | 47 extern char *ReserveOutBuf(ZlibBufferPtr outbuf, int outlen);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/ |
lbxbuf.h | 47 extern char *ReserveOutBuf(ZlibBufferPtr outbuf, int outlen);
|
/external/qemu/ |
monitor-android.h | 42 mon->fake_func(mon->fake_opaque, (void*)mon->outbuf, mon->outbuf_index); 46 qemu_chr_write(mon->chr, mon->outbuf, mon->outbuf_index);
|
/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/valgrind/main/callgrind/ |
dump.c | 58 static Char outbuf[FILENAME_LEN + FN_NAME_LEN + OBJ_NAME_LEN + COSTS_LEN]; variable 348 VG_(sprintf)(outbuf, "rec=%d\n\n", bbcc->rec_index); 349 my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf)); 363 VG_(sprintf)(outbuf, "frfn=(spontaneous)\n"); 364 my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf)); 369 print_fn(fd,outbuf,"frfn", curr_from); 377 VG_(sprintf)(outbuf, "ob="); 378 print_obj(outbuf+3, bbcc->cxt->fn[0]->file->obj) [all...] |
/libcore/luni/src/main/java/java/security/ |
SignatureSpi.java | 169 * @param outbuf 172 * the index of the first byte in {@code outbuf} to store. 175 * @return the number of bytes stored in {@code outbuf}. 181 * {@code outbuf}. 183 protected int engineSign(byte[] outbuf, int offset, int len) throws SignatureException { 194 if (offset + len > outbuf.length) { 195 throw new SignatureException("offset + len > outbuf.length"); 197 System.arraycopy(tmp, 0, outbuf, offset, tmp.length);
|
/external/eigen/bench/ |
benchFFT.cpp | 50 vector<Complex > outbuf(nfft); 64 fft.fwd( outbuf , inbuf); 72 fft.fwd( outbuf , inbuf); 75 fft.inv(inbuf,outbuf);
|
/external/icu4c/common/ |
bytestream.cpp | 29 CheckedArrayByteSink::CheckedArrayByteSink(char* outbuf, int32_t capacity) 30 : outbuf_(outbuf), capacity_(capacity < 0 ? 0 : capacity),
|
/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/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/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);
|
/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/third_party/libevent/ |
buffer.c | 100 evbuffer_add_buffer(struct evbuffer *outbuf, struct evbuffer *inbuf) 105 if (outbuf->off == 0) { 110 SWAP(&tmp, outbuf); 111 SWAP(outbuf, inbuf); 117 * of data that we transfered from inbuf to outbuf 121 if (oldoff && outbuf->cb != NULL) 122 (*outbuf->cb)(outbuf, 0, oldoff, outbuf->cbarg); 127 res = evbuffer_add(outbuf, inbuf->buffer, inbuf->off) [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...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
SignatureTest.java | 237 byte[] outbuf = new byte [10]; 239 s.sign(outbuf, 0, outbuf.length); 247 s.sign(outbuf, 0, outbuf.length); 253 assertEquals(s.getBufferLength(), s.sign(outbuf, 0, outbuf.length)); 259 s.sign(outbuf, outbuf.length, 0); 267 s.sign(outbuf, outbuf.length, 3) [all...] |
/external/kernel-headers/original/linux/sunrpc/ |
gss_api.h | 52 struct xdr_buf *outbuf, 103 struct xdr_buf *outbuf,
|
/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/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);
|
/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...] |
/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;
|