/third_party/alsa-lib/test/ |
H A D | midiloop.c | 39 int writepattern(snd_rawmidi_t *handle_out, unsigned char *obuf) in writepattern() argument 45 obuf[patsize++] = 0x90 + i; in writepattern() 46 obuf[patsize++] = 0x40; in writepattern() 47 obuf[patsize++] = 0x3f; in writepattern() 48 obuf[patsize++] = 0xb0 + i; in writepattern() 49 obuf[patsize++] = 0x2e; in writepattern() 50 obuf[patsize++] = 0x7a; in writepattern() 51 obuf[patsize++] = 0x80 + i; in writepattern() 52 obuf[patsize++] = 0x23; in writepattern() 53 obuf[patsiz in writepattern() 72 unsigned char ibuf[512], obuf[512]; main() local [all...] |
/third_party/openssl/test/ |
H A D | rc4test.c | 66 unsigned char obuf[512]; in test_rc4_encrypt() local 70 memset(obuf, 0, sizeof(obuf)); in test_rc4_encrypt() 71 RC4(&key, data_len[i], &(data[i][0]), obuf); in test_rc4_encrypt() 72 return TEST_mem_eq(obuf, data_len[i] + 1, output[i], data_len[i] + 1); in test_rc4_encrypt() 77 unsigned char obuf[512]; in test_rc4_end_processing() local 81 memset(obuf, 0, sizeof(obuf)); in test_rc4_end_processing() 82 RC4(&key, i, &(data[3][0]), obuf); in test_rc4_end_processing() 83 if (!TEST_mem_eq(obuf, in test_rc4_end_processing() 90 unsigned char obuf[512]; test_rc4_multi_call() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/bio/ |
H A D | bf_lbuf.c | 51 char *obuf; /* the output char array */ member 64 ctx->obuf = OPENSSL_malloc(DEFAULT_LINEBUFFER_SIZE); in linebuffer_new() 65 if (ctx->obuf == NULL) { in linebuffer_new() 86 OPENSSL_free(b->obuf); in linebuffer_free() 143 memcpy(&(ctx->obuf[ctx->obuf_len]), in, p - in); in linebuffer_write() 149 memcpy(&(ctx->obuf[ctx->obuf_len]), in, i); in linebuffer_write() 156 i = BIO_write(b->next_bio, ctx->obuf, ctx->obuf_len); in linebuffer_write() 167 memmove(ctx->obuf, ctx->obuf + i, ctx->obuf_len - i); in linebuffer_write() 196 memcpy(&(ctx->obuf[ct in linebuffer_write() [all...] |
H A D | bf_buff.c | 58 ctx->obuf = OPENSSL_malloc(DEFAULT_BUFFER_SIZE); in buffer_new() 59 if (ctx->obuf == NULL) { in buffer_new() 79 OPENSSL_free(b->obuf); in buffer_free() 174 memcpy(&(ctx->obuf[ctx->obuf_off + ctx->obuf_len]), in, inl); in buffer_write() 182 memcpy(&(ctx->obuf[ctx->obuf_off + ctx->obuf_len]), in, i); in buffer_write() 190 i = BIO_write(b->next_bio, &(ctx->obuf[ctx->obuf_off]), in buffer_write() 319 p2 = ctx->obuf; in buffer_ctrl() 342 if (ctx->obuf != p2) { in buffer_ctrl() 343 OPENSSL_free(ctx->obuf); in buffer_ctrl() 344 ctx->obuf in buffer_ctrl() [all...] |
/third_party/openssl/crypto/bio/ |
H A D | bf_lbuf.c | 51 char *obuf; /* the output char array */ member 64 ctx->obuf = OPENSSL_malloc(DEFAULT_LINEBUFFER_SIZE); in linebuffer_new() 65 if (ctx->obuf == NULL) { in linebuffer_new() 86 OPENSSL_free(b->obuf); in linebuffer_free() 143 memcpy(&(ctx->obuf[ctx->obuf_len]), in, p - in); in linebuffer_write() 149 memcpy(&(ctx->obuf[ctx->obuf_len]), in, i); in linebuffer_write() 156 i = BIO_write(b->next_bio, ctx->obuf, ctx->obuf_len); in linebuffer_write() 167 memmove(ctx->obuf, ctx->obuf + i, ctx->obuf_len - i); in linebuffer_write() 196 memcpy(&(ctx->obuf[ct in linebuffer_write() [all...] |
H A D | bf_buff.c | 58 ctx->obuf = OPENSSL_malloc(DEFAULT_BUFFER_SIZE); in buffer_new() 59 if (ctx->obuf == NULL) { in buffer_new() 79 OPENSSL_free(b->obuf); in buffer_free() 174 memcpy(&(ctx->obuf[ctx->obuf_off + ctx->obuf_len]), in, inl); in buffer_write() 182 memcpy(&(ctx->obuf[ctx->obuf_off + ctx->obuf_len]), in, i); in buffer_write() 190 i = BIO_write(b->next_bio, &(ctx->obuf[ctx->obuf_off]), in buffer_write() 319 p2 = ctx->obuf; in buffer_ctrl() 342 if (ctx->obuf != p2) { in buffer_ctrl() 343 OPENSSL_free(ctx->obuf); in buffer_ctrl() 344 ctx->obuf in buffer_ctrl() [all...] |
/third_party/mbedtls/tests/src/ |
H A D | helpers.c | 552 int mbedtls_test_unhexify(unsigned char *obuf, in mbedtls_test_unhexify() argument 580 *(obuf++) = (uc << 4) | uc2; in mbedtls_test_unhexify() 586 void mbedtls_test_hexify(unsigned char *obuf, in mbedtls_test_hexify() argument 597 *obuf++ = '0' + h; in mbedtls_test_hexify() 599 *obuf++ = 'a' + h - 10; in mbedtls_test_hexify() 603 *obuf++ = '0' + l; in mbedtls_test_hexify() 605 *obuf++ = 'a' + l - 10; in mbedtls_test_hexify() 628 unsigned char *obuf; in mbedtls_test_unhexify_alloc() local 637 obuf = mbedtls_calloc(1, *olen); in mbedtls_test_unhexify_alloc() 638 TEST_HELPER_ASSERT(obuf ! in mbedtls_test_unhexify_alloc() [all...] |
/third_party/node/deps/openssl/openssl/crypto/comp/ |
H A D | c_zlib.c | 275 unsigned char *obuf; /* Output buffer */ member 353 if (ctx->obuf) { in bio_zlib_free() 356 OPENSSL_free(ctx->obuf); in bio_zlib_free() 441 if (!ctx->obuf) { in bio_zlib_write() 442 ctx->obuf = OPENSSL_malloc(ctx->obufsize); in bio_zlib_write() 444 if (ctx->obuf == NULL) { in bio_zlib_write() 448 ctx->optr = ctx->obuf; in bio_zlib_write() 455 zout->next_out = ctx->obuf; in bio_zlib_write() 484 ctx->optr = ctx->obuf; in bio_zlib_write() 485 zout->next_out = ctx->obuf; in bio_zlib_write() [all...] |
/third_party/openssl/crypto/comp/ |
H A D | c_zlib.c | 275 unsigned char *obuf; /* Output buffer */ member 353 if (ctx->obuf) { in bio_zlib_free() 356 OPENSSL_free(ctx->obuf); in bio_zlib_free() 441 if (!ctx->obuf) { in bio_zlib_write() 442 ctx->obuf = OPENSSL_malloc(ctx->obufsize); in bio_zlib_write() 444 if (ctx->obuf == NULL) { in bio_zlib_write() 448 ctx->optr = ctx->obuf; in bio_zlib_write() 455 zout->next_out = ctx->obuf; in bio_zlib_write() 484 ctx->optr = ctx->obuf; in bio_zlib_write() 485 zout->next_out = ctx->obuf; in bio_zlib_write() [all...] |
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_tokenize/ |
H A D | main.c | 389 char obuf[128]; in main() local 392 obuf[0] = '\0'; in main() 393 lws_strexp_init(&exp, NULL, exp_cb1, obuf, sizeof(obuf)); in main() 396 strcmp(obuf, "this-is-a-replacement_string-for-strexp")) { in main() 397 lwsl_notice("%s: obuf %s\n", __func__, obuf); in main() 416 memset(obuf, 0, sizeof(obuf)); in main() 417 lws_strexp_init(&exp, NULL, exp_cb1, obuf, 1 in main() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
H A D | pkcs5.c | 96 char obuf[80]; in pkcs5_get_params_pbes2() local 134 asn1_oid_to_str(&oid, obuf, sizeof(obuf)); in pkcs5_get_params_pbes2() 136 obuf); in pkcs5_get_params_pbes2() 140 obuf); in pkcs5_get_params_pbes2() 229 asn1_oid_to_str(&oid, obuf, sizeof(obuf)); in pkcs5_get_params_pbes2() 231 obuf); in pkcs5_get_params_pbes2() 237 obuf); in pkcs5_get_params_pbes2() 267 char obuf[8 in pkcs5_get_params() local [all...] |
H A D | pkcs8.c | 25 char obuf[80]; in pkcs8_key_import() local 78 asn1_oid_to_str(&oid, obuf, sizeof(obuf)); in pkcs8_key_import() 79 wpa_printf(MSG_DEBUG, "PKCS #8: algorithm=%s", obuf); in pkcs8_key_import() 90 "algorithm %s", obuf); in pkcs8_key_import()
|
H A D | tlsv1_cred.c | 448 char obuf[80]; in pkcs12_certbag() local 472 asn1_oid_to_str(&oid, obuf, sizeof(obuf)); in pkcs12_certbag() 473 wpa_printf(MSG_DEBUG, "PKCS #12: certId %s", obuf); in pkcs12_certbag() 478 obuf); in pkcs12_certbag() 570 char obuf[80]; in pkcs12_parse_attr() local 584 asn1_oid_to_str(&a_oid, obuf, sizeof(obuf)); in pkcs12_parse_attr() 585 wpa_printf(MSG_DEBUG, "PKCS #12: attrId %s", obuf); in pkcs12_parse_attr() 611 char obuf[8 in pkcs12_safebag() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | af_biquads.c | 156 void (*filter)(struct BiquadsContext *s, const void *ibuf, void *obuf, int len, 215 type *obuf = output; \ 232 obuf[i] = i2; \ 235 obuf[i] = min; \ 238 obuf[i] = max; \ 240 obuf[i] = out; \ 247 obuf[i] = i1; \ 250 obuf[i] = min; \ 253 obuf[i] = max; \ 255 obuf[ [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
H A D | pkcs5.c | 96 char obuf[80]; in pkcs5_get_params_pbes2() local 138 asn1_oid_to_str(&oid, obuf, sizeof(obuf)); in pkcs5_get_params_pbes2() 140 obuf); in pkcs5_get_params_pbes2() 144 obuf); in pkcs5_get_params_pbes2() 242 asn1_oid_to_str(&oid, obuf, sizeof(obuf)); in pkcs5_get_params_pbes2() 244 obuf); in pkcs5_get_params_pbes2() 250 obuf); in pkcs5_get_params_pbes2() 283 char obuf[8 in pkcs5_get_params() local [all...] |
H A D | pkcs8.c | 25 char obuf[80]; in pkcs8_key_import() local 87 asn1_oid_to_str(&oid, obuf, sizeof(obuf)); in pkcs8_key_import() 88 wpa_printf(MSG_DEBUG, "PKCS #8: algorithm=%s", obuf); in pkcs8_key_import() 99 "algorithm %s", obuf); in pkcs8_key_import()
|
H A D | tlsv1_cred.c | 448 char obuf[80]; in pkcs12_certbag() local 476 asn1_oid_to_str(&oid, obuf, sizeof(obuf)); in pkcs12_certbag() 477 wpa_printf(MSG_DEBUG, "PKCS #12: certId %s", obuf); in pkcs12_certbag() 482 obuf); in pkcs12_certbag() 582 char obuf[80]; in pkcs12_parse_attr() local 596 asn1_oid_to_str(&a_oid, obuf, sizeof(obuf)); in pkcs12_parse_attr() 597 wpa_printf(MSG_DEBUG, "PKCS #12: attrId %s", obuf); in pkcs12_parse_attr() 627 char obuf[8 in pkcs12_safebag() local [all...] |
/third_party/libwebsockets/lib/core/ |
H A D | buflist.c | 180 uint8_t *obuf = buf; in lws_buflist_linear_copy() local 197 return lws_ptr_diff(buf, obuf); in lws_buflist_linear_copy() 203 uint8_t *obuf = buf; in lws_buflist_linear_use() local 217 return lws_ptr_diff(buf, obuf); in lws_buflist_linear_use() 224 uint8_t *obuf = buf; in lws_buflist_fragment_use() local 245 return lws_ptr_diff(buf, obuf); in lws_buflist_fragment_use()
|
/third_party/curl/src/ |
H A D | tool_paramhlp.c | 335 struct curlx_dynbuf obuf; in proto2num() local 339 curlx_dyn_init(&obuf, MAX_PROTOSTRING); in proto2num() 431 result = curlx_dyn_addn(&obuf, "", 0); in proto2num() 433 result = curlx_dyn_addf(&obuf, "%s,", protoset[proto]); in proto2num() 435 curlx_dyn_setlen(&obuf, curlx_dyn_len(&obuf) - 1); in proto2num() 437 *ostr = curlx_dyn_ptr(&obuf); in proto2num()
|
/third_party/pulseaudio/src/utils/ |
H A D | pacmd.c | 98 char *obuf = NULL; in main() local 189 obuf = pa_xmalloc(obuf_size); in main() 298 if ((r = pa_read(fd, obuf, obuf_size, &fd_type)) <= 0) { in main() 321 if ((r = pa_write(STDOUT_FILENO, obuf + obuf_index, obuf_length, &stdout_type)) < 0) { in main() 356 pa_xfree(obuf); in main()
|
/third_party/mbedtls/tests/include/test/ |
H A D | helpers.h | 332 * \param obuf Output buffer. 333 * \param obufmax Size in number of bytes of \p obuf. 335 * \param len The number of unsigned char written in \p obuf. This must 342 int mbedtls_test_unhexify(unsigned char *obuf, size_t obufmax, 345 void mbedtls_test_hexify(unsigned char *obuf,
|
/third_party/alsa-lib/src/seq/ |
H A D | seq.c | 1050 free(seq->obuf); in snd_seq_close() 1202 if (!seq->obuf) in snd_seq_get_output_buffer_size() 1242 assert(seq && seq->obuf); in snd_seq_set_output_buffer_size() 1250 free(seq->obuf); in snd_seq_set_output_buffer_size() 1251 seq->obuf = newbuf; in snd_seq_set_output_buffer_size() 4197 memcpy(seq->obuf + seq->obufused, ev, sizeof(snd_seq_ump_event_t)); in snd_seq_event_output_buffer() 4199 memcpy(seq->obuf + seq->obufused, ev, sizeof(snd_seq_event_t)); in snd_seq_event_output_buffer() 4201 memcpy(seq->obuf + seq->obufused + sizeof(snd_seq_event_t), in snd_seq_event_output_buffer() 4298 result = seq->ops->write(seq, seq->obuf, seq->obufused); in snd_seq_drain_output() 4305 memmove(seq->obuf, se in snd_seq_drain_output() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | wpa_helpers.h | 16 int get_wpa_status(const char *ifname, const char *field, char *obuf,
|
H A D | wpa_helpers.c | 163 int get_wpa_status(const char *ifname, const char *field, char *obuf, in get_wpa_status() argument 204 memcpy(obuf, pos, end - pos); in get_wpa_status()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | wpa_helpers.h | 16 int get_wpa_status(const char *ifname, const char *field, char *obuf,
|