Coverage Report

Created: 2026-02-12 06:16

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/njs/src/njs_scope.h
Line
Count
Source
1
2
/*
3
 * Copyright (C) Alexander Borisov
4
 * Copyright (C) NGINX, Inc.
5
 */
6
7
#ifndef _NJS_SCOPE_H_INCLUDED_
8
#define _NJS_SCOPE_H_INCLUDED_
9
10
106M
#define NJS_SCOPE_VAR_OFFSET    0
11
107M
#define NJS_SCOPE_VAR_SIZE      4
12
13
106M
#define NJS_SCOPE_TYPE_OFFSET   (NJS_SCOPE_VAR_OFFSET + NJS_SCOPE_VAR_SIZE)
14
102M
#define NJS_SCOPE_TYPE_SIZE     4
15
16
53.0M
#define NJS_SCOPE_VALUE_OFFSET  (NJS_SCOPE_TYPE_OFFSET + NJS_SCOPE_TYPE_SIZE)
17
3.55M
#define NJS_SCOPE_VALUE_SIZE    24
18
19
3.55M
#define NJS_SCOPE_VALUE_MASK    ((1 << NJS_SCOPE_VALUE_SIZE) - 1)
20
1.02M
#define NJS_SCOPE_VAR_MASK      ((1 << NJS_SCOPE_VAR_SIZE) - 1)
21
49.4M
#define NJS_SCOPE_TYPE_MASK     ((1 << NJS_SCOPE_TYPE_SIZE) - 1)
22
23
3.55M
#define NJS_SCOPE_VALUE_MAX     NJS_SCOPE_VALUE_MASK
24
25
2.49M
#define NJS_INDEX_NONE          ((njs_index_t) 0)
26
4.40M
#define NJS_INDEX_ERROR         ((njs_index_t) -1)
27
28
29
njs_index_t njs_scope_temp_index(njs_parser_scope_t *scope);
30
njs_value_t **njs_scope_make(njs_vm_t *vm, uint32_t count);
31
njs_index_t njs_scope_global_index(njs_vm_t *vm, const njs_value_t *src,
32
    njs_uint_t runtime);
33
njs_value_t *njs_scope_value_get(njs_vm_t *vm, njs_index_t index);
34
35
36
njs_inline njs_index_t
37
njs_scope_index(njs_scope_t scope, njs_index_t index, njs_level_type_t type,
38
                njs_variable_type_t var_type)
39
3.55M
{
40
3.55M
    njs_assert(type < NJS_LEVEL_MAX);
41
3.55M
    njs_assert(scope == NJS_SCOPE_GLOBAL || scope == NJS_SCOPE_FUNCTION);
42
43
3.55M
    if (index > NJS_SCOPE_VALUE_MAX) {
44
0
        return NJS_INDEX_ERROR;
45
0
    }
46
47
3.55M
    if (scope == NJS_SCOPE_GLOBAL && type == NJS_LEVEL_LOCAL) {
48
1.66M
        type = NJS_LEVEL_GLOBAL;
49
1.66M
    }
50
51
3.55M
    return (index << NJS_SCOPE_VALUE_OFFSET) | (type << NJS_SCOPE_TYPE_OFFSET)
52
3.55M
            | var_type;
53
3.55M
}
Unexecuted instantiation: njs_arr.c:njs_scope_index
Unexecuted instantiation: njs_rbtree.c:njs_scope_index
Unexecuted instantiation: njs_mp.c:njs_scope_index
Unexecuted instantiation: njs_sprintf.c:njs_scope_index
Unexecuted instantiation: njs_value.c:njs_scope_index
Unexecuted instantiation: njs_atom.c:njs_scope_index
njs_vm.c:njs_scope_index
Line
Count
Source
39
1.27k
{
40
1.27k
    njs_assert(type < NJS_LEVEL_MAX);
41
1.27k
    njs_assert(scope == NJS_SCOPE_GLOBAL || scope == NJS_SCOPE_FUNCTION);
42
43
1.27k
    if (index > NJS_SCOPE_VALUE_MAX) {
44
0
        return NJS_INDEX_ERROR;
45
0
    }
46
47
1.27k
    if (scope == NJS_SCOPE_GLOBAL && type == NJS_LEVEL_LOCAL) {
48
1.27k
        type = NJS_LEVEL_GLOBAL;
49
1.27k
    }
50
51
1.27k
    return (index << NJS_SCOPE_VALUE_OFFSET) | (type << NJS_SCOPE_TYPE_OFFSET)
52
1.27k
            | var_type;
53
1.27k
}
Unexecuted instantiation: njs_vmcode.c:njs_scope_index
njs_parser.c:njs_scope_index
Line
Count
Source
39
178k
{
40
178k
    njs_assert(type < NJS_LEVEL_MAX);
41
178k
    njs_assert(scope == NJS_SCOPE_GLOBAL || scope == NJS_SCOPE_FUNCTION);
42
43
178k
    if (index > NJS_SCOPE_VALUE_MAX) {
44
0
        return NJS_INDEX_ERROR;
45
0
    }
46
47
178k
    if (scope == NJS_SCOPE_GLOBAL && type == NJS_LEVEL_LOCAL) {
48
56.0k
        type = NJS_LEVEL_GLOBAL;
49
56.0k
    }
50
51
178k
    return (index << NJS_SCOPE_VALUE_OFFSET) | (type << NJS_SCOPE_TYPE_OFFSET)
52
178k
            | var_type;
53
178k
}
njs_variable.c:njs_scope_index
Line
Count
Source
39
171k
{
40
171k
    njs_assert(type < NJS_LEVEL_MAX);
41
171k
    njs_assert(scope == NJS_SCOPE_GLOBAL || scope == NJS_SCOPE_FUNCTION);
42
43
171k
    if (index > NJS_SCOPE_VALUE_MAX) {
44
0
        return NJS_INDEX_ERROR;
45
0
    }
46
47
171k
    if (scope == NJS_SCOPE_GLOBAL && type == NJS_LEVEL_LOCAL) {
48
57.7k
        type = NJS_LEVEL_GLOBAL;
49
57.7k
    }
50
51
171k
    return (index << NJS_SCOPE_VALUE_OFFSET) | (type << NJS_SCOPE_TYPE_OFFSET)
52
171k
            | var_type;
53
171k
}
njs_scope.c:njs_scope_index
Line
Count
Source
39
1.78M
{
40
1.78M
    njs_assert(type < NJS_LEVEL_MAX);
41
1.78M
    njs_assert(scope == NJS_SCOPE_GLOBAL || scope == NJS_SCOPE_FUNCTION);
42
43
1.78M
    if (index > NJS_SCOPE_VALUE_MAX) {
44
0
        return NJS_INDEX_ERROR;
45
0
    }
46
47
1.78M
    if (scope == NJS_SCOPE_GLOBAL && type == NJS_LEVEL_LOCAL) {
48
752k
        type = NJS_LEVEL_GLOBAL;
49
752k
    }
50
51
1.78M
    return (index << NJS_SCOPE_VALUE_OFFSET) | (type << NJS_SCOPE_TYPE_OFFSET)
52
1.78M
            | var_type;
53
1.78M
}
njs_generator.c:njs_scope_index
Line
Count
Source
39
1.41M
{
40
1.41M
    njs_assert(type < NJS_LEVEL_MAX);
41
1.41M
    njs_assert(scope == NJS_SCOPE_GLOBAL || scope == NJS_SCOPE_FUNCTION);
42
43
1.41M
    if (index > NJS_SCOPE_VALUE_MAX) {
44
0
        return NJS_INDEX_ERROR;
45
0
    }
46
47
1.41M
    if (scope == NJS_SCOPE_GLOBAL && type == NJS_LEVEL_LOCAL) {
48
797k
        type = NJS_LEVEL_GLOBAL;
49
797k
    }
50
51
1.41M
    return (index << NJS_SCOPE_VALUE_OFFSET) | (type << NJS_SCOPE_TYPE_OFFSET)
52
1.41M
            | var_type;
53
1.41M
}
Unexecuted instantiation: njs_disassembler.c:njs_scope_index
Unexecuted instantiation: njs_module.c:njs_scope_index
Unexecuted instantiation: njs_extern.c:njs_scope_index
Unexecuted instantiation: njs_number.c:njs_scope_index
Unexecuted instantiation: njs_symbol.c:njs_scope_index
Unexecuted instantiation: njs_string.c:njs_scope_index
Unexecuted instantiation: njs_object.c:njs_scope_index
Unexecuted instantiation: njs_object_prop.c:njs_scope_index
Unexecuted instantiation: njs_array.c:njs_scope_index
Unexecuted instantiation: njs_json.c:njs_scope_index
Unexecuted instantiation: njs_function.c:njs_scope_index
Unexecuted instantiation: njs_regexp.c:njs_scope_index
Unexecuted instantiation: njs_date.c:njs_scope_index
Unexecuted instantiation: njs_error.c:njs_scope_index
Unexecuted instantiation: njs_array_buffer.c:njs_scope_index
Unexecuted instantiation: njs_typed_array.c:njs_scope_index
Unexecuted instantiation: njs_promise.c:njs_scope_index
Unexecuted instantiation: njs_iterator.c:njs_scope_index
Unexecuted instantiation: njs_async.c:njs_scope_index
Unexecuted instantiation: njs_builtin.c:njs_scope_index
Unexecuted instantiation: njs_regex.c:njs_scope_index
Unexecuted instantiation: njs_buffer.c:njs_scope_index
Unexecuted instantiation: njs_modules.c:njs_scope_index
Unexecuted instantiation: njs_dtoa.c:njs_scope_index
Unexecuted instantiation: njs_dtoa_fixed.c:njs_scope_index
Unexecuted instantiation: njs_strtod.c:njs_scope_index
Unexecuted instantiation: njs_djb_hash.c:njs_scope_index
Unexecuted instantiation: njs_utf8.c:njs_scope_index
Unexecuted instantiation: njs_utf16.c:njs_scope_index
Unexecuted instantiation: njs_flathsh.c:njs_scope_index
Unexecuted instantiation: njs_trace.c:njs_scope_index
Unexecuted instantiation: njs_malloc.c:njs_scope_index
Unexecuted instantiation: njs_utils.c:njs_scope_index
Unexecuted instantiation: njs_chb.c:njs_scope_index
Unexecuted instantiation: njs_lexer.c:njs_scope_index
Unexecuted instantiation: njs_boolean.c:njs_scope_index
Unexecuted instantiation: njs_math.c:njs_scope_index
Unexecuted instantiation: njs_encoding.c:njs_scope_index
Unexecuted instantiation: njs_diyfp.c:njs_scope_index
Unexecuted instantiation: njs_str.c:njs_scope_index
Unexecuted instantiation: njs_random.c:njs_scope_index
54
55
56
njs_inline njs_variable_type_t
57
njs_scope_index_var(njs_index_t index)
58
1.02M
{
59
1.02M
    return (njs_variable_type_t) (index & NJS_SCOPE_VAR_MASK);
60
1.02M
}
Unexecuted instantiation: njs_arr.c:njs_scope_index_var
Unexecuted instantiation: njs_rbtree.c:njs_scope_index_var
Unexecuted instantiation: njs_mp.c:njs_scope_index_var
Unexecuted instantiation: njs_sprintf.c:njs_scope_index_var
Unexecuted instantiation: njs_value.c:njs_scope_index_var
Unexecuted instantiation: njs_atom.c:njs_scope_index_var
Unexecuted instantiation: njs_vm.c:njs_scope_index_var
njs_vmcode.c:njs_scope_index_var
Line
Count
Source
58
1.02M
{
59
1.02M
    return (njs_variable_type_t) (index & NJS_SCOPE_VAR_MASK);
60
1.02M
}
Unexecuted instantiation: njs_parser.c:njs_scope_index_var
Unexecuted instantiation: njs_variable.c:njs_scope_index_var
Unexecuted instantiation: njs_scope.c:njs_scope_index_var
Unexecuted instantiation: njs_generator.c:njs_scope_index_var
Unexecuted instantiation: njs_disassembler.c:njs_scope_index_var
Unexecuted instantiation: njs_module.c:njs_scope_index_var
Unexecuted instantiation: njs_extern.c:njs_scope_index_var
Unexecuted instantiation: njs_number.c:njs_scope_index_var
Unexecuted instantiation: njs_symbol.c:njs_scope_index_var
Unexecuted instantiation: njs_string.c:njs_scope_index_var
Unexecuted instantiation: njs_object.c:njs_scope_index_var
Unexecuted instantiation: njs_object_prop.c:njs_scope_index_var
Unexecuted instantiation: njs_array.c:njs_scope_index_var
Unexecuted instantiation: njs_json.c:njs_scope_index_var
Unexecuted instantiation: njs_function.c:njs_scope_index_var
Unexecuted instantiation: njs_regexp.c:njs_scope_index_var
Unexecuted instantiation: njs_date.c:njs_scope_index_var
Unexecuted instantiation: njs_error.c:njs_scope_index_var
Unexecuted instantiation: njs_array_buffer.c:njs_scope_index_var
Unexecuted instantiation: njs_typed_array.c:njs_scope_index_var
Unexecuted instantiation: njs_promise.c:njs_scope_index_var
Unexecuted instantiation: njs_iterator.c:njs_scope_index_var
Unexecuted instantiation: njs_async.c:njs_scope_index_var
Unexecuted instantiation: njs_builtin.c:njs_scope_index_var
Unexecuted instantiation: njs_regex.c:njs_scope_index_var
Unexecuted instantiation: njs_buffer.c:njs_scope_index_var
Unexecuted instantiation: njs_modules.c:njs_scope_index_var
Unexecuted instantiation: njs_dtoa.c:njs_scope_index_var
Unexecuted instantiation: njs_dtoa_fixed.c:njs_scope_index_var
Unexecuted instantiation: njs_strtod.c:njs_scope_index_var
Unexecuted instantiation: njs_djb_hash.c:njs_scope_index_var
Unexecuted instantiation: njs_utf8.c:njs_scope_index_var
Unexecuted instantiation: njs_utf16.c:njs_scope_index_var
Unexecuted instantiation: njs_flathsh.c:njs_scope_index_var
Unexecuted instantiation: njs_trace.c:njs_scope_index_var
Unexecuted instantiation: njs_malloc.c:njs_scope_index_var
Unexecuted instantiation: njs_utils.c:njs_scope_index_var
Unexecuted instantiation: njs_chb.c:njs_scope_index_var
Unexecuted instantiation: njs_lexer.c:njs_scope_index_var
Unexecuted instantiation: njs_boolean.c:njs_scope_index_var
Unexecuted instantiation: njs_math.c:njs_scope_index_var
Unexecuted instantiation: njs_encoding.c:njs_scope_index_var
Unexecuted instantiation: njs_diyfp.c:njs_scope_index_var
Unexecuted instantiation: njs_str.c:njs_scope_index_var
Unexecuted instantiation: njs_random.c:njs_scope_index_var
61
62
63
njs_inline njs_level_type_t
64
njs_scope_index_type(njs_index_t index)
65
49.4M
{
66
49.4M
    return (njs_level_type_t) ((index >> NJS_SCOPE_TYPE_OFFSET)
67
49.4M
                               & NJS_SCOPE_TYPE_MASK);
68
49.4M
}
Unexecuted instantiation: njs_arr.c:njs_scope_index_type
Unexecuted instantiation: njs_rbtree.c:njs_scope_index_type
Unexecuted instantiation: njs_mp.c:njs_scope_index_type
Unexecuted instantiation: njs_sprintf.c:njs_scope_index_type
Unexecuted instantiation: njs_value.c:njs_scope_index_type
Unexecuted instantiation: njs_atom.c:njs_scope_index_type
njs_vm.c:njs_scope_index_type
Line
Count
Source
65
1.27k
{
66
1.27k
    return (njs_level_type_t) ((index >> NJS_SCOPE_TYPE_OFFSET)
67
1.27k
                               & NJS_SCOPE_TYPE_MASK);
68
1.27k
}
njs_vmcode.c:njs_scope_index_type
Line
Count
Source
65
49.2M
{
66
49.2M
    return (njs_level_type_t) ((index >> NJS_SCOPE_TYPE_OFFSET)
67
49.2M
                               & NJS_SCOPE_TYPE_MASK);
68
49.2M
}
Unexecuted instantiation: njs_parser.c:njs_scope_index_type
njs_variable.c:njs_scope_index_type
Line
Count
Source
65
3.09k
{
66
3.09k
    return (njs_level_type_t) ((index >> NJS_SCOPE_TYPE_OFFSET)
67
3.09k
                               & NJS_SCOPE_TYPE_MASK);
68
3.09k
}
Unexecuted instantiation: njs_scope.c:njs_scope_index_type
Unexecuted instantiation: njs_generator.c:njs_scope_index_type
Unexecuted instantiation: njs_disassembler.c:njs_scope_index_type
Unexecuted instantiation: njs_module.c:njs_scope_index_type
Unexecuted instantiation: njs_extern.c:njs_scope_index_type
Unexecuted instantiation: njs_number.c:njs_scope_index_type
Unexecuted instantiation: njs_symbol.c:njs_scope_index_type
Unexecuted instantiation: njs_string.c:njs_scope_index_type
Unexecuted instantiation: njs_object.c:njs_scope_index_type
Unexecuted instantiation: njs_object_prop.c:njs_scope_index_type
Unexecuted instantiation: njs_array.c:njs_scope_index_type
Unexecuted instantiation: njs_json.c:njs_scope_index_type
njs_function.c:njs_scope_index_type
Line
Count
Source
65
228k
{
66
228k
    return (njs_level_type_t) ((index >> NJS_SCOPE_TYPE_OFFSET)
67
228k
                               & NJS_SCOPE_TYPE_MASK);
68
228k
}
Unexecuted instantiation: njs_regexp.c:njs_scope_index_type
Unexecuted instantiation: njs_date.c:njs_scope_index_type
Unexecuted instantiation: njs_error.c:njs_scope_index_type
Unexecuted instantiation: njs_array_buffer.c:njs_scope_index_type
Unexecuted instantiation: njs_typed_array.c:njs_scope_index_type
Unexecuted instantiation: njs_promise.c:njs_scope_index_type
Unexecuted instantiation: njs_iterator.c:njs_scope_index_type
njs_async.c:njs_scope_index_type
Line
Count
Source
65
848
{
66
848
    return (njs_level_type_t) ((index >> NJS_SCOPE_TYPE_OFFSET)
67
848
                               & NJS_SCOPE_TYPE_MASK);
68
848
}
njs_builtin.c:njs_scope_index_type
Line
Count
Source
65
2.55k
{
66
2.55k
    return (njs_level_type_t) ((index >> NJS_SCOPE_TYPE_OFFSET)
67
2.55k
                               & NJS_SCOPE_TYPE_MASK);
68
2.55k
}
Unexecuted instantiation: njs_regex.c:njs_scope_index_type
Unexecuted instantiation: njs_buffer.c:njs_scope_index_type
Unexecuted instantiation: njs_modules.c:njs_scope_index_type
Unexecuted instantiation: njs_dtoa.c:njs_scope_index_type
Unexecuted instantiation: njs_dtoa_fixed.c:njs_scope_index_type
Unexecuted instantiation: njs_strtod.c:njs_scope_index_type
Unexecuted instantiation: njs_djb_hash.c:njs_scope_index_type
Unexecuted instantiation: njs_utf8.c:njs_scope_index_type
Unexecuted instantiation: njs_utf16.c:njs_scope_index_type
Unexecuted instantiation: njs_flathsh.c:njs_scope_index_type
Unexecuted instantiation: njs_trace.c:njs_scope_index_type
Unexecuted instantiation: njs_malloc.c:njs_scope_index_type
Unexecuted instantiation: njs_utils.c:njs_scope_index_type
Unexecuted instantiation: njs_chb.c:njs_scope_index_type
Unexecuted instantiation: njs_lexer.c:njs_scope_index_type
Unexecuted instantiation: njs_boolean.c:njs_scope_index_type
Unexecuted instantiation: njs_math.c:njs_scope_index_type
Unexecuted instantiation: njs_encoding.c:njs_scope_index_type
Unexecuted instantiation: njs_diyfp.c:njs_scope_index_type
Unexecuted instantiation: njs_str.c:njs_scope_index_type
Unexecuted instantiation: njs_random.c:njs_scope_index_type
69
70
71
njs_inline uint32_t
72
njs_scope_index_value(njs_index_t index)
73
49.4M
{
74
49.4M
    return (uint32_t) (index >> NJS_SCOPE_VALUE_OFFSET);
75
49.4M
}
Unexecuted instantiation: njs_arr.c:njs_scope_index_value
Unexecuted instantiation: njs_rbtree.c:njs_scope_index_value
Unexecuted instantiation: njs_mp.c:njs_scope_index_value
Unexecuted instantiation: njs_sprintf.c:njs_scope_index_value
Unexecuted instantiation: njs_value.c:njs_scope_index_value
Unexecuted instantiation: njs_atom.c:njs_scope_index_value
njs_vm.c:njs_scope_index_value
Line
Count
Source
73
1.27k
{
74
1.27k
    return (uint32_t) (index >> NJS_SCOPE_VALUE_OFFSET);
75
1.27k
}
njs_vmcode.c:njs_scope_index_value
Line
Count
Source
73
49.2M
{
74
49.2M
    return (uint32_t) (index >> NJS_SCOPE_VALUE_OFFSET);
75
49.2M
}
Unexecuted instantiation: njs_parser.c:njs_scope_index_value
Unexecuted instantiation: njs_variable.c:njs_scope_index_value
Unexecuted instantiation: njs_scope.c:njs_scope_index_value
Unexecuted instantiation: njs_generator.c:njs_scope_index_value
Unexecuted instantiation: njs_disassembler.c:njs_scope_index_value
Unexecuted instantiation: njs_module.c:njs_scope_index_value
Unexecuted instantiation: njs_extern.c:njs_scope_index_value
Unexecuted instantiation: njs_number.c:njs_scope_index_value
Unexecuted instantiation: njs_symbol.c:njs_scope_index_value
Unexecuted instantiation: njs_string.c:njs_scope_index_value
Unexecuted instantiation: njs_object.c:njs_scope_index_value
Unexecuted instantiation: njs_object_prop.c:njs_scope_index_value
Unexecuted instantiation: njs_array.c:njs_scope_index_value
Unexecuted instantiation: njs_json.c:njs_scope_index_value
njs_function.c:njs_scope_index_value
Line
Count
Source
73
228k
{
74
228k
    return (uint32_t) (index >> NJS_SCOPE_VALUE_OFFSET);
75
228k
}
Unexecuted instantiation: njs_regexp.c:njs_scope_index_value
Unexecuted instantiation: njs_date.c:njs_scope_index_value
Unexecuted instantiation: njs_error.c:njs_scope_index_value
Unexecuted instantiation: njs_array_buffer.c:njs_scope_index_value
Unexecuted instantiation: njs_typed_array.c:njs_scope_index_value
Unexecuted instantiation: njs_promise.c:njs_scope_index_value
Unexecuted instantiation: njs_iterator.c:njs_scope_index_value
njs_async.c:njs_scope_index_value
Line
Count
Source
73
848
{
74
848
    return (uint32_t) (index >> NJS_SCOPE_VALUE_OFFSET);
75
848
}
njs_builtin.c:njs_scope_index_value
Line
Count
Source
73
2.55k
{
74
2.55k
    return (uint32_t) (index >> NJS_SCOPE_VALUE_OFFSET);
75
2.55k
}
Unexecuted instantiation: njs_regex.c:njs_scope_index_value
Unexecuted instantiation: njs_buffer.c:njs_scope_index_value
Unexecuted instantiation: njs_modules.c:njs_scope_index_value
Unexecuted instantiation: njs_dtoa.c:njs_scope_index_value
Unexecuted instantiation: njs_dtoa_fixed.c:njs_scope_index_value
Unexecuted instantiation: njs_strtod.c:njs_scope_index_value
Unexecuted instantiation: njs_djb_hash.c:njs_scope_index_value
Unexecuted instantiation: njs_utf8.c:njs_scope_index_value
Unexecuted instantiation: njs_utf16.c:njs_scope_index_value
Unexecuted instantiation: njs_flathsh.c:njs_scope_index_value
Unexecuted instantiation: njs_trace.c:njs_scope_index_value
Unexecuted instantiation: njs_malloc.c:njs_scope_index_value
Unexecuted instantiation: njs_utils.c:njs_scope_index_value
Unexecuted instantiation: njs_chb.c:njs_scope_index_value
Unexecuted instantiation: njs_lexer.c:njs_scope_index_value
Unexecuted instantiation: njs_boolean.c:njs_scope_index_value
Unexecuted instantiation: njs_math.c:njs_scope_index_value
Unexecuted instantiation: njs_encoding.c:njs_scope_index_value
Unexecuted instantiation: njs_diyfp.c:njs_scope_index_value
Unexecuted instantiation: njs_str.c:njs_scope_index_value
Unexecuted instantiation: njs_random.c:njs_scope_index_value
76
77
78
njs_inline njs_value_t *
79
njs_scope_value(njs_vm_t *vm, njs_index_t index)
80
49.4M
{
81
49.4M
    return vm->levels[njs_scope_index_type(index)]
82
49.4M
                     [njs_scope_index_value(index)];
83
49.4M
}
Unexecuted instantiation: njs_arr.c:njs_scope_value
Unexecuted instantiation: njs_rbtree.c:njs_scope_value
Unexecuted instantiation: njs_mp.c:njs_scope_value
Unexecuted instantiation: njs_sprintf.c:njs_scope_value
Unexecuted instantiation: njs_value.c:njs_scope_value
Unexecuted instantiation: njs_atom.c:njs_scope_value
Unexecuted instantiation: njs_vm.c:njs_scope_value
njs_vmcode.c:njs_scope_value
Line
Count
Source
80
49.2M
{
81
49.2M
    return vm->levels[njs_scope_index_type(index)]
82
49.2M
                     [njs_scope_index_value(index)];
83
49.2M
}
Unexecuted instantiation: njs_parser.c:njs_scope_value
Unexecuted instantiation: njs_variable.c:njs_scope_value
Unexecuted instantiation: njs_scope.c:njs_scope_value
Unexecuted instantiation: njs_generator.c:njs_scope_value
Unexecuted instantiation: njs_disassembler.c:njs_scope_value
Unexecuted instantiation: njs_module.c:njs_scope_value
Unexecuted instantiation: njs_extern.c:njs_scope_value
Unexecuted instantiation: njs_number.c:njs_scope_value
Unexecuted instantiation: njs_symbol.c:njs_scope_value
Unexecuted instantiation: njs_string.c:njs_scope_value
Unexecuted instantiation: njs_object.c:njs_scope_value
Unexecuted instantiation: njs_object_prop.c:njs_scope_value
Unexecuted instantiation: njs_array.c:njs_scope_value
Unexecuted instantiation: njs_json.c:njs_scope_value
njs_function.c:njs_scope_value
Line
Count
Source
80
228k
{
81
228k
    return vm->levels[njs_scope_index_type(index)]
82
228k
                     [njs_scope_index_value(index)];
83
228k
}
Unexecuted instantiation: njs_regexp.c:njs_scope_value
Unexecuted instantiation: njs_date.c:njs_scope_value
Unexecuted instantiation: njs_error.c:njs_scope_value
Unexecuted instantiation: njs_array_buffer.c:njs_scope_value
Unexecuted instantiation: njs_typed_array.c:njs_scope_value
Unexecuted instantiation: njs_promise.c:njs_scope_value
Unexecuted instantiation: njs_iterator.c:njs_scope_value
njs_async.c:njs_scope_value
Line
Count
Source
80
848
{
81
848
    return vm->levels[njs_scope_index_type(index)]
82
848
                     [njs_scope_index_value(index)];
83
848
}
njs_builtin.c:njs_scope_value
Line
Count
Source
80
2.55k
{
81
2.55k
    return vm->levels[njs_scope_index_type(index)]
82
2.55k
                     [njs_scope_index_value(index)];
83
2.55k
}
Unexecuted instantiation: njs_regex.c:njs_scope_value
Unexecuted instantiation: njs_buffer.c:njs_scope_value
Unexecuted instantiation: njs_modules.c:njs_scope_value
Unexecuted instantiation: njs_dtoa.c:njs_scope_value
Unexecuted instantiation: njs_dtoa_fixed.c:njs_scope_value
Unexecuted instantiation: njs_strtod.c:njs_scope_value
Unexecuted instantiation: njs_djb_hash.c:njs_scope_value
Unexecuted instantiation: njs_utf8.c:njs_scope_value
Unexecuted instantiation: njs_utf16.c:njs_scope_value
Unexecuted instantiation: njs_flathsh.c:njs_scope_value
Unexecuted instantiation: njs_trace.c:njs_scope_value
Unexecuted instantiation: njs_malloc.c:njs_scope_value
Unexecuted instantiation: njs_utils.c:njs_scope_value
Unexecuted instantiation: njs_chb.c:njs_scope_value
Unexecuted instantiation: njs_lexer.c:njs_scope_value
Unexecuted instantiation: njs_boolean.c:njs_scope_value
Unexecuted instantiation: njs_math.c:njs_scope_value
Unexecuted instantiation: njs_encoding.c:njs_scope_value
Unexecuted instantiation: njs_diyfp.c:njs_scope_value
Unexecuted instantiation: njs_str.c:njs_scope_value
Unexecuted instantiation: njs_random.c:njs_scope_value
84
85
86
njs_inline njs_value_t *
87
njs_scope_valid_value(njs_vm_t *vm, njs_index_t index)
88
46.7M
{
89
46.7M
    njs_value_t  *value;
90
91
46.7M
    value = njs_scope_value(vm, index);
92
93
46.7M
    if (!njs_is_valid(value)) {
94
1.02M
        if (njs_scope_index_var(index) <= NJS_VARIABLE_LET) {
95
15.0k
            njs_reference_error(vm, "cannot access variable "
96
15.0k
                                    "before initialization");
97
15.0k
            return NULL;
98
15.0k
        }
99
100
1.00M
        njs_set_undefined(value);
101
1.00M
    }
102
103
46.7M
    return value;
104
46.7M
}
Unexecuted instantiation: njs_arr.c:njs_scope_valid_value
Unexecuted instantiation: njs_rbtree.c:njs_scope_valid_value
Unexecuted instantiation: njs_mp.c:njs_scope_valid_value
Unexecuted instantiation: njs_sprintf.c:njs_scope_valid_value
Unexecuted instantiation: njs_value.c:njs_scope_valid_value
Unexecuted instantiation: njs_atom.c:njs_scope_valid_value
Unexecuted instantiation: njs_vm.c:njs_scope_valid_value
njs_vmcode.c:njs_scope_valid_value
Line
Count
Source
88
46.7M
{
89
46.7M
    njs_value_t  *value;
90
91
46.7M
    value = njs_scope_value(vm, index);
92
93
46.7M
    if (!njs_is_valid(value)) {
94
1.02M
        if (njs_scope_index_var(index) <= NJS_VARIABLE_LET) {
95
15.0k
            njs_reference_error(vm, "cannot access variable "
96
15.0k
                                    "before initialization");
97
15.0k
            return NULL;
98
15.0k
        }
99
100
1.00M
        njs_set_undefined(value);
101
1.00M
    }
102
103
46.7M
    return value;
104
46.7M
}
Unexecuted instantiation: njs_parser.c:njs_scope_valid_value
Unexecuted instantiation: njs_variable.c:njs_scope_valid_value
Unexecuted instantiation: njs_scope.c:njs_scope_valid_value
Unexecuted instantiation: njs_generator.c:njs_scope_valid_value
Unexecuted instantiation: njs_disassembler.c:njs_scope_valid_value
Unexecuted instantiation: njs_module.c:njs_scope_valid_value
Unexecuted instantiation: njs_extern.c:njs_scope_valid_value
Unexecuted instantiation: njs_number.c:njs_scope_valid_value
Unexecuted instantiation: njs_symbol.c:njs_scope_valid_value
Unexecuted instantiation: njs_string.c:njs_scope_valid_value
Unexecuted instantiation: njs_object.c:njs_scope_valid_value
Unexecuted instantiation: njs_object_prop.c:njs_scope_valid_value
Unexecuted instantiation: njs_array.c:njs_scope_valid_value
Unexecuted instantiation: njs_json.c:njs_scope_valid_value
Unexecuted instantiation: njs_function.c:njs_scope_valid_value
Unexecuted instantiation: njs_regexp.c:njs_scope_valid_value
Unexecuted instantiation: njs_date.c:njs_scope_valid_value
Unexecuted instantiation: njs_error.c:njs_scope_valid_value
Unexecuted instantiation: njs_array_buffer.c:njs_scope_valid_value
Unexecuted instantiation: njs_typed_array.c:njs_scope_valid_value
Unexecuted instantiation: njs_promise.c:njs_scope_valid_value
Unexecuted instantiation: njs_iterator.c:njs_scope_valid_value
Unexecuted instantiation: njs_async.c:njs_scope_valid_value
njs_builtin.c:njs_scope_valid_value
Line
Count
Source
88
2.55k
{
89
2.55k
    njs_value_t  *value;
90
91
2.55k
    value = njs_scope_value(vm, index);
92
93
2.55k
    if (!njs_is_valid(value)) {
94
0
        if (njs_scope_index_var(index) <= NJS_VARIABLE_LET) {
95
0
            njs_reference_error(vm, "cannot access variable "
96
0
                                    "before initialization");
97
0
            return NULL;
98
0
        }
99
100
0
        njs_set_undefined(value);
101
0
    }
102
103
2.55k
    return value;
104
2.55k
}
Unexecuted instantiation: njs_regex.c:njs_scope_valid_value
Unexecuted instantiation: njs_buffer.c:njs_scope_valid_value
Unexecuted instantiation: njs_modules.c:njs_scope_valid_value
Unexecuted instantiation: njs_dtoa.c:njs_scope_valid_value
Unexecuted instantiation: njs_dtoa_fixed.c:njs_scope_valid_value
Unexecuted instantiation: njs_strtod.c:njs_scope_valid_value
Unexecuted instantiation: njs_djb_hash.c:njs_scope_valid_value
Unexecuted instantiation: njs_utf8.c:njs_scope_valid_value
Unexecuted instantiation: njs_utf16.c:njs_scope_valid_value
Unexecuted instantiation: njs_flathsh.c:njs_scope_valid_value
Unexecuted instantiation: njs_trace.c:njs_scope_valid_value
Unexecuted instantiation: njs_malloc.c:njs_scope_valid_value
Unexecuted instantiation: njs_utils.c:njs_scope_valid_value
Unexecuted instantiation: njs_chb.c:njs_scope_valid_value
Unexecuted instantiation: njs_lexer.c:njs_scope_valid_value
Unexecuted instantiation: njs_boolean.c:njs_scope_valid_value
Unexecuted instantiation: njs_math.c:njs_scope_valid_value
Unexecuted instantiation: njs_encoding.c:njs_scope_valid_value
Unexecuted instantiation: njs_diyfp.c:njs_scope_valid_value
Unexecuted instantiation: njs_str.c:njs_scope_valid_value
Unexecuted instantiation: njs_random.c:njs_scope_valid_value
105
106
107
njs_inline void
108
njs_scope_value_set(njs_vm_t *vm, njs_index_t index, njs_value_t *value)
109
1.37k
{
110
1.37k
    vm->levels[njs_scope_index_type(index)]
111
1.37k
              [njs_scope_index_value(index)] = value;
112
1.37k
}
Unexecuted instantiation: njs_arr.c:njs_scope_value_set
Unexecuted instantiation: njs_rbtree.c:njs_scope_value_set
Unexecuted instantiation: njs_mp.c:njs_scope_value_set
Unexecuted instantiation: njs_sprintf.c:njs_scope_value_set
Unexecuted instantiation: njs_value.c:njs_scope_value_set
Unexecuted instantiation: njs_atom.c:njs_scope_value_set
njs_vm.c:njs_scope_value_set
Line
Count
Source
109
1.27k
{
110
1.27k
    vm->levels[njs_scope_index_type(index)]
111
1.27k
              [njs_scope_index_value(index)] = value;
112
1.27k
}
Unexecuted instantiation: njs_vmcode.c:njs_scope_value_set
Unexecuted instantiation: njs_parser.c:njs_scope_value_set
Unexecuted instantiation: njs_variable.c:njs_scope_value_set
Unexecuted instantiation: njs_scope.c:njs_scope_value_set
Unexecuted instantiation: njs_generator.c:njs_scope_value_set
Unexecuted instantiation: njs_disassembler.c:njs_scope_value_set
Unexecuted instantiation: njs_module.c:njs_scope_value_set
Unexecuted instantiation: njs_extern.c:njs_scope_value_set
Unexecuted instantiation: njs_number.c:njs_scope_value_set
Unexecuted instantiation: njs_symbol.c:njs_scope_value_set
Unexecuted instantiation: njs_string.c:njs_scope_value_set
Unexecuted instantiation: njs_object.c:njs_scope_value_set
Unexecuted instantiation: njs_object_prop.c:njs_scope_value_set
Unexecuted instantiation: njs_array.c:njs_scope_value_set
Unexecuted instantiation: njs_json.c:njs_scope_value_set
njs_function.c:njs_scope_value_set
Line
Count
Source
109
99
{
110
99
    vm->levels[njs_scope_index_type(index)]
111
99
              [njs_scope_index_value(index)] = value;
112
99
}
Unexecuted instantiation: njs_regexp.c:njs_scope_value_set
Unexecuted instantiation: njs_date.c:njs_scope_value_set
Unexecuted instantiation: njs_error.c:njs_scope_value_set
Unexecuted instantiation: njs_array_buffer.c:njs_scope_value_set
Unexecuted instantiation: njs_typed_array.c:njs_scope_value_set
Unexecuted instantiation: njs_promise.c:njs_scope_value_set
Unexecuted instantiation: njs_iterator.c:njs_scope_value_set
Unexecuted instantiation: njs_async.c:njs_scope_value_set
Unexecuted instantiation: njs_builtin.c:njs_scope_value_set
Unexecuted instantiation: njs_regex.c:njs_scope_value_set
Unexecuted instantiation: njs_buffer.c:njs_scope_value_set
Unexecuted instantiation: njs_modules.c:njs_scope_value_set
Unexecuted instantiation: njs_dtoa.c:njs_scope_value_set
Unexecuted instantiation: njs_dtoa_fixed.c:njs_scope_value_set
Unexecuted instantiation: njs_strtod.c:njs_scope_value_set
Unexecuted instantiation: njs_djb_hash.c:njs_scope_value_set
Unexecuted instantiation: njs_utf8.c:njs_scope_value_set
Unexecuted instantiation: njs_utf16.c:njs_scope_value_set
Unexecuted instantiation: njs_flathsh.c:njs_scope_value_set
Unexecuted instantiation: njs_trace.c:njs_scope_value_set
Unexecuted instantiation: njs_malloc.c:njs_scope_value_set
Unexecuted instantiation: njs_utils.c:njs_scope_value_set
Unexecuted instantiation: njs_chb.c:njs_scope_value_set
Unexecuted instantiation: njs_lexer.c:njs_scope_value_set
Unexecuted instantiation: njs_boolean.c:njs_scope_value_set
Unexecuted instantiation: njs_math.c:njs_scope_value_set
Unexecuted instantiation: njs_encoding.c:njs_scope_value_set
Unexecuted instantiation: njs_diyfp.c:njs_scope_value_set
Unexecuted instantiation: njs_str.c:njs_scope_value_set
Unexecuted instantiation: njs_random.c:njs_scope_value_set
113
114
115
njs_inline njs_value_t *
116
njs_scope_value_clone(njs_vm_t *vm, njs_index_t index, njs_value_t *value)
117
99
{
118
99
    njs_value_t  *newval;
119
120
99
    newval = njs_mp_alloc(vm->mem_pool, sizeof(njs_value_t));
121
99
    if (njs_slow_path(newval == NULL)) {
122
0
        njs_memory_error(vm);
123
0
        return NULL;
124
0
    }
125
126
99
    *newval = *value;
127
128
99
    njs_scope_value_set(vm, index, newval);
129
130
99
    return newval;
131
99
}
Unexecuted instantiation: njs_arr.c:njs_scope_value_clone
Unexecuted instantiation: njs_rbtree.c:njs_scope_value_clone
Unexecuted instantiation: njs_mp.c:njs_scope_value_clone
Unexecuted instantiation: njs_sprintf.c:njs_scope_value_clone
Unexecuted instantiation: njs_value.c:njs_scope_value_clone
Unexecuted instantiation: njs_atom.c:njs_scope_value_clone
Unexecuted instantiation: njs_vm.c:njs_scope_value_clone
Unexecuted instantiation: njs_vmcode.c:njs_scope_value_clone
Unexecuted instantiation: njs_parser.c:njs_scope_value_clone
Unexecuted instantiation: njs_variable.c:njs_scope_value_clone
Unexecuted instantiation: njs_scope.c:njs_scope_value_clone
Unexecuted instantiation: njs_generator.c:njs_scope_value_clone
Unexecuted instantiation: njs_disassembler.c:njs_scope_value_clone
Unexecuted instantiation: njs_module.c:njs_scope_value_clone
Unexecuted instantiation: njs_extern.c:njs_scope_value_clone
Unexecuted instantiation: njs_number.c:njs_scope_value_clone
Unexecuted instantiation: njs_symbol.c:njs_scope_value_clone
Unexecuted instantiation: njs_string.c:njs_scope_value_clone
Unexecuted instantiation: njs_object.c:njs_scope_value_clone
Unexecuted instantiation: njs_object_prop.c:njs_scope_value_clone
Unexecuted instantiation: njs_array.c:njs_scope_value_clone
Unexecuted instantiation: njs_json.c:njs_scope_value_clone
njs_function.c:njs_scope_value_clone
Line
Count
Source
117
99
{
118
99
    njs_value_t  *newval;
119
120
99
    newval = njs_mp_alloc(vm->mem_pool, sizeof(njs_value_t));
121
99
    if (njs_slow_path(newval == NULL)) {
122
0
        njs_memory_error(vm);
123
0
        return NULL;
124
0
    }
125
126
99
    *newval = *value;
127
128
99
    njs_scope_value_set(vm, index, newval);
129
130
99
    return newval;
131
99
}
Unexecuted instantiation: njs_regexp.c:njs_scope_value_clone
Unexecuted instantiation: njs_date.c:njs_scope_value_clone
Unexecuted instantiation: njs_error.c:njs_scope_value_clone
Unexecuted instantiation: njs_array_buffer.c:njs_scope_value_clone
Unexecuted instantiation: njs_typed_array.c:njs_scope_value_clone
Unexecuted instantiation: njs_promise.c:njs_scope_value_clone
Unexecuted instantiation: njs_iterator.c:njs_scope_value_clone
Unexecuted instantiation: njs_async.c:njs_scope_value_clone
Unexecuted instantiation: njs_builtin.c:njs_scope_value_clone
Unexecuted instantiation: njs_regex.c:njs_scope_value_clone
Unexecuted instantiation: njs_buffer.c:njs_scope_value_clone
Unexecuted instantiation: njs_modules.c:njs_scope_value_clone
Unexecuted instantiation: njs_dtoa.c:njs_scope_value_clone
Unexecuted instantiation: njs_dtoa_fixed.c:njs_scope_value_clone
Unexecuted instantiation: njs_strtod.c:njs_scope_value_clone
Unexecuted instantiation: njs_djb_hash.c:njs_scope_value_clone
Unexecuted instantiation: njs_utf8.c:njs_scope_value_clone
Unexecuted instantiation: njs_utf16.c:njs_scope_value_clone
Unexecuted instantiation: njs_flathsh.c:njs_scope_value_clone
Unexecuted instantiation: njs_trace.c:njs_scope_value_clone
Unexecuted instantiation: njs_malloc.c:njs_scope_value_clone
Unexecuted instantiation: njs_utils.c:njs_scope_value_clone
Unexecuted instantiation: njs_chb.c:njs_scope_value_clone
Unexecuted instantiation: njs_lexer.c:njs_scope_value_clone
Unexecuted instantiation: njs_boolean.c:njs_scope_value_clone
Unexecuted instantiation: njs_math.c:njs_scope_value_clone
Unexecuted instantiation: njs_encoding.c:njs_scope_value_clone
Unexecuted instantiation: njs_diyfp.c:njs_scope_value_clone
Unexecuted instantiation: njs_str.c:njs_scope_value_clone
Unexecuted instantiation: njs_random.c:njs_scope_value_clone
132
133
134
njs_inline njs_index_t
135
njs_scope_undefined_index(njs_vm_t *vm, njs_uint_t runtime)
136
28.1k
{
137
28.1k
    return njs_scope_global_index(vm, &njs_value_undefined, runtime);
138
28.1k
}
Unexecuted instantiation: njs_arr.c:njs_scope_undefined_index
Unexecuted instantiation: njs_rbtree.c:njs_scope_undefined_index
Unexecuted instantiation: njs_mp.c:njs_scope_undefined_index
Unexecuted instantiation: njs_sprintf.c:njs_scope_undefined_index
Unexecuted instantiation: njs_value.c:njs_scope_undefined_index
Unexecuted instantiation: njs_atom.c:njs_scope_undefined_index
njs_vm.c:njs_scope_undefined_index
Line
Count
Source
136
1.31k
{
137
1.31k
    return njs_scope_global_index(vm, &njs_value_undefined, runtime);
138
1.31k
}
Unexecuted instantiation: njs_vmcode.c:njs_scope_undefined_index
Unexecuted instantiation: njs_parser.c:njs_scope_undefined_index
Unexecuted instantiation: njs_variable.c:njs_scope_undefined_index
Unexecuted instantiation: njs_scope.c:njs_scope_undefined_index
njs_generator.c:njs_scope_undefined_index
Line
Count
Source
136
26.8k
{
137
26.8k
    return njs_scope_global_index(vm, &njs_value_undefined, runtime);
138
26.8k
}
Unexecuted instantiation: njs_disassembler.c:njs_scope_undefined_index
Unexecuted instantiation: njs_module.c:njs_scope_undefined_index
Unexecuted instantiation: njs_extern.c:njs_scope_undefined_index
Unexecuted instantiation: njs_number.c:njs_scope_undefined_index
Unexecuted instantiation: njs_symbol.c:njs_scope_undefined_index
Unexecuted instantiation: njs_string.c:njs_scope_undefined_index
Unexecuted instantiation: njs_object.c:njs_scope_undefined_index
Unexecuted instantiation: njs_object_prop.c:njs_scope_undefined_index
Unexecuted instantiation: njs_array.c:njs_scope_undefined_index
Unexecuted instantiation: njs_json.c:njs_scope_undefined_index
Unexecuted instantiation: njs_function.c:njs_scope_undefined_index
Unexecuted instantiation: njs_regexp.c:njs_scope_undefined_index
Unexecuted instantiation: njs_date.c:njs_scope_undefined_index
Unexecuted instantiation: njs_error.c:njs_scope_undefined_index
Unexecuted instantiation: njs_array_buffer.c:njs_scope_undefined_index
Unexecuted instantiation: njs_typed_array.c:njs_scope_undefined_index
Unexecuted instantiation: njs_promise.c:njs_scope_undefined_index
Unexecuted instantiation: njs_iterator.c:njs_scope_undefined_index
Unexecuted instantiation: njs_async.c:njs_scope_undefined_index
Unexecuted instantiation: njs_builtin.c:njs_scope_undefined_index
Unexecuted instantiation: njs_regex.c:njs_scope_undefined_index
Unexecuted instantiation: njs_buffer.c:njs_scope_undefined_index
Unexecuted instantiation: njs_modules.c:njs_scope_undefined_index
Unexecuted instantiation: njs_dtoa.c:njs_scope_undefined_index
Unexecuted instantiation: njs_dtoa_fixed.c:njs_scope_undefined_index
Unexecuted instantiation: njs_strtod.c:njs_scope_undefined_index
Unexecuted instantiation: njs_djb_hash.c:njs_scope_undefined_index
Unexecuted instantiation: njs_utf8.c:njs_scope_undefined_index
Unexecuted instantiation: njs_utf16.c:njs_scope_undefined_index
Unexecuted instantiation: njs_flathsh.c:njs_scope_undefined_index
Unexecuted instantiation: njs_trace.c:njs_scope_undefined_index
Unexecuted instantiation: njs_malloc.c:njs_scope_undefined_index
Unexecuted instantiation: njs_utils.c:njs_scope_undefined_index
Unexecuted instantiation: njs_chb.c:njs_scope_undefined_index
Unexecuted instantiation: njs_lexer.c:njs_scope_undefined_index
Unexecuted instantiation: njs_boolean.c:njs_scope_undefined_index
Unexecuted instantiation: njs_math.c:njs_scope_undefined_index
Unexecuted instantiation: njs_encoding.c:njs_scope_undefined_index
Unexecuted instantiation: njs_diyfp.c:njs_scope_undefined_index
Unexecuted instantiation: njs_str.c:njs_scope_undefined_index
Unexecuted instantiation: njs_random.c:njs_scope_undefined_index
139
140
141
njs_inline njs_index_t
142
njs_scope_global_this_index()
143
676k
{
144
676k
    return njs_scope_index(NJS_SCOPE_GLOBAL, 0, NJS_LEVEL_LOCAL,
145
676k
                           NJS_VARIABLE_VAR);
146
676k
}
Unexecuted instantiation: njs_arr.c:njs_scope_global_this_index
Unexecuted instantiation: njs_rbtree.c:njs_scope_global_this_index
Unexecuted instantiation: njs_mp.c:njs_scope_global_this_index
Unexecuted instantiation: njs_sprintf.c:njs_scope_global_this_index
Unexecuted instantiation: njs_value.c:njs_scope_global_this_index
Unexecuted instantiation: njs_atom.c:njs_scope_global_this_index
njs_vm.c:njs_scope_global_this_index
Line
Count
Source
143
1.27k
{
144
1.27k
    return njs_scope_index(NJS_SCOPE_GLOBAL, 0, NJS_LEVEL_LOCAL,
145
1.27k
                           NJS_VARIABLE_VAR);
146
1.27k
}
Unexecuted instantiation: njs_vmcode.c:njs_scope_global_this_index
Unexecuted instantiation: njs_parser.c:njs_scope_global_this_index
Unexecuted instantiation: njs_variable.c:njs_scope_global_this_index
Unexecuted instantiation: njs_scope.c:njs_scope_global_this_index
njs_generator.c:njs_scope_global_this_index
Line
Count
Source
143
675k
{
144
675k
    return njs_scope_index(NJS_SCOPE_GLOBAL, 0, NJS_LEVEL_LOCAL,
145
675k
                           NJS_VARIABLE_VAR);
146
675k
}
Unexecuted instantiation: njs_disassembler.c:njs_scope_global_this_index
Unexecuted instantiation: njs_module.c:njs_scope_global_this_index
Unexecuted instantiation: njs_extern.c:njs_scope_global_this_index
Unexecuted instantiation: njs_number.c:njs_scope_global_this_index
Unexecuted instantiation: njs_symbol.c:njs_scope_global_this_index
Unexecuted instantiation: njs_string.c:njs_scope_global_this_index
Unexecuted instantiation: njs_object.c:njs_scope_global_this_index
Unexecuted instantiation: njs_object_prop.c:njs_scope_global_this_index
Unexecuted instantiation: njs_array.c:njs_scope_global_this_index
Unexecuted instantiation: njs_json.c:njs_scope_global_this_index
Unexecuted instantiation: njs_function.c:njs_scope_global_this_index
Unexecuted instantiation: njs_regexp.c:njs_scope_global_this_index
Unexecuted instantiation: njs_date.c:njs_scope_global_this_index
Unexecuted instantiation: njs_error.c:njs_scope_global_this_index
Unexecuted instantiation: njs_array_buffer.c:njs_scope_global_this_index
Unexecuted instantiation: njs_typed_array.c:njs_scope_global_this_index
Unexecuted instantiation: njs_promise.c:njs_scope_global_this_index
Unexecuted instantiation: njs_iterator.c:njs_scope_global_this_index
Unexecuted instantiation: njs_async.c:njs_scope_global_this_index
Unexecuted instantiation: njs_builtin.c:njs_scope_global_this_index
Unexecuted instantiation: njs_regex.c:njs_scope_global_this_index
Unexecuted instantiation: njs_buffer.c:njs_scope_global_this_index
Unexecuted instantiation: njs_modules.c:njs_scope_global_this_index
Unexecuted instantiation: njs_dtoa.c:njs_scope_global_this_index
Unexecuted instantiation: njs_dtoa_fixed.c:njs_scope_global_this_index
Unexecuted instantiation: njs_strtod.c:njs_scope_global_this_index
Unexecuted instantiation: njs_djb_hash.c:njs_scope_global_this_index
Unexecuted instantiation: njs_utf8.c:njs_scope_global_this_index
Unexecuted instantiation: njs_utf16.c:njs_scope_global_this_index
Unexecuted instantiation: njs_flathsh.c:njs_scope_global_this_index
Unexecuted instantiation: njs_trace.c:njs_scope_global_this_index
Unexecuted instantiation: njs_malloc.c:njs_scope_global_this_index
Unexecuted instantiation: njs_utils.c:njs_scope_global_this_index
Unexecuted instantiation: njs_chb.c:njs_scope_global_this_index
Unexecuted instantiation: njs_lexer.c:njs_scope_global_this_index
Unexecuted instantiation: njs_boolean.c:njs_scope_global_this_index
Unexecuted instantiation: njs_math.c:njs_scope_global_this_index
Unexecuted instantiation: njs_encoding.c:njs_scope_global_this_index
Unexecuted instantiation: njs_diyfp.c:njs_scope_global_this_index
Unexecuted instantiation: njs_str.c:njs_scope_global_this_index
Unexecuted instantiation: njs_random.c:njs_scope_global_this_index
147
148
149
#endif /* _NJS_PARSER_H_INCLUDED_ */