Home
last modified time | relevance | path

Searched refs:message_length (Results 1 – 25 of 38) sorted by relevance

12

/external/grpc-grpc/tools/codegen/core/
Dgen_server_registered_method_bad_client_test_body.py38 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
/external/nanopb-c/tests/fixed_count/
Dfixed_count_unittests.c20 size_t message_length; in main() local
28 message_length = ostream.bytes_written; in main()
30 istream = pb_istream_from_buffer(buffer, message_length); in main()
44 size_t message_length; in main() local
55 message_length = ostream.bytes_written; in main()
57 istream = pb_istream_from_buffer(buffer, message_length); in main()
71 size_t message_length; in main() local
103 message_length = ostream.bytes_written; in main()
105 istream = pb_istream_from_buffer(buffer, message_length); in main()
/external/grpc-grpc/test/core/tsi/alts/crypt/
Daes_gcm_test.cc81 size_t message_length) { in gsec_test_random_encrypt_decrypt() argument
90 gsec_test_random_array(&message, message_length); in gsec_test_random_encrypt_decrypt()
95 crypter, message_length, &ciphertext_and_tag_length, nullptr); in gsec_test_random_encrypt_decrypt()
103 message, message_length, ciphertext_and_tag, in gsec_test_random_encrypt_decrypt()
107 GPR_ASSERT(message_length + tag_length == ciphertext_and_tag_length); in gsec_test_random_encrypt_decrypt()
121 GPR_ASSERT(message_length == plaintext_bytes_written); in gsec_test_random_encrypt_decrypt()
122 GPR_ASSERT(memcmp(message, plaintext, message_length) == 0); in gsec_test_random_encrypt_decrypt()
215 size_t aad_length, message_length; in gsec_test_encrypt_decrypt() local
217 message_length = gsec_test_bias_random_uint32(kTestMaxLength); in gsec_test_encrypt_decrypt()
218 gsec_test_random_encrypt_decrypt(crypter, aad_length, message_length); in gsec_test_encrypt_decrypt()
[all …]
/external/wpa_supplicant_8/src/eap_peer/
Deap_tnc.c170 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()
Deap_ikev2.c289 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()
Deap_wsc.c396 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()
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_message_unittest.py75 self.assertEqual(message.message_length, 0)
87 self.assertEqual(message.message_length, 0)
130 self.assertEqual(message.message_length, 16)
147 self.assertEqual(message.message_length, 16)
165 self.assertEqual(message.message_length, 16)
194 self.assertEqual(message.message_length, 56)
267 self.assertEqual(message.message_length, 208)
Dmbim_message_request.py123 message_length=primary_frag_length)
172 if message.message_length < max_fragment_length:
Dmbim_message_response.py124 primary_fragment = primary_fragment.copy(message_length=total_length)
/external/nanopb-c/examples/simple/
Dsimple.c10 size_t message_length; in main() local
32 message_length = stream.bytes_written; in main()
53 pb_istream_t stream = pb_istream_from_buffer(buffer, message_length); in main()
/external/grpc-grpc/third_party/nanopb/examples/simple/
Dsimple.c10 size_t message_length; in main() local
32 message_length = stream.bytes_written; in main()
53 pb_istream_t stream = pb_istream_from_buffer(buffer, message_length); in main()
/external/nanopb-c/examples/cmake_simple/
Dsimple.c10 size_t message_length; in main() local
32 message_length = stream.bytes_written; in main()
53 pb_istream_t stream = pb_istream_from_buffer(buffer, message_length); in main()
/external/grpc-grpc/third_party/nanopb/examples/cmake_simple/
Dsimple.c10 size_t message_length; in main() local
32 message_length = stream.bytes_written; in main()
53 pb_istream_t stream = pb_istream_from_buffer(buffer, message_length); in main()
/external/nanopb-c/examples/cmake_relpath/
Dsimple.c10 size_t message_length; in main() local
33 message_length = stream.bytes_written; in main()
54 pb_istream_t stream = pb_istream_from_buffer(buffer, message_length); in main()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_wsc.c318 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()
Deap_server_tnc.c417 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()
Deap_server_ikev2.c299 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()
Deap_server_tls_common.c285 u8 flags, u32 message_length, in eap_server_tls_process_fragment() argument
300 if (message_length > 65536) { in eap_server_tls_process_fragment()
306 if (len > message_length) { in eap_server_tls_process_fragment()
310 (int) len, (int) message_length); in eap_server_tls_process_fragment()
314 data->tls_in = wpabuf_alloc(message_length); in eap_server_tls_process_fragment()
/external/autotest/client/cros/cellular/mbim_compliance/tests/
Dcm_02.py33 if response_message.message_length < 0x0C:
Dcm_07.py34 message_length=48,
Dcm_08.py36 message_length=52,
Dcm_13.py50 message_length=84,
/external/autotest/client/site_tests/cellular_MbimComplianceControlRequest/
Dcellular_MbimComplianceCM02.py41 if response_message.message_length < 0x0C:
Dcellular_MbimComplianceCM14.py52 (response_message.message_length != 16)):
/external/deqp/external/openglcts/modules/gl/
Dgl4cVertexAttrib64BitTest.cpp151 GLint message_length = 0; in CompileShader() local
154 gl.getShaderiv(id, GL_INFO_LOG_LENGTH, &message_length); in CompileShader()
157 message.resize(message_length + 1); in CompileShader()
159 gl.getShaderInfoLog(id, message_length, &message_length, &message[0]); in CompileShader()
222 GLint message_length = 0; in LinkProgram() local
225 gl.getProgramiv(id, GL_INFO_LOG_LENGTH, &message_length); in LinkProgram()
228 message.resize(message_length + 1); in LinkProgram()
230 gl.getProgramInfoLog(id, message_length, &message_length, &message[0]); in LinkProgram()

12