Home
last modified time | relevance | path

Searched full:path (Results 30001 - 30025 of 38346) sorted by relevance

1...<<1201120212031204120512061207120812091210>>...1534

/third_party/typescript/tests/baselines/reference/tsserver/projects/
H A Dfiles-opened-and-closed-affecting-multiple-projects.js44 Info 2 [00:00:27.000] Search path: /a/b/projects/config
136 Info 21 [00:00:52.000] Search path: /a/b/projects/files
249 Info 28 [00:01:13.000] Search path: /a/b/projects/files
/third_party/typescript/tests/baselines/reference/tsserver/resolutionCache/
H A Dnon-relative-module-name-from-files-in-same-folder.js38 Info 1 [00:00:38.000] Search path: /user/username/projects/myproject/src
66 Info 20 [00:00:57.000] Resolving real path for '/user/username/projects/myproject/src/node_modules/module1/index.ts', result '/user/username/projects/myproject/src/node_modules/module1/index.ts'.
84 Info 38 [00:01:15.000] Resolving real path for '/user/username/projects/myproject/node_modules/module2/index.ts', result '/user/username/projects/myproject/node_modules/module2/index.ts'.
/third_party/python/Lib/lib2to3/
H A Drefactor.py283 if os.path.isdir(dir_or_file):
302 os.path.splitext(name)[1] == py_ext):
303 fullname = os.path.join(dirpath, name)
/third_party/pulseaudio/
H A DNEWS122 * ALSA path configuration files can now be placed in user home directory
297 * The install path of the ALSA configuration files is now configurable
504 * Fixed plugin search path in module-ladspa-sink
/third_party/python/Lib/test/
H A Dtest_fileio.py425 if os.path.exists(TESTFN):
523 size = os.path.getsize(TESTFN)
614 if os.path.exists(TESTFN):
/third_party/python/Modules/clinic/
H A D_winapi.c.h597 "Return the fully-qualified path for the file that contains module.\n"
602 "whose path is being requested. If this parameter is 0,\n"
603 "GetModuleFileName retrieves the path of the executable file\n"
/third_party/skia/resources/skottie/
H A Dskottie-invert-effect.json1 {"v":"5.5.10","fr":60,"ip":0,"op":601,"w":500,"h":500,"nm":"invert","ddd":0,"assets":[{"id":"comp_0","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Shape Layer 1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[200,200],"ix":2},"p":{"a":0,"k":[100,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[0,1,0.250980407,1],"ix":4},"o":{"a":0,"k":75,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[0]},{"t":600,"s":[360]}],"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 3","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"sr","sy":1,"d":1,"pt":{"a":0,"k":5,"ix":3},"p":{"a":0,"k":[0,0],"ix":4},"r":{"a":0,"k":0,"ix":5},"ir":{"a":0,"k":50,"ix":6},"is":{"a":0,"k":0,"ix":8},"or":{"a":0,"k":162,"ix":7},"os":{"a":0,"k":0,"ix":9},"ix":1,"nm":"Polystar Path 1","mn":"ADBE Vector Shape - Star","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0.250980407,0,1],"ix":4},"o":{"a":0,"k":75,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[0]},{"t":600,"s":[720]}],"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[175,175],"ix":2},"p":{"a":0,"k":[-90,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.250980407,0,1,1],"ix": (…)
/third_party/rust/crates/unicode-width/scripts/
H A Dunicode.py68 if not os.path.exists(os.path.basename(filename)):
330 if os.path.exists(out_name):
/third_party/spirv-tools/source/opt/
H A Dloop_unswitch_pass.cpp112 // Find a value that can be used to select the default path. in GetValueForDefaultPathForSwitch()
114 // because this path will never be taken because the new switch outside of in GetValueForDefaultPathForSwitch()
115 // the loop cannot select this path either. in GetValueForDefaultPathForSwitch()
/third_party/spirv-tools/utils/vscode/src/
H A Dlangsvr.go25 "path"
73 if logfile, err := os.Create(path.Join(path.Dir(os.Args[0]), "log.txt")); err == nil {
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/
H A DvktBuildPrograms.cpp592 parser << Option<opt::DstPath>("d", "dst-path", "Destination path", "out") in registerOptions()
593 << Option<opt::Cases>("n", "deqp-case", "Case path filter (works as in test binaries)") in registerOptions()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/
H A Ddbus_dict_helpers.c302 * Add a DBus object path entry to the dict.
307 * @param value The DBus object path value
862 wpa_printf(MSG_MSGDUMP, "%s: object path value: %s", in _wpa_dbus_dict_fill_value_from_variant()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
H A Dap_main.c489 " -g global control interface path\n" in usage()
522 const char *path) in hostapd_get_global_ctrl_iface()
529 interfaces->global_iface_path = os_strdup(path); in hostapd_get_global_ctrl_iface()
521 hostapd_get_global_ctrl_iface(struct hapd_interfaces *interfaces, const char *path) hostapd_get_global_ctrl_iface() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/
H A Ddbus_dict_helpers.c302 * Add a DBus object path entry to the dict.
307 * @param value The DBus object path value
862 wpa_printf(MSG_MSGDUMP, "%s: object path value: %s", in _wpa_dbus_dict_fill_value_from_variant()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
H A Dap_main.c481 " -g global control interface path\n" in usage()
514 const char *path) in hostapd_get_global_ctrl_iface()
521 interfaces->global_iface_path = os_strdup(path); in hostapd_get_global_ctrl_iface()
513 hostapd_get_global_ctrl_iface(struct hapd_interfaces *interfaces, const char *path) hostapd_get_global_ctrl_iface() argument
/third_party/zlib/os400/
H A Dzlib.inc145 D path * value options(*string) File pathname
150 D path * value options(*string) File pathname
155 D path * value options(*string) File pathname
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_common_modifier.cpp2581 void SetMotionPath(ArkUINodeHandle node, ArkUI_CharPtr path, ArkUI_Float32 from, ArkUI_Float32 to, ArkUI_Bool rotatable) in SetMotionPath() argument
2586 std::string pathString = path; in SetMotionPath()
3955 auto path = AceType::MakeRefPtr<Path>(); in SetClipPath() local
3959 path->SetWidth(width); in SetClipPath()
3960 path->SetHeight(height); in SetClipPath()
3961 path->SetValue(StringUtils::TrimStr(pathCommands)); in SetClipPath()
3962 ViewAbstract::SetClipShape(frameNode, path); in SetClipPath()
4537 auto path = AceType::MakeRefPtr<Path>(); in SetMaskPath() local
5131 auto path = AceType::DynamicCast<Path>(basicShape); GetClipShape() local
5283 auto path = AceType::DynamicCast<Path>(basicShape); GetMask() local
[all...]
/third_party/mesa3d/docs/relnotes/
H A D21.3.0.rst614 - panvk: Close the panfrost device in the panvk_physical_device_init() error path
640 - pan/blit: Fix a NULL dereference in the preload path
774 - aux/draw: Check for preferred IR to take nir-to-tgsi path in draw module
1286 - gallivm: Always take the per-pixel LOD path for cubemaps.
1329 - freedreno/ir3: Use the resinfo path for ssbo sizes on GL, too.
1434 - i915g: Use the non-vbuf code path by default to fix index overflows.
2039 - compiler/clc: grab opencl-c.h from the system path by default
2264 - ac/surface: Use 64 && 128 for GFX10_3 on non-modifier path
2763 - mesa: fix crashes in the no_error path of glUniform
2825 - meson: dont use missing dumpbin path
[all...]
/third_party/node/doc/api/
H A Dchild_process.html62 <li><a href="path.html" class="nav-path">Path</a></li>
102 <path fill="none" d="M0 0h24v24H0z" />
103 <path d="M11.1 12.08c-2.33-4.51-.5-8.48.53-10.07C6.27 2.2 1.98 6.59 1.98 12c0 .14.02.28.02.42.62-.27 1.29-.42 2-.42 1.66 0 3.18.83 4.1 2.15A4.01 4.01 0 0111 18c0 1.52-.87 2.83-2.12 3.51.98.32 2.03.5 3.11.5 3.5 0 6.58-1.8 8.37-4.52-2.36.23-6.98-.97-9.26-5.41z"/>
104 <path d="M7 16h-.18C6.4 14.84 5.3 14 4 14c-1.66 0-3 1.34-3 3s1.34 3 3 3h3c1.1 0 2-.9 2-2s-.9-2-2-2z"/>
107 <path d="M0 0h24v24H0z" fill="none" />
108 <path d="M6.76 4.84l-1.8-1.79-1.41 1.41 1.79 1.79 1.42-1.41zM4 10.5H1v2h3v-2zm9-9.95h-2V3.5h2V.55zm7.45 3.91l-1.41-1.41-1.79 1.79 1.41 1.41 1.79-1.79zm-3.21 13.7l1.79 1.8 1.41-1.41-1.8-1.79-1.4 1.4zM20 10.5v2h3v-2h-3zm-8-5c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm-1 16.95h2V19.5h-2v2.95zm-7.45-3.91l1.41 1.41 1.79-1.8-1.41-1.41-1.79 1.8z"/>
244 <li><a href="path.html" class="nav-path">Pat
[all...]
H A Dhttp.json23 "desc": "<p>An <code>Agent</code> is responsible for managing connection persistence\nand reuse for HTTP clients. It maintains a queue of pending requests\nfor a given host and port, reusing a single socket connection for each\nuntil the queue is empty, at which time the socket is either destroyed\nor put into a pool where it is kept to be used again for requests to the\nsame host and port. Whether it is destroyed or pooled depends on the\n<code>keepAlive</code> <a href=\"#new-agentoptions\">option</a>.</p>\n<p>Pooled connections have TCP Keep-Alive enabled for them, but servers may\nstill close idle connections, in which case they will be removed from the\npool and a new connection will be made when a new HTTP request is made for\nthat host and port. Servers may also refuse to allow multiple requests\nover the same connection, in which case the connection will have to be\nremade for every request and cannot be pooled. The <code>Agent</code> will still make\nthe requests to that server, but each one will occur over a new connection.</p>\n<p>When a connection is closed by the client or the server, it is removed\nfrom the pool. Any unused sockets in the pool will be unrefed so as not\nto keep the Node.js process running when there are no outstanding requests.\n(see <a href=\"net.html#socketunref\"><code>socket.unref()</code></a>).</p>\n<p>It is good practice, to <a href=\"#agentdestroy\"><code>destroy()</code></a> an <code>Agent</code> instance when it is no\nlonger in use, because unused sockets consume OS resources.</p>\n<p>Sockets are removed from an agent when the socket emits either\na <code>'close'</code> event or an <code>'agentRemove'</code> event. When intending to keep one\nHTTP request open for a long time without keeping it in the agent, something\nlike the following may be done:</p>\n<pre><code class=\"language-js\">http.get(options, (res) => {\n // Do stuff\n}).on('socket', (socket) => {\n socket.emit('agentRemove');\n});\n</code></pre>\n<p>An agent may also be used for an individual request. By providing\n<code>{agent: false}</code> as an option to the <code>http.get()</code> or <code>http.request()</code>\nfunctions, a one-time use <code>Agent</code> with default options will be used\nfor the client connection.</p>\n<p><code>agent:false</code>:</p>\n<pre><code class=\"language-js\">http.get({\n hostname: 'localhost',\n port: 80,\n path: '/',\n agent: false, // Create a new agent just for this one request\n}, (res) => {\n // Do stuff with response\n});\n</code></pre>",
418 "desc": "<p>Emitted each time a server responds to a request with a <code>CONNECT</code> method. If\nthis event is not being listened for, clients receiving a <code>CONNECT</code> method will\nhave their connections closed.</p>\n<p>This event is guaranteed to be passed an instance of the <a href=\"net.html#class-netsocket\" class=\"type\">&lt;net.Socket&gt;</a> class,\na subclass of <a href=\"stream.html#class-streamduplex\" class=\"type\">&lt;stream.Duplex&gt;</a>, unless the user specifies a socket\ntype other than <a href=\"net.html#class-netsocket\" class=\"type\">&lt;net.Socket&gt;</a>.</p>\n<p>A client and server pair demonstrating how to listen for the <code>'connect'</code> event:</p>\n<pre><code class=\"language-mjs\">import { createServer, request } from 'node:http';\nimport { connect } from 'node:net';\nimport { URL } from 'node:url';\n\n// Create an HTTP tunneling proxy\nconst proxy = createServer((req, res) => {\n res.writeHead(200, { 'Content-Type': 'text/plain' });\n res.end('okay');\n});\nproxy.on('connect', (req, clientSocket, head) => {\n // Connect to an origin server\n const { port, hostname } = new URL(`http://${req.url}`);\n const serverSocket = connect(port || 80, hostname, () => {\n clientSocket.write('HTTP/1.1 200 Connection Established\\r\\n' +\n 'Proxy-agent: Node.js-Proxy\\r\\n' +\n '\\r\\n');\n serverSocket.write(head);\n serverSocket.pipe(clientSocket);\n clientSocket.pipe(serverSocket);\n });\n});\n\n// Now that proxy is running\nproxy.listen(1337, '127.0.0.1', () => {\n\n // Make a request to a tunneling proxy\n const options = {\n port: 1337,\n host: '127.0.0.1',\n method: 'CONNECT',\n path: 'www.google.com:80',\n };\n\n const req = request(options);\n req.end();\n\n req.on('connect', (res, socket, head) => {\n console.log('got connected!');\n\n // Make a request over an HTTP tunnel\n socket.write('GET / HTTP/1.1\\r\\n' +\n 'Host: www.google.com:80\\r\\n' +\n 'Connection: close\\r\\n' +\n '\\r\\n');\n socket.on('data', (chunk) => {\n console.log(chunk.toString());\n });\n socket.on('end', () => {\n proxy.close();\n });\n });\n});\n</code></pre>\n<pre><code class=\"language-cjs\">const http = require('node:http');\nconst net = require('node:net');\nconst { URL } = require('node:url');\n\n// Create an HTTP tunneling proxy\nconst proxy = http.createServer((req, res) => {\n res.writeHead(200, { 'Content-Type': 'text/plain' });\n res.end('okay');\n});\nproxy.on('connect', (req, clientSocket, head) => {\n // Connect to an origin server\n const { port, hostname } = new URL(`http://${req.url}`);\n const serverSocket = net.connect(port || 80, hostname, () => {\n clientSocket.write('HTTP/1.1 200 Connection Established\\r\\n' +\n 'Proxy-agent: Node.js-Proxy\\r\\n' +\n '\\r\\n');\n serverSocket.write(head);\n serverSocket.pipe(clientSocket);\n clientSocket.pipe(serverSocket);\n });\n});\n\n// Now that proxy is running\nproxy.listen(1337, '127.0.0.1', () => {\n\n // Make a request to a tunneling proxy\n const options = {\n port: 1337,\n host: '127.0.0.1',\n method: 'CONNECT',\n path: 'www.google.com:80',\n };\n\n const req = http.request(options);\n req.end();\n\n req.on('connect', (res, socket, head) => {\n console.log('got connected!');\n\n // Make a request over an HTTP tunnel\n socket.write('GET / HTTP/1.1\\r\\n' +\n 'Host: www.google.com:80\\r\\n' +\n 'Connection: close\\r\\n' +\n '\\r\\n');\n socket.on('data', (chunk) => {\n console.log(chunk.toString());\n });\n socket.on('end', () => {\n proxy.close();\n });\n });\n});\n</code></pre>"
500 "desc": "<p>Emitted when the server sends a 1xx intermediate response (excluding 101\nUpgrade). The listeners of this event will receive an object containing the\nHTTP version, status code, status message, key-value headers object,\nand array with the raw header names followed by their respective values.</p>\n<pre><code class=\"language-mjs\">import { request } from 'node:http';\n\nconst options = {\n host: '127.0.0.1',\n port: 8080,\n path: '/length_request',\n};\n\n// Make a request\nconst req = request(options);\nreq.end();\n\nreq.on('information', (info) => {\n console.log(`Got information prior to main response: ${info.statusCode}`);\n});\n</code></pre>\n<pre><code class=\"language-cjs\">const http = require('node:http');\n\nconst options = {\n host: '127.0.0.1',\n port: 8080,\n path: '/length_request',\n};\n\n// Make a request\nconst req = http.request(options);\nreq.end();\n\nreq.on('information', (info) => {\n console.log(`Got information prior to main response: ${info.statusCode}`);\n});\n</code></pre>\n<p>101 Upgrade statuses do not fire this event due to their break from the\ntraditional HTTP request/response chain, such as web sockets, in-place TLS\nupgrades, or HTTP 2.0. To be notified of 101 Upgrade notices, listen for the\n<a href=\"#event-upgrade\"><code>'upgrade'</code></a> event instead.</p>"
1138 "textRaw": "`path` {string} The request path.",
1140 "name": "path",
1147 "desc": "The request path."
3878 "textRaw": "`path` {strin
[all...]
H A Dhttp2.json60 "desc": "<p>The following illustrates an HTTP/2 client:</p>\n<pre><code class=\"language-js\">const http2 = require('node:http2');\nconst fs = require('node:fs');\nconst client = http2.connect('https://localhost:8443', {\n ca: fs.readFileSync('localhost-cert.pem'),\n});\nclient.on('error', (err) => console.error(err));\n\nconst req = client.request({ ':path': '/' });\n\nreq.on('response', (headers, flags) => {\n for (const name in headers) {\n console.log(`${name}: ${headers[name]}`);\n }\n});\n\nreq.setEncoding('utf8');\nlet data = '';\nreq.on('data', (chunk) => { data += chunk; });\nreq.on('end', () => {\n console.log(`\\n${data}`);\n client.close();\n});\nreq.end();\n</code></pre>",
67 "desc": "<p>Headers are represented as own-properties on JavaScript objects. The property\nkeys will be serialized to lower-case. Property values should be strings (if\nthey are not they will be coerced to strings) or an <code>Array</code> of strings (in order\nto send more than one value per header field).</p>\n<pre><code class=\"language-js\">const headers = {\n ':status': '200',\n 'content-type': 'text-plain',\n 'ABC': ['has', 'more', 'than', 'one', 'value'],\n};\n\nstream.respond(headers);\n</code></pre>\n<p>Header objects passed to callback functions will have a <code>null</code> prototype. This\nmeans that normal JavaScript object methods such as\n<code>Object.prototype.toString()</code> and <code>Object.prototype.hasOwnProperty()</code> will\nnot work.</p>\n<p>For incoming headers:</p>\n<ul>\n<li>The <code>:status</code> header is converted to <code>number</code>.</li>\n<li>Duplicates of <code>:status</code>, <code>:method</code>, <code>:authority</code>, <code>:scheme</code>, <code>:path</code>,\n<code>:protocol</code>, <code>age</code>, <code>authorization</code>, <code>access-control-allow-credentials</code>,\n<code>access-control-max-age</code>, <code>access-control-request-method</code>, <code>content-encoding</code>,\n<code>content-language</code>, <code>content-length</code>, <code>content-location</code>, <code>content-md5</code>,\n<code>content-range</code>, <code>content-type</code>, <code>date</code>, <code>dnt</code>, <code>etag</code>, <code>expires</code>, <code>from</code>,\n<code>host</code>, <code>if-match</code>, <code>if-modified-since</code>, <code>if-none-match</code>, <code>if-range</code>,\n<code>if-unmodified-since</code>, <code>last-modified</code>, <code>location</code>, <code>max-forwards</code>,\n<code>proxy-authorization</code>, <code>range</code>, <code>referer</code>,<code>retry-after</code>, <code>tk</code>,\n<code>upgrade-insecure-requests</code>, <code>user-agent</code> or <code>x-content-type-options</code> are\ndiscarded.</li>\n<li><code>set-cookie</code> is always an array. Duplicates are added to the array.</li>\n<li>For duplicate <code>cookie</code> headers, the values are joined together with '; '.</li>\n<li>For all other headers, the values are joined together with ', '.</li>\n</ul>\n<pre><code class=\"language-js\">const http2 = require('node:http2');\nconst server = http2.createServer();\nserver.on('stream', (stream, headers) => {\n console.log(headers[':path']);\n console.log(headers.ABC);\n});\n</code></pre>",
121 "desc": "<p>To receive pushed streams on the client, set a listener for the <code>'stream'</code>\nevent on the <code>ClientHttp2Session</code>:</p>\n<pre><code class=\"language-js\">const http2 = require('node:http2');\n\nconst client = http2.connect('http://localhost');\n\nclient.on('stream', (pushedStream, requestHeaders) => {\n pushedStream.on('push', (responseHeaders) => {\n // Process response headers\n });\n pushedStream.on('data', (chunk) => { /* handle pushed data */ });\n});\n\nconst req = client.request({ ':path': '/' });\n</code></pre>",
128 "desc": "<p>The <code>CONNECT</code> method is used to allow an HTTP/2 server to be used as a proxy\nfor TCP/IP connections.</p>\n<p>A simple TCP Server:</p>\n<pre><code class=\"language-js\">const net = require('node:net');\n\nconst server = net.createServer((socket) => {\n let name = '';\n socket.setEncoding('utf8');\n socket.on('data', (chunk) => name += chunk);\n socket.on('end', () => socket.end(`hello ${name}`));\n});\n\nserver.listen(8000);\n</code></pre>\n<p>An HTTP/2 CONNECT proxy:</p>\n<pre><code class=\"language-js\">const http2 = require('node:http2');\nconst { NGHTTP2_REFUSED_STREAM } = http2.constants;\nconst net = require('node:net');\n\nconst proxy = http2.createServer();\nproxy.on('stream', (stream, headers) => {\n if (headers[':method'] !== 'CONNECT') {\n // Only accept CONNECT requests\n stream.close(NGHTTP2_REFUSED_STREAM);\n return;\n }\n const auth = new URL(`tcp://${headers[':authority']}`);\n // It's a very good idea to verify that hostname and port are\n // things this proxy should be connecting to.\n const socket = net.connect(auth.port, auth.hostname, () => {\n stream.respond();\n socket.pipe(stream);\n stream.pipe(socket);\n });\n socket.on('error', (error) => {\n stream.close(http2.constants.NGHTTP2_CONNECT_ERROR);\n });\n});\n\nproxy.listen(8001);\n</code></pre>\n<p>An HTTP/2 CONNECT client:</p>\n<pre><code class=\"language-js\">const http2 = require('node:http2');\n\nconst client = http2.connect('http://localhost:8001');\n\n// Must not specify the ':path' and ':scheme' headers\n// for CONNECT requests or an error will be thrown.\nconst req = client.request({\n ':method': 'CONNECT',\n ':authority': 'localhost:8000',\n});\n\nreq.on('response', (headers) => {\n console.log(headers[http2.constants.HTTP2_HEADER_STATUS]);\n});\nlet data = '';\nreq.setEncoding('utf8');\nreq.on('data', (chunk) => data += chunk);\nreq.on('end', () => {\n console.log(`The server says: ${data}`);\n client.close();\n});\nreq.end('Jane');\n</code></pre>",
378 "desc": "<p>The <code>'stream'</code> event is emitted when a new <code>Http2Stream</code> is created.</p>\n<pre><code class=\"language-js\">const http2 = require('node:http2');\nsession.on('stream', (stream, headers, flags) => {\n const method = headers[':method'];\n const path = headers[':path'];\n // ...\n stream.respond({\n ':status': 200,\n 'content-type': 'text/plain; charset=utf-8',\n });\n stream.write('hello ');\n stream.end('world');\n});\n</code></pre>\n<p>On the server side, user code will typically not listen for this event directly,\nand would instead register a handler for the <code>'stream'</code> event emitted by the\n<code>net.Server</code> or <code>tls.Server</code> instances returned by <code>http2.createServer()</code> and\n<code>http2.createSecureServer()</code>, respectively, as in the example below:</p>\n<pre><code class=\"language-js\">const http2 = require('node:http2');\n\n// Create an unencrypted HTTP/2 server\nconst server = http2.createServer();\n\nserver.on('stream', (stream, headers) => {\n stream.respond({\n 'content-type': 'text/html; charset=utf-8',\n ':status': 200,\n });\n stream.on('error', (error) => console.error(error));\n stream.end('&#x3C;h1>Hello World&#x3C;/h1>');\n});\n\nserver.listen(8000);\n</code></pre>\n<p>Even though HTTP/2 streams and network sockets are not in a 1:1 correspondence,\na network error will destroy each individual stream and must be handled on the\nstream level, as shown above.</p>"
1025 "desc": "<p>For HTTP/2 Client <code>Http2Session</code> instances only, the <code>http2session.request()</code>\ncreates and returns an <code>Http2Stream</code> instance that can be used to send an\nHTTP/2 request to the connected server.</p>\n<p>When a <code>ClientHttp2Session</code> is first created, the socket may not yet be\nconnected. if <code>clienthttp2session.request()</code> is called during this time, the\nactual request will be deferred until the socket is ready to go.\nIf the <code>session</code> is closed before the actual request be executed, an\n<code>ERR_HTTP2_GOAWAY_SESSION</code> is thrown.</p>\n<p>This method is only available if <code>http2session.type</code> is equal to\n<code>http2.constants.NGHTTP2_SESSION_CLIENT</code>.</p>\n<pre><code class=\"language-js\">const http2 = require('node:http2');\nconst clientSession = http2.connect('https://localhost:1234');\nconst {\n HTTP2_HEADER_PATH,\n HTTP2_HEADER_STATUS,\n} = http2.constants;\n\nconst req = clientSession.request({ [HTTP2_HEADER_PATH]: '/' });\nreq.on('response', (headers) => {\n console.log(headers[HTTP2_HEADER_STATUS]);\n req.on('data', (chunk) => { /* .. */ });\n req.on('end', () => { /* .. */ });\n});\n</code></pre>\n<p>When the <code>options.waitForTrailers</code> option is set, the <code>'wantTrailers'</code> event\nis emitted immediately after queuing the last chunk of payload data to be sent.\nThe <code>http2stream.sendTrailers()</code> method can then be called to send trailing\nheaders to the peer.</p>\n<p>When <code>options.waitForTrailers</code> is set, the <code>Http2Stream</code> will not automatically\nclose when the final <code>DATA</code> frame is transmitted. User code must call either\n<code>http2stream.sendTrailers()</code> or <code>http2stream.close()</code> to close the\n<code>Http2Stream</code>.</p>\n<p>When <code>options.signal</code> is set with an <code>AbortSignal</code> and then <code>abort</code> on the\ncorresponding <code>AbortController</code> is called, the request will emit an <code>'error'</code>\nevent with an <code>AbortError</code> error.</p>\n<p>The <code>:method</code> and <code>:path</code> pseudo-headers are not specified within <code>headers</code>,\nthey respectively default to:</p>\n<ul>\n<li><code>:method</code> = <code>'GET'</code></li>\n<li><code>:path</code> = <code>/</code></li>\n</ul>"
1486 "desc": "<pre><code class=\"language-js\">const http2 = require('node:http2');\nconst client = http2.connect('http://example.org:8000');\nconst { NGHTTP2_CANCEL } = http2.constants;\nconst req = client.request({ ':path'
[all...]
H A Ddiagnostics_channel.html62 <li><a href="path.html" class="nav-path">Path</a></li>
102 <path fill="none" d="M0 0h24v24H0z" />
103 <path d="M11.1 12.08c-2.33-4.51-.5-8.48.53-10.07C6.27 2.2 1.98 6.59 1.98 12c0 .14.02.28.02.42.62-.27 1.29-.42 2-.42 1.66 0 3.18.83 4.1 2.15A4.01 4.01 0 0111 18c0 1.52-.87 2.83-2.12 3.51.98.32 2.03.5 3.11.5 3.5 0 6.58-1.8 8.37-4.52-2.36.23-6.98-.97-9.26-5.41z"/>
104 <path d="M7 16h-.18C6.4 14.84 5.3 14 4 14c-1.66 0-3 1.34-3 3s1.34 3 3 3h3c1.1 0 2-.9 2-2s-.9-2-2-2z"/>
107 <path d="M0 0h24v24H0z" fill="none" />
108 <path d="M6.76 4.84l-1.8-1.79-1.41 1.41 1.79 1.79 1.42-1.41zM4 10.5H1v2h3v-2zm9-9.95h-2V3.5h2V.55zm7.45 3.91l-1.41-1.41-1.79 1.79 1.41 1.41 1.79-1.79zm-3.21 13.7l1.79 1.8 1.41-1.41-1.8-1.79-1.4 1.4zM20 10.5v2h3v-2h-3zm-8-5c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm-1 16.95h2V19.5h-2v2.95zm-7.45-3.91l1.41 1.41 1.79-1.8-1.41-1.41-1.79 1.8z"/>
228 <li><a href="path.html" class="nav-path">Pat
[all...]
/third_party/musl/ldso/linux/
H A Ddynlink.c239 /* asan path open */
256 static bool get_app_path(char *path, size_t size) in get_app_path() argument
259 l = readlink("/proc/self/exe", path, size); in get_app_path()
264 path[l] = 0; in get_app_path()
265 LD_LOGD("get_app_path path:%{public}s.", path); in get_app_path()
1874 * futher path search. */ in path_open()
3184 } else if (!memcmp(opt, "library-path", 12)) { in __dls3()
4934 int open_uncompressed_library_in_zipfile(const char *path, struct zip_info *z_info, char *separator) in open_uncompressed_library_in_zipfile() argument
4940 /* Use "'!/' to split the path int in open_uncompressed_library_in_zipfile()
[all...]
/third_party/backends/sanei/
H A Dsanei_usb.c580 SANE_Status sanei_usb_testing_enable_replay(SANE_String_Const path, in sanei_usb_testing_enable_replay() argument
587 testing_xml_path = strdup(path); in sanei_usb_testing_enable_replay()
614 SANE_Status sanei_usb_testing_enable_record(SANE_String_Const path, SANE_String_Const be_name) in sanei_usb_testing_enable_record() argument
618 testing_xml_path = strdup(path); in sanei_usb_testing_enable_record()
680 // transactions, because set_configuration is called in sanei_usb_open outside test path.
856 // slow path. The fast path utilizes the knowledge that there will be no spaces in sanei_xml_get_hex_data()
857 // within bytes. When this assumption does not hold, we switch to the slow path. in sanei_xml_get_hex_data()
1420 SANE_Status sanei_usb_testing_enable_replay(SANE_String_Const path, in sanei_usb_testing_enable_replay() argument
1423 (void) path; in sanei_usb_testing_enable_replay()
1430 sanei_usb_testing_enable_record(SANE_String_Const path, SANE_String_Const be_name) sanei_usb_testing_enable_record() argument
[all...]
/third_party/nghttp2/integration-tests/
H A Dnghttpx_http2_test.go997 if !strings.HasPrefix(r.URL.Path, "/css/") {
1071 t.Fatal("execution path should not be here")
1094 t.Fatal("execution path should not be here")
2367 path: "/foo?bar",
2540 const pattern = `affinity=[0-9a-f]{8}; Path=/foo/bar`
2569 const pattern = `affinity=[0-9a-f]{8}; Path=/foo/bar; Secure`
2590 pair(":path", "/"),
3359 path: "/api/v1beta1/backendconfig",
3401 path: "/api/v1beta1/backendconfig?foo=bar",
3443 path
[all...]

Completed in 78 milliseconds

1...<<1201120212031204120512061207120812091210>>...1534