/external/python/cpython3/Lib/email/ |
D | charset.py | 293 header_bytes = _encode(string, codec) 295 encoder_module = self._get_encoder(header_bytes) 298 return encoder_module.header_encode(header_bytes, codec) 319 header_bytes = _encode(string, codec) 320 encoder_module = self._get_encoder(header_bytes) 353 header_bytes = _encode(joined_line, codec) 354 lines.append(encoder(header_bytes)) 358 header_bytes = _encode(joined_line, codec) 359 lines.append(encoder(header_bytes)) 362 def _get_encoder(self, header_bytes): argument [all …]
|
D | base64mime.py | 61 def header_encode(header_bytes, charset='iso-8859-1'): argument 67 if not header_bytes: 69 if isinstance(header_bytes, str): 70 header_bytes = header_bytes.encode(charset) 71 encoded = b64encode(header_bytes).decode("ascii")
|
D | quoprimime.py | 127 def header_encode(header_bytes, charset='iso-8859-1'): argument 139 if not header_bytes: 142 encoded = header_bytes.decode('latin1').translate(_QUOPRI_HEADER_MAP)
|
/external/tensorflow/tensorflow/core/kernels/ |
D | fixed_length_record_reader_op.cc | 35 FixedLengthRecordReader(const string& node_name, int64 header_bytes, in FixedLengthRecordReader() argument 40 header_bytes_(header_bytes), in FixedLengthRecordReader() 166 int64 header_bytes = -1, record_bytes = -1, footer_bytes = -1, in FixedLengthRecordReaderOp() local 168 OP_REQUIRES_OK(context, context->GetAttr("header_bytes", &header_bytes)); in FixedLengthRecordReaderOp() 172 OP_REQUIRES(context, header_bytes >= 0, in FixedLengthRecordReaderOp() 174 header_bytes)); in FixedLengthRecordReaderOp() 187 SetReaderFactory([this, header_bytes, record_bytes, footer_bytes, hop_bytes, in FixedLengthRecordReaderOp() 189 return new FixedLengthRecordReader(name(), header_bytes, record_bytes, in FixedLengthRecordReaderOp()
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | receive_statistics_unittest.cc | 257 EXPECT_EQ(expected.header_bytes, actual.header_bytes); in MatchPacketCounter() 290 expected.transmitted.header_bytes = kHeaderLength; in TEST_F() 294 expected.retransmitted.header_bytes = 0; in TEST_F() 307 expected.transmitted.header_bytes = kHeaderLength * 2; in TEST_F() 317 expected.transmitted.header_bytes = kHeaderLength * 3; in TEST_F() 321 expected.retransmitted.header_bytes = kHeaderLength; in TEST_F() 335 expected.transmitted.header_bytes = kHeaderLength * 4; in TEST_F() 338 expected.fec.header_bytes = kHeaderLength; in TEST_F() 368 expected.transmitted.header_bytes = kHeaderLength; in TEST_F() 377 expected.fec.header_bytes = kHeaderLength; in TEST_F()
|
D | rtp_sender_unittest.cc | 1125 EXPECT_EQ(expected.header_bytes, actual.header_bytes); in TEST_F() 1156 expected.transmitted.header_bytes = 12; in TEST_F() 1160 expected.retransmitted.header_bytes = 0; in TEST_F() 1170 expected.transmitted.header_bytes = 24; in TEST_F() 1173 expected.retransmitted.header_bytes = 12; in TEST_F() 1181 expected.transmitted.header_bytes = 36; in TEST_F() 1198 expected.transmitted.header_bytes = 60; in TEST_F() 1347 EXPECT_EQ(rtp_stats.transmitted.header_bytes, 12u); in TEST_F() 1350 EXPECT_EQ(rtx_stats.transmitted.header_bytes, 24u); in TEST_F() 1355 rtp_stats.transmitted.header_bytes + in TEST_F() [all …]
|
D | rtp_rtcp_impl_unittest.cc | 419 rtp.transmitted.header_bytes = 2; in TEST_F() 422 rtp.transmitted.header_bytes + in TEST_F() 429 rtp2.retransmitted.header_bytes = 4; in TEST_F() 440 EXPECT_EQ(2U, sum.transmitted.header_bytes); in TEST_F() 442 EXPECT_EQ(4U, sum.retransmitted.header_bytes); in TEST_F()
|
/external/webrtc/webrtc/ |
D | common_types.h | 826 : header_bytes(0), in RtpPacketCounter() 832 header_bytes += other.header_bytes; in Add() 840 header_bytes += header.headerLength; in AddPacket() 847 return header_bytes + payload_bytes + padding_bytes; in TotalBytes() 850 size_t header_bytes; // Number of bytes used by RTP headers. member
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | reader_dataset_ops.cc | 299 int64 header_bytes = -1; in MakeDataset() local 301 ctx, ParseScalarArgument<int64>(ctx, "header_bytes", &header_bytes)); in MakeDataset() 302 OP_REQUIRES(ctx, header_bytes >= 0, in MakeDataset() 334 *output = new Dataset(ctx, std::move(filenames), header_bytes, record_bytes, in MakeDataset() 342 int64 header_bytes, int64 record_bytes, int64 footer_bytes, in Dataset() argument 346 header_bytes_(header_bytes), in Dataset() 386 Node* header_bytes = nullptr; in AsGraphDefInternal() local 392 TF_RETURN_IF_ERROR(b->AddScalar(header_bytes_, &header_bytes)); in AsGraphDefInternal() 399 {filenames, header_bytes, record_bytes, footer_bytes, in AsGraphDefInternal()
|
/external/tensorflow/tensorflow/python/data/ops/ |
D | readers.py | 288 header_bytes=None, argument 313 "header_bytes", header_bytes) 346 header_bytes=None, argument 351 filenames, record_bytes, header_bytes, footer_bytes, buffer_size,
|
/external/tensorflow/tensorflow/python/ops/ |
D | io_ops.py | 395 header_bytes=None, argument 412 header_bytes=header_bytes,
|
/external/tensorflow/tensorflow/lite/tutorials/ |
D | dataset.py | 108 images_file, 28 * 28, header_bytes=16).map(decode_image) 110 labels_file, 1, header_bytes=8).map(decode_label)
|
/external/python/oauth2client/tests/ |
D | test_transport.py | 104 header_bytes = {b'key': b'val'} 107 self.assertEqual(result, header_bytes)
|
/external/u-boot/arch/x86/lib/ |
D | coreboot_table.c | 59 cbh->header_bytes = sizeof(struct cb_header); in cb_table_init() 93 cbh->header_checksum = compute_ip_checksum(cbh, cbh->header_bytes); in cb_table_finalize()
|
/external/webrtc/webrtc/video/ |
D | send_statistics_proxy_unittest.cc | 71 EXPECT_EQ(a.rtp_stats.transmitted.header_bytes, in ExpectEqual() 72 b.rtp_stats.transmitted.header_bytes); in ExpectEqual() 201 counters.transmitted.header_bytes = offset + 1; in TEST_F() 217 counters.transmitted.header_bytes = offset + 1; in TEST_F()
|
/external/grpc-grpc/src/core/lib/transport/ |
D | transport.cc | 142 move64(&from->header_bytes, &to->header_bytes);
|
D | transport.h | 87 uint64_t header_bytes; member
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_FixedLengthRecordDataset.pbtxt | 12 name: "header_bytes"
|
D | api_def_FixedLengthRecordReader.pbtxt | 11 name: "header_bytes"
|
D | api_def_FixedLengthRecordReaderV2.pbtxt | 13 name: "header_bytes"
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.-fixed-length-record-reader.pbtxt | 16 …argspec: "args=[\'self\', \'record_bytes\', \'header_bytes\', \'footer_bytes\', \'hop_bytes\', \'n…
|
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/ |
D | frame_window_update.cc | 32 stats->header_bytes += frame_size; in grpc_chttp2_window_update_create()
|
D | hpack_encoder.cc | 156 st->stats->header_bytes += len; in add_header_data() 159 st->stats->header_bytes += remaining; in add_header_data() 169 st->stats->header_bytes += len; in add_tiny_header_data()
|
/external/webp/src/enc/ |
D | syntax_enc.c | 294 enc->pic_->stats->header_bytes[0] = (int)((pos2 - pos1 + 7) >> 3); in GeneratePartition0() 295 enc->pic_->stats->header_bytes[1] = (int)((pos3 - pos2 + 7) >> 3); in GeneratePartition0()
|
/external/u-boot/arch/x86/cpu/coreboot/ |
D | tables.c | 140 ptr += header->header_bytes; in cb_parse_header()
|