/external/openssl/crypto/des/ |
enc_writ.c | 90 static unsigned char *outbuf=NULL; local 96 if (outbuf == NULL) 98 outbuf=OPENSSL_malloc(BSIZE+HDRSIZE); 99 if (outbuf == NULL) return(-1); 125 p=outbuf; 143 DES_pcbc_encrypt(cp,&(outbuf[HDRSIZE]),(len<8)?8:len,sched,iv, 146 DES_cbc_encrypt(cp,&(outbuf[HDRSIZE]),(len<8)?8:len,sched,iv, 157 i=write(fd,(void *)&(outbuf[j]),outnum-j); 159 i=_write(fd,(void *)&(outbuf[j]),outnum-j);
|
/external/qemu/hw/ |
scsi-disk.c | 356 uint8_t *outbuf; local 368 outbuf = (uint8_t *)r->iov.iov_base; 428 memset(outbuf, 0, 4); 431 memset(outbuf, 0, 18); 433 outbuf[7] = 10; 435 outbuf[12] = 0x3a; 436 outbuf[13] = 0; 438 outbuf[0] = 0xf0; 439 outbuf[1] = 0; 440 outbuf[2] = s->sense [all...] |
/external/opencore/fileformats/mp4/parser/src/ |
itunesilstatom.cpp | 37 uint8* outbuf = NULL; local 39 PV_MP4_FF_ARRAY_MALLOC(fp->auditCB, uint8, ((nSize + 1)*sizeof(oscl_wchar)), outbuf); 40 if (buf && outbuf) 51 oscl_UTF8ToUnicode((const char *)buf, nSize, (oscl_wchar*)outbuf, nSize + 1); 52 OSCL_wHeapString<OsclMemAllocator> temp((const oscl_wchar *)outbuf); 70 if (outbuf) 72 PV_MP4_ARRAY_FREE(fp->auditCB, outbuf); 73 outbuf = NULL; 103 uint8* outbuf = NULL; local 105 PV_MP4_FF_ARRAY_MALLOC(fp->auditCB, uint8, ((nSize + 1)*sizeof(oscl_wchar)), outbuf); 184 uint8* outbuf = NULL; local 264 uint8* outbuf = NULL; local 344 uint8* outbuf = NULL; local 422 uint8* outbuf = NULL; local 500 uint8* outbuf = NULL; local 580 uint8* outbuf = NULL; local 669 uint8* outbuf = NULL; local 746 uint8* outbuf = NULL; local 823 uint8* outbuf = NULL; local 900 uint8* outbuf = NULL; local 977 uint8* outbuf = NULL; local 1055 uint8* outbuf = NULL; local 1318 uint8* outbuf = NULL; local 1397 uint8* outbuf = NULL; local 1522 uint8* outbuf = NULL; local 1617 uint8* outbuf = NULL; local [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/bluetooth/glib/tests/ |
markup-escape-test.c | 34 gchar outbuf[7], expected[12]; local 36 len = g_unichar_to_utf8 (c, outbuf); 37 outbuf[len] = 0; 42 strcpy (expected, outbuf); 44 test (outbuf, expected);
|
/external/icu4c/common/ |
bytestream.cpp | 27 CheckedArrayByteSink::CheckedArrayByteSink(char* outbuf, int32_t capacity) 28 : outbuf_(outbuf), capacity_(capacity < 0 ? 0 : capacity), size_(0), overflowed_(false) {
|
/external/e2fsprogs/misc/ |
logsave.c | 31 void *outbuf = 0; variable 60 n = realloc(outbuf, outbufsize + c); 62 outbuf = n; 63 memcpy(((char *)outbuf)+outbufsize, buffer, c); 239 if (outbuf) { 256 write(outfd, outbuf, outbufsize); 257 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 LOGI("Executing: %s", outbuf); 106 rv = system(outbuf); 107 free(outbuf); 113 LOGI("Done executing %s (%d)", outbuf, rv);
|
/dalvik/libcore/security/src/main/java/java/security/ |
SignatureSpi.java | 171 * @param outbuf 174 * the index of the first byte in {@code outbuf} to store. 177 * @return the number of bytes stored in {@code outbuf}. 183 * {@code outbuf}. 185 protected int engineSign(byte[] outbuf, int offset, int len) 197 if (offset + len > outbuf.length) { 200 System.arraycopy(tmp, 0, outbuf, offset, tmp.length);
|
Signature.java | 340 * @param outbuf 343 * the index of the first byte in {@code outbuf} to store. 346 * @return the number of bytes stored in {@code outbuf}. 352 * {@code outbuf}. 354 public final int sign(byte[] outbuf, int offset, int len) 356 if (outbuf == null || offset < 0 || len < 0 || 357 offset + len > outbuf.length) { 365 return engineSign(outbuf, offset, len);
|
/external/qemu/distrib/sdl-1.2.12/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/kernel-headers/original/linux/sunrpc/ |
gss_api.h | 52 struct xdr_buf *outbuf, 103 struct xdr_buf *outbuf,
|
/external/bluetooth/bluez/audio/ |
gstrtpsbcpay.c | 167 GstBuffer *outbuf; local 190 outbuf = gst_rtp_buffer_new_allocate(payload_length + 193 gst_rtp_buffer_set_payload_type(outbuf, 196 payload_data = gst_rtp_buffer_get_payload(outbuf); 205 GST_BUFFER_TIMESTAMP(outbuf) = sbcpay->timestamp; 208 return gst_basertppayload_push(GST_BASE_RTP_PAYLOAD(sbcpay), outbuf);
|
/external/wpa_supplicant/ |
tls_schannel.c | 223 SecBufferDesc outbuf; local 240 outbuf.cBuffers = 1; 241 outbuf.pBuffers = outbufs; 242 outbuf.ulVersion = SECBUFFER_VERSION; 248 &outbuf, &sspi_flags_out, &ts_expiry); 253 &outbuf, &sspi_flags_out, &ts_expiry); 326 SecBufferDesc inbuf, outbuf; local 367 outbuf.cBuffers = 1; 368 outbuf.pBuffers = outbufs; 369 outbuf.ulVersion = SECBUFFER_VERSION [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
tls_schannel.c | 223 SecBufferDesc outbuf; local 240 outbuf.cBuffers = 1; 241 outbuf.pBuffers = outbufs; 242 outbuf.ulVersion = SECBUFFER_VERSION; 248 &outbuf, &sspi_flags_out, &ts_expiry); 253 &outbuf, &sspi_flags_out, &ts_expiry); 326 SecBufferDesc inbuf, outbuf; local 367 outbuf.cBuffers = 1; 368 outbuf.pBuffers = outbufs; 369 outbuf.ulVersion = SECBUFFER_VERSION [all...] |
/external/zlib/examples/ |
gun.c | 158 unsigned char outbuf[SIZE]; /* output buffer */ variable 256 outbuf[0] = (unsigned char)final; /* write first decompressed byte */ 276 if (outcnt && out(&outd, outbuf, outcnt)) { 277 strm->next_in = outbuf; /* signal write error */ 345 outbuf[outcnt++] = match[--stack]; 346 if (out(&outd, outbuf, outcnt)) { 347 strm->next_in = outbuf; /* signal write error */ 353 outbuf[outcnt++] = match[--stack];
|
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/ |
SignatureTest.java | 301 byte[] outbuf = new byte [10]; 303 s.sign(outbuf, 0, outbuf.length); 311 s.sign(outbuf, 0, outbuf.length); 317 assertEquals(s.getBufferLength(), s.sign(outbuf, 0, outbuf.length)); 323 s.sign(outbuf, outbuf.length, 0); 331 s.sign(outbuf, outbuf.length, 3) [all...] |
/external/icu4c/common/unicode/ |
bytestream.h | 136 * This sink will not write more than capacity bytes to outbuf. 145 * Constructs a ByteSink that will write to outbuf[0..capacity-1]. 146 * @param outbuf buffer to write to 150 CheckedArrayByteSink(char* outbuf, int32_t capacity);
|
/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/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/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/zlib/ |
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/libxml2/ |
HTMLtree.c | 399 xmlOutputBufferPtr outbuf; local 407 outbuf = (xmlOutputBufferPtr) xmlMalloc(sizeof(xmlOutputBuffer)); 408 if (outbuf == NULL) { 412 memset(outbuf, 0, (size_t) sizeof(xmlOutputBuffer)); 413 outbuf->buffer = buf; 414 outbuf->encoder = NULL; 415 outbuf->writecallback = NULL; 416 outbuf->closecallback = NULL; 417 outbuf->context = NULL; 418 outbuf->written = 0 [all...] |
xmlsave.c | 2015 xmlOutputBufferPtr outbuf; local 2064 xmlOutputBufferPtr outbuf; local [all...] |
/external/e2fsprogs/intl/ |
dcigettext.c | 885 unsigned char *outbuf; local 894 outbuf = freemem + sizeof (size_t); 909 &outbuf, 910 outbuf + freemem_size - sizeof (size_t), 927 char *outptr = (char *) outbuf; 939 outbuf = (unsigned char *) outptr; 997 outbuf = freemem + sizeof (size_t); 1002 *(size_t *) freemem = outbuf - freemem - sizeof (size_t); 1005 freemem_size -= outbuf - freemem; 1006 freemem = outbuf; [all...] |