Home
last modified time | relevance | path

Searched refs:syms (Results 1 – 25 of 228) sorted by relevance

12345678910

/external/icu/icu4c/source/i18n/
Dudat.cpp596 const DateFormatSymbols *syms; in udat_getSymbols() local
600 syms = sdtfmt->getDateFormatSymbols(); in udat_getSymbols()
602 syms = rdtfmt->getDateFormatSymbols(); in udat_getSymbols()
611 res = syms->getEras(count); in udat_getSymbols()
615 res = syms->getEraNames(count); in udat_getSymbols()
619 res = syms->getMonths(count); in udat_getSymbols()
623 res = syms->getShortMonths(count); in udat_getSymbols()
627 res = syms->getWeekdays(count); in udat_getSymbols()
631 res = syms->getShortWeekdays(count); in udat_getSymbols()
635 res = syms->getAmPmStrings(count); in udat_getSymbols()
[all …]
/external/libaom/libaom/av1/decoder/
Daccounting.c36 dictionary = &accounting->syms.dictionary; in aom_accounting_dictionary_lookup()
58 accounting->syms.syms = in aom_accounting_init()
60 accounting->syms.dictionary.num_strs = 0; in aom_accounting_init()
68 accounting->syms.num_syms = 0; in aom_accounting_reset()
69 accounting->syms.num_binary_syms = 0; in aom_accounting_reset()
70 accounting->syms.num_multi_syms = 0; in aom_accounting_reset()
79 free(accounting->syms.syms); in aom_accounting_clear()
80 dictionary = &accounting->syms.dictionary; in aom_accounting_clear()
95 if (accounting->syms.num_syms) { in aom_accounting_record()
97 last_sym = &accounting->syms.syms[accounting->syms.num_syms - 1]; in aom_accounting_record()
[all …]
/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_has_key.py73 syms = self.syms
74 if (node.parent.type == syms.not_test and
87 if arg.type in (syms.comparison, syms.not_test, syms.and_test,
88 syms.or_test, syms.test, syms.lambdef, syms.argument):
93 before = pytree.Node(syms.power, before)
98 n_op = pytree.Node(syms.comp_op, (n_not, n_op))
99 new = pytree.Node(syms.comparison, (arg, n_op, before))
102 new = pytree.Node(syms.power, (new,) + tuple(after))
103 if node.parent.type in (syms.comparison, syms.expr, syms.xor_expr,
104 syms.and_expr, syms.shift_expr,
[all …]
Dfix_metaclass.py23 from ..fixer_util import syms, Node, Leaf
33 if node.type == syms.suite:
35 elif node.type == syms.simple_stmt and node.children:
37 if expr_node.type == syms.expr_stmt and expr_node.children:
50 if node.type == syms.suite:
62 suite = Node(syms.suite, [])
83 new_expr = Node(syms.expr_stmt, [])
84 new_stmt = Node(syms.simple_stmt, [new_expr])
103 if node.type == syms.suite:
110 if simple_node.type == syms.simple_stmt and simple_node.children:
[all …]
Dfix_apply.py32 syms = self.syms
40 if args.type == self.syms.star_expr:
42 if (args.type == self.syms.argument and
45 if kwds and (kwds.type == self.syms.argument and
50 if (func.type not in (token.NAME, syms.atom) and
51 (func.type != syms.power or
Dfix_map.py26 from ..pygram import python_symbols as syms unknown
73 if node.parent.type == syms.simple_stmt:
82 new = Node(syms.power, [new] + trailers, prefix="")
91 if args.type == syms.trailer and \
92 args.children[1].type == syms.arglist and \
100 new = Node(syms.power, [Name("map"), args.clone()])
106 new = Node(syms.power, [Name("list"), ArgList([new])] + trailers)
Dfix_tuple_params.py25 from ..fixer_util import Assign, Name, Newline, Number, Subscript, syms
75 new_lines.append(pytree.Node(syms.simple_stmt,
78 if args.type == syms.tfpdef:
80 elif args.type == syms.typedargslist:
82 if arg.type == syms.tfpdef:
131 new = pytree.Node(syms.power,
140 if node.type in (syms.vfplist, token.NAME):
142 elif node.type == syms.vfpdef:
145 while node.type == syms.vfpdef:
151 if node.type == syms.vfpdef:
/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_has_key.py74 syms = self.syms
75 if (node.parent.type == syms.not_test and
88 if arg.type in (syms.comparison, syms.not_test, syms.and_test,
89 syms.or_test, syms.test, syms.lambdef, syms.argument):
94 before = pytree.Node(syms.power, before)
99 n_op = pytree.Node(syms.comp_op, (n_not, n_op))
100 new = pytree.Node(syms.comparison, (arg, n_op, before))
103 new = pytree.Node(syms.power, (new,) + tuple(after))
104 if node.parent.type in (syms.comparison, syms.expr, syms.xor_expr,
105 syms.and_expr, syms.shift_expr,
[all …]
Dfix_metaclass.py23 from ..fixer_util import Name, syms, Node, Leaf
33 if node.type == syms.suite:
35 elif node.type == syms.simple_stmt and node.children:
37 if expr_node.type == syms.expr_stmt and expr_node.children:
50 if node.type == syms.suite:
62 suite = Node(syms.suite, [])
83 new_expr = Node(syms.expr_stmt, [])
84 new_stmt = Node(syms.simple_stmt, [new_expr])
103 if node.type == syms.suite:
110 if simple_node.type == syms.simple_stmt and simple_node.children:
[all …]
Dfix_intern.py34 if obj.type == self.syms.star_expr:
36 if (obj.type == self.syms.argument and
39 syms = self.syms
41 if obj.type == syms.arglist:
44 newarglist = pytree.Node(syms.arglist, [obj.clone()])
48 new = pytree.Node(syms.power,
50 [pytree.Node(syms.trailer,
Dfix_apply.py32 syms = self.syms
40 if args.type == self.syms.star_expr:
42 if (args.type == self.syms.argument and
45 if kwds and (kwds.type == self.syms.argument and
50 if (func.type not in (token.NAME, syms.atom) and
51 (func.type != syms.power or
Dfix_tuple_params.py25 from ..fixer_util import Assign, Name, Newline, Number, Subscript, syms
75 new_lines.append(pytree.Node(syms.simple_stmt,
78 if args.type == syms.tfpdef:
80 elif args.type == syms.typedargslist:
82 if arg.type == syms.tfpdef:
131 new = pytree.Node(syms.power,
140 if node.type in (syms.vfplist, token.NAME):
142 elif node.type == syms.vfpdef:
145 while node.type == syms.vfpdef:
151 if node.type == syms.vfpdef:
/external/python/cpython3/Lib/lib2to3/
Dfixer_util.py7 from .pygram import python_symbols as syms unknown
16 return Node(syms.argument,
33 return Node(syms.atom,
42 return [obj, Node(syms.trailer, [Dot(), attr])]
54 node = Node(syms.trailer, [lparen.clone(), rparen.clone()])
56 node.insert_child(1, Node(syms.arglist, args))
61 node = Node(syms.power, [func_name, ArgList(args)])
79 return Node(syms.trailer, [Leaf(token.LBRACE, "["),
104 inner_args.append(Node(syms.comp_if, [if_leaf, test]))
105 inner = Node(syms.listmaker, [xp, Node(syms.comp_for, inner_args)])
[all …]
/external/zlib/src/examples/
Denough.c203 local big_t count(int syms, int len, int left) in count() argument
213 if (syms == left) in count()
217 assert(syms > left && left > 0 && len < max); in count()
220 index = INDEX(syms, left, len); in count()
227 least = (left << 1) - syms; in count()
234 most = (((code_t)left << (max - len)) - syms) / in count()
240 got = count(syms - use, len + 1, (left - use) << 1); in count()
258 local int beenhere(int syms, int len, int left, int mem, int rem) in beenhere() argument
267 index = INDEX(syms, left, len); in beenhere()
322 local void examine(int syms, int len, int left, int mem, int rem) in examine() argument
[all …]
/external/python/cpython2/Lib/lib2to3/
Dfixer_util.py9 from .pygram import python_symbols as syms unknown
18 return Node(syms.argument,
35 return Node(syms.atom,
44 return [obj, Node(syms.trailer, [Dot(), attr])]
56 node = Node(syms.trailer, [lparen.clone(), rparen.clone()])
58 node.insert_child(1, Node(syms.arglist, args))
63 node = Node(syms.power, [func_name, ArgList(args)])
81 return Node(syms.trailer, [Leaf(token.LBRACE, u"["),
106 inner_args.append(Node(syms.comp_if, [if_leaf, test]))
107 inner = Node(syms.listmaker, [xp, Node(syms.comp_for, inner_args)])
[all …]
/external/fec/
Dfec.h29 int update_viterbi27_blk_av(void *p,unsigned char *syms,int nbits);
38 int update_viterbi27_blk_mmx(void *p,unsigned char *syms,int nbits);
45 int update_viterbi27_blk_sse(void *p,unsigned char *syms,int nbits);
52 int update_viterbi27_blk_sse2(void *p,unsigned char *syms,int nbits);
60 int update_viterbi27_blk_port(void *p,unsigned char *syms,int nbits);
69 int update_viterbi29_blk(void *vp,unsigned char syms[],int nbits);
79 int update_viterbi29_blk_av(void *p,unsigned char *syms,int nbits);
88 int update_viterbi29_blk_mmx(void *p,unsigned char *syms,int nbits);
95 int update_viterbi29_blk_sse(void *p,unsigned char *syms,int nbits);
102 int update_viterbi29_blk_sse2(void *p,unsigned char *syms,int nbits);
[all …]
/external/u-boot/tools/binman/
Delf_test.py56 syms = elf.GetSymbols(fname, [])
57 self.assertIn('.ucode', syms)
61 syms = elf.GetSymbols(fname, ['ucode'])
62 self.assertIn('.ucode', syms)
63 syms = elf.GetSymbols(fname, ['missing'])
64 self.assertNotIn('.ucode', syms)
65 syms = elf.GetSymbols(fname, ['missing', 'ucode'])
66 self.assertIn('.ucode', syms)
72 syms = elf.LookupAndWriteSymbols('missing-file', entry, section)
81 syms = elf.LookupAndWriteSymbols(elf_fname, entry, section)
[all …]
Delf.py40 syms = {}
58 syms[name] = Symbol(section, int(value, 16), int(size,16),
60 return syms
72 syms = GetSymbols(fname, [sym_name])
73 sym = syms.get(sym_name)
93 syms = GetSymbols(fname, ['image', 'binman'])
94 if not syms:
96 base = syms.get('__image_copy_start')
99 for name, sym in syms.iteritems():
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtrace_helpers.c14 static struct ksym syms[MAX_SYMS]; variable
40 syms[i].addr = (long) addr; in load_kallsyms()
41 syms[i].name = strdup(func); in load_kallsyms()
46 qsort(syms, sym_cnt, sizeof(struct ksym), ksym_cmp); in load_kallsyms()
58 result = key - syms[mid].addr; in ksym_search()
64 return &syms[mid]; in ksym_search()
67 if (start >= 1 && syms[start - 1].addr < key && in ksym_search()
68 key < syms[start].addr) in ksym_search()
70 return &syms[start - 1]; in ksym_search()
73 return &syms[0]; in ksym_search()
[all …]
/external/libaom/libaom/test/
Daccounting_test.cc47 GTEST_ASSERT_EQ(accounting.syms.num_syms, 1); in TEST()
48 GTEST_ASSERT_EQ(accounting.syms.syms[0].samples, (unsigned int)kSymbols); in TEST()
51 GTEST_ASSERT_EQ(accounting.syms.num_syms, 0); in TEST()
61 GTEST_ASSERT_EQ(accounting.syms.num_syms, kSymbols * 2); in TEST()
63 for (int i = 0; i < accounting.syms.num_syms; i++) { in TEST()
64 tell_frac -= accounting.syms.syms[i].bits; in TEST()
/external/swiftshader/third_party/LLVM/tools/gold/
Dgold-plugin.cpp64 std::vector<ld_plugin_symbol> syms; member
287 cf.syms.reserve(sym_count); in claim_file_hook()
294 cf.syms.push_back(ld_plugin_symbol()); in claim_file_hook()
295 ld_plugin_symbol &sym = cf.syms.back(); in claim_file_hook()
346 cf.syms.reserve(cf.syms.size()); in claim_file_hook()
348 if (!cf.syms.empty()) { in claim_file_hook()
349 if ((*add_symbols)(cf.handle, cf.syms.size(), &cf.syms[0]) != LDPS_OK) { in claim_file_hook()
384 if (I->syms.empty()) in all_symbols_read_hook()
386 (*get_symbols)(I->handle, I->syms.size(), &I->syms[0]); in all_symbols_read_hook()
387 for (unsigned i = 0, e = I->syms.size(); i != e; i++) { in all_symbols_read_hook()
[all …]
/external/adeb/bcc/misc/
Dlockstat.py213 syms = []
216 syms.append(s)
217 return syms
219 def print_syms(syms): argument
221 for f in syms:
225 def is_android_monitor_lock(syms): argument
226 for s in syms:
244 syms = get_syms(ust, key.pid)
245 if not is_android_monitor_lock(syms):
256 lock.update(val.contention_count, val.elapsed_blocked, syms)
/external/grpc-grpc/tools/codegen/core/
Dgen_hpack_tables.cc169 symset syms; member
181 static unsigned state_index(unsigned bitofs, symset syms, unsigned *isnew) { in state_index() argument
185 if (0 != memcmp(huffstates[i].syms.included, syms.included, in state_index()
197 huffstates[i].syms = syms; in state_index()
214 unsigned bitofs, unsigned emit, symset syms) { in build_dec_tbl() argument
225 unsigned st = state_index(bitofs, syms, &isnew); in build_dec_tbl()
230 build_dec_tbl(st, 0, 0, bitofs, NOT_SET, syms); in build_dec_tbl()
235 assert(nsyms(syms)); in build_dec_tbl()
242 if (!syms.included[i]) continue; /* disregard inactive symbols */ in build_dec_tbl()
/external/curl/tests/
Dsymbol-scan.pl62 my @syms;
73 push @syms, $_;
83 push @syms, $1;
114 for my $e (sort @syms) {
168 printf "%d symbols in headers (out of which %d are ignored)\n", scalar(@syms),
171 scalar(@syms)- $ignored;
/external/wpa_supplicant_8/src/utils/
Dtrace.c31 static asymbol **syms = NULL; variable
103 if (syms) in read_syms()
121 syms = malloc(storage); in read_syms()
122 if (syms == NULL) { in read_syms()
128 symcount = bfd_canonicalize_dynamic_symtab(abfd, syms); in read_syms()
130 symcount = bfd_canonicalize_symtab(abfd, syms); in read_syms()
134 free(syms); in read_syms()
135 syms = NULL; in read_syms()
170 data->found = bfd_find_nearest_line(abfd, section, syms, in find_addr_sect()
258 if (!syms) { in wpa_trace_bfd_init()
[all …]

12345678910