HomeSort by relevance Sort by last modified time
    Searched defs:Headers (Results 1 - 25 of 39) sorted by null

1 2

  /prebuilts/gdb/darwin-x86/lib/python2.7/wsgiref/
headers.py 1 """Manage HTTP Response Headers
30 class Headers:
32 """Manage a collection of HTTP response headers"""
34 def __init__(self,headers):
35 if type(headers) is not ListType:
36 raise TypeError("Headers must be a list of name/value tuples")
37 self._headers = headers
40 """Return the total number of headers, including duplicates."""
126 return "Headers(%r)" % self._headers
129 """str() returns the formatted headers, complete with end line
    [all...]
handlers.py 5 from headers import Headers
62 headers_class = Headers # must be a Headers-like class
73 headers = None variable in class:BaseHandler
147 self.headers['Content-Length'] = str(self.bytes_sent)
157 if 'Content-Length' not in self.headers:
160 def start_response(self, status, headers,exc_info=None):
166 # Re-raise original exception if headers sent
170 elif self.headers is not None
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/wsgiref/
headers.py 1 """Manage HTTP Response Headers
30 class Headers:
32 """Manage a collection of HTTP response headers"""
34 def __init__(self,headers):
35 if type(headers) is not ListType:
36 raise TypeError("Headers must be a list of name/value tuples")
37 self._headers = headers
40 """Return the total number of headers, including duplicates."""
126 return "Headers(%r)" % self._headers
129 """str() returns the formatted headers, complete with end line
    [all...]
handlers.py 5 from headers import Headers
62 headers_class = Headers # must be a Headers-like class
73 headers = None variable in class:BaseHandler
147 self.headers['Content-Length'] = str(self.bytes_sent)
157 if 'Content-Length' not in self.headers:
160 def start_response(self, status, headers,exc_info=None):
166 # Re-raise original exception if headers sent
170 elif self.headers is not None
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/wsgiref/
headers.py 1 """Manage HTTP Response Headers
30 class Headers:
32 """Manage a collection of HTTP response headers"""
34 def __init__(self,headers):
35 if type(headers) is not ListType:
36 raise TypeError("Headers must be a list of name/value tuples")
37 self._headers = headers
40 """Return the total number of headers, including duplicates."""
126 return "Headers(%r)" % self._headers
129 """str() returns the formatted headers, complete with end line
    [all...]
handlers.py 5 from headers import Headers
62 headers_class = Headers # must be a Headers-like class
73 headers = None variable in class:BaseHandler
147 self.headers['Content-Length'] = str(self.bytes_sent)
157 if 'Content-Length' not in self.headers:
160 def start_response(self, status, headers,exc_info=None):
166 # Re-raise original exception if headers sent
170 elif self.headers is not None
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/wsgiref/
headers.py 1 """Manage HTTP Response Headers
30 class Headers:
32 """Manage a collection of HTTP response headers"""
34 def __init__(self,headers):
35 if type(headers) is not ListType:
36 raise TypeError("Headers must be a list of name/value tuples")
37 self._headers = headers
40 """Return the total number of headers, including duplicates."""
126 return "Headers(%r)" % self._headers
129 """str() returns the formatted headers, complete with end line
    [all...]
handlers.py 5 from headers import Headers
62 headers_class = Headers # must be a Headers-like class
73 headers = None variable in class:BaseHandler
147 self.headers['Content-Length'] = str(self.bytes_sent)
157 if 'Content-Length' not in self.headers:
160 def start_response(self, status, headers,exc_info=None):
166 # Re-raise original exception if headers sent
170 elif self.headers is not None
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Headers.java 32 * use {@code Request} and {@code Response} for interpreted headers. This class
48 public final class Headers {
51 private Headers(Builder builder) {
55 private Headers(String[] namesAndValues) {
158 * Returns headers for the alternating header names and values. There must be
162 public static Headers of(String... namesAndValues) {
170 if (namesAndValues[i] == null) throw new IllegalArgumentException("Headers cannot be null");
174 // Check for malformed headers.
183 return new Headers(namesAndValues);
187 * Returns headers for the header names and values in the {@link Map}
    [all...]
  /external/clang/include/clang/Lex/
ModuleMap.h 11 // module as it relates to headers.
64 /// \brief The directory used for Clang-supplied, builtin include headers,
148 HeadersMap Headers;
150 /// \brief Mapping from directories with umbrella headers to the module
153 /// This mapping is used to map headers that haven't explicitly been named
252 /// \brief Given that \p File is not in the Headers map, look it up within
269 /// \param SourceMgr The source manager used to find module files and headers.
271 /// since they will refer to the same headers.
  /external/clang/lib/Frontend/
InitHeaderSearch.cpp 44 HeaderSearch &Headers;
52 : Headers(HS), Verbose(verbose), IncludeSysroot(sysroot),
135 FileManager &FM = Headers.getFileMgr();
160 if (const HeaderMap *HM = Headers.CreateHeaderMap(FE)) {
234 // Ignore the sys root, we *always* look for clang headers relative to
270 AddPath("/boot/develop/headers/os", System, false);
271 AddPath("/boot/develop/headers/os/app", System, false);
272 AddPath("/boot/develop/headers/os/arch", System, false);
273 AddPath("/boot/develop/headers/os/device", System, false);
274 AddPath("/boot/develop/headers/os/drivers", System, false)
    [all...]
  /external/llvm/lib/Transforms/Utils/
LoopUnroll.cpp 296 std::vector<BasicBlock*> Headers;
298 Headers.push_back(Header);
382 // Keep track of new headers and latches as we create them, so that
385 Headers.push_back(New);
427 BasicBlock *Dest = Headers[j];
458 if (*SI == Headers[i])
  /external/llvm/lib/Analysis/
BlockFrequencyInfoImpl.cpp 312 // secondary loop headers.
610 /// \brief Find extra irreducible headers.
618 LoopData::NodeList &Headers, LoopData::NodeList &Others) {
634 Headers.push_back(Irr.Node);
639 assert(Headers.size() >= 2 &&
641 if (Headers.size() == InSCC.size()) {
643 std::sort(Headers.begin(), Headers.end());
647 // Look for extra headers from irreducible sub-SCCs.
649 // Entry blocks are already headers
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_wsgiref.py 4 from wsgiref.headers import Headers
131 "AssertionError: Headers (('Content-Type', 'text/plain')) must"
294 self.assertEqual(len(Headers([])),0)
295 self.assertEqual(len(Headers(test[:])),1)
296 self.assertEqual(Headers(test[:]).keys(), ['x'])
297 self.assertEqual(Headers(test[:]).values(), ['y'])
298 self.assertEqual(Headers(test[:]).items(), test)
299 self.assertFalse(Headers(test).items() is test) # must be copy!
301 h=Headers([])
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_wsgiref.py 4 from wsgiref.headers import Headers
131 "AssertionError: Headers (('Content-Type', 'text/plain')) must"
294 self.assertEqual(len(Headers([])),0)
295 self.assertEqual(len(Headers(test[:])),1)
296 self.assertEqual(Headers(test[:]).keys(), ['x'])
297 self.assertEqual(Headers(test[:]).values(), ['y'])
298 self.assertEqual(Headers(test[:]).items(), test)
299 self.assertFalse(Headers(test).items() is test) # must be copy!
301 h=Headers([])
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_wsgiref.py 4 from wsgiref.headers import Headers
131 "AssertionError: Headers (('Content-Type', 'text/plain')) must"
294 self.assertEqual(len(Headers([])),0)
295 self.assertEqual(len(Headers(test[:])),1)
296 self.assertEqual(Headers(test[:]).keys(), ['x'])
297 self.assertEqual(Headers(test[:]).values(), ['y'])
298 self.assertEqual(Headers(test[:]).items(), test)
299 self.assertFalse(Headers(test).items() is test) # must be copy!
301 h=Headers([])
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_wsgiref.py 4 from wsgiref.headers import Headers
131 "AssertionError: Headers (('Content-Type', 'text/plain')) must"
294 self.assertEqual(len(Headers([])),0)
295 self.assertEqual(len(Headers(test[:])),1)
296 self.assertEqual(Headers(test[:]).keys(), ['x'])
297 self.assertEqual(Headers(test[:]).values(), ['y'])
298 self.assertEqual(Headers(test[:]).items(), test)
299 self.assertFalse(Headers(test).items() is test) # must be copy!
301 h=Headers([])
    [all...]
  /external/clang/include/clang/Basic/
Module.h 62 /// which the module is notionally built, and relative to which its headers
87 /// \brief The top-level headers associated with this module.
127 /// \brief The headers that are part of this module.
128 SmallVector<Header, 2> Headers[5];
138 /// \brief Headers that are mentioned in the module map file but could not be
160 /// If the module is missing headers or does not meet all requirements then
174 /// headers in it are system headers).
178 /// headers in it within an 'extern "C"' block, and allows the module to be
186 /// the headers
    [all...]
  /external/llvm/lib/Transforms/Scalar/
PlaceSafepoints.cpp 617 // and b) edges to distinct loop headers. We need to insert pools on
619 SetVector<BasicBlock *> Headers;
623 Headers.insert(Succ);
626 assert(!Headers.empty() && "poll location is not a loop latch?");
632 for (BasicBlock *Header : Headers) {
    [all...]
  /external/selinux/sepolgen/src/sepolgen/
refpolicy.py 26 # policy (including the headers, M4 macros, and policy language statements).
708 class Headers(Node):
713 return "[Headers]"
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/
refpolicy.py 26 # policy (including the headers, M4 macros, and policy language statements).
708 class Headers(Node):
713 return "[Headers]"
  /external/apache-http/android/src/android/net/http/
Headers.java 31 * Manages received headers
33 public final class Headers {
95 // keep any headers that require direct access in a presized
148 // Catch-all for headers not explicitly handled
152 public Headers() {
202 Log.v(LOGTAG, "Headers.headers(): error parsing"
438 * Reports all non-null headers to the callback
450 HttpLog.v("Headers.getHeaders() extra: " + i + " " +
  /external/clang/lib/Lex/
ModuleMap.cpp 11 // of a module as it relates to headers.
149 /// headers.
167 HeadersMap::iterator Known = Headers.find(File);
169 Known == Headers.end() && File->getDir() == BuiltinIncludeDir &&
172 return Headers.find(File);
224 &RequestedModule->Headers[Module::HK_Private],
225 &RequestedModule->Headers[Module::HK_PrivateTextual]};
231 assert((!IsPrivateRole || IsPrivate) && "inconsistent headers and roles");
260 if (Known != Headers.end()) {
262 // Remember private headers for later printing of a diagnostic
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
http.h 186 HTTP_REQUEST_HEADERS Headers;
224 HTTP_RESPONSE_HEADERS Headers;
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.5.0/
okhttp-2.5.0.jar 

Completed in 1247 milliseconds

1 2