Home
last modified time | relevance | path

Searched refs:getHeader (Results 1 – 25 of 158) sorted by relevance

1234567

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DHttpOverHttp2Test.java50 assertEquals("https", request.getHeader(":scheme")); in serverSendsPushPromise_GET()
51 assertEquals(server.getHostName() + ":" + server.getPort(), request.getHeader(hostHeader)); in serverSendsPushPromise_GET()
55 assertEquals("bar", pushedRequest.getHeader("foo")); in serverSendsPushPromise_GET()
74 assertEquals("https", request.getHeader(":scheme")); in serverSendsPushPromise_HEAD()
75 assertEquals(server.getHostName() + ":" + server.getPort(), request.getHeader(hostHeader)); in serverSendsPushPromise_HEAD()
79 assertEquals("bar", pushedRequest.getHeader("foo")); in serverSendsPushPromise_HEAD()
DCookiesTest.java214 + "\"", request.getHeader("Cookie")); in testSendingCookiesFromStore()
245 + "\"", request.getHeader("Cookie")); in testRedirectsDoNotIncludeTooManyCookies()
310 assertEquals("foo", request.getHeader("Foo")); in testHeadersSentToCookieHandler()
311 assertEquals("Bar=bar", request.getHeader("Cookie")); in testHeadersSentToCookieHandler()
312 assertEquals("Baz=baz", request.getHeader("Cookie2")); in testHeadersSentToCookieHandler()
313 assertNull(request.getHeader("Quux")); in testHeadersSentToCookieHandler()
333 assertEquals("Bar=bar", request.getHeader("Cookie")); in testCookiesSentIgnoresCase()
334 assertEquals("Baz=baz", request.getHeader("Cookie2")); in testCookiesSentIgnoresCase()
335 assertNull(request.getHeader("Quux")); in testCookiesSentIgnoresCase()
DHttpOverSpdyTest.java113 assertEquals("https", request.getHeader(":scheme")); in get()
114 assertEquals(server.getHostName() + ":" + server.getPort(), request.getHeader(hostHeader)); in get()
138 assertNull(request.getHeader("Content-Length")); in noDefaultContentLengthOnStreamingPost()
153 assertEquals(postBytes.length, Integer.parseInt(request.getHeader("Content-Length"))); in userSuppliedContentLengthHeader()
170 assertEquals(postBytes.length, Integer.parseInt(request.getHeader("Content-Length"))); in closeAfterFlush()
185 assertEquals(postBytes.length, Integer.parseInt(request.getHeader("Content-Length"))); in setFixedLengthStreamingModeSetsContentLength()
232 assertNull(denied.getHeader("Authorization")); in authenticate()
236 accepted.getHeader("Authorization")); in authenticate()
397 assertNull(requestA.getHeader("Cookie")); in acceptAndTransmitCookies()
399 assertEquals("c=oreo", requestB.getHeader("Cookie")); in acceptAndTransmitCookies()
DURLConnectionTest.java185 assertNull(request.getHeader("NullValue")); in requestHeaders()
186 assertNull(request.getHeader("AnotherNullValue")); in requestHeaders()
187 assertNull(request.getHeader("G")); in requestHeaders()
188 assertNull(request.getHeader("null")); in requestHeaders()
718 assertEquals("android.com", request.getHeader("Host")); in testConnectViaProxy()
845 assertEquals("android.com", connect.getHeader("Host")); in testConnectViaHttpProxyToHttps()
849 assertEquals("android.com", get.getHeader("Host")); in testConnectViaHttpProxyToHttps()
879 assertEquals("android.com", connect.getHeader("Host")); in connectViaHttpProxyToHttpsUsingBadProxyAndHttpResponseCache()
909 assertNull(connect.getHeader("Private")); in proxyConnectIncludesProxyHeadersOnly()
910 assertEquals("bar", connect.getHeader("Proxy-Authorization")); in proxyConnectIncludesProxyHeadersOnly()
[all …]
/external/jetty/src/java/org/eclipse/jetty/websocket/
DWebSocketServletConnectionD00.java49 String host = request.getHeader("Host"); in handshake()
51 String origin = request.getHeader("Sec-WebSocket-Origin"); in handshake()
54 origin = request.getHeader("Origin"); in handshake()
61 String key1 = request.getHeader("Sec-WebSocket-Key1"); in handshake()
65 String key2 = request.getHeader("Sec-WebSocket-Key2"); in handshake()
DWebSocketFactory.java223 if (!"websocket".equalsIgnoreCase(request.getHeader("Upgrade"))) in upgrade()
351 if ("websocket".equalsIgnoreCase(request.getHeader("Upgrade"))) in acceptWebSocket()
353 String origin = request.getHeader("Origin"); in acceptWebSocket()
355 origin = request.getHeader("Sec-WebSocket-Origin"); in acceptWebSocket()
/external/llvm/include/llvm/Object/
DArchive.h61 const ArchiveMemberHeader *getHeader() const { in getHeader() function
80 StringRef getRawName() const { return getHeader()->getName(); } in getRawName()
82 return getHeader()->getLastModified(); in getLastModified()
85 return getHeader()->getRawLastModified(); in getRawLastModified()
87 unsigned getUID() const { return getHeader()->getUID(); } in getUID()
88 unsigned getGID() const { return getHeader()->getGID(); } in getGID()
90 return getHeader()->getAccessMode(); in getAccessMode()
DELFObjectFile.h153 return Elf_Shdr_Iter(EF.getHeader()->e_shentsize, in toELFShdrIter()
227 Result = EF.getHeader()->e_flags; in getPlatformFlags()
309 const Elf_Ehdr *Header = EF.getHeader(); in getSymbolAddress()
510 RelData.d.a = (Sec.p - SHT) / EF.getHeader()->e_shentsize; in section_rel_begin()
521 RelData.d.a = (Sec.p - SHT) / EF.getHeader()->e_shentsize; in section_rel_end()
533 if (EF.getHeader()->e_type != ELF::ET_REL) in getRelocatedSection()
593 const Elf_Ehdr *Header = EF.getHeader(); in getRelocationAddress()
610 assert(EF.getHeader()->e_type == ELF::ET_REL && in getRelocationOffset()
650 return getELFRelocationTypeName(EF.getHeader()->e_machine, Type); in getRelocationTypeName()
724 switch (EF.getHeader()->e_machine) { in getRelocationValueString()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCallTest.java125 assertEquals("SyncApiTest", recordedRequest.getHeader("User-Agent")); in get()
127 assertNull(recordedRequest.getHeader("Content-Length")); in get()
213 assertEquals("SyncApiTest", recordedRequest.getHeader("User-Agent")); in head()
215 assertNull(recordedRequest.getHeader("Content-Length")); in head()
243 assertEquals("3", recordedRequest.getHeader("Content-Length")); in post()
244 assertEquals("text/plain; charset=utf-8", recordedRequest.getHeader("Content-Type")); in post()
272 assertEquals("0", recordedRequest.getHeader("Content-Length")); in postZeroLength()
273 assertEquals(null, recordedRequest.getHeader("Content-Type")); in postZeroLength()
333 assertNull(recordedRequest1.getHeader("Authorization")); in postBodyRetransmittedAfterAuthorizationFail()
338 assertEquals(credential, recordedRequest2.getHeader("Authorization")); in postBodyRetransmittedAfterAuthorizationFail()
[all …]
/external/llvm/include/llvm/Analysis/
DLoopInfoImpl.h135 BlockT *Header = getHeader(); in getLoopPredecessor()
157 BlockT *Header = getHeader(); in getLoopLatch()
188 assert((Blocks.empty() || LIB[getHeader()] == this) && in addBasicBlockToLoop()
234 BI = df_ext_begin(getHeader(), VisitSet), in verifyLoop()
235 BE = df_ext_end(getHeader(), VisitSet); in verifyLoop()
266 if (BB == getHeader()) { in verifyLoop()
280 assert(BB != getHeader()->getParent()->begin() && in verifyLoop()
327 if (BB == getHeader()) OS << "<header>"; in print()
368 if (PredBB == L->getHeader()) in discoverAndMapSubloop()
388 PredBB = Subloop->getHeader(); in discoverAndMapSubloop()
[all …]
/external/llvm/lib/Transforms/Utils/
DLoopSimplify.cpp116 BasicBlock *Header = L->getHeader(); in InsertPreheaderForLoop()
214 const DataLayout &DL = L->getHeader()->getModule()->getDataLayout(); in findPHIToPartitionLoops()
215 for (BasicBlock::iterator I = L->getHeader()->begin(); isa<PHINode>(I); ) { in findPHIToPartitionLoops()
264 assert(!L->getHeader()->isLandingPad() && in separateNestedLoop()
293 BasicBlock *Header = L->getHeader(); in separateNestedLoop()
334 if (BlocksInL.count(SubLoops[I]->getHeader())) in separateNestedLoop()
367 BasicBlock *Header = L->getHeader(); in insertUniqueBackedgeBlock()
493 if (*BB == L->getHeader()) continue; in simplifyOneLoop()
614 const DataLayout &DL = L->getHeader()->getModule()->getDataLayout(); in simplifyOneLoop()
620 for (BasicBlock::iterator I = L->getHeader()->begin(); in simplifyOneLoop()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLoopInstSimplify.cpp83 *L->getHeader()->getParent()); in runOnLoop()
105 VisitStack.push_back(WorklistItem(L->getHeader(), false)); in runOnLoop()
111 const DataLayout &DL = L->getHeader()->getModule()->getDataLayout(); in runOnLoop()
161 if (SuccLoop && SuccLoop->getHeader() == SuccBB in runOnLoop()
DLoopInterchange.cpp304 for (BasicBlock::iterator I = L->getHeader()->begin(); isa<PHINode>(I); ++I) { in getInductionVariable()
516 if (OuterMostLoopLatchBI->getSuccessor(0) == OuterMostLoop->getHeader()) in processLoopList()
524 BasicBlock *Header = L->getHeader(); in processLoopList()
599 BasicBlock *OuterLoopHeader = OuterLoop->getHeader(); in tightlyNested()
668 BasicBlock *InnerLoopHeader = InnerLoop->getHeader(); in currentLimitations()
669 BasicBlock *OuterLoopHeader = OuterLoop->getHeader(); in currentLimitations()
775 if (!OuterLoopPreHeader || OuterLoopPreHeader == OuterLoop->getHeader() || in canInterchangeLoops()
781 if (!InnerLoopPreHeader || InnerLoopPreHeader == InnerLoop->getHeader() || in canInterchangeLoops()
782 InnerLoopPreHeader == OuterLoop->getHeader()) { in canInterchangeLoops()
987 BasicBlock *InnerLoopHeader = InnerLoop->getHeader(); in splitInnerLoopHeader()
[all …]
DLoopUnswitch.cpp190 loopHeader = currentLoop->getHeader(); in initLoopData()
255 << L->getHeader()->getName() << ", contents cannot be " in countLoop()
263 << L->getHeader()->getName() << ", cost too high: " in countLoop()
390 *L->getHeader()->getParent()); in runOnLoop()
397 Function *F = currentLoop->getHeader()->getParent(); in runOnLoop()
438 *currentLoop->getHeader()->getParent()), in processCurrentLoop()
553 Visited.insert(L->getHeader()); // Branches to header make infinite loops. in isTrivialLoopExitBlock()
574 BasicBlock *Header = currentLoop->getHeader(); in IsTrivialUnswitchCondition()
725 << " blocks] in Function " << L->getHeader()->getParent()->getName() in UnswitchTrivialCondition()
1086 const DataLayout &DL = L->getHeader()->getModule()->getDataLayout(); in SimplifyCode()
/external/clang/lib/Lex/
DHeaderMap.cpp126 const HMapHeader &HeaderMap::getHeader() const { in getHeader() function in HeaderMap
160 StrTabIdx += getEndianAdjustedWord(getHeader().StringsOffset); in getString()
178 const HMapHeader &Hdr = getHeader(); in dump()
211 const HMapHeader &Hdr = getHeader(); in lookupFilename()
/external/llvm/lib/Analysis/
DLoopPass.cpp242 CurrentLoop->getHeader()->getName()); in runOnFunction()
248 PassManagerPrettyStackEntry X(P, *CurrentLoop->getHeader()); in runOnFunction()
257 CurrentLoop->getHeader()->getName()); in runOnFunction()
281 CurrentLoop->getHeader()->getName(), in runOnFunction()
393 const Function *F = L->getHeader()->getParent(); in skipOptnoneFunction()
DIVUsers.cpp94 if (DomLoop && DomLoop->getHeader() == DomBB) { in isSimplifiedLoopNest()
263 for (BasicBlock::iterator I = L->getHeader()->begin(); isa<PHINode>(I); ++I) in runOnLoop()
271 L->getHeader()->printAsOperand(OS, false); in print()
287 (*I)->getHeader()->printAsOperand(OS, false); in print()
DScalarEvolutionExpander.cpp585 if (DT.dominates(A->getHeader(), B->getHeader())) return B; in PickMostRelevantLoop()
586 if (DT.dominates(B->getHeader(), A->getHeader())) return A; in PickMostRelevantLoop()
1081 SE.DT->properlyDominates(LatchBlock, IVIncInsertLoop->getHeader()); in getAddRecExprPHILiterally()
1083 for (BasicBlock::iterator I = L->getHeader()->begin(); in getAddRecExprPHILiterally()
1164 L->getHeader()->begin()); in getAddRecExprPHILiterally()
1169 L->getHeader())); in getAddRecExprPHILiterally()
1181 Value *StepV = expandCodeFor(Step, IntTy, L->getHeader()->begin()); in getAddRecExprPHILiterally()
1190 BasicBlock *Header = L->getHeader(); in getAddRecExprPHILiterally()
1253 if (!SE.properlyDominates(Start, L->getHeader())) { in expandAddRecExprLiterally()
1265 if (!SE.dominates(Step, L->getHeader())) { in expandAddRecExprLiterally()
[all …]
/external/llvm/tools/obj2yaml/
Delf2yaml.cpp61 Y->Header.Class = ELFYAML::ELF_ELFCLASS(Obj.getHeader()->getFileClass()); in dump()
62 Y->Header.Data = ELFYAML::ELF_ELFDATA(Obj.getHeader()->getDataEncoding()); in dump()
63 Y->Header.OSABI = Obj.getHeader()->e_ident[ELF::EI_OSABI]; in dump()
64 Y->Header.Type = Obj.getHeader()->e_type; in dump()
65 Y->Header.Machine = Obj.getHeader()->e_machine; in dump()
66 Y->Header.Flags = Obj.getHeader()->e_flags; in dump()
67 Y->Header.Entry = Obj.getHeader()->e_entry; in dump()
/external/jetty/src/java/org/eclipse/jetty/io/
DSimpleBuffers.java68 public Buffer getHeader() in getHeader() method in SimpleBuffers
96 return getHeader(); in getBuffer()
DPooledBuffers.java48 public Buffer getHeader() in getHeader() method in PooledBuffers
73 return getHeader(); in getBuffer()
/external/jetty/src/java/org/eclipse/jetty/servlets/
DCrossOriginFilter.java215 String origin = request.getHeader(ORIGIN_HEADER); in handle()
323 return request.getHeader(ACCESS_CONTROL_REQUEST_METHOD_HEADER) == null; in isSimpleRequest()
333 if (request.getHeader(ACCESS_CONTROL_REQUEST_METHOD_HEADER) == null) in isPreflightRequest()
366 String accessControlRequestMethod = request.getHeader(ACCESS_CONTROL_REQUEST_METHOD_HEADER); in isMethodAllowed()
377 … String accessControlRequestHeaders = request.getHeader(ACCESS_CONTROL_REQUEST_HEADERS_HEADER); in areHeadersAllowed()
/external/ksoap2/kobjects/org/ksoap2/kobjects/mime/
DDecoder.java157 public String getHeader(String key) { in getHeader() method in Decoder
178 String contentType = getHeader("Content-Type"); in readContent()
182 if ("base64".equals(getHeader("Content-Transfer-Encoding"))) { in readContent()
/external/llvm/lib/CodeGen/
DMachineBlockPlacement.cpp590 BlockChain &HeaderChain = *BlockToChain[L.getHeader()]; in findBestLoopTop()
592 return L.getHeader(); in findBestLoopTop()
594 DEBUG(dbgs() << "Finding best loop top for: " << getBlockName(L.getHeader()) in findBestLoopTop()
599 for (MachineBasicBlock *Pred : L.getHeader()->predecessors()) { in findBestLoopTop()
611 Pred->isLayoutSuccessor(L.getHeader()))) { in findBestLoopTop()
619 return L.getHeader(); in findBestLoopTop()
624 *BestPred->pred_begin() != L.getHeader()) in findBestLoopTop()
647 BlockChain &HeaderChain = *BlockToChain[L.getHeader()]; in findBestLoopExit()
659 DEBUG(dbgs() << "Finding best loop exit for: " << getBlockName(L.getHeader()) in findBestLoopExit()
820 if (LoopTop == L.getHeader()) in buildLoopChains()
[all …]
DMachineLoopInfo.cpp51 MachineBasicBlock *TopMBB = getHeader(); in getTopBlock()
65 MachineBasicBlock *BotMBB = getHeader(); in getBottomBlock()

1234567