static void njs_disassemble(u_char *start, u_char *end); typedef struct { njs_vmcode_operation_t operation; size_t size; nxt_str_t name; } njs_code_name_t; static njs_code_name_t code_names[] = { { njs_vmcode_object, sizeof(njs_vmcode_object_t), nxt_string("OBJECT ") }, { njs_vmcode_function, sizeof(njs_vmcode_function_t), nxt_string("FUNCTION ") }, { njs_vmcode_regexp, sizeof(njs_vmcode_regexp_t), nxt_string("REGEXP ") }, { njs_vmcode_property_get, sizeof(njs_vmcode_prop_get_t), nxt_string("PROPERTY GET ") }, { njs_vmcode_property_set, sizeof(njs_vmcode_prop_set_t), nxt_string("PROPERTY SET ") }, { njs_vmcode_property_in, sizeof(njs_vmcode_3addr_t), nxt_string("PROPERTY IN ") }, { njs_vmcode_property_delete, sizeof(njs_vmcode_3addr_t), nxt_string("PROPERTY DELETE ") }, { njs_vmcode_instance_of, sizeof(njs_vmcode_instance_of_t), nxt_string("INSTANCE OF ") },
static const nxt_mem_proto_t ngx_http_js_mem_cache_pool_proto = { ngx_http_js_alloc, ngx_http_js_calloc, ngx_http_js_memalign, NULL, ngx_http_js_free, NULL, NULL, }; static njs_external_t ngx_http_js_ext_response[] = { { nxt_string("headers"), NJS_EXTERN_OBJECT, NULL, 0, ngx_http_js_ext_get_header_out, ngx_http_js_ext_set_header_out, NULL, ngx_http_js_ext_foreach_header_out, ngx_http_js_ext_next_header, NULL, 0 }, { nxt_string("status"), NJS_EXTERN_PROPERTY, NULL, 0,