Home
last modified time | relevance | path

Searched refs:header_name (Results 1 – 25 of 29) sorted by relevance

12

/external/gemmlowp/meta/generators/
Dcc_emitter.py46 self.header_name = None
96 def EmitHeaderBegin(self, header_name, includes=None): argument
99 if self.header_name:
101 self.EmitPreprocessor1('ifndef', (header_name + '_H_').upper())
102 self.EmitPreprocessor1('define', (header_name + '_H_').upper())
108 self.header_name = header_name
111 if not self.header_name:
114 ' // %s' % (self.header_name + '_H_').upper())
115 self.header_name = None
Dcommon.py33 def GenerateHeader(cc, header_name, preprocessor_directive): argument
35 cc.EmitHeaderBegin(header_name)
/external/python/cpython2/Lib/email/
Dheader.py121 def make_header(decoded_seq, maxlinelen=None, header_name=None, argument
133 h = Header(maxlinelen=maxlinelen, header_name=header_name,
146 maxlinelen=None, header_name=None, argument
186 if header_name is None:
193 self._firstlinelen = maxlinelen - len(header_name) - 2
Dgenerator.py164 v, maxlinelen=self._maxheaderlen, header_name=h).encode()
/external/autotest/client/common_lib/cros/fake_device_server/
Dcommon_util.py22 def grab_header_field(header_name): argument
27 return cherrypy.request.headers.get(header_name, None)
/external/llvm/utils/llvm-build/llvmbuild/
Dmain.py284 header_name = '.' + os.path.join(subpath, 'LLVMBuild.txt')
285 header_pad = '-' * (80 - len(header_fmt % (header_name, '')))
286 header_string = header_fmt % (header_name, header_pad)
554 header_name = os.path.basename(output_path)
555 header_pad = '-' * (80 - len(header_fmt % (header_name, '')))
556 header_string = header_fmt % (header_name, header_pad)
673 header_name = os.path.basename(output_path)
674 header_pad = '-' * (80 - len(header_fmt % (header_name, '')))
675 header_string = header_fmt % (header_name, header_pad)
/external/mesa3d/src/mapi/shared-glapi/
DSConscript26 header_name = '%s-tmp.h' % (printer)
31 target = header_name,
46 'MAPI_ABI_HEADER=\\"%s\\"' % (header_name),
/external/python/cpython2/Modules/_ctypes/libffi/
Dgenerate-darwin-source-and-headers.py197 for header_name, tag_tuples in platform_headers.iteritems():
198 basename, suffix = os.path.splitext(header_name)
199 with open(os.path.join('darwin_common/include', header_name), 'w') as header:
/external/python/cpython2/Lib/wsgiref/
Dutil.py163 def is_hop_by_hop(header_name): argument
165 return _hoppish(header_name.lower())
/external/libbrillo/brillo/http/
Dhttp_connection_fake.cc104 const std::string& header_name) const { in GetResponseHeader()
105 return response_.GetHeader(header_name); in GetResponseHeader()
Dhttp_connection.h87 const std::string& header_name) const = 0;
Dhttp_connection_fake.h40 std::string GetResponseHeader(const std::string& header_name) const override;
Dhttp_connection_curl.cc192 const std::string& header_name) const { in GetResponseHeader()
193 auto p = headers_.find(header_name); in GetResponseHeader()
Dhttp_transport_fake.cc209 const std::string& header_name) const { in GetHeader()
210 auto p = headers_.find(header_name); in GetHeader()
Dhttp_connection_curl.h44 std::string GetResponseHeader(const std::string& header_name) const override;
Dhttp_request.cc349 std::string Response::GetHeader(const std::string& header_name) const { in GetHeader()
351 return connection_->GetResponseHeader(header_name); in GetHeader()
Dhttp_transport_fake.h140 std::string GetHeader(const std::string& header_name) const;
Dhttp_request.h368 std::string GetHeader(const std::string& header_name) const;
/external/python/cpython2/Doc/library/
Demail.header.rst51 .. class:: Header([s[, charset[, maxlinelen[, header_name[, continuation_ws[, errors]]]]]])
71 field in *header_name*. The default *maxlinelen* is 76, and the default value
72 for *header_name* is ``None``, meaning it is not taken into account for the
163 .. function:: make_header(decoded_seq[, maxlinelen[, header_name[, continuation_ws]]])
173 instance. Optional *maxlinelen*, *header_name*, and *continuation_ws* are as in
/external/python/cpython2/Lib/email/test/
Dtest_email_codecs_renamed.py45 h = Header(long, j, header_name="Subject")
Dtest_email_codecs.py45 h = Header(long, j, header_name="Subject")
Dtest_email_renamed.py582 h = Header(g_head, g, header_name='Subject')
621 header_name='X-Foobar-Spoink-Defrobnit')
630 header_name='X-Foobar-Spoink-Defrobnit',
708 h = Header(hstr, maxlinelen=78, header_name='Received',
721 header_name='Subject')
773 h = Header(gs, 'iso-8859-1', header_name=fn)
799 msg['Received'] = Header(h, header_name='Received-1',
817 msg['Face-2'] = Header(t, header_name='Face-2')
845 msg['List'] = Header(h, header_name='List')
2919 h = Header(hstr, header_name='Subject')
[all …]
Dtest_email.py651 h = Header(g_head, g, header_name='Subject')
690 header_name='X-Foobar-Spoink-Defrobnit')
699 header_name='X-Foobar-Spoink-Defrobnit',
777 h = Header(hstr, maxlinelen=78, header_name='Received',
790 header_name='Subject')
842 h = Header(gs, 'iso-8859-1', header_name=fn)
868 msg['Received'] = Header(h, header_name='Received',
886 msg['Face-2'] = Header(t, header_name='Face-2')
914 msg['List'] = Header(h, header_name='List')
3160 h = Header(hstr, header_name='Subject')
[all …]
/external/python/cpython2/Lib/
Durllib2.py322 def has_header(self, header_name): argument
323 return (header_name in self.headers or
324 header_name in self.unredirected_hdrs)
326 def get_header(self, header_name, default=None): argument
328 header_name,
329 self.unredirected_hdrs.get(header_name, default))
/external/libchrome/dbus/
Dmessage.cc27 void AppendStringHeader(const std::string& header_name, in AppendStringHeader() argument
31 *output += header_name + ": " + header_value + "\n"; in AppendStringHeader()
37 void AppendUint32Header(const std::string& header_name, in AppendUint32Header() argument
41 *output += (header_name + ": " + base::UintToString(header_value) + "\n"); in AppendUint32Header()

12