/third_party/selinux/libsepol/tests/ |
H A D | test-linker-types.c | 100 /* Don't pass in decls from global blocks since symbols aren't stored in their symtab */ 101 static void test_type_datum(policydb_t * p, const char *id, unsigned int *decls, int len, unsigned int primary) 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, in base_type_tests() 166 unsigned int decls[2]; module_type_tests() local [all...] |
H A D | test-linker-roles.c | 73 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, in module_role_tests() [all...] |
H A D | test-linker-cond-map.c | 91 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, in module_cond_tests() [all...] |
/third_party/skia/third_party/externals/tint/src/ast/ |
H A D | module_test.cc | 123 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[ in TEST_F() [all...] |
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_pipe_streamout.c | 58 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() 101 /* copy decls to buffer */ 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 178 /* Init whole decls an in svga_create_stream_output() 53 svga_define_stream_output(struct svga_context *svga, SVGA3dStreamOutputId soid, uint32 numOutputStreamEntries, uint32 numOutputStreamStrides, uint32 streamStrides[SVGA3D_DX_MAX_SOTARGETS], const SVGA3dStreamOutputDeclarationEntry decls[SVGA3D_MAX_STREAMOUT_DECLS], uint32 rasterizedStream, struct svga_stream_output *streamout) svga_define_stream_output() argument [all...] |
H A D | svga_state_vdecl.c | 46 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/python/Tools/c-analyzer/c_analyzer/ |
H A D | __init__.py | 29 decls = iter_decls(filenames, **kwargs) 30 yield from analyze_decls(decls, known) 47 def analyze_decls(decls, known, *, 59 decls = list(decls) 60 collated = group_by_kinds(decls) 75 for decl in decls:
|
H A D | datafiles.py | 12 # "known" decls 119 decls = (d.fix_filename(relroot, fixroot=False) for d in decls) 124 rows=(r.render_rowdata() + (reason,) for r in decls),
|
H A D | __main__.py | 329 decls = filter_forward(analyzed, markpublic=True) 333 for data, failure in _check_all(decls, checks, failfast=failfast): 352 for group, decls in grouped.items(): 355 for decl in decls: 357 print(f'subtotal: {len(decls)}') 400 decls = filter_forward(analyzed, markpublic=True) 402 for line in do_fmt(decls):
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | vertexdeclaration9.c | 195 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[ in NineVertexDeclaration9_ctor() [all...] |
/third_party/node/deps/v8/src/wasm/ |
H A D | function-body-decoder.cc | 34 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() 48 // Copy the decoded locals types into {decls->type_list}. 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() 57 if (decls != nullptr) { in BytecodeIterator() 58 if (DecodeLocalDecls(WasmFeatures::All(), decls, nullpt in BytecodeIterator() 54 BytecodeIterator(const byte* start, const byte* end, BodyLocalDecls* decls) BytecodeIterator() argument [all...] |
/third_party/python/Tools/c-analyzer/c_parser/ |
H A D | datafiles.py | 16 'decls': 'declaration', 49 read_all, _ = _get_format_handlers('decls', fmt) 54 def write_decls(decls, outfile, fmt=None, *, backup=False): 57 _, write_all = _get_format_handlers('decls', fmt) 58 write_all(decls, outfile, backup=backup) 75 if group != 'decls': 94 def write_decls_tsv(decls, outfile, extracolumns=None, *, 100 decls = (d.fix_filename(relroot, fixroot=False) for d in decls) 102 _write_decls_tsv(decls, outfil [all...] |
/third_party/benchmark/tools/ |
H A D | strip_asm.py | 23 decls = set() 28 decls.add(m.group(0)) 29 if len(decls) == 0: 31 needs_dot = next(iter(decls))[0] != '.' 34 for ld in decls:
|
/third_party/mesa3d/src/compiler/glsl/tests/ |
H A D | sexps.py | 95 decls = [] 99 decls.append(s) 102 return sorted(decls) + other_code
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/quickchecking/src/ |
H A D | fuzzers.rs | 151 pub decls: Vec<DeclarationC>, 219 decls: Arbitrary::arbitrary(g), in arbitrary() 228 for decl in &self.decls { 401 let mut fields: DeclarationListC = DeclarationListC { decls: vec![] }; in arbitrary() 403 for (i, decl) in decl_list.decls.iter_mut().enumerate() { in arbitrary() 408 fields.decls.push(decl.clone()); in arbitrary() 449 let mut fields: DeclarationListC = DeclarationListC { decls: vec![] }; in arbitrary() 451 for (i, decl) in decl_list.decls.iter_mut().enumerate() { in arbitrary() 456 fields.decls.push(decl.clone()); in arbitrary() 606 for (i, decl) in decl_list.decls in arbitrary() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/ |
H A D | vktRobustnessExtsTests.cpp | 957 std::stringstream decls, checks; in initPrograms() local 964 decls << "uvec4 abs(uvec4 x) { return x; }\n"; in initPrograms() 966 decls << "u64vec4 abs(u64vec4 x) { return x; }\n"; in initPrograms() 967 decls << "int smod(int a, int b) { if (a < 0) a += b*(abs(a)/b+1); return a%b; }\n"; in initPrograms() 984 decls << "float refData[" << refDataNumElements << "] = {"; in initPrograms() 989 decls << ", "; in initPrograms() 990 decls << ((const float *)layout.refData.data())[i]; in initPrograms() 995 decls << ", "; in initPrograms() 996 decls << "0"; in initPrograms() 1002 decls << "in in initPrograms() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/ |
H A D | vktRobustnessExtsTests.cpp | 998 std::stringstream decls, checks; in initPrograms() local 1005 decls << "uvec4 abs(uvec4 x) { return x; }\n"; in initPrograms() 1007 decls << "u64vec4 abs(u64vec4 x) { return x; }\n"; in initPrograms() 1008 decls << "int smod(int a, int b) { if (a < 0) a += b*(abs(a)/b+1); return a%b; }\n"; in initPrograms() 1025 decls << "float refData[" << refDataNumElements << "] = {"; in initPrograms() 1030 decls << ", "; in initPrograms() 1031 decls << ((const float *)layout.refData.data())[i]; in initPrograms() 1036 decls << ", "; in initPrograms() 1037 decls << "0"; in initPrograms() 1043 decls << "in in initPrograms() [all...] |
/third_party/mesa3d/src/gallium/drivers/svga/svgadump/ |
H A D | svga_dump.py | 165 def dump_struct(decls, class_): 321 decls = parser.parse(headers, config, parser.COMPILATION_MODE.ALL_AT_ONCE) 322 global_ns = declarations.get_global_namespace(decls) 333 dump_struct(decls, class_)
|
/third_party/python/Tools/c-analyzer/cpython/ |
H A D | _analyzer.py | 83 datafiles.write_known(decls, IGNORED_FILE, ['unsupported'], relroot=REPO_ROOT) 108 decls = iter_decls(filenames) 110 decls, 120 decls = _c_analyzer.iter_decls( 127 for decl in decls:
|
/third_party/node/deps/v8/src/torque/ |
H A D | csa-generator.cc | 77 decls() << " TNode<" in EmitBlock() 134 decls() << " TNode<" << lowered[i]->GetGeneratedTNodeTypeName() << "> " in EmitInstruction() 191 decls() << " TNode<" << lowered[i]->GetGeneratedTNodeTypeName() << "> " in EmitInstruction() 327 decls() << " TNode<" << lowered[i]->GetGeneratedTNodeTypeName() << "> " in EmitInstruction() 380 decls() << " TNode<" << lowered[i]->GetGeneratedTNodeTypeName() << "> " in EmitInstruction() 397 decls() << " compiler::TypedCodeAssemblerVariable<" in EmitInstruction() 497 decls() << " " << instruction.result_type->GetGeneratedTypeName() << " " in EmitInstruction() 540 decls() << " TNode<" << result_types[i]->GetGeneratedTNodeTypeName() in EmitInstruction() 558 decls() << " TNode<" << lhs_type << "> " << lhs_name << ";\n"; in EmitInstruction() 619 decls() << " TNod in EmitInstruction() [all...] |
H A D | cc-generator.cc | 61 decls() << " " in EmitBlock() 139 decls() << " " in EmitInstruction() 222 decls() << " " in EmitInstruction() 383 decls() << " " << result_type << " " << result_name << "{}; USE(" in EmitInstruction() 410 decls() << " " << result_type << " " << result_name << "{}; USE(" in EmitInstruction() 449 decls() << " " << instruction.bit_field.name_and_type.type->GetRuntimeType() in EmitInstruction()
|
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | generate_entry_points.py | 21 # List of GLES1 extensions for which we don't need to add Context.h decls. 1776 self.decls = [] 1785 self.decls.append(format_entry_point_decl(self.api, cmd_name, proto_text, param_text)) 1899 decls = [] 1913 decls.append( 1917 return decls 1990 def write_context_api_decls(decls, api): 1991 for (major, minor), version_decls in sorted(decls['core'].items()): 2012 if 'exts' in decls.keys(): 2014 for annotation in decls['ext [all...] |
/third_party/libbpf/src/ |
H A D | btf_dump.c | 567 /* typedef is similar to struct/union w.r.t. fwd-decls */ in btf_dump_order_type() 1417 struct id_stack *decls, in btf_dump_emit_type_chain() 1435 while (decls->cnt) { in btf_dump_emit_type_chain() 1436 id = decls->ids[--decls->cnt]; in btf_dump_emit_type_chain() 1439 btf_dump_emit_mods(d, decls); in btf_dump_emit_type_chain() 1451 btf_dump_emit_mods(d, decls); in btf_dump_emit_type_chain() 1457 btf_dump_emit_mods(d, decls); in btf_dump_emit_type_chain() 1466 btf_dump_emit_mods(d, decls); in btf_dump_emit_type_chain() 1474 btf_dump_emit_mods(d, decls); in btf_dump_emit_type_chain() 1416 btf_dump_emit_type_chain(struct btf_dump *d, struct id_stack *decls, const char *fname, int lvl) btf_dump_emit_type_chain() argument [all...] |
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/Retired/ |
H A D | extensionStubSource.py | 232 decls = self.makeStub(cmdinfo.elem) 233 self.featurePointerInitializersInstance.append(decls[0]) 234 self.featurePointerInitializersDevice.append(decls[1]) 235 self.featurePointers.append(decls[2])
|
/third_party/typescript/tests/baselines/reference/tscWatch/projectsWithReferences/ |
H A D | on-sample-project.js | 850 {"compilerOptions":{"composite":true,"declaration":true,"declarationDir":"decls"},"references":[{"path":"../core"}]}
869 {"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }","affectsGlobalScope":true},"-9047123202-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n//# sourceMappingURL=index.d.ts.map","-4454971016-export declare const World = \"hello\";\n//# sourceMappingURL=anotherModule.d.ts.map",{"version":"-380817803-import * as c from '../core/index';\r\nexport function getSecondsInDay() {\r\n return c.multiply(10, 15);\r\n}\r\nimport * as mod from '../core/anotherModule';\r\nexport const m = mod;\r\nfunction foo() { }export function gfoo() { }","signature":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n"}],"options":{"composite":true,"declaration":true,"declarationDir":"./decls"},"fileIdsList":[[2,3],[3]],"referencedMap":[[4,1]],"exportedModulesMap":[[4,2]],"semanticDiagnosticsPerFile":[1,3,2,4],"latestChangedDtsFile":"./decls/index.d.ts"},"version":"FakeTSVersion"}
911 "declarationDir": "./decls" 930 "latestChangedDtsFile": "./decls/index.d.ts" 936 //// [/user/username/projects/sample1/logic/decls/index.d.ts]
959 /user/username/projects/sample1/logic/decls/index.d.ts
963 /user/username/projects/sample1/logic/decls/index.d.ts
967 /user/username/projects/sample1/logic/decls/index.d.ts (used version)
975 /user/username/projects/sample1/logic/decls/inde [all...] |