/third_party/jerryscript/jerry-ext/debugger/ |
D | debugger-rp.c | 60 size_t message_length) /**< message length in bytes */ in jerryx_debugger_rp_send() argument 62 JERRYX_ASSERT (message_length <= JERRYX_DEBUGGER_RAWPACKET_ONE_BYTE_LEN_MAX); in jerryx_debugger_rp_send() 64 message_p[-1] = (uint8_t) message_length; in jerryx_debugger_rp_send() 66 return header_p->next_p->send (header_p->next_p, message_p - 1, message_length + 1); in jerryx_debugger_rp_send() 94 if (receive_context_p->message_length < sizeof (jerryx_rawpacket_receive_header_t)) in jerryx_debugger_rp_receive() 103 JERRYX_ASSERT (receive_context_p->message_length >= sizeof (jerryx_rawpacket_receive_header_t)); in jerryx_debugger_rp_receive() 107 size_t message_length = (size_t) (message_p[0]); in jerryx_debugger_rp_receive() local 111 size_t new_total_length = message_length + sizeof (jerryx_rawpacket_receive_header_t); in jerryx_debugger_rp_receive() 114 if (receive_context_p->message_length < new_total_length) in jerryx_debugger_rp_receive() 125 …JERRYX_ASSERT (receive_context_p->message_length == (message_length + sizeof (jerryx_rawpacket_rec… in jerryx_debugger_rp_receive() [all …]
|
D | debugger-ws.c | 170 if (length < context.message_length) in jerryx_process_handshake() 177 memcpy (request_end_p, context.message_p, context.message_length); in jerryx_process_handshake() 181 request_end_p += (size_t) context.message_length; in jerryx_process_handshake() 293 size_t message_length) /**< message length in bytes */ in jerryx_debugger_ws_send() argument 295 JERRYX_ASSERT (message_length <= JERRYX_DEBUGGER_WEBSOCKET_ONE_BYTE_LEN_MAX); in jerryx_debugger_ws_send() 298 message_p[-1] = (uint8_t) message_length; in jerryx_debugger_ws_send() 300 return header_p->next_p->send (header_p->next_p, message_p - 2, message_length + 2); in jerryx_debugger_ws_send() 325 if (receive_context_p->message_length < sizeof (jerryx_websocket_receive_header_t)) in jerryx_debugger_ws_receive() 334 JERRYX_ASSERT (receive_context_p->message_length >= sizeof (jerryx_websocket_receive_header_t)); in jerryx_debugger_ws_receive() 355 size_t message_length = (size_t) (message_p[1] & JERRYX_DEBUGGER_WEBSOCKET_LENGTH_MASK); in jerryx_debugger_ws_receive() local [all …]
|
D | debugger-tcp.c | 150 size_t message_length) /**< message length in bytes */ in jerryx_debugger_tcp_send() argument 170 ssize_t sent_bytes = send (tcp_p->tcp_socket, (char *)message_p, (int)message_length, 0); in jerryx_debugger_tcp_send() 172 ssize_t sent_bytes = send (tcp_p->tcp_socket, message_p, message_length, 0); in jerryx_debugger_tcp_send() 190 message_length -= (size_t) sent_bytes; in jerryx_debugger_tcp_send() 192 while (message_length > 0); in jerryx_debugger_tcp_send() 232 receive_context_p->message_length = receive_context_p->received_length; in jerryx_debugger_tcp_receive()
|
D | debugger-serial.c | 258 size_t message_length) /**< message length in bytes */ in jerryx_debugger_serial_send() argument 266 ssize_t sent_bytes = write (serial_p->fd, message_p, message_length); in jerryx_debugger_serial_send() 281 message_length -= (size_t) sent_bytes; in jerryx_debugger_serial_send() 283 while (message_length > 0); in jerryx_debugger_serial_send() 317 receive_context_p->message_length = receive_context_p->received_length; in jerryx_debugger_serial_receive()
|
/third_party/grpc/tools/codegen/core/ |
D | gen_server_registered_method_bad_client_test_body.py | 38 for message_length in range(0, 3): 39 for send_message_length in range(0, message_length + 1): 41 0, (message_length >> 24) & 0xff, (message_length >> 16) & 0xff, 42 (message_length >> 8) & 0xff, (message_length) & 0xff 46 payload) and send_message_length == message_length
|
/third_party/grpc/test/core/tsi/alts/crypt/ |
D | aes_gcm_test.cc | 82 size_t message_length) { in gsec_test_random_encrypt_decrypt() argument 91 gsec_test_random_array(&message, message_length); in gsec_test_random_encrypt_decrypt() 96 crypter, message_length, &ciphertext_and_tag_length, nullptr); in gsec_test_random_encrypt_decrypt() 104 message, message_length, ciphertext_and_tag, in gsec_test_random_encrypt_decrypt() 108 GPR_ASSERT(message_length + tag_length == ciphertext_and_tag_length); in gsec_test_random_encrypt_decrypt() 122 GPR_ASSERT(message_length == plaintext_bytes_written); in gsec_test_random_encrypt_decrypt() 123 GPR_ASSERT(memcmp(message, plaintext, message_length) == 0); in gsec_test_random_encrypt_decrypt() 216 size_t aad_length, message_length; in gsec_test_encrypt_decrypt() local 218 message_length = gsec_test_bias_random_uint32(kTestMaxLength); in gsec_test_encrypt_decrypt() 219 gsec_test_random_encrypt_decrypt(crypter, aad_length, message_length); in gsec_test_encrypt_decrypt() [all …]
|
/third_party/jerryscript/jerry-core/api/ |
D | jerry-debugger-transport.c | 159 size_t message_length) /**< message length in bytes */ in jerry_debugger_transport_send() argument 162 JERRY_ASSERT (message_length > 0); in jerry_debugger_transport_send() 170 size_t fragment_length = (message_length <= max_send_size ? message_length in jerry_debugger_transport_send() 181 message_length -= fragment_length; in jerry_debugger_transport_send() 183 while (message_length > 0); in jerry_debugger_transport_send() 206 context_p->message_length = 0; in jerry_debugger_transport_receive()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
D | eap_tnc.c | 170 u32 message_length, in eap_tnc_process_fragment() argument 183 data->in_buf = wpabuf_alloc(message_length); in eap_tnc_process_fragment() 215 u32 message_length = 0; in eap_tnc_process() local 248 message_length = WPA_GET_BE32(pos); in eap_tnc_process() 251 if (message_length < (u32) (end - pos) || in eap_tnc_process() 252 message_length > 75000) { in eap_tnc_process() 255 message_length, (long) (end - pos)); in eap_tnc_process() 262 "Message Length %u", flags, message_length); in eap_tnc_process() 283 message_length, pos, in eap_tnc_process()
|
D | eap_ikev2.c | 289 u32 message_length, in eap_ikev2_process_fragment() argument 302 if (message_length > 50000) { in eap_ikev2_process_fragment() 309 data->in_buf = wpabuf_alloc(message_length); in eap_ikev2_process_fragment() 336 u32 message_length = 0; in eap_ikev2_process() local 368 message_length = WPA_GET_BE32(pos); in eap_ikev2_process() 371 if (message_length < (u32) (end - pos)) { in eap_ikev2_process() 374 message_length, (long) (end - pos)); in eap_ikev2_process() 381 "Message Length %u", flags, message_length); in eap_ikev2_process() 402 message_length, pos, in eap_ikev2_process()
|
D | eap_wsc.c | 396 u16 message_length, in eap_wsc_process_fragment() argument 409 data->in_buf = wpabuf_alloc(message_length); in eap_wsc_process_fragment() 436 u16 message_length = 0; in eap_wsc_process() local 461 message_length = WPA_GET_BE16(pos); in eap_wsc_process() 464 if (message_length < end - pos || message_length > 50000) { in eap_wsc_process() 474 op_code, flags, message_length); in eap_wsc_process() 522 message_length, pos, in eap_wsc_process()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
D | eap_tnc.c | 170 u32 message_length, in eap_tnc_process_fragment() argument 183 data->in_buf = wpabuf_alloc(message_length); in eap_tnc_process_fragment() 215 u32 message_length = 0; in eap_tnc_process() local 248 message_length = WPA_GET_BE32(pos); in eap_tnc_process() 251 if (message_length < (u32) (end - pos) || in eap_tnc_process() 252 message_length > 75000) { in eap_tnc_process() 255 message_length, (long) (end - pos)); in eap_tnc_process() 262 "Message Length %u", flags, message_length); in eap_tnc_process() 283 message_length, pos, in eap_tnc_process()
|
D | eap_ikev2.c | 289 u32 message_length, in eap_ikev2_process_fragment() argument 302 if (message_length > 50000) { in eap_ikev2_process_fragment() 309 data->in_buf = wpabuf_alloc(message_length); in eap_ikev2_process_fragment() 336 u32 message_length = 0; in eap_ikev2_process() local 368 message_length = WPA_GET_BE32(pos); in eap_ikev2_process() 371 if (message_length < (u32) (end - pos)) { in eap_ikev2_process() 374 message_length, (long) (end - pos)); in eap_ikev2_process() 381 "Message Length %u", flags, message_length); in eap_ikev2_process() 402 message_length, pos, in eap_ikev2_process()
|
D | eap_wsc.c | 396 u16 message_length, in eap_wsc_process_fragment() argument 409 data->in_buf = wpabuf_alloc(message_length); in eap_wsc_process_fragment() 436 u16 message_length = 0; in eap_wsc_process() local 461 message_length = WPA_GET_BE16(pos); in eap_wsc_process() 464 if (message_length < end - pos || message_length > 50000) { in eap_wsc_process() 474 op_code, flags, message_length); in eap_wsc_process() 522 message_length, pos, in eap_wsc_process()
|
/third_party/jerryscript/jerry-core/include/ |
D | jerryscript-debugger-transport.h | 45 size_t message_length; /**< length of the received message */ member 64 uint8_t *message_p, size_t message_length); 94 bool jerry_debugger_transport_send (const uint8_t *message_p, size_t message_length);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
D | eap_server_tnc.c | 417 u8 flags, u32 message_length, in eap_tnc_process_fragment() argument 429 data->in_buf = wpabuf_alloc(message_length); in eap_tnc_process_fragment() 453 u32 message_length = 0; in eap_tnc_process() local 480 message_length = WPA_GET_BE32(pos); in eap_tnc_process() 483 if (message_length < (u32) (end - pos) || in eap_tnc_process() 484 message_length > 75000) { in eap_tnc_process() 487 message_length, (long) (end - pos)); in eap_tnc_process() 493 "Message Length %u", flags, message_length); in eap_tnc_process() 513 if (eap_tnc_process_fragment(data, flags, message_length, in eap_tnc_process()
|
D | eap_server_wsc.c | 320 u8 flags, u8 op_code, u16 message_length, in eap_wsc_process_fragment() argument 332 data->in_buf = wpabuf_alloc(message_length); in eap_wsc_process_fragment() 357 u16 message_length = 0; in eap_wsc_process() local 382 message_length = WPA_GET_BE16(pos); in eap_wsc_process() 385 if (message_length < end - pos || message_length > 50000) { in eap_wsc_process() 394 op_code, flags, message_length); in eap_wsc_process() 424 message_length, pos, end - pos) < in eap_wsc_process()
|
D | eap_server_ikev2.c | 299 u8 flags, u32 message_length, in eap_ikev2_process_fragment() argument 311 if (message_length > 50000) { in eap_ikev2_process_fragment() 317 data->in_buf = wpabuf_alloc(message_length); in eap_ikev2_process_fragment() 357 u32 message_length = 0; in eap_ikev2_process() local 387 message_length = WPA_GET_BE32(pos); in eap_ikev2_process() 390 if (message_length < (u32) (end - pos)) { in eap_ikev2_process() 393 message_length, (long) (end - pos)); in eap_ikev2_process() 399 "Message Length %u", flags, message_length); in eap_ikev2_process() 419 if (eap_ikev2_process_fragment(data, flags, message_length, in eap_ikev2_process()
|
D | eap_server_tls_common.c | 287 u8 flags, u32 message_length, in eap_server_tls_process_fragment() argument 302 if (message_length > 65536) { in eap_server_tls_process_fragment() 308 if (len > message_length) { in eap_server_tls_process_fragment() 312 (int) len, (int) message_length); in eap_server_tls_process_fragment() 316 data->tls_in = wpabuf_alloc(message_length); in eap_server_tls_process_fragment()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
D | eap_server_wsc.c | 318 u8 flags, u8 op_code, u16 message_length, in eap_wsc_process_fragment() argument 330 data->in_buf = wpabuf_alloc(message_length); in eap_wsc_process_fragment() 355 u16 message_length = 0; in eap_wsc_process() local 380 message_length = WPA_GET_BE16(pos); in eap_wsc_process() 383 if (message_length < end - pos || message_length > 50000) { in eap_wsc_process() 392 op_code, flags, message_length); in eap_wsc_process() 422 message_length, pos, end - pos) < in eap_wsc_process()
|
D | eap_server_tnc.c | 417 u8 flags, u32 message_length, in eap_tnc_process_fragment() argument 429 data->in_buf = wpabuf_alloc(message_length); in eap_tnc_process_fragment() 453 u32 message_length = 0; in eap_tnc_process() local 480 message_length = WPA_GET_BE32(pos); in eap_tnc_process() 483 if (message_length < (u32) (end - pos) || in eap_tnc_process() 484 message_length > 75000) { in eap_tnc_process() 487 message_length, (long) (end - pos)); in eap_tnc_process() 493 "Message Length %u", flags, message_length); in eap_tnc_process() 513 if (eap_tnc_process_fragment(data, flags, message_length, in eap_tnc_process()
|
D | eap_server_ikev2.c | 299 u8 flags, u32 message_length, in eap_ikev2_process_fragment() argument 311 if (message_length > 50000) { in eap_ikev2_process_fragment() 317 data->in_buf = wpabuf_alloc(message_length); in eap_ikev2_process_fragment() 357 u32 message_length = 0; in eap_ikev2_process() local 387 message_length = WPA_GET_BE32(pos); in eap_ikev2_process() 390 if (message_length < (u32) (end - pos)) { in eap_ikev2_process() 393 message_length, (long) (end - pos)); in eap_ikev2_process() 399 "Message Length %u", flags, message_length); in eap_ikev2_process() 419 if (eap_ikev2_process_fragment(data, flags, message_length, in eap_ikev2_process()
|
D | eap_server_tls_common.c | 286 u8 flags, u32 message_length, in eap_server_tls_process_fragment() argument 301 if (message_length > 65536) { in eap_server_tls_process_fragment() 307 if (len > message_length) { in eap_server_tls_process_fragment() 311 (int) len, (int) message_length); in eap_server_tls_process_fragment() 315 data->tls_in = wpabuf_alloc(message_length); in eap_server_tls_process_fragment()
|
/third_party/boost/libs/uuid/test/ |
D | test_sha1.cpp | 218 std::size_t message_length = std::strlen(tc.message); in test_short_messages() local 219 BOOST_TEST_EQ(message_length % 2, 0u); in test_short_messages() 221 for (std::size_t b=0; b<message_length; b+=2) { in test_short_messages()
|
/third_party/jerryscript/docs/ |
D | 13.DEBUGGER-TRANSPORT.md | 28 size_t message_length; /**< length of the received message */ 80 uint8_t *message_p, size_t message_length); 169 bool jerry_debugger_transport_send (const uint8_t *message_p, size_t message_length); 173 - `message_length`: message length in bytes.
|
/third_party/mbedtls/tests/src/ |
D | psa_exercise_key.c | 351 size_t message_length = 16; in exercise_signature_key() local 357 message, message_length, in exercise_signature_key() 369 message, message_length, in exercise_signature_key()
|