Home
last modified time | relevance | path

Searched refs:header_bytes (Results 1 – 25 of 53) sorted by relevance

123

/external/python/cpython3/Lib/email/
Dcharset.py291 header_bytes = _encode(string, codec)
293 encoder_module = self._get_encoder(header_bytes)
296 return encoder_module.header_encode(header_bytes, codec)
317 header_bytes = _encode(string, codec)
318 encoder_module = self._get_encoder(header_bytes)
351 header_bytes = _encode(joined_line, codec)
352 lines.append(encoder(header_bytes))
356 header_bytes = _encode(joined_line, codec)
357 lines.append(encoder(header_bytes))
360 def _get_encoder(self, header_bytes): argument
[all …]
Dbase64mime.py61 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")
Dquoprimime.py127 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/
Dfixed_length_record_reader_op.cc35 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/
Dreceive_statistics_unittest.cc257 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()
Drtp_sender_unittest.cc1125 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 …]
Drtp_rtcp_impl_unittest.cc419 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/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DFixedLengthRecordReaderV2.pbtxt8 name: "header_bytes"
48 name: "header_bytes"
95 name: "header_bytes"
DFixedLengthRecordReader.pbtxt9 name: "header_bytes"
50 name: "header_bytes"
98 name: "header_bytes"
DFixedLengthRecordDataset.pbtxt8 name: "header_bytes"
DFixedLengthRecordDatasetV2.pbtxt8 name: "header_bytes"
/external/arm-trusted-firmware/lib/coreboot/
Dcoreboot_table.c24 uint32_t header_bytes; member
100 ptr = base + header->header_bytes; in coreboot_table_setup()
104 if (ptr - base >= header->header_bytes + header->table_bytes) { in coreboot_table_setup()
/external/tensorflow/tensorflow/core/kernels/data/
Dfixed_length_record_dataset_op.cc53 int64 header_bytes, int64 record_bytes, int64 footer_bytes, in Dataset() argument
58 header_bytes_(header_bytes), in Dataset()
103 Node* header_bytes = nullptr; in AsGraphDefInternal() local
109 TF_RETURN_IF_ERROR(b->AddScalar(header_bytes_, &header_bytes)); in AsGraphDefInternal()
116 {filenames, header_bytes, record_bytes, footer_bytes, in AsGraphDefInternal()
469 int64 header_bytes = -1; in MakeDataset() local
471 ParseScalarArgument<int64>(ctx, kHeaderBytes, &header_bytes)); in MakeDataset()
472 OP_REQUIRES(ctx, header_bytes >= 0, in MakeDataset()
505 new Dataset(ctx, std::move(filenames), header_bytes, record_bytes, in MakeDataset()
Dfixed_length_record_dataset_op_test.cc26 int64 header_bytes, int64 record_bytes, in FixedLengthRecordDatasetParams() argument
33 header_bytes_(header_bytes),
/external/tensorflow/tensorflow/python/data/ops/
Dreaders.py391 header_bytes=None, argument
414 "header_bytes", header_bytes)
441 header_bytes=None, argument
472 self._header_bytes = header_bytes
478 return _FixedLengthRecordDataset(filename, record_bytes, header_bytes,
499 header_bytes=None, argument
504 wrapped = FixedLengthRecordDatasetV2(filenames, record_bytes, header_bytes,
/external/mesa3d/src/panfrost/lib/
Dpan_afbc.c122 unsigned header_bytes = tile_count * AFBC_HEADER_BYTES_PER_TILE; in panfrost_afbc_header_size() local
125 return ALIGN_POT(header_bytes, AFBC_CACHE_ALIGN); in panfrost_afbc_header_size()
/external/webrtc/webrtc/
Dcommon_types.h826 : 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/lite/tutorials/
Ddataset.py108 images_file, 28 * 28, header_bytes=16).map(decode_image)
110 labels_file, 1, header_bytes=8).map(decode_label)
/external/tensorflow/tensorflow/python/ops/
Dio_ops.py395 header_bytes=None, argument
412 header_bytes=header_bytes,
/external/python/oauth2client/tests/
Dtest_transport.py104 header_bytes = {b'key': b'val'}
107 self.assertEqual(result, header_bytes)
/external/u-boot/arch/x86/lib/
Dcoreboot_table.c59 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/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_FixedLengthRecordDataset.pbtxt12 name: "header_bytes"
Dapi_def_FixedLengthRecordReader.pbtxt11 name: "header_bytes"
/external/webrtc/webrtc/video/
Dsend_statistics_proxy_unittest.cc71 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/
Dtransport.cc142 move64(&from->header_bytes, &to->header_bytes);

123