| /third_party/node/deps/http_parser/ |
| D | Makefile | 82 test_g.o: test.c http_parser.h Makefile 85 http_parser_g.o: http_parser.c http_parser.h Makefile 86 $(CC) $(CPPFLAGS_DEBUG) $(CFLAGS_DEBUG) -c http_parser.c -o $@ 88 test_fast: http_parser.o test.o http_parser.h 89 $(CC) $(CFLAGS_FAST) $(LDFLAGS) http_parser.o test.o -o $@ 91 test.o: test.c http_parser.h Makefile 94 bench: http_parser.o bench.o 95 $(CC) $(CFLAGS_BENCH) $(LDFLAGS) http_parser.o bench.o -o $@ 97 bench.o: bench.c http_parser.h Makefile 100 http_parser.o: http_parser.c http_parser.h Makefile [all …]
|
| D | http_parser.gyp | 5 # ./gyp/gyp -f make --depth=`pwd` http_parser.gyp 52 'target_name': 'http_parser', 60 'sources': [ './http_parser.c', ], 65 # Compile as C++. http_parser.c is actually C99, but C++ is 83 'sources': [ './http_parser.c', ], 88 # Compile as C++. http_parser.c is actually C99, but C++ is 100 'dependencies': [ 'http_parser' ],
|
| D | README.md | 39 One `http_parser` object is used per TCP connection. Initialize the struct 48 http_parser *parser = malloc(sizeof(http_parser)); 78 `http_parser` needs to know where the end of the stream is. For example, sometimes 80 consume input (for the body) until EOF. To tell `http_parser` about EOF, give 87 temporally stored in `http_parser` and gets reset on each new message. If 99 `http_parser` supports upgrading the connection to a different protocol. An 134 * notification `typedef int (*http_cb) (http_parser*);` 136 * data `typedef int (*http_data_cb) (http_parser*, const char *at, size_t length);` 144 the `http_parser` object's `data` field can be used. 150 callback in a threadsafe manner. This allows `http_parser` to be used in [all …]
|
| D | http_parser.h | 68 typedef struct http_parser http_parser; typedef 90 typedef int (*http_data_cb) (http_parser*, const char *at, size_t length); 91 typedef int (*http_cb) (http_parser*); 220 /* Flag values for http_parser.flags field */ 293 /* Get an http_errno value from an http_parser */ 297 struct http_parser { struct 301 unsigned int state : 7; /* enum state from http_parser.c */ argument 302 unsigned int header_state : 7; /* enum header_state from http_parser.c */ argument 389 * printf("http_parser v%u.%u.%u\n", major, minor, patch); 393 void http_parser_init(http_parser *parser, enum http_parser_type type); [all …]
|
| D | bench.c | 21 #include "http_parser.h" 48 static int on_info(http_parser* p) { in on_info() 53 static int on_data(http_parser* p, const char *at, size_t length) { in on_data() 69 struct http_parser parser; in bench()
|
| D | test.c | 21 #include "http_parser.h" 46 static http_parser parser; 2241 request_url_cb (http_parser *p, const char *buf, size_t len) in request_url_cb() 2252 header_field_cb (http_parser *p, const char *buf, size_t len) in header_field_cb() 2271 header_value_cb (http_parser *p, const char *buf, size_t len) in header_value_cb() 2287 check_body_is_final (const http_parser *p) in check_body_is_final() 2300 body_cb (http_parser *p, const char *buf, size_t len) in body_cb() 2314 count_body_cb (http_parser *p, const char *buf, size_t len) in count_body_cb() 2324 message_begin_cb (http_parser *p) in message_begin_cb() 2333 headers_complete_cb (http_parser *p) in headers_complete_cb() [all …]
|
| /third_party/boost/libs/beast/test/bench/parser/ |
| D | nodejs_parser.hpp | 13 #include "nodejs-parser/http_parser.h" 146 http_parser state_; 227 static int cb_message_start(http_parser*); 228 static int cb_url(http_parser*, char const*, std::size_t); 229 static int cb_status(http_parser*, char const*, std::size_t); 230 static int cb_header_field(http_parser*, char const*, std::size_t); 231 static int cb_header_value(http_parser*, char const*, std::size_t); 232 static int cb_headers_complete(http_parser*); 233 static int cb_body(http_parser*, char const*, std::size_t); 234 static int cb_message_complete(http_parser*); [all …]
|
| D | nodejs_parser.cpp | 23 #include "nodejs-parser/http_parser.c"
|
| /third_party/node/deps/http_parser/contrib/ |
| D | parsertrace.c | 24 #include "http_parser.h" 29 int on_message_begin(http_parser* _) { in on_message_begin() 35 int on_headers_complete(http_parser* _) { in on_headers_complete() 41 int on_message_complete(http_parser* _) { in on_message_complete() 47 int on_url(http_parser* _, const char* at, size_t length) { in on_url() 53 int on_header_field(http_parser* _, const char* at, size_t length) { in on_header_field() 59 int on_header_value(http_parser* _, const char* at, size_t length) { in on_header_value() 65 int on_body(http_parser* _, const char* at, size_t length) { in on_body() 139 http_parser parser; in main()
|
| D | url_parser.c | 1 #include "http_parser.h"
|
| /third_party/node/deps/llhttp/ |
| D | README.md | 3 Port of [http_parser][0] to [llparse][1]. 7 Let's face it, [http_parser][0] is practically unmaintainable. Even 20 Over time, different approaches for improving [http_parser][0]'s code base 24 This project is a port of [http_parser][0] to TypeScript. [llparse][1] is used 30 So far llhttp outperforms http_parser: 35 | **http_parser** | 8192.00 mb | 694.66 mb/s | 1406180.33 req/sec | 11.79 s | 43 The whole [http_parser][0] is implemented in approximately 2500 lines of C, and 48 most of http_parser's code is hand-optimized and unrolled. Instead describing 50 implement the new features in [http_parser][0] cautiously, considering
|
| /third_party/boost/libs/beast/test/bench/parser/nodejs-parser/ |
| D | http_parser.h | 67 typedef struct http_parser http_parser; typedef 89 typedef int (*http_data_cb) (http_parser*, const char *at, size_t length); 90 typedef int (*http_cb) (http_parser*); 147 /* Flag values for http_parser.flags field */ 218 /* Get an http_errno value from an http_parser */ 222 struct http_parser { struct 226 unsigned int state : 7; /* enum state from http_parser.c */ argument 227 unsigned int header_state : 7; /* enum header_state from http_parser.c */ argument 308 * printf("http_parser v%u.%u.%u\n", major, minor, patch); 312 void http_parser_init(http_parser *parser, enum http_parser_type type); [all …]
|
| D | README.md | 36 One `http_parser` object is used per TCP connection. Initialize the struct 45 http_parser *parser = malloc(sizeof(http_parser)); 77 consume input (for the body) until EOF. To tell http_parser about EOF, give 84 temporally stored in `http_parser` and gets reset on each new message. If 131 * notification `typedef int (*http_cb) (http_parser*);` 133 * data `typedef int (*http_data_cb) (http_parser*, const char *at, size_t length);` 141 the `http_parser` object's `data` field can be used. 159 int my_url_callback(http_parser* parser, const char *at, size_t length) { 181 http_parser *parser = malloc(sizeof(http_parser));
|
| D | LICENSE-MIT | 1 http_parser.c is based on src/http/ngx_http_parse.c from NGINX copyright
|
| /third_party/node/src/ |
| D | http_parser_adaptor.h | 13 # include "http_parser.h" 18 typedef http_parser parser_t;
|
| D | node_http_parser_traditional.cc | 21 NODE_MODULE_CONTEXT_AWARE_INTERNAL(http_parser, node::InitializeHttpParser)
|
| /third_party/node/deps/http_parser/fuzzers/ |
| D | fuzz_parser.c | 4 #include "http_parser.h" 21 http_parser parser; in LLVMFuzzerTestOneInput()
|
| D | fuzz_url.c | 4 #include "http_parser.h"
|
| /third_party/node/test/parallel/ |
| D | test-http-parser-lazy-loaded.js | 20 // http_parser module. 23 process.binding('http_parser') : process.binding('http_parser_llhttp');
|
| D | test-process-versions.js | 7 'http_parser', 'llhttp']; 30 assert(commonTemplate.test(process.versions.http_parser));
|
| D | test-trace-events-metadata.js | 39 trace.args.process.versions.http_parser === 40 process.versions.http_parser &&
|
| D | test-http-parser-timeout-reset.js | 5 const { HTTPParser } = process.binding('http_parser');
|
| /third_party/node/ |
| D | node.gypi | 149 'deps/http_parser/http_parser.gyp:http_parser',
|
| /third_party/flutter/engine/flutter/frontend_server/ |
| D | pubspec.yaml | 35 http_parser: any
|
| /third_party/flutter/flutter/dev/tools/gen_keycodes/ |
| D | pubspec.yaml | 17 …http_parser: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-u…
|