/third_party/libsnd/ossfuzz/ |
D | standaloneengine.cc | 26 size_t buffer_len; in main() local 32 buffer_len = ftell(infile); in main() 38 buffer = (uint8_t *)calloc(buffer_len, sizeof(uint8_t)); in main() 44 result = fread(buffer, sizeof(uint8_t), buffer_len, infile); in main() 46 if (result == buffer_len) in main() 48 printf("Read %zu bytes, fuzzing.. ", buffer_len); in main() 50 LLVMFuzzerTestOneInput(buffer, buffer_len); in main() 58 buffer_len, in main() 71 buffer_len); in main()
|
/third_party/qrcodegen/rust-no-heap/examples/ |
D | qrcodegen-demo.rs | 54 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_basic_demo() 55 let mut tempbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_basic_demo() 68 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo() 69 let mut tempbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo() 76 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo() 77 let mut tempbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo() 84 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo() 85 let mut tempbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo() 100 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo() 101 let mut tempbuffer = vec![0u8; Version::MAX.buffer_len()]; in do_variety_demo() [all …]
|
/third_party/lz4/ossfuzz/ |
D | standaloneengine.c | 26 size_t buffer_len; in main() local 32 buffer_len = ftell(infile); in main() 38 buffer = (uint8_t *)calloc(buffer_len, sizeof(uint8_t)); in main() 42 fread(buffer, sizeof(uint8_t), buffer_len, infile); in main() 43 printf("Read %zu bytes, fuzzing.. ", buffer_len); in main() 46 LLVMFuzzerTestOneInput(buffer, buffer_len); in main() 59 buffer_len); in main()
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
D | encrypt.rs | 500 let buffer_len = encrypter.encrypt_len(&input).unwrap(); in rsa_encrypt_decrypt() localVariable 501 let mut encoded = vec![0u8; buffer_len]; in rsa_encrypt_decrypt() 507 let buffer_len = decrypter.decrypt_len(encoded).unwrap(); in rsa_encrypt_decrypt() localVariable 508 let mut decoded = vec![0u8; buffer_len]; in rsa_encrypt_decrypt() 529 let buffer_len = encrypter.encrypt_len(&input).unwrap(); in rsa_encrypt_decrypt_with_sha256() localVariable 530 let mut encoded = vec![0u8; buffer_len]; in rsa_encrypt_decrypt_with_sha256() 538 let buffer_len = decrypter.decrypt_len(encoded).unwrap(); in rsa_encrypt_decrypt_with_sha256() localVariable 539 let mut decoded = vec![0u8; buffer_len]; in rsa_encrypt_decrypt_with_sha256() 557 let buffer_len = encrypter.encrypt_len(&input).unwrap(); in rsa_encrypt_decrypt_oaep_label() localVariable 558 let mut encoded = vec![0u8; buffer_len]; in rsa_encrypt_decrypt_oaep_label() [all …]
|
/third_party/mesa3d/src/intel/common/ |
D | intel_gem.h | 100 void *buffer, int32_t *buffer_len) in intel_i915_query_flags() argument 104 .length = *buffer_len, in intel_i915_query_flags() 121 *buffer_len = item.length; in intel_i915_query_flags() 127 int32_t *buffer_len) in intel_i915_query() argument 129 return intel_i915_query_flags(fd, query_id, 0, buffer, buffer_len); in intel_i915_query()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/ |
D | eap_teap_common.c | 309 const u8 *buffer, size_t buffer_len, in eap_teap_tls_mac() argument 320 res = hmac_sha1(cmk, cmk_len, buffer, buffer_len, tmp); in eap_teap_tls_mac() 323 res = hmac_sha256(cmk, cmk_len, buffer, buffer_len, tmp); in eap_teap_tls_mac() 326 res = hmac_sha384(cmk, cmk_len, buffer, buffer_len, tmp); in eap_teap_tls_mac() 353 size_t bind_len, buffer_len; in eap_teap_compound_mac() local 359 buffer_len = bind_len + 1; in eap_teap_compound_mac() 361 buffer_len += wpabuf_len(server_outer_tlvs); in eap_teap_compound_mac() 363 buffer_len += wpabuf_len(peer_outer_tlvs); in eap_teap_compound_mac() 364 buffer = os_malloc(buffer_len); in eap_teap_compound_mac() 400 buffer_len = pos - buffer; in eap_teap_compound_mac() [all …]
|
/third_party/python/Doc/c-api/ |
D | objbuffer.rst | 21 … c:function:: int PyObject_AsCharBuffer(PyObject *obj, const char **buffer, Py_ssize_t *buffer_len) 26 and *buffer_len* to the buffer length. Returns ``-1`` and sets a 30 … c:function:: int PyObject_AsReadBuffer(PyObject *obj, const void **buffer, Py_ssize_t *buffer_len) 35 and *buffer_len* to the buffer length. Returns ``-1`` and sets a 49 .. c:function:: int PyObject_AsWriteBuffer(PyObject *obj, void **buffer, Py_ssize_t *buffer_len) 53 returns ``0``, sets *buffer* to the memory location and *buffer_len* to the
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/ |
D | eap_teap_common.c | 318 const u8 *buffer, size_t buffer_len, in eap_teap_tls_mac() argument 329 res = hmac_sha1(cmk, cmk_len, buffer, buffer_len, tmp); in eap_teap_tls_mac() 332 res = hmac_sha256(cmk, cmk_len, buffer, buffer_len, tmp); in eap_teap_tls_mac() 335 res = hmac_sha384(cmk, cmk_len, buffer, buffer_len, tmp); in eap_teap_tls_mac() 362 size_t bind_len, buffer_len; in eap_teap_compound_mac() local 368 buffer_len = bind_len + 1; in eap_teap_compound_mac() 370 buffer_len += wpabuf_len(server_outer_tlvs); in eap_teap_compound_mac() 372 buffer_len += wpabuf_len(peer_outer_tlvs); in eap_teap_compound_mac() 373 buffer = os_malloc(buffer_len); in eap_teap_compound_mac() 409 buffer_len = pos - buffer; in eap_teap_compound_mac() [all …]
|
/third_party/curl/tests/server/ |
D | sockfilt.c | 399 ssize_t *buffer_len) in read_data_block() argument 406 *buffer_len = (ssize_t)strtol((char *)buffer, NULL, 16); in read_data_block() 407 if(*buffer_len > maxlen) { in read_data_block() 409 "(%zd bytes)", maxlen, *buffer_len); in read_data_block() 412 logmsg("> %zd bytes data, server => client", *buffer_len); in read_data_block() 414 if(!read_stdin(buffer, *buffer_len)) in read_data_block() 417 lograw(buffer, *buffer_len); in read_data_block() 907 ssize_t buffer_len; in disc_handshake() local 924 if(!read_data_block(buffer, sizeof(buffer), &buffer_len)) in disc_handshake() 927 logmsg("Throwing again %zd data bytes", buffer_len); in disc_handshake() [all …]
|
/third_party/libuv/test/ |
D | runner-win.c | 242 size_t buffer_len) { in process_read_last_line() argument 248 ASSERT(buffer_len > 0); in process_read_last_line() 260 if (size >= buffer_len) in process_read_last_line() 261 overlapped.Offset = size - buffer_len - 1; in process_read_last_line() 263 if (!ReadFile(p->stdio_out, buffer, buffer_len - 1, &read, &overlapped)) in process_read_last_line()
|
D | runner-unix.c | 381 size_t buffer_len) { in process_read_last_line() argument 392 while (fgets(buffer, buffer_len, p->stdout_file) != NULL) { in process_read_last_line()
|
D | runner.h | 155 size_t buffer_len);
|
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/ |
D | gstmfaudioenc.cpp | 252 DWORD buffer_len = 0; in gst_mf_audio_enc_process_output() local 263 hr = media_buffer->Lock (&data, NULL, &buffer_len); in gst_mf_audio_enc_process_output() 268 if (buffer_len == 0 || !data) { in gst_mf_audio_enc_process_output() 275 buffer_len); in gst_mf_audio_enc_process_output() 276 gst_buffer_fill (buffer, 0, data, buffer_len); in gst_mf_audio_enc_process_output()
|
/third_party/qrcodegen/rust-no-heap/ |
D | Readme.markdown | 47 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; 48 let mut tempbuffer = vec![0u8; Version::MAX.buffer_len()]; 55 let mut outbuffer = vec![0u8; Version::MAX.buffer_len()]; 56 let mut dataandtemp = vec![0u8; Version::MAX.buffer_len()];
|
/third_party/openssl/crypto/ |
D | provider_conf.c | 85 size_t buffer_len = 0; in provider_conf_params() local 92 buffer_len = strlen(buffer); in provider_conf_params() 98 if (buffer_len + strlen(sectconf->name) >= sizeof(buffer)) in provider_conf_params() 100 buffer[buffer_len] = '\0'; in provider_conf_params()
|
/third_party/node/deps/openssl/openssl/crypto/ |
D | provider_conf.c | 85 size_t buffer_len = 0; in provider_conf_params() local 92 buffer_len = strlen(buffer); in provider_conf_params() 98 if (buffer_len + strlen(sectconf->name) >= sizeof(buffer)) in provider_conf_params() 100 buffer[buffer_len] = '\0'; in provider_conf_params()
|
/third_party/mbedtls/port/src/ |
D | tls_client.c | 40 (void)memset_s(session->buffer, session->buffer_len, 0x00, session->buffer_len); in MbedtlsSslCertificateVerify() 41 mbedtls_x509_crt_verify_info((char *)session->buffer, session->buffer_len, " ! ", ret); in MbedtlsSslCertificateVerify()
|
/third_party/gstreamer/gstplugins_bad/ext/curl/ |
D | gstcurlhttpsrc.c | 801 source->buffer_len = 0; in gst_curl_http_src_init() 999 if (src->buffer_len > 0) { in gst_curl_http_src_handle_seek() 1002 src->buffer_len = 0; in gst_curl_http_src_handle_seek() 1100 while ((src->buffer_len == 0) && (src->state == GSTCURL_OK) in gst_curl_http_src_create() 1106 if (src->buffer_len > 0) { in gst_curl_http_src_create() 1109 src->buffer_len = 0; in gst_curl_http_src_create() 1183 (src->buffer_len > 0)) { in gst_curl_http_src_create() 1186 src->buffer_len, src->uri); in gst_curl_http_src_create() 1187 *outbuf = gst_buffer_new_allocate (NULL, src->buffer_len, NULL); in gst_curl_http_src_create() 1188 gst_buffer_fill (*outbuf, 0, src->buffer, src->buffer_len); in gst_curl_http_src_create() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | vorbisenc.c | 619 int buffer_len = 50000; in put_main_header() local 620 uint8_t *buffer = av_mallocz(buffer_len), *p = buffer; in put_main_header() 625 init_put_bits(&pb, p, buffer_len); in put_main_header() 641 buffer_len -= hlens[0]; in put_main_header() 645 init_put_bits(&pb, p, buffer_len); in put_main_header() 655 buffer_len -= hlens[1]; in put_main_header() 659 init_put_bits(&pb, p, buffer_len); in put_main_header() 738 buffer_len = 0; in put_main_header() 740 memcpy(p, buffer + buffer_len, hlens[i]); in put_main_header() 742 buffer_len += hlens[i]; in put_main_header()
|
/third_party/python/Include/ |
D | abstract.h | 328 Py_ssize_t *buffer_len); 345 Py_ssize_t *buffer_len); 356 Py_ssize_t *buffer_len);
|
/third_party/mbedtls/port/include/ |
D | tls_client.h | 37 size_t buffer_len; member
|
/third_party/libsnd/src/ |
D | sd2.c | 352 read_rsrc_str (const SD2_RSRC *prsrc, int offset, char * buffer, int buffer_len) in read_rsrc_str() argument 356 memset (buffer, 0, buffer_len) ; in read_rsrc_str() 358 if (offset < 0 || offset + buffer_len >= prsrc->rsrc_len) in read_rsrc_str() 361 for (k = 0 ; k < buffer_len - 1 ; k++) in read_rsrc_str()
|
/third_party/gstreamer/gstplugins_good/sys/osxaudio/ |
D | gstosxaudioringbuffer.h | 84 guint buffer_len; member
|
/third_party/python/Objects/ |
D | abstract.c | 317 as_read_buffer(PyObject *obj, const void **buffer, Py_ssize_t *buffer_len) in as_read_buffer() argument 321 if (obj == NULL || buffer == NULL || buffer_len == NULL) { in as_read_buffer() 329 *buffer_len = view.len; in as_read_buffer() 337 Py_ssize_t *buffer_len) in PyObject_AsCharBuffer() argument 339 return as_read_buffer(obj, (const void **)buffer, buffer_len); in PyObject_AsCharBuffer() 344 Py_ssize_t *buffer_len) in PyObject_AsReadBuffer() argument 346 return as_read_buffer(obj, buffer, buffer_len); in PyObject_AsReadBuffer() 351 Py_ssize_t *buffer_len) in PyObject_AsWriteBuffer() argument 356 if (obj == NULL || buffer == NULL || buffer_len == NULL) { in PyObject_AsWriteBuffer() 370 *buffer_len = view.len; in PyObject_AsWriteBuffer()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_gem_stubs.c | 185 int32_t *buffer_len) in anv_i915_query() argument
|