Home
last modified time | relevance | path

Searched refs:encoded_value (Results 1 – 19 of 19) sorted by relevance

/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Darguments.pyx.pxi66 encoded_value = _encode(value)
67 if encoded_value is not value:
68 references.append(encoded_value)
69 self.c_argument.value.string = encoded_value
Dmetadata.pyx.pxi37 encoded_value = value if encoded_key[-4:] == b'-bin' else _encode(value)
39 c_metadata[0][index].value = _slice_from_bytes(encoded_value)
/external/tensorflow/tensorflow/python/framework/
Dtype_spec.py673 def decode(self, spec, encoded_value): argument
730 def decode(self, type_spec, encoded_value): argument
731 return type_spec._from_tensor_list(encoded_value) # pylint: disable=protected-access
851 encoded_value = spec.__batch_encoder__.encode(spec, value, minimum_rank)
855 encoded_specs, encoded_value)
871 encoded_value = nest.map_structure_up_to(encoded_specs,
874 return spec.__batch_encoder__.decode(spec, encoded_value)
Dextension_type.py626 def decode(self, spec, encoded_value): argument
644 return spec._from_components(encoded_value) # pylint: disable=protected-access
/external/cronet/net/third_party/quiche/src/quiche/common/platform/default/quiche_platform_impl/
Dquiche_url_utils_impl.cc35 std::string encoded_value(canon_value.data(), canon_value.length()); in ExpandURITemplateImpl() local
37 absl::StrReplaceAll({{name_input, encoded_value}}, &result); in ExpandURITemplateImpl()
/external/python/oauth2client/tests/
Dtest__helpers.py57 encoded_value = b'string-val'
58 self.assertEqual(_helpers._to_bytes(value), encoded_value)
/external/python/apitools/apitools/base/py/
Dencoding_helper.py482 encoded_value = codec.encode_field(value_field, pair.value)
483 result.set_unrecognized_field(pair.key, encoded_value, value_variant)
686 def _EncodeCustomFieldNames(message, encoded_value): argument
690 decoded_value = json.loads(encoded_value)
692 if python_name in encoded_value:
694 encoded_value = json.dumps(decoded_value)
695 return encoded_value
/external/python/google-auth-library-python/tests/
Dtest__helpers.py70 encoded_value = b"string-val"
71 assert _helpers.to_bytes(value) == encoded_value
/external/tensorflow/tensorflow/python/data/ops/
Doptional_ops.py152 encoded_value = structure.to_tensor_list(element_spec, value)
155 gen_dataset_ops.optional_from_value(encoded_value, name=scope),
/external/python/cpython3/Lib/multiprocessing/
Dshared_memory.py450 encoded_value = value
454 encoded_value = (value.encode(_encoding)
456 if len(encoded_value) > allocated_length:
470 struct.pack_into(new_format, self.shm.buf, offset, encoded_value)
/external/python/cpython3/Lib/test/
Dtest_quopri.py143 decoded_value, encoded_value = (b"123=four", b"123==four")
144 self.assertEqual(quopri.decodestring(encoded_value), decoded_value)
Dtest_subprocess.py2599 encoded_value = value.encode("ascii", "surrogateescape")
2619 env[key] = encoded_value
2624 self.assertEqual(stdout.decode('ascii'), ascii(encoded_value))
/external/cronet/net/data/ssl/scripts/
Dcrlsetutil.py136 def encoded_value(self): member in ASN1Iterator
233 raw_serial = iterator.encoded_value()
/external/tensorflow/tensorflow/python/kernel_tests/strings_ops/
Dbase64_ops_test.py93 encoded_value, decoded_value = self.evaluate([encoded, decoded])
95 self.assertEqual(encoded_value.shape, msg.shape)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.experimental.-extension-type-batch-encoder.pbtxt15 …argspec: "args=[\'self\', \'spec\', \'encoded_value\'], varargs=None, keywords=None, defaults=None"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.experimental.-extension-type-batch-encoder.pbtxt15 …argspec: "args=[\'self\', \'spec\', \'encoded_value\'], varargs=None, keywords=None, defaults=None"
/external/python/asn1crypto/asn1crypto/
Dx509.py113 encoded_value = b'.' + value[1:].encode(self._encoding)
115 encoded_value = value.encode(self._encoding)
118 self.contents = encoded_value
229 encoded_value = mailbox.encode('ascii') + b'@' + hostname.encode('idna')
231 encoded_value = value.encode('ascii')
235 self.contents = encoded_value
/external/python/cpython3/Lib/email/
D_header_value_parser.py2966 encoded_value = urllib.parse.quote(
2968 tstr = "{}*={}''{}".format(name, charset, encoded_value)
2992 encoded_value = urllib.parse.quote(
2994 if len(encoded_value) <= maxchars:
2998 name, section, extra_chrome, encoded_value))
/external/rust/crates/ring/src/ec/suite_b/
Dops.rs221 let encoded_value = input.read_bytes(self.common.num_limbs * LIMB_BYTES)?; in elem_parse() localVariable
222 let parsed = elem_parse_big_endian_fixed_consttime(self.common, encoded_value)?; in elem_parse()