/prebuilts/go/darwin-x86/src/go/types/ |
issues_test.go | 137 defs := make(map[*ast.Ident]Object) 138 _, err = conf.Check(f.Name.Name, fset, []*ast.File{f}, &Info{Defs: defs}) 144 res1 := defs[m.Name].(*Func).Type().(*Signature).Results().At(0) 145 res2 := defs[m.Type.Results.List[0].Names[0]].(*Var) 153 // are Uses, not Defs; and also that the (illegal) use of a non-var on 159 const w = 1 // defs w 160 x, y := 2, 3 // defs x, y 161 w, x, z := 4, 5, 6 // uses w, x, defs z; error: cannot assign to w 165 const want = `L3 defs func p._( [all...] |
resolver_test.go | 135 defs := make(map[*ast.Ident]Object) 136 _, err := conf.Check("testResolveIdents", fset, files, &Info{Defs: defs, Uses: uses}) 176 // check that each identifier in the source is found in uses or defs or both 186 if _, found := defs[x]; found { 188 delete(defs, x) 201 // check the expected set of idents that are simultaneously uses and defs 204 t.Errorf("simultaneous uses/defs = %s, want %s", got, want) 211 for x := range defs {
|
/prebuilts/go/linux-x86/src/go/types/ |
issues_test.go | 137 defs := make(map[*ast.Ident]Object) 138 _, err = conf.Check(f.Name.Name, fset, []*ast.File{f}, &Info{Defs: defs}) 144 res1 := defs[m.Name].(*Func).Type().(*Signature).Results().At(0) 145 res2 := defs[m.Type.Results.List[0].Names[0]].(*Var) 153 // are Uses, not Defs; and also that the (illegal) use of a non-var on 159 const w = 1 // defs w 160 x, y := 2, 3 // defs x, y 161 w, x, z := 4, 5, 6 // uses w, x, defs z; error: cannot assign to w 165 const want = `L3 defs func p._( [all...] |
resolver_test.go | 135 defs := make(map[*ast.Ident]Object) 136 _, err := conf.Check("testResolveIdents", fset, files, &Info{Defs: defs, Uses: uses}) 176 // check that each identifier in the source is found in uses or defs or both 186 if _, found := defs[x]; found { 188 delete(defs, x) 201 // check the expected set of idents that are simultaneously uses and defs 204 t.Errorf("simultaneous uses/defs = %s, want %s", got, want) 211 for x := range defs {
|
/external/mesa3d/src/gallium/drivers/vc4/ |
vc4_opt_coalesce_ff_writes.c | 67 struct qinst *inst = c->defs[temp]; 90 c->defs[inst->dst.index] = NULL;
|
vc4_qir.c | 532 c->defs = reralloc(c, c->defs, struct qinst *, 534 memset(&c->defs[old_size], 0, 535 sizeof(c->defs[0]) * (c->defs_array_size - old_size)); 570 c->defs[inst->dst.index] = inst; 581 c->defs[inst->dst.index] = NULL; 665 c->defs[qinst->dst.index] = NULL; 677 c->defs[reg.index] && 678 (c->defs[reg.index]->op == QOP_MOV || 679 c->defs[reg.index]->op == QOP_FMOV | [all...] |
vc4_qir_validate.c | 50 struct qinst *def = c->defs[i]; 62 if (c->defs[inst->dst.index] &&
|
vc4_opt_algebraic.c | 198 c->defs[inst->src[1].index] && 199 c->defs[inst->src[1].index]->op == QOP_FSUB) { 200 struct qinst *fsub = c->defs[inst->src[1].index]; 213 c->defs[inst->src[0].index] && 214 c->defs[inst->src[0].index]->op == QOP_FSUB) { 215 struct qinst *fsub = c->defs[inst->src[0].index];
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
nv50_ir_inlines.h | 210 return defs.empty() ? NULL : defs.front()->getInsn(); 215 if (defs.empty()) 220 for (DefCIterator it = defs.begin(); it != defs.end(); ++it) 228 for (DefCIterator it = defs.begin(); n < 2 && it != defs.end(); ++it) 235 assert(defs.front()->get() == this); 236 return defs.front()->getInsn();
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
ifdef.py | 32 defs = []
variable 39 defs.append(a)
79 if word in defs:
|
/external/python/cpython2/Tools/scripts/ |
ifdef.py | 32 defs = [] variable 39 defs.append(a) 79 if word in defs:
|
/external/python/cpython3/Tools/scripts/ |
ifdef.py | 32 defs = [] variable 39 defs.append(a) 79 if word in defs:
|
/external/icu/icu4c/source/samples/ufortune/resources/ |
Makefile | 30 include ../../defs.mk
|
/toolchain/binutils/binutils-2.27/gas/testsuite/config/ |
default.exp | 17 load_lib gas-defs.exp
|
/external/google-breakpad/src/testing/gtest/scripts/ |
gen_gtest_pred_impl.py | 73 DEFS = { 161 """ % DEFS) 209 DEFS = { 221 template <typename Pred""" % DEFS 227 AssertionResult AssertPred%(n)sHelper(const char* pred_text""" % DEFS 241 """ % DEFS 265 GTEST_ASSERT_(::testing::AssertPred%(n)sHelper(#pred""" % DEFS 288 """ % DEFS 329 DEFS = { 408 """ % DEFS) [all...] |
/external/googletest/googletest/scripts/ |
gen_gtest_pred_impl.py | 73 DEFS = { 161 """ % DEFS) 209 DEFS = { 221 template <typename Pred""" % DEFS 227 AssertionResult AssertPred%(n)sHelper(const char* pred_text""" % DEFS 241 """ % DEFS 265 GTEST_ASSERT_(::testing::AssertPred%(n)sHelper(#pred""" % DEFS 288 """ % DEFS 329 DEFS = { 408 """ % DEFS) [all...] |
/external/mesa3d/src/compiler/nir/ |
nir_lower_regs_to_ssa.c | 230 NIR_VLA(BITSET_WORD, defs, block_set_words); 242 memset(defs, 0, block_set_words * sizeof(*defs)); 245 BITSET_SET(defs, dest->reg.parent_instr->block->index); 249 reg->bit_size, defs); 273 assert(list_empty(®->defs));
|
/external/protobuf/gtest/scripts/ |
gen_gtest_pred_impl.py | 73 DEFS = { 161 """ % DEFS) 209 DEFS = { 221 template <typename Pred""" % DEFS 227 AssertionResult AssertPred%(n)sHelper(const char* pred_text""" % DEFS 242 """ % DEFS 267 GTEST_ASSERT_(::testing::AssertPred%(n)sHelper(#pred""" % DEFS 290 """ % DEFS 331 DEFS = { 410 """ % DEFS) [all...] |
/external/v8/testing/gtest/scripts/ |
gen_gtest_pred_impl.py | 73 DEFS = { 161 """ % DEFS) 209 DEFS = { 221 template <typename Pred""" % DEFS 227 AssertionResult AssertPred%(n)sHelper(const char* pred_text""" % DEFS 241 """ % DEFS 265 GTEST_ASSERT_(::testing::AssertPred%(n)sHelper(#pred""" % DEFS 288 """ % DEFS 329 DEFS = { 408 """ % DEFS) [all...] |
/external/vulkan-validation-layers/tests/gtest-1.7.0/scripts/ |
gen_gtest_pred_impl.py | 73 DEFS = { 161 """ % DEFS) 209 DEFS = { 221 template <typename Pred""" % DEFS 227 AssertionResult AssertPred%(n)sHelper(const char* pred_text""" % DEFS 241 """ % DEFS 265 GTEST_ASSERT_(::testing::AssertPred%(n)sHelper(#pred""" % DEFS 288 """ % DEFS 329 DEFS = { 408 """ % DEFS) [all...] |
/prebuilts/ndk/r16/sources/third_party/vulkan/src/tests/gtest-1.7.0/scripts/ |
gen_gtest_pred_impl.py | 73 DEFS = { 161 """ % DEFS) 209 DEFS = { 221 template <typename Pred""" % DEFS 227 AssertionResult AssertPred%(n)sHelper(const char* pred_text""" % DEFS 241 """ % DEFS 265 GTEST_ASSERT_(::testing::AssertPred%(n)sHelper(#pred""" % DEFS 288 """ % DEFS 329 DEFS = { 408 """ % DEFS) [all...] |
/toolchain/binutils/binutils-2.27/etc/ |
texi2pod.pl | 35 %defs = (); 54 $defs{$flag} = $value; 103 if (exists $defs{$1}) { 114 $output = 1 if exists $defs{$2}; 129 $defs{$1} = $2; 133 delete $defs{$1}; 179 $skipping = 1 unless exists $defs{$1}; 187 $skipping = 1 if exists $defs{$1}; 365 if (! exists $defs{$2}) { 369 $value = $defs{$2} [all...] |
/external/ltp/testcases/network/stress/ns-tools/ |
ns-icmp_redirector.c | 499 gateway_p->ip_addr = rcvns_p->defs.nd_ns_target; /* IP address */ 536 sndna_p->defs.nd_na_type = ND_NEIGHBOR_ADVERT; 537 sndna_p->defs.nd_na_code = 0; 538 sndna_p->defs.nd_na_cksum = 0; /* Calculate later */ 539 sndna_p->defs.nd_na_target = gateway_p->ip_addr; 540 sndna_p->defs.nd_na_flags_reserved 557 sndna_p->defs.nd_na_cksum = calc_checksum((u_int16_t *) (&p_ip6), 638 sndrd_p->defs.nd_rd_type = ND_REDIRECT; 639 sndrd_p->defs.nd_rd_code = 0; 640 sndrd_p->defs.nd_rd_cksum = 0; /* Calculate later * [all...] |
/prebuilts/go/darwin-x86/src/cmd/go/internal/work/ |
gccgo.go | 161 defs := []string{"-D", "GOOS_" + cfg.Goos, "-D", "GOARCH_" + cfg.Goarch} 163 defs = append(defs, `-D`, `GOPKGPATH=`+pkgpath) 165 defs = tools.maybePIC(defs) 166 defs = append(defs, b.gccArchArgs()...) 167 err := b.run(a, p.Dir, p.ImportPath, nil, tools.compiler(), "-xassembler-with-cpp", "-I", a.Objdir, "-c", "-o", ofile, defs, sfile) 467 defs := []string{"-D", "GOOS_" + cfg.Goos, "-D", "GOARCH_" + cfg.Goarch} 468 defs = append(defs, b.gccArchArgs()... [all...] |
/prebuilts/go/linux-x86/src/cmd/go/internal/work/ |
gccgo.go | 161 defs := []string{"-D", "GOOS_" + cfg.Goos, "-D", "GOARCH_" + cfg.Goarch} 163 defs = append(defs, `-D`, `GOPKGPATH=`+pkgpath) 165 defs = tools.maybePIC(defs) 166 defs = append(defs, b.gccArchArgs()...) 167 err := b.run(a, p.Dir, p.ImportPath, nil, tools.compiler(), "-xassembler-with-cpp", "-I", a.Objdir, "-c", "-o", ofile, defs, sfile) 467 defs := []string{"-D", "GOOS_" + cfg.Goos, "-D", "GOARCH_" + cfg.Goarch} 468 defs = append(defs, b.gccArchArgs()... [all...] |