Home
last modified time | relevance | path

Searched refs:decls (Results 1 – 25 of 343) sorted by relevance

12345678910>>...14

/third_party/selinux/libsepol/tests/
Dtest-linker-types.c101 static void test_type_datum(policydb_t * p, const char *id, unsigned int *decls, int len, unsigned … in test_type_datum() argument
117 type = hashtab_search(p->decl_val_to_struct[decls[i] - 1]->p_types.table, id); in test_type_datum()
128 unsigned int decls[2]; in base_type_tests() local
137 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in base_type_tests()
138 test_sym_presence(base, "g_b_type_1", SYM_TYPES, SCOPE_DECL, decls, 1); in base_type_tests()
141 test_sym_presence(base, "g_b_attr_1", SYM_TYPES, SCOPE_DECL, decls, 1); in base_type_tests()
146 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_b"))->decl_id; in base_type_tests()
147 test_sym_presence(base, "o1_b_type_1", SYM_TYPES, SCOPE_DECL, decls, 1); in base_type_tests()
150 test_sym_presence(base, "o1_b_attr_1", SYM_TYPES, SCOPE_DECL, decls, 1); in base_type_tests()
152 test_attr_types(base, "o1_b_attr_1", base->decl_val_to_struct[decls[0] - 1], types, 1); in base_type_tests()
[all …]
Dtest-linker-roles.c73 unsigned int decls[2]; in base_role_tests() local
80 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in base_role_tests()
81 test_sym_presence(base, "g_b_role_1", SYM_ROLES, SCOPE_DECL, decls, 1); in base_role_tests()
90 decls[0] = decl->decl_id; in base_role_tests()
91 test_sym_presence(base, "o1_b_role_1", SYM_ROLES, SCOPE_DECL, decls, 1); in base_role_tests()
103 unsigned int decls[3]; in module_role_tests() local
111 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->decl_id; in module_role_tests()
112 test_sym_presence(base, "g_m1_role_1", SYM_ROLES, SCOPE_DECL, decls, 1); in module_role_tests()
121 decls[0] = decl->decl_id; in module_role_tests()
122 test_sym_presence(base, "o1_m1_role_1", SYM_ROLES, SCOPE_DECL, decls, 1); in module_role_tests()
[all …]
Dtest-linker-cond-map.c91 unsigned int decls[1]; in base_cond_tests() local
99 decls[0] = d->decl_id; in base_cond_tests()
100 test_sym_presence(base, "g_b_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in base_cond_tests()
109 decls[0] = d->decl_id; in base_cond_tests()
110 test_sym_presence(base, "o1_b_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in base_cond_tests()
122 unsigned int decls[1]; in module_cond_tests() local
127 decls[0] = d->decl_id; in module_cond_tests()
128 test_sym_presence(base, "g_m1_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in module_cond_tests()
137 decls[0] = d->decl_id; in module_cond_tests()
138 test_sym_presence(base, "o1_m1_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in module_cond_tests()
[all …]
/third_party/typescript/tests/baselines/reference/
DgenericDefaultsJs.symbols1 === tests/cases/compiler/decls.d.ts ===
3 >f0 : Symbol(f0, Decl(decls.d.ts, 0, 0))
4 >T : Symbol(T, Decl(decls.d.ts, 0, 20))
5 >x : Symbol(x, Decl(decls.d.ts, 0, 23))
6 >T : Symbol(T, Decl(decls.d.ts, 0, 20))
7 >T : Symbol(T, Decl(decls.d.ts, 0, 20))
10 >f1 : Symbol(f1, Decl(decls.d.ts, 0, 33))
11 >T : Symbol(T, Decl(decls.d.ts, 1, 20))
12 >U : Symbol(U, Decl(decls.d.ts, 1, 22))
13 >x : Symbol(x, Decl(decls.d.ts, 1, 35))
[all …]
DambientDeclarationsExternal.symbols2 /// <reference path="decls.ts" />
13 >imp3.x : Symbol(imp3.x, Decl(decls.ts, 7, 7))
15 >x : Symbol(imp3.x, Decl(decls.ts, 7, 7))
20 === tests/cases/conformance/ambient/decls.ts ===
23 >'equ' : Symbol("equ", Decl(decls.ts, 0, 0))
26 >x : Symbol(x, Decl(decls.ts, 2, 7))
29 >x : Symbol(x, Decl(decls.ts, 2, 7))
33 >'equ2' : Symbol("equ2", Decl(decls.ts, 4, 1))
36 >x : Symbol(x, Decl(decls.ts, 7, 7))
/third_party/skia/third_party/externals/tint/src/ast/
Dmodule_test.cc123 auto& decls = cloned.AST().GlobalDeclarations(); in TEST_F() local
124 ASSERT_EQ(decls.size(), 6u); in TEST_F()
125 EXPECT_TRUE(decls[1]->Is<ast::Function>()); in TEST_F()
126 EXPECT_TRUE(decls[3]->Is<ast::Alias>()); in TEST_F()
127 EXPECT_TRUE(decls[5]->Is<ast::Variable>()); in TEST_F()
129 ASSERT_TRUE(decls[0]->Is<ast::Alias>()); in TEST_F()
130 ASSERT_TRUE(decls[2]->Is<ast::Alias>()); in TEST_F()
131 ASSERT_TRUE(decls[4]->Is<ast::Alias>()); in TEST_F()
133 ASSERT_EQ(cloned.Symbols().NameFor(decls[0]->As<ast::Alias>()->name), in TEST_F()
135 ASSERT_EQ(cloned.Symbols().NameFor(decls[2]->As<ast::Alias>()->name), in TEST_F()
[all …]
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_streamout.c58 const SVGA3dStreamOutputDeclarationEntry decls[SVGA3D_MAX_STREAMOUT_DECLS], in svga_define_stream_output()
71 i, decls[i].outputSlot, decls[i].registerIndex, in svga_define_stream_output()
72 decls[i].registerMask, decls[i].stream); in svga_define_stream_output()
102 memcpy(map, decls, bufSize); in svga_define_stream_output()
120 decls)); in svga_define_stream_output()
136 SVGA3dStreamOutputDeclarationEntry decls[SVGA3D_MAX_STREAMOUT_DECLS]; in svga_create_stream_output() local
179 memset(decls, 0, sizeof(decls)); in svga_create_stream_output()
227 decls[numDecls].outputSlot = buf_idx, in svga_create_stream_output()
228 decls[numDecls].stream = info->output[i].stream; in svga_create_stream_output()
229 decls[numDecls].registerIndex = SVGA3D_INVALID_ID; in svga_create_stream_output()
[all …]
Dsvga_state_vdecl.c46 SVGA3dVertexDecl decls[SVGA3D_INPUTREG_MAX]; in emit_hw_vs_vdecl() local
102 decls[i].identity.type = svga->curr.velems->decl_type[i]; in emit_hw_vs_vdecl()
103 decls[i].identity.method = SVGA3D_DECLMETHOD_DEFAULT; in emit_hw_vs_vdecl()
104 decls[i].identity.usage = usage; in emit_hw_vs_vdecl()
105 decls[i].identity.usageIndex = index; in emit_hw_vs_vdecl()
106 decls[i].array.stride = vb->stride; in emit_hw_vs_vdecl()
111 decls[i].array.offset = (vb->buffer_offset in emit_hw_vs_vdecl()
116 assert(decls[i].array.offset >= 0); in emit_hw_vs_vdecl()
125 decls, in emit_hw_vs_vdecl()
/third_party/node/deps/v8/src/wasm/
Dfunction-body-decoder.cc34 bool DecodeLocalDecls(const WasmFeatures& enabled, BodyLocalDecls* decls, in DecodeLocalDecls() argument
38 Zone* zone = decls->type_list.get_allocator().zone(); in DecodeLocalDecls()
43 decls->encoded_size = 0; in DecodeLocalDecls()
47 decls->encoded_size = length; in DecodeLocalDecls()
49 DCHECK(decls->type_list.empty()); in DecodeLocalDecls()
50 decls->type_list = std::move(decoder.local_types_); in DecodeLocalDecls()
55 BodyLocalDecls* decls) in BytecodeIterator() argument
57 if (decls != nullptr) { in BytecodeIterator()
58 if (DecodeLocalDecls(WasmFeatures::All(), decls, nullptr, start, end)) { in BytecodeIterator()
59 pc_ += decls->encoded_size; in BytecodeIterator()
[all …]
/third_party/python/Tools/c-analyzer/c_analyzer/
D__init__.py29 decls = iter_decls(filenames, **kwargs)
30 yield from analyze_decls(decls, known)
47 def analyze_decls(decls, known, *, argument
59 decls = list(decls)
60 collated = group_by_kinds(decls)
75 for decl in decls:
/third_party/mesa3d/src/gallium/frontends/nine/
Dvertexdeclaration9.c195 This->decls = CALLOC(This->nelems+1, sizeof(D3DVERTEXELEMENT9)); in NineVertexDeclaration9_ctor()
198 if (!This->decls || !This->elems || !This->usage_map) { return E_OUTOFMEMORY; } in NineVertexDeclaration9_ctor()
199 memcpy(This->decls, pElements, sizeof(D3DVERTEXELEMENT9)*(This->nelems+1)); in NineVertexDeclaration9_ctor()
202 uint16_t usage = nine_d3d9_to_nine_declusage(This->decls[i].Usage, in NineVertexDeclaration9_ctor()
203 This->decls[i].UsageIndex); in NineVertexDeclaration9_ctor()
206 if (This->decls[i].Usage == D3DDECLUSAGE_POSITIONT) in NineVertexDeclaration9_ctor()
209 This->elems[i].src_offset = This->decls[i].Offset; in NineVertexDeclaration9_ctor()
211 This->elems[i].vertex_buffer_index = This->decls[i].Stream; in NineVertexDeclaration9_ctor()
212 This->elems[i].src_format = decltype_format(This->decls[i].Type); in NineVertexDeclaration9_ctor()
217 This->decls[i].Stream, in NineVertexDeclaration9_ctor()
[all …]
/third_party/typescript/tests/baselines/reference/tsserver/projectReferenceErrors/
Dwith-module-scenario-when-the-depedency-file-is-open-gerErr-with-sync-commands.js28 } from '../decls/fns'
111 Imported via '../decls/fns' from file 'usage.ts'
415 /user/username/projects/myproject/decls:
441 /user/username/projects/myproject/decls:
481 /user/username/projects/myproject/decls:
507 /user/username/projects/myproject/decls:
547 /user/username/projects/myproject/decls:
573 /user/username/projects/myproject/decls:
627 /user/username/projects/myproject/decls:
653 /user/username/projects/myproject/decls:
[all …]
Dwith-module-scenario-when-the-depedency-file-is-open-geterrForProject.js28 } from '../decls/fns'
113 Imported via '../decls/fns' from file 'usage.ts'
424 /user/username/projects/myproject/decls:
450 /user/username/projects/myproject/decls:
478 /user/username/projects/myproject/decls:
504 /user/username/projects/myproject/decls:
532 /user/username/projects/myproject/decls:
558 /user/username/projects/myproject/decls:
586 /user/username/projects/myproject/decls:
612 /user/username/projects/myproject/decls:
[all …]
/third_party/python/Tools/c-analyzer/c_parser/
Ddatafiles.py54 def write_decls(decls, outfile, fmt=None, *, backup=False): argument
58 write_all(decls, outfile, backup=backup)
94 def write_decls_tsv(decls, outfile, extracolumns=None, *, argument
100 decls = (d.fix_filename(relroot, fixroot=False) for d in decls)
102 _write_decls_tsv(decls, outfile, extracolumns, kwargs)
120 def _write_decls_tsv(decls, outfile, extracolumns, kwargs): argument
137 rows=(render_decl(d) for d in decls),
/third_party/typescript/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/
Ddependency-dtsMap-not-present.js30 } from '../decls/fns'
142 …102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn…
168 …102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn…
236 Imported via '../decls/fns' from file 'main.ts'
1334 Imported via '../decls/fns' from file 'main.ts'
Ddependency-dtsMap-created.js30 } from '../decls/fns'
142 …102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn…
168 …102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn…
236 Imported via '../decls/fns' from file 'main.ts'
1490 Imported via '../decls/fns' from file 'main.ts'
Ddependency-dtsMap-deleted.js30 } from '../decls/fns'
145 …102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn…
171 …102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn…
239 Imported via '../decls/fns' from file 'main.ts'
1484 Imported via '../decls/fns' from file 'main.ts'
/third_party/typescript/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/
Ddependency-dts-deleted.js30 } from '../decls/fns'
145 …102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn…
171 …102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn…
259 Imported via '../decls/fns' from file 'main.ts'
1524 Imported via '../decls/fns' from file 'main.ts'
Ddependency-dtsMap-created.js30 } from '../decls/fns'
142 …102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn…
168 …102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn…
256 Imported via '../decls/fns' from file 'main.ts'
1522 Imported via '../decls/fns' from file 'main.ts'
Ddependency-dtsMap-deleted.js30 } from '../decls/fns'
145 …102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn…
171 …102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn…
259 Imported via '../decls/fns' from file 'main.ts'
1523 Imported via '../decls/fns' from file 'main.ts'
Ddependency-dtsMap-not-present.js30 } from '../decls/fns'
142 …102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn…
168 …102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn…
256 Imported via '../decls/fns' from file 'main.ts'
1405 Imported via '../decls/fns' from file 'main.ts'
Dcan-go-to-definition-correctly.js30 } from '../decls/fns'
145 …102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn…
171 …102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn…
259 Imported via '../decls/fns' from file 'main.ts'
1408 Imported via '../decls/fns' from file 'main.ts'
Ddependency-dts-not-present.js30 } from '../decls/fns'
137 …102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn…
163 …102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn…
251 Imported via '../decls/fns' from file 'main.ts'
1400 Imported via '../decls/fns' from file 'main.ts'
/third_party/typescript/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/
Ddependency-dtsMap-created.js30 } from '../decls/fns'
142 …102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn…
168 …102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn…
257 Imported via '../decls/fns' from file 'main.ts'
1607 Imported via '../decls/fns' from file 'main.ts'
Ddependency-dtsMap-not-present.js30 } from '../decls/fns'
142 …102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn…
168 …102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn…
257 Imported via '../decls/fns' from file 'main.ts'
1443 Imported via '../decls/fns' from file 'main.ts'

12345678910>>...14