Home
last modified time | relevance | path

Searched refs:encoded_value (Results 1 – 12 of 12) 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/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/tensorflow/tensorflow/python/data/ops/
Doptional_ops.py159 encoded_value = structure.to_tensor_list(element_spec, value)
162 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.py2528 encoded_value = value.encode("ascii", "surrogateescape")
2548 env[key] = encoded_value
2553 self.assertEqual(stdout.decode('ascii'), ascii(encoded_value))
/external/tensorflow/tensorflow/python/kernel_tests/
Dbase64_ops_test.py97 encoded_value, decoded_value = self.evaluate([encoded, decoded])
99 self.assertEqual(encoded_value.shape, msg.shape)
/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.rs217 let encoded_value = input.read_bytes(self.common.num_limbs * LIMB_BYTES)?; in elem_parse() localVariable
218 let parsed = elem_parse_big_endian_fixed_consttime(self.common, encoded_value)?; in elem_parse()