Home
last modified time | relevance | path

Searched full:nsyms (Results 1 – 25 of 86) sorted by relevance

1234

/external/python/cpython2/Parser/
Dfirstsets.c34 int nsyms; in calcfirstset() local
65 nsyms = 1; in calcfirstset()
71 for (j = 0; j < nsyms; j++) { in calcfirstset()
75 if (j >= nsyms) { /* New label */ in calcfirstset()
77 sizeof(int) * (nsyms + 1)); in calcfirstset()
81 sym[nsyms++] = a->a_lbl; in calcfirstset()
/external/bison/src/
Dreduce.c162 Vp = bitset_create (nsyms, BITSET_FIXED); in inaccessable_symbols()
212 for (i = ntokens; i < nsyms; i++) in inaccessable_symbols()
295 for (i = ntokens; i < nsyms; i++) in nonterminals_reduce()
298 for (i = ntokens; i < nsyms; i++) in nonterminals_reduce()
311 for (i = ntokens; i < nsyms; i++) in nonterminals_reduce()
313 for (i = ntokens; i < nsyms; i++) in nonterminals_reduce()
315 for (i = ntokens; i < nsyms; i++) in nonterminals_reduce()
333 nsyms -= nuseless_nonterminals; in nonterminals_reduce()
352 fprintf (out, " %s\n", symbols[nsyms + i]->tag); in reduce_output()
405 V = bitset_create (nsyms, BITSET_FIXED); in reduce_grammar()
[all …]
Dclosure.c77 for (i = ntokens; i < nsyms; i++) in print_firsts()
98 for (i = ntokens; i < nsyms; i++) in print_fderives()
129 for (i = ntokens; i < nsyms; i++) in set_firsts()
167 for (i = ntokens; i < nsyms; ++i) in set_fderives()
168 for (j = ntokens; j < nsyms; ++j) in set_fderives()
DLR0.c102 size_t *symbol_count = xcalloc (nsyms + nuseless_nonterminals, in allocate_itemsets()
118 kernel_base = xnmalloc (nsyms, sizeof *kernel_base); in allocate_itemsets()
122 for (i = 0; i < nsyms; i++) in allocate_itemsets()
129 kernel_size = xnmalloc (nsyms, sizeof *kernel_size); in allocate_itemsets()
138 shiftset = xnmalloc (nsyms, sizeof *shiftset); in allocate_storage()
141 shift_symbol = xnmalloc (nsyms, sizeof *shift_symbol); in allocate_storage()
183 memset (kernel_size, 0, nsyms * sizeof *kernel_size); in new_itemsets()
Dgram.c41 int nsyms = 0; variable
246 "ntokens = %d, nvars = %d, nsyms = %d, nrules = %d, nritems = %d\n\n", in grammar_dump()
247 ntokens, nvars, nsyms, nrules, nritems); in grammar_dump()
255 for (i = ntokens; i < nsyms; i++) in grammar_dump()
Dlalr.c100 for (i = ntokens; i < nsyms; i++) in set_goto_map()
106 for (i = ntokens; i < nsyms; i++) in set_goto_map()
109 goto_map[nsyms - ntokens] = ngotos; in set_goto_map()
110 temp_map[nsyms - ntokens] = ngotos; in set_goto_map()
465 aver (nsyms == nvars + ntokens); in lalr_update_state_numbers()
Dderives.c47 for (i = ntokens; i < nsyms; i++) in print_derives()
94 for (i = ntokens; i < nsyms; i++) in derives_compute()
Dgram.h27 variables (nonterminals). NSYMS is the total number, ntokens +
31 Numbers 0 to NTOKENS - 1 are for tokens, and NTOKENS to NSYMS - 1
111 extern int nsyms;
Dsymtab.c90 if (nsyms == SYMBOL_NUMBER_MAXIMUM) in symbol_new()
93 nsyms++; in symbol_new()
884 symbols = xcalloc (nsyms, sizeof *symbols); in symbols_pack()
891 int nsyms_old = nsyms; in symbols_pack()
896 nsyms -= 1; in symbols_pack()
909 symbols = xnrealloc (symbols, nsyms, sizeof *symbols); in symbols_pack()
/external/elfutils/libelf/
Dnlist.c70 size_t nsyms; in nlist() local
132 nsyms = (shdr->sh_size in nlist()
136 table = nlist_fshash_init (nsyms); in nlist()
144 for (cnt = 0; cnt < nsyms; ++cnt) in nlist()
/external/elfutils/src/
Darlib.c160 uint32_t nsyms = le_bswap_32 (symtab.symsoff[AR_HDR_WORDS]); in arlib_finalize() local
162 for (uint32_t cnt = 1; cnt <= nsyms; ++cnt) in arlib_finalize()
251 int nsyms = shdr->sh_size / shdr->sh_entsize; in arlib_add_symbols() local
252 for (int ndx = shdr->sh_info; ndx < nsyms; ++ndx) in arlib_add_symbols()
/external/swiftshader/third_party/LLVM/test/Scripts/
Dmacho-dumpx162 nsyms = f.read32()
163 print " ('nsyms', %r)" % nsyms
179 for i in range(nsyms):
/external/valgrind/coregrind/m_debuginfo/
Dreadmacho.c410 Word nsyms, i, j, k, m; in tidy_up_cand_syms() local
412 nsyms = VG_(sizeXA)(syms); in tidy_up_cand_syms()
435 for (i = 0; i < nsyms; i++) { in tidy_up_cand_syms()
437 k < nsyms in tidy_up_cand_syms()
445 if (k < nsyms) { in tidy_up_cand_syms()
455 vg_assert(i <= nsyms); in tidy_up_cand_syms()
459 if (nsyms > 0) { in tidy_up_cand_syms()
461 for (i = 1; i < nsyms; i++) { in tidy_up_cand_syms()
479 vg_assert(j >= 0 && j <= nsyms); in tidy_up_cand_syms()
480 VG_(dropTailXA)(syms, nsyms - j); in tidy_up_cand_syms()
[all …]
/external/elfutils/libasm/
Ddisasm_cb.c96 int nsyms = shdr->sh_size / shdr->sh_entsize; in read_symtab_exec() local
97 for (int cnt = 1; cnt < nsyms; ++cnt) in read_symtab_exec()
/external/llvm/test/Object/
Dmacho-invalid.test48 RUN: llvm-objdump -macho -t %p/Inputs/macho-valid-0-nsyms 2>&1 \
49 RUN: | FileCheck -check-prefix ZERO-NSYMS %s
50 ZERO-NSYMS: SYMBOL TABLE
/external/llvm/test/ObjectYAML/MachO/
Dload_commands.yaml73 nsyms: 30
199 #CHECK: nsyms: 30
Drebase_opcode.yaml40 nsyms: 30
Dbind_opcode.yaml40 nsyms: 30
Dweak_bind_opcode.yaml40 nsyms: 30
/external/llvm/test/tools/llvm-objdump/AArch64/
Dmacho-private-headers.test55 CHECK: nsyms 5
239 EXE: nsyms 4
/external/llvm/test/tools/llvm-objdump/X86/
Dmacho-private-headers.test98 CHECK: nsyms 5
295 EXE: nsyms 4
518 NON_VERBOSE: nsyms 5
/external/llvm/test/tools/llvm-objdump/ARM/
Dmacho-private-headers.test102 CHECK: nsyms 2
273 EXE: nsyms 5
/external/swiftshader/third_party/LLVM/test/MC/MachO/
Dtemp-labels.s7 // CHECK: ('nsyms', 2)
/external/llvm/lib/Object/
DMachOObjectFile.cpp399 if (Dysymtab.nlocalsym != 0 && Dysymtab.ilocalsym > Symtab.nsyms) { in MachOObjectFile()
406 if (Dysymtab.nlocalsym != 0 && BigSize > Symtab.nsyms) { in MachOObjectFile()
411 if (Dysymtab.nextdefsym != 0 && Dysymtab.ilocalsym > Symtab.nsyms) { in MachOObjectFile()
418 if (Dysymtab.nextdefsym != 0 && BigSize > Symtab.nsyms) { in MachOObjectFile()
424 if (Dysymtab.nundefsym != 0 && Dysymtab.iundefsym > Symtab.nsyms) { in MachOObjectFile()
431 if (Dysymtab.nundefsym != 0 && BigSize > Symtab.nsyms) { in MachOObjectFile()
1085 if (!SymtabLoadCmd || Symtab.nsyms == 0) in symbol_begin_impl()
1094 if (!SymtabLoadCmd || Symtab.nsyms == 0) in symbol_end_impl()
1101 Symtab.nsyms * SymbolTableEntrySize; in symbol_end_impl()
1108 if (!SymtabLoadCmd || Index >= Symtab.nsyms) in getSymbolByIndex()
[all …]
/external/valgrind/coregrind/
Dm_redir.c393 Int i, nsyms, becTag, becPrio; in VG_() local
518 nsyms = VG_(DebugInfo_syms_howmany)( newdi ); in VG_()
519 for (i = 0; i < nsyms; i++) { in VG_()
672 for (i = 0; i < nsyms; i++) { in VG_()
809 Int nsyms, i; in generate_and_add_actives() local
842 nsyms = VG_(DebugInfo_syms_howmany)( di ); in generate_and_add_actives()
843 for (i = 0; i < nsyms; i++) { in generate_and_add_actives()
890 } /* for (i = 0; i < nsyms; i++) */ in generate_and_add_actives()
1786 Int nsyms = VG_(DebugInfo_syms_howmany)(di); in handle_require_text_symbols() local
1787 for (j = 0; j < nsyms; j++) { in handle_require_text_symbols()

1234