Home
last modified time | relevance | path

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

123

/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/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/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/cpuinfo/src/arm/linux/
Dcpuinfo.c783 size_t value_length = value_end - value_start; in parse_line() local
784 if (value_length > CPUINFO_HARDWARE_VALUE_MAX) { in parse_line()
787 (int) value_length, value_start, CPUINFO_HARDWARE_VALUE_MAX); in parse_line()
788 value_length = CPUINFO_HARDWARE_VALUE_MAX; in parse_line()
790 state->hardware[value_length] = '\0'; in parse_line()
792 memcpy(state->hardware, value_start, value_length); in parse_line()
793 cpuinfo_log_debug("parsed /proc/cpuinfo Hardware = \"%.*s\"", (int) value_length, value_start); in parse_line()
795 size_t value_length = value_end - value_start; in parse_line() local
796 if (value_length > CPUINFO_REVISION_VALUE_MAX) { in parse_line()
799 (int) value_length, value_start, CPUINFO_REVISION_VALUE_MAX); in parse_line()
[all …]
/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/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()
Dauth_property_iterator.cc67 grpc::string_ref(property_->value, property_->value_length)); in operator *()
/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()
Dauth_property_iterator.cc67 grpc::string_ref(property_->value, property_->value_length)); in operator *()
/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/libaom/common/
Dobudec.c40 size_t *value_length, uint64_t *value) { in obudec_read_leb128() argument
41 if (!f || !value_buffer || !value_length || !value) return -1; in obudec_read_leb128()
47 *value_length = 0; in obudec_read_leb128()
55 *value_length = len; in obudec_read_leb128()
/external/webrtc/audio/
Daudio_receive_stream_unittest.cc175 size_t value_length) { in BuildOneByteExtension() argument
184 << (8 * (kExtensionDataLength - value_length)); in BuildOneByteExtension()
185 *it = (id << 4) + (static_cast<uint8_t>(value_length) - 1); in BuildOneByteExtension()
194 size_t value_length) { in CreateRtpHeaderWithOneByteExtension() argument
207 extension_value, value_length); in CreateRtpHeaderWithOneByteExtension()
/external/rust/crates/grpcio-sys/grpc/test/core/security/
Dsecurity_connector_test.cc48 prop->value_length) != 0) { in check_transport_security_type()
154 if (strncmp(prop->value, expected_identities[i], prop->value_length) != 0) { in check_identity()
172 if (strncmp(prop->value, expected_cn, prop->value_length) != 0) { in check_x509_cn()
192 if (strncmp(prop->value, expected_pem_cert, prop->value_length) != 0) { in check_x509_pem_cert()
213 if (strncmp(prop->value, expected_pem_cert_chain, prop->value_length) != 0) { in check_x509_pem_cert_chain()
242 if (strncmp(prop->value, expected_spiffe_id, prop->value_length) != 0) { in check_spiffe_id()
/external/grpc-grpc/test/core/security/
Dsecurity_connector_test.cc43 prop->value_length) != 0) { in check_transport_security_type()
124 if (strncmp(prop->value, expected_identities[i], prop->value_length) != 0) { in check_identity()
142 if (strncmp(prop->value, expected_cn, prop->value_length) != 0) { in check_x509_cn()
162 if (strncmp(prop->value, expected_pem_cert, prop->value_length) != 0) { in check_x509_pem_cert()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/authorization/
Devaluate_args.cc132 return absl::string_view(prop->value, prop->value_length); in GetSpiffeId()
145 return absl::string_view(prop->value, prop->value_length); in GetCertServerName()
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_getitem.py343 def _slice_length(value_length, slice_key): argument
360 zeros = array_ops.zeros(value_length, dtype=dtypes.bool)
361 return array_ops.size(zeros[slice_key], out_type=value_length.dtype)
/external/brotli/
DCMakeLists.txt355 string(LENGTH "${value}" value_length)
357 if(path_length EQUAL value_length AND path STREQUAL value)
360 elseif(path_length GREATER value_length)
366 string(SUBSTRING "${path}" ${value_length} 1 sep)
368 string(SUBSTRING "${path}" 0 ${value_length} s)
370 string(SUBSTRING "${path}" "${value_length}" -1 suffix)
/external/grpc-grpc/include/grpc/
Dgrpc_security.h46 size_t value_length; member
91 size_t value_length);
/external/python/cpython3/PC/clinic/
Dwinreg.c.h930 Py_ssize_clean_t value_length);
940 Py_ssize_clean_t value_length; in winreg_SetValue() local
943 clinic_HKEY_converter, &key, &sub_key, &type, &value, &value_length)) { in winreg_SetValue()
946 return_value = winreg_SetValue_impl(module, key, sub_key, type, value, value_length); in winreg_SetValue()

123