Home
last modified time | relevance | path

Searched refs:value_length (Results 1 – 25 of 76) sorted by relevance

1234

/external/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-sigv4/
Dstatic_policy.h15 .value_length = 0xa,
23 .value_length = 0xb,
31 .value_length = 0x15,
39 .value_length = 0xd,
47 .value_length = 0x0,
55 .value_length = 0x0,
63 .value_length = 0x0,
71 .value_length = 0x0,
/external/libcups/cups/
Dsnmp.c738 unsigned value_length; /* Length of value */ in asn1_debug() local
805 value_length = asn1_get_length(&buffer, bufend); in asn1_debug()
810 integer = asn1_get_integer(&buffer, bufend, value_length); in asn1_debug()
813 value_length, integer); in asn1_debug()
817 integer = asn1_get_integer(&buffer, bufend, value_length); in asn1_debug()
820 value_length, integer); in asn1_debug()
824 integer = asn1_get_integer(&buffer, bufend, value_length); in asn1_debug()
827 value_length, (unsigned)integer); in asn1_debug()
831 integer = asn1_get_integer(&buffer, bufend, value_length); in asn1_debug()
834 value_length, (unsigned)integer); in asn1_debug()
[all …]
/external/tensorflow/tensorflow/core/lib/io/
Dblock.cc66 uint32* value_length) { in DecodeEntry() argument
70 *value_length = reinterpret_cast<const unsigned char*>(p)[2]; in DecodeEntry()
71 if ((*shared | *non_shared | *value_length) < 128) { in DecodeEntry()
78 if ((p = core::GetVarint32Ptr(p, limit, value_length)) == nullptr) in DecodeEntry()
82 if (static_cast<uint32>(limit - p) < (*non_shared + *value_length)) { in DecodeEntry()
159 uint32 shared, non_shared, value_length; in Seek() local
162 &non_shared, &value_length); in Seek()
217 uint32 shared, non_shared, value_length; in ParseNextKey() local
218 p = DecodeEntry(p, limit, &shared, &non_shared, &value_length); in ParseNextKey()
225 value_ = StringPiece(p + non_shared, value_length); in ParseNextKey()
/external/leveldb/table/
Dblock.cc57 uint32_t* value_length) { in DecodeEntry() argument
61 *value_length = reinterpret_cast<const uint8_t*>(p)[2]; in DecodeEntry()
62 if ((*shared | *non_shared | *value_length) < 128) { in DecodeEntry()
68 if ((p = GetVarint32Ptr(p, limit, value_length)) == nullptr) return nullptr; in DecodeEntry()
71 if (static_cast<uint32_t>(limit - p) < (*non_shared + *value_length)) { in DecodeEntry()
190 uint32_t shared, non_shared, value_length; in Seek() local
193 &non_shared, &value_length); in Seek()
262 uint32_t shared, non_shared, value_length; in ParseNextKey() local
263 p = DecodeEntry(p, limit, &shared, &non_shared, &value_length); in ParseNextKey()
270 value_ = Slice(p + non_shared, value_length); in ParseNextKey()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/context/
Dsecurity_context.cc232 size_t value_length) { in add_property() argument
236 prop->value = static_cast<char*>(gpr_malloc(value_length + 1)); in add_property()
237 memcpy(prop->value, value, value_length); in add_property()
238 prop->value[value_length] = '\0'; in add_property()
239 prop->value_length = value_length; in add_property()
243 const char* value, size_t value_length) { in grpc_auth_context_add_property() argument
248 (ctx, name, (int)value_length, (int)value_length, value, in grpc_auth_context_add_property()
249 (unsigned long)value_length)); in grpc_auth_context_add_property()
250 ctx->add_property(name, value, value_length); in grpc_auth_context_add_property()
259 prop->value_length = strlen(value); in add_cstring_property()
/external/grpc-grpc/src/core/lib/security/context/
Dsecurity_context.cc272 const char* value, size_t value_length) { argument
278 (ctx, name, (int)value_length, (int)value_length, value,
279 (unsigned long)value_length));
283 prop->value = static_cast<char*>(gpr_malloc(value_length + 1));
284 memcpy(prop->value, value, value_length);
285 prop->value[value_length] = '\0';
286 prop->value_length = value_length;
300 prop->value_length = strlen(value);
/external/cronet/net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/
Daltsvc_payload_decoder.cc79 size_t value_length = state->remaining_payload() - origin_length; in ResumeDecodingPayload() local
81 value_length); in ResumeDecodingPayload()
119 size_t value_length = state->frame_header().payload_length - origin_length - in DecodeStrings() local
121 if (state->remaining_payload() > value_length) { in DecodeStrings()
122 size_t remaining_origin_length = state->remaining_payload() - value_length; in DecodeStrings()
133 QUICHE_DCHECK_LE(state->remaining_payload(), value_length); in DecodeStrings()
Daltsvc_payload_decoder_test.cc42 size_t value_length) override { in OnAltSvcStart()
45 << "; value_length=" << value_length; in OnAltSvcStart()
46 StartFrame(header)->OnAltSvcStart(header, origin_length, value_length); in OnAltSvcStart()
/external/cronet/net/third_party/quiche/src/quiche/quic/core/qpack/fuzzer/
Dqpack_encoder_stream_sender_fuzzer.cc33 uint16_t value_length = in LLVMFuzzerTestOneInput() local
35 std::string value = provider.ConsumeRandomLengthString(value_length); in LLVMFuzzerTestOneInput()
44 uint16_t value_length = in LLVMFuzzerTestOneInput() local
46 std::string value = provider.ConsumeRandomLengthString(value_length); in LLVMFuzzerTestOneInput()
/external/cpuinfo/src/arm/linux/
Dcpuinfo.c791 size_t value_length = value_end - value_start; in parse_line() local
792 if (value_length > CPUINFO_HARDWARE_VALUE_MAX) { in parse_line()
795 (int) value_length, value_start, CPUINFO_HARDWARE_VALUE_MAX); in parse_line()
796 value_length = CPUINFO_HARDWARE_VALUE_MAX; in parse_line()
798 state->hardware[value_length] = '\0'; in parse_line()
800 memcpy(state->hardware, value_start, value_length); in parse_line()
801 cpuinfo_log_debug("parsed /proc/cpuinfo Hardware = \"%.*s\"", (int) value_length, value_start); in parse_line()
803 size_t value_length = value_end - value_start; in parse_line() local
804 if (value_length > CPUINFO_REVISION_VALUE_MAX) { in parse_line()
807 (int) value_length, value_start, CPUINFO_REVISION_VALUE_MAX); in parse_line()
[all …]
/external/cronet/base/
Denvironment.cc56 DWORD value_length = in GetVarImpl() local
58 if (value_length == 0) in GetVarImpl()
61 std::unique_ptr<wchar_t[]> value(new wchar_t[value_length]); in GetVarImpl()
63 value_length); in GetVarImpl()
/external/grpc-grpc/src/core/tsi/
Dtransport_security.cc303 const char* name, size_t value_length, tsi_peer_property* property) { in tsi_construct_allocated_string_peer_property() argument
306 if (value_length > 0) { in tsi_construct_allocated_string_peer_property()
307 property->value.data = static_cast<char*>(gpr_zalloc(value_length)); in tsi_construct_allocated_string_peer_property()
308 property->value.length = value_length; in tsi_construct_allocated_string_peer_property()
321 size_t value_length, in tsi_construct_string_peer_property() argument
324 name, value_length, property); in tsi_construct_string_peer_property()
326 if (value_length > 0) { in tsi_construct_string_peer_property()
327 memcpy(property->value.data, value, value_length); in tsi_construct_string_peer_property()
Dtransport_security.h119 size_t value_length,
122 const char* name, size_t value_length, tsi_peer_property* property);
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/
Dtransport_security.cc318 const char* name, size_t value_length, tsi_peer_property* property) { in tsi_construct_allocated_string_peer_property() argument
321 if (value_length > 0) { in tsi_construct_allocated_string_peer_property()
322 property->value.data = static_cast<char*>(gpr_zalloc(value_length)); in tsi_construct_allocated_string_peer_property()
323 property->value.length = value_length; in tsi_construct_allocated_string_peer_property()
336 size_t value_length, in tsi_construct_string_peer_property() argument
339 name, value_length, property); in tsi_construct_string_peer_property()
341 if (value_length > 0) { in tsi_construct_string_peer_property()
342 memcpy(property->value.data, value, value_length); in tsi_construct_string_peer_property()
Dtransport_security.h116 size_t value_length,
119 const char* name, size_t value_length, tsi_peer_property* property);
/external/libchrome/base/
Denvironment.cc60 DWORD value_length = in GetVarImpl() local
62 if (value_length == 0) in GetVarImpl()
65 std::unique_ptr<wchar_t[]> value(new wchar_t[value_length]); in GetVarImpl()
67 value_length); in GetVarImpl()
/external/libchrome/base/debug/
Dcrash_logging.cc17 CrashKeySize value_length) { in AllocateCrashKeyString() argument
21 return g_crash_key_impl->Allocate(name, value_length); in AllocateCrashKeyString()
/external/cronet/base/debug/
Dcrash_logging.cc21 CrashKeySize value_length) { in AllocateCrashKeyString() argument
43 return g_crash_key_impl->Allocate(name, value_length); in AllocateCrashKeyString()
/external/cronet/net/third_party/quiche/src/quiche/http2/test_tools/
Dhttp2_frame_decoder_listener_test_util.cc143 const Http2FrameHeader& header, size_t origin_length, size_t value_length) { in OnAltSvcStart() argument
145 << "; value_length: " << value_length; in OnAltSvcStart()
415 const Http2FrameHeader& header, size_t origin_length, size_t value_length) { in OnAltSvcStart() argument
418 << "; value_length: " << value_length; in OnAltSvcStart()
420 wrapped_->OnAltSvcStart(header, origin_length, value_length); in OnAltSvcStart()
Dframe_parts_collector_listener.cc173 size_t value_length) { in OnAltSvcStart() argument
176 << "; value_length=" << value_length; in OnAltSvcStart()
177 StartFrame(header)->OnAltSvcStart(header, origin_length, value_length); in OnAltSvcStart()
/external/grpc-grpc/src/cpp/common/
Dsecure_auth_context.cc42 grpc::string_ref(property->value, property->value_length)); in GetPeerIdentity()
65 values.push_back(grpc::string_ref(property->value, property->value_length)); in FindPropertyValues()
/external/rust/crates/grpcio-sys/grpc/src/cpp/common/
Dsecure_auth_context.cc35 grpc::string_ref(property->value, property->value_length)); in GetPeerIdentity()
58 values.push_back(grpc::string_ref(property->value, property->value_length)); in FindPropertyValues()
/external/google-breakpad/src/common/
Dlong_string_dictionary.cc74 size_t value_length = strlen(value); in SetKeyValue() local
75 if (value_length <= (value_size - 1)) { in SetKeyValue()
/external/libaom/common/
Dobudec.c42 uint8_t *value_buffer, size_t *value_length, in obudec_read_leb128() argument
44 if (!input_ctx || !value_buffer || !value_length || !value) return -1; in obudec_read_leb128()
51 *value_length = 0; in obudec_read_leb128()
59 *value_length = len; in obudec_read_leb128()
/external/cronet/net/third_party/quiche/src/quiche/http2/adapter/
Dmock_nghttp2_callbacks.cc42 size_t name_length, const uint8_t* raw_value, size_t value_length, in GetCallbacks()
45 absl::string_view value = ToStringView(raw_value, value_length); in GetCallbacks()

1234