Home
last modified time | relevance | path

Searched refs:Body (Results 1 – 25 of 153) sorted by relevance

1234567

/third_party/node/deps/npm/node_modules/node-fetch-npm/src/
Dbody.js30 exports = module.exports = Body
32 function Body (body, opts) { class
58 Body.prototype = {
129 Body.mixIn = function (proto) {
130 for (const name of Object.getOwnPropertyNames(Body.prototype)) {
133 const desc = Object.getOwnPropertyDescriptor(Body.prototype, name)
146 return Body.Promise.reject(new Error(`body used already for: ${this.url}`))
153 return Body.Promise.resolve(Buffer.alloc(0))
158 return Body.Promise.resolve(Buffer.from(this.body))
163 return Body.Promise.resolve(this.body[BUFFER])
[all …]
Drequest.js11 const Body = require('./body.js') constant
12 const clone = Body.clone
13 const extractContentType = Body.extractContentType
14 const getTotalBytes = Body.getTotalBytes
59 Body.call(this, inputBody, {
109 Body.mixIn(Request.prototype)
Dresponse.js11 const Body = require('./body.js') constant
12 const clone = Body.clone
24 Body.call(this, body, opts)
63 Body.mixIn(Response.prototype)
Dindex.js15 const Body = require('./body.js') constant
16 const writeToStream = Body.writeToStream
38 Body.Promise = fetch.Promise
/third_party/rust/crates/tracing/examples/examples/
Dhyper-echo.rs6 Body, Server,
11 async fn echo(req: Request<Body>) -> Result<Response<Body>, hyper::Error> { in echo() argument
21 let mut response = Response::new(Body::empty()); in echo()
27 *response.body_mut() = Body::from(BODY); in echo()
51 *response.body_mut() = Body::from(upper); in echo()
68 *response.body_mut() = Body::from(reversed); in echo()
Dtower-load.rs32 use hyper::{server::conn::AddrStream, Body, Client, Server};
90 impl Service<Request<Body>> for Svc {
91 type Response = Response<Body>;
99 fn call(&mut self, req: Request<Body>) -> Self::Future { in call()
124 fn handle_request(req: Request<Body>) -> Result<String, HandleError> { in handle_request()
218 impl<S> Service<Request<Body>> for AdminSvc<S>
222 type Response = Response<Body>;
224 type Future = Pin<Box<dyn Future<Output = Result<Response<Body>, Err>> + std::marker::Send>>;
230 fn call(&mut self, req: Request<Body>) -> Self::Future { in call()
245 Ok(()) => rsp(StatusCode::NO_CONTENT, Body::empty()), in call()
[all …]
Dtower-server.rs3 use hyper::{Body, Server};
30 impl Service<Request<Body>> for Svc {
31 type Response = Response<Body>;
39 fn call(&mut self, req: Request<Body>) -> Self::Future { in call()
44 let body = Body::from(Vec::new()); in call()
47 let body = Body::from(Vec::from(&b"heyo!"[..])); in call()
Dtower-client.rs2 use hyper::{client::Client, Body};
38 .body(Body::empty()) in main()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceLoopAnalyzer.h22 Loop(CfgNode *Header, CfgNode *PreHeader, CfgUnorderedSet<SizeT> Body) in Loop()
23 : Header(Header), PreHeader(PreHeader), Body(Body) {} in Loop()
26 CfgUnorderedSet<SizeT> Body; // Node IDs member
/third_party/glslang/Test/baseResults/
Dloops.frag.out17 0:58 Loop Body
73 0:73 Loop Body
86 0:78 Loop Body
113 0:87 Loop Body
132 0:92 Loop Body
145 0:97 Loop Body
174 0:105 Loop Body
190 0:112 Loop Body
207 0:115 Loop Body
230 0:120 Loop Body
[all …]
DforLoop.frag.out22 0:14 Loop Body
50 0:21 Loop Body
72 0:26 Loop Body
123 0:34 Loop Body
164 0:39 Loop Body
204 0:14 Loop Body
232 0:21 Loop Body
254 0:26 Loop Body
305 0:34 Loop Body
346 0:39 Loop Body
Dhlsl.forLoop.frag.out45 0:14 Loop Body
64 0:18 Loop Body
82 0:22 Loop Body
101 0:26 Loop Body
127 0:30 Loop Body
146 0:34 Loop Body
176 0:48 Loop Body
222 0:54 Loop Body
302 0:14 Loop Body
321 0:18 Loop Body
[all …]
Dhlsl.doLoop.frag.out31 0:10 Loop Body
47 0:14 Loop Body
61 0:18 Loop Body
132 0:10 Loop Body
148 0:14 Loop Body
162 0:18 Loop Body
D100Limits.vert.out105 0:35 Loop Body
123 0:36 Loop Body
169 0:38 Loop Body
199 0:39 Loop Body
285 0:43 Loop Body
342 0:56 Loop Body
551 0:35 Loop Body
569 0:36 Loop Body
615 0:38 Loop Body
645 0:39 Loop Body
[all …]
DwhileLoop.frag.out19 0:11 Loop Body
53 0:11 Loop Body
DdoWhileLoop.frag.out19 0:13 Loop Body
53 0:13 Loop Body
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DAsmParser.cpp274 void checkForBadMacro(SMLoc DirectiveLoc, StringRef Name, StringRef Body,
276 bool expandMacro(raw_svector_ostream &OS, StringRef Body,
2388 bool AsmParser::expandMacro(raw_svector_ostream &OS, StringRef Body, in expandMacro() argument
2399 while (!Body.empty()) { in expandMacro()
2401 std::size_t End = Body.size(), Pos = 0; in expandMacro()
2406 if (Body[Pos] != '$' || Pos + 1 == End) in expandMacro()
2409 char Next = Body[Pos + 1]; in expandMacro()
2415 if (Body[Pos] == '\\' && Pos + 1 != End) in expandMacro()
2421 OS << Body.slice(0, Pos); in expandMacro()
2428 switch (Body[Pos + 1]) { in expandMacro()
[all …]
/third_party/flutter/skia/third_party/externals/wuffs/internal/cgen/
Dresume.go153 for _, n := range f.Body() {
163 if err := h.doBlock(r, f.Body(), 0); err != nil {
360 return h.doBlock(r, n.Body(), depth)
402 return h.doBlock(r, n.Body(), depth)
460 if err := h.doBlock(r, n.Body(), depth); err != nil {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp1691 BasicBlock *Body = *(CurLoop->block_begin()); in transformLoopToCountable() local
1692 auto *LbBr = cast<BranchInst>(Body->getTerminator()); in transformLoopToCountable()
1696 PHINode *TcPhi = PHINode::Create(Ty, 2, "tcphi", &Body->front()); in transformLoopToCountable()
1704 TcPhi->addIncoming(TcDec, Body); in transformLoopToCountable()
1707 (LbBr->getSuccessor(0) == Body) ? CmpInst::ICMP_NE : CmpInst::ICMP_EQ; in transformLoopToCountable()
1715 CntPhi->replaceUsesOutsideBlock(NewCount, Body); in transformLoopToCountable()
1717 CntInst->replaceUsesOutsideBlock(NewCount, Body); in transformLoopToCountable()
1797 BasicBlock *Body = *(CurLoop->block_begin()); in transformLoopToPopcount() local
1799 auto *LbBr = cast<BranchInst>(Body->getTerminator()); in transformLoopToPopcount()
1803 PHINode *TcPhi = PHINode::Create(Ty, 2, "tcphi", &Body->front()); in transformLoopToPopcount()
[all …]
/third_party/nghttp2/integration-tests/
Dnghttpx_http1_test.go102 defer resp.Body.Close()
273 defer resp.Body.Close()
299 defer resp.Body.Close()
325 defer resp.Body.Close()
352 defer resp.Body.Close()
383 defer resp.Body.Close()
400 _, err := r.Body.Read(buf)
786 defer resp.Body.Close()
814 defer resp.Body.Close()
846 defer resp.Body.Close()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCAsmMacro.h144 StringRef Body; member
149 : Name(N), Body(B), Parameters(std::move(P)) {} in MCAsmMacro()
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/
Dtypography_demo.dart57 TextStyleItem(name: 'Body 2', style: textTheme.body2, text: 'Medium 14sp'),
58 TextStyleItem(name: 'Body 1', style: textTheme.body1, text: 'Regular 14sp'),
/third_party/flutter/skia/infra/wasm-common/perf/
Dwasm_perf_aggregator.go120 defer r.Body.Close()
122 body, err := ioutil.ReadAll(r.Body)
/third_party/skia/infra/wasm-common/perf/
Dwasm_perf_aggregator.go120 defer r.Body.Close()
122 body, err := ioutil.ReadAll(r.Body)
/third_party/skia/infra/lottiecap/gold/
Dlottie-web-aggregator.go98 defer r.Body.Close()
100 body, err := ioutil.ReadAll(r.Body)

1234567