Home
last modified time | relevance | path

Searched refs:field_value (Results 1 – 17 of 17) sorted by relevance

/third_party/protobuf/python/google/protobuf/internal/
Dpython_message.py526 for field_name, field_value in kwargs.items():
531 if field_value is None:
539 for key in field_value:
540 copy[key].MergeFrom(field_value[key])
542 copy.update(field_value)
544 for val in field_value:
551 field_value = [_GetIntegerEnumValue(field.enum_type, val)
552 for val in field_value]
553 copy.extend(field_value)
557 new_val = field_value
[all …]
/third_party/nghttp2/tests/
Dnghttp2_frame_test.c464 static const uint8_t field_value[] = "h2=\":443\""; in test_nghttp2_frame_pack_altsvc() local
480 buf.last = nghttp2_cpymem(buf.last, field_value, sizeof(field_value) - 1); in test_nghttp2_frame_pack_altsvc()
484 sizeof(field_value) - 1); in test_nghttp2_frame_pack_altsvc()
486 payloadlen = 2 + sizeof(origin) - 1 + sizeof(field_value) - 1; in test_nghttp2_frame_pack_altsvc()
502 CU_ASSERT(sizeof(field_value) - 1 == oaltsvc.field_value_len); in test_nghttp2_frame_pack_altsvc()
504 memcmp(field_value, oaltsvc.field_value, sizeof(field_value) - 1)); in test_nghttp2_frame_pack_altsvc()
609 static const uint8_t field_value[] = "i,u=0"; in test_nghttp2_frame_pack_priority_update() local
616 nghttp2_frame_priority_update_init(&frame, 1000000007, (uint8_t *)field_value, in test_nghttp2_frame_pack_priority_update()
617 sizeof(field_value) - 1); in test_nghttp2_frame_pack_priority_update()
619 payloadlen = 4 + sizeof(field_value) - 1; in test_nghttp2_frame_pack_priority_update()
[all …]
Dnghttp2_session_test.c2426 static const uint8_t field_value[] = "h2=\":443\""; in test_nghttp2_session_recv_altsvc() local
2443 nghttp2_frame_hd_init(&hd, 2 + sizeof(origin) - 1 + sizeof(field_value) - 1, in test_nghttp2_session_recv_altsvc()
2450 buf.last = nghttp2_cpymem(buf.last, field_value, sizeof(field_value) - 1); in test_nghttp2_session_recv_altsvc()
2512 nghttp2_frame_hd_init(&hd, 2 + sizeof(origin) - 1 + sizeof(field_value) - 1, in test_nghttp2_session_recv_altsvc()
2519 buf.last = nghttp2_cpymem(buf.last, field_value, sizeof(field_value) - 1); in test_nghttp2_session_recv_altsvc()
2534 nghttp2_frame_hd_init(&hd, 2 + sizeof(field_value) - 1, NGHTTP2_ALTSVC, in test_nghttp2_session_recv_altsvc()
2540 buf.last = nghttp2_cpymem(buf.last, field_value, sizeof(field_value) - 1); in test_nghttp2_session_recv_altsvc()
2605 nghttp2_frame_hd_init(&hd, 2 + sizeof(origin) - 1 + sizeof(field_value) - 1, in test_nghttp2_session_recv_altsvc()
2612 buf.last = nghttp2_cpymem(buf.last, field_value, sizeof(field_value) - 1); in test_nghttp2_session_recv_altsvc()
2789 static const uint8_t field_value[] = "u=2,i"; in test_nghttp2_session_recv_priority_update() local
[all …]
/third_party/mesa3d/src/intel/common/
Dintel_decoder.c272 field_value(uint64_t value, int start, int end) in field_value() function
803 return field_value(p[0], field->start, field->end) + group->bias; in intel_group_get_length()
809 uint32_t type = field_value(h, 29, 31); in intel_group_get_length()
813 uint32_t opcode = field_value(h, 23, 28); in intel_group_get_length()
817 return field_value(h, 0, 7) + 2; in intel_group_get_length()
822 return field_value(h, 0, 7) + 2; in intel_group_get_length()
826 uint32_t subtype = field_value(h, 27, 28); in intel_group_get_length()
827 uint32_t opcode = field_value(h, 24, 26); in intel_group_get_length()
828 uint16_t whole_opcode = field_value(h, 16, 31); in intel_group_get_length()
834 return field_value(h, 0, 7) + 2; in intel_group_get_length()
[all …]
/third_party/nghttp2/lib/
Dnghttp2_frame.c201 uint8_t *field_value, size_t field_value_len) { in nghttp2_frame_altsvc_init() argument
210 altsvc->field_value = field_value; in nghttp2_frame_altsvc_init()
257 int32_t stream_id, uint8_t *field_value, in nghttp2_frame_priority_update_init() argument
266 priority_update->field_value = field_value; in nghttp2_frame_priority_update_init()
278 nghttp2_mem_free(mem, priority_update->field_value); in nghttp2_frame_priority_update_free()
752 rv = nghttp2_bufs_add(bufs, altsvc->field_value, altsvc->field_value_len); in nghttp2_frame_pack_altsvc()
774 altsvc->field_value = p; in nghttp2_frame_unpack_altsvc_payload()
926 rv = nghttp2_bufs_add(bufs, priority_update->field_value, in nghttp2_frame_pack_priority_update()
947 priority_update->field_value = payload + 4; in nghttp2_frame_unpack_priority_update_payload()
950 priority_update->field_value = NULL; in nghttp2_frame_unpack_priority_update_payload()
Dnghttp2_submit.c504 size_t origin_len, const uint8_t *field_value, in nghttp2_submit_altsvc() argument
549 p = nghttp2_cpymem(p, field_value, field_value_len); in nghttp2_submit_altsvc()
672 const uint8_t *field_value, in nghttp2_submit_priority_update() argument
702 p = nghttp2_cpymem(buf, field_value, field_value_len); in nghttp2_submit_priority_update()
Dnghttp2_frame.h539 uint8_t *field_value, size_t field_value_len);
574 int32_t stream_id, uint8_t *field_value,
Dnghttp2_session.c5406 rv = nghttp2_http_parse_priority(&extpri, priority_update->field_value, in nghttp2_session_on_priority_update_received()
/third_party/node/deps/nghttp2/lib/
Dnghttp2_frame.c201 uint8_t *field_value, size_t field_value_len) { in nghttp2_frame_altsvc_init() argument
210 altsvc->field_value = field_value; in nghttp2_frame_altsvc_init()
729 rv = nghttp2_bufs_add(bufs, altsvc->field_value, altsvc->field_value_len); in nghttp2_frame_pack_altsvc()
751 altsvc->field_value = p; in nghttp2_frame_unpack_altsvc_payload()
Dnghttp2_submit.c501 size_t origin_len, const uint8_t *field_value, in nghttp2_submit_altsvc() argument
546 p = nghttp2_cpymem(p, field_value, field_value_len); in nghttp2_submit_altsvc()
Dnghttp2_frame.h513 uint8_t *field_value, size_t field_value_len);
/third_party/nghttp2/src/
Dapp_helper.cc359 static_cast<int>(altsvc->field_value_len), altsvc->field_value); in print_frame()
379 priority_update->field_value); in print_frame()
/third_party/rust/crates/clap/clap_derive/src/derives/
Dargs.rs652 let field_value = match **ty { in gen_parsers() localVariable
716 *#field_name = #field_value in gen_parsers()
720 quote_spanned!(field.span()=> #field_name: #field_value ) in gen_parsers()
/third_party/nghttp2/lib/includes/nghttp2/
Dnghttp2.h4753 uint8_t *field_value; member
4797 const uint8_t *field_value,
4896 uint8_t *field_value; member
4940 const uint8_t *field_value,
/third_party/node/deps/nghttp2/lib/includes/nghttp2/
Dnghttp2.h4561 uint8_t *field_value; member
4605 const uint8_t *field_value,
/third_party/protobuf/python/google/protobuf/pyext/
Dmessage.cc2115 PyObject* field_value = GetFieldValue(self, fields[i]); in ListFields() local
2116 if (field_value == NULL) { in ListFields()
2121 PyTuple_SET_ITEM(t.get(), 1, field_value); in ListFields()
/third_party/node/src/
Dnode_http2.cc1365 OneByteString(isolate, altsvc->field_value, altsvc->field_value_len) in HandleAltSvcFrame()