Searched defs:outbuf (Results 1 - 25 of 49) sorted by relevance

12

/external/icu4c/common/
H A Dbytestream.cpp27 CheckedArrayByteSink::CheckedArrayByteSink(char* outbuf, int32_t capacity) argument
28 : outbuf_(outbuf), capacity_(capacity < 0 ? 0 : capacity),
/external/openssh/
H A Drsa.c77 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, le
[all...]
/external/bzip2/
H A Dunzcrash.c41 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/chromium/third_party/libevent/
H A Dbuffer.c100 evbuffer_add_buffer(struct evbuffer *outbuf, struct evbuffer *inbuf) argument
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, inbu
[all...]
/external/e2fsprogs/misc/
H A Dlogsave.c36 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/icu4c/test/intltest/
H A Dstrtest.cpp371 SimpleByteSink(char *outbuf) : fOutbuf(outbuf), fLength(0) {} argument
H A Duts46test.cpp98 TestCheckedArrayByteSink(char* outbuf, int32_t capacity) argument
99 : CheckedArrayByteSink(outbuf, capacity), calledFlush(FALSE) {}
/external/icu4c/test/thaitest/
H A Dthaitest.cpp405 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/libxml2/
H A DHTMLtree.c408 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
[all...]
/external/qemu/distrib/sdl-1.2.15/src/stdlib/
H A DSDL_iconv.c44 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
42 SDL_iconv(SDL_iconv_t cd, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) argument
207 SDL_iconv(SDL_iconv_t cd, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) argument
[all...]
/external/quake/quake/src/QW/client/
H A Dmd4.c299 void Com_BlockFullChecksum (void *buffer, int len, unsigned char *outbuf) argument
305 MD4Final ( outbuf, &ctx);
/external/valgrind/main/callgrind/
H A Dcommand.c40 static Char outbuf[FILENAME_LEN + FN_NAME_LEN + OBJ_NAME_LEN]; variable
192 Char* buf = outbuf;
231 Char* buf = outbuf;
290 Char* buf = outbuf;
/external/zlib/src/examples/
H A Dgun.c161 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/dropbear/libtomcrypt/testprof/
H A Dder_tests.c23 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,
[all...]
/external/ipsec-tools/src/racoon/
H A Dgssapi.c523 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/qemu/distrib/zlib-1.2.3/
H A Dgzio.c62 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,
[all...]
/external/qemu/hw/
H A Dscsi-disk.c357 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[
[all...]
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_pwd.c32 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, dat
[all...]
/external/wpa_supplicant_8/src/eap_peer/
H A Deap_pwd.c32 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, dat
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Deap_pwd.c32 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, dat
[all...]
/external/chromium/third_party/libjingle/source/talk/base/
H A Dschanneladapter.cc102 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[
495 SChannelBuffer& outbuf = impl_->outbuf; local
[all...]
/external/openssl/crypto/rand/
H A Drand_win.c258 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/wpa_supplicant_6/wpa_supplicant/src/crypto/
H A Dtls_schannel.c223 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
[all...]
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dtls_schannel.c216 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
[all...]
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Deap_server_pwd.c33 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, dat
[all...]

Completed in 481 milliseconds

12