Home
last modified time | relevance | path

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

1234567

/third_party/skia/third_party/externals/icu/source/i18n/
Dudat.cpp605 const DateFormatSymbols *syms; in udat_getSymbols() local
609 syms = sdtfmt->getDateFormatSymbols(); in udat_getSymbols()
611 syms = rdtfmt->getDateFormatSymbols(); in udat_getSymbols()
620 res = syms->getEras(count); in udat_getSymbols()
624 res = syms->getEraNames(count); in udat_getSymbols()
628 res = syms->getMonths(count); in udat_getSymbols()
632 res = syms->getShortMonths(count); in udat_getSymbols()
636 res = syms->getWeekdays(count); in udat_getSymbols()
640 res = syms->getShortWeekdays(count); in udat_getSymbols()
644 res = syms->getAmPmStrings(count); in udat_getSymbols()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dudat.cpp606 const DateFormatSymbols *syms; in udat_getSymbols() local
610 syms = sdtfmt->getDateFormatSymbols(); in udat_getSymbols()
612 syms = rdtfmt->getDateFormatSymbols(); in udat_getSymbols()
621 res = syms->getEras(count); in udat_getSymbols()
625 res = syms->getEraNames(count); in udat_getSymbols()
629 res = syms->getMonths(count); in udat_getSymbols()
633 res = syms->getShortMonths(count); in udat_getSymbols()
637 res = syms->getWeekdays(count); in udat_getSymbols()
641 res = syms->getShortWeekdays(count); in udat_getSymbols()
645 res = syms->getAmPmStrings(count); in udat_getSymbols()
[all …]
/third_party/icu/icu4c/source/i18n/
Dudat.cpp605 const DateFormatSymbols *syms; in udat_getSymbols() local
609 syms = sdtfmt->getDateFormatSymbols(); in udat_getSymbols()
611 syms = rdtfmt->getDateFormatSymbols(); in udat_getSymbols()
620 res = syms->getEras(count); in udat_getSymbols()
624 res = syms->getEraNames(count); in udat_getSymbols()
628 res = syms->getMonths(count); in udat_getSymbols()
632 res = syms->getShortMonths(count); in udat_getSymbols()
636 res = syms->getWeekdays(count); in udat_getSymbols()
640 res = syms->getShortWeekdays(count); in udat_getSymbols()
644 res = syms->getAmPmStrings(count); in udat_getSymbols()
[all …]
/third_party/python/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_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:
Dfix_apply.py32 syms = self.syms
40 if (args.type == self.syms.argument and
43 if kwds and (kwds.type == self.syms.argument and
48 if (func.type not in (token.NAME, syms.atom) and
49 (func.type != syms.power or
Dfix_filter.py19 from ..pygram import python_symbols as syms unknown
69 if xp.type == syms.test:
76 new = Node(syms.power, [new] + trailers, prefix="")
83 new = Node(syms.power, [new] + trailers, prefix="")
90 new = Node(syms.power, [Name("filter"), args], prefix="")
91 new = Node(syms.power, [Name("list"), ArgList([new])] + trailers)
Dfix_exitfunc.py8 from lib2to3.fixer_util import Name, Attr, Call, Comma, Newline, syms
46 register = pytree.Node(syms.power,
60 if names.type == syms.dotted_as_names:
67 new_import = pytree.Node(syms.import_name,
70 new = pytree.Node(syms.simple_stmt, [new_import])
/third_party/python/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 …]
Dpatcomp.py47 self.syms = pygram.pattern_symbols
50 self.syms = pygram.Symbols(self.grammar)
74 if node.type == self.syms.Matcher:
77 if node.type == self.syms.Alternatives:
85 if node.type == self.syms.Alternative:
92 if node.type == self.syms.NegatedUnit:
97 assert node.type == self.syms.Unit
105 if len(nodes) >= 2 and nodes[-1].type == self.syms.Repeater:
113 assert repeat.type == self.syms.Repeater
Dbtm_utils.py7 syms = pattern_symbols variable
113 if node.type == syms.Matcher:
117 if node.type == syms.Alternatives :
132 elif node.type == syms.Alternative:
147 elif node.type == syms.Unit:
169 if child.type == syms.Details:
172 elif child.type == syms.Repeater:
175 elif child.type == syms.Alternatives:
209 elif name_leaf.type == syms.Alternatives:
/third_party/zlib/examples/
Denough.c237 local inline size_t map(int syms, int left, int len) { in map() argument
238 return ((size_t)((syms - 1) >> 1) * ((syms - 2) >> 1) + in map()
261 local big_t count(int syms, int left, int len) { in count() argument
263 if (syms == left) in count()
267 assert(syms > left && left > 0 && len < g.max); in count()
270 size_t index = map(syms, left, len); in count()
277 int least = (left << 1) - syms; in count()
284 int most = (((code_t)left << (g.max - len)) - syms) / in count()
290 got = count(syms - use, (left - use) << 1, len + 1); in count()
308 local int been_here(int syms, int left, int len, int mem, int rem) { in been_here() argument
[all …]
/third_party/skia/third_party/externals/tint/src/transform/
Dmultiplanar_external_texture.cc126 auto& syms = new_binding_symbols[var->symbol]; in Process() local
127 syms.plane_0 = ctx.Clone(var->symbol); in Process()
128 syms.plane_1 = b.Symbols().New("ext_tex_plane_1"); in Process()
129 b.Global(syms.plane_1, in Process()
132 syms.params = b.Symbols().New("ext_tex_params"); in Process()
133 b.Global(syms.params, b.ty.type_name("ExternalTextureParams"), in Process()
142 return b.Var(syms.plane_0, in Process()
165 auto& syms = it->second; in Process() local
168 return createTexLdExt(expr, syms); in Process()
172 return createTexSmpExt(expr, syms); in Process()
[all …]
/third_party/musl/src/internal/
Dvdso.c61 Sym *syms = 0; in __vdsosym() local
70 case DT_SYMTAB: syms = p; break; in __vdsosym()
77 if (!strings || !syms || !hashtab) return 0; in __vdsosym()
81 if (!(1<<(syms[i].st_info&0xf) & OK_TYPES)) continue; in __vdsosym()
82 if (!(1<<(syms[i].st_info>>4) & OK_BINDS)) continue; in __vdsosym()
83 if (!syms[i].st_shndx) continue; in __vdsosym()
84 if (strcmp(name, strings+syms[i].st_name)) continue; in __vdsosym()
87 return (void *)(base + syms[i].st_value); in __vdsosym()
/third_party/libabigail/tools/
Dabisym.cc134 vector<elf_symbol_sptr> syms; in main() local
135 if (!lookup_symbol_from_elf(env, p, n, opts.demangle, syms)) in main()
147 elf_symbol_sptr sym = syms[0]; in main()
154 if (syms.size() > 1 || !sym->get_version().is_empty()) in main()
157 if (syms.size () > 1) in main()
160 for (vector<elf_symbol_sptr>::const_iterator i = syms.begin(); in main()
161 i != syms.end(); in main()
164 if (i != syms.begin()) in main()
/third_party/musl/porting/linux/user/src/internal/
Dvdso.c61 Sym *syms; member
91 case DT_SYMTAB: vdso_info.syms = p; break; in __get_vdso_info()
103 if (!vdso_info.strings || !vdso_info.syms || !vdso_info.hashtab) return 0; in __get_vdso_addr()
108 if (!(1<<(vdso_info.syms[i].st_info&0xf) & OK_TYPES)) continue; in __get_vdso_addr()
109 if (!(1<<(vdso_info.syms[i].st_info>>4) & OK_BINDS)) continue; in __get_vdso_addr()
110 if (!vdso_info.syms[i].st_shndx) continue; in __get_vdso_addr()
111 if (strcmp(name, vdso_info.strings+vdso_info.syms[i].st_name)) continue; in __get_vdso_addr()
114 return (void *)(vdso_info.base + vdso_info.syms[i].st_value); in __get_vdso_addr()
/third_party/musl/src/internal/linux/
Dvdso.c61 Sym *syms; member
91 case DT_SYMTAB: vdso_info.syms = p; break; in __get_vdso_info()
103 if (!vdso_info.strings || !vdso_info.syms || !vdso_info.hashtab) return 0; in __get_vdso_addr()
108 if (!(1<<(vdso_info.syms[i].st_info&0xf) & OK_TYPES)) continue; in __get_vdso_addr()
109 if (!(1<<(vdso_info.syms[i].st_info>>4) & OK_BINDS)) continue; in __get_vdso_addr()
110 if (!vdso_info.syms[i].st_shndx) continue; in __get_vdso_addr()
111 if (strcmp(name, vdso_info.strings+vdso_info.syms[i].st_name)) continue; in __get_vdso_addr()
114 return (void *)(vdso_info.base + vdso_info.syms[i].st_value); in __get_vdso_addr()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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 …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
181 data->found = bfd_find_nearest_line(abfd, section, syms, in find_addr_sect()
269 if (!syms) { in wpa_trace_bfd_init()
[all …]
/third_party/elfutils/src/
Dnm.c726 GElf_SymX *syms, size_t nsyms, int longest_name, in show_symbols_sysv() argument
789 if (GELF_ST_TYPE (syms[cnt].sym.st_info) == STT_SECTION) in show_symbols_sysv()
793 const char *symstr = sym_name (ebl->elf, strndx, syms[cnt].sym.st_name, in show_symbols_sysv()
803 if (GELF_ST_TYPE (syms[cnt].sym.st_info) == STT_FILE) in show_symbols_sysv()
833 if (syms[cnt].sym.st_shndx == SHN_UNDEF) in show_symbols_sysv()
844 digits, syms[cnt].sym.st_value); in show_symbols_sysv()
849 digits, syms[cnt].sym.st_size); in show_symbols_sysv()
855 GELF_ST_BIND (syms[cnt].sym.st_info), in show_symbols_sysv()
861 ebl_symbol_type_name (ebl, GELF_ST_TYPE (syms[cnt].sym.st_info), in show_symbols_sysv()
863 sizebuf, longest_where, syms[cnt].where, in show_symbols_sysv()
[all …]
/third_party/elfio/tests/
DELFIOTest2.cpp259 symbol_section_accessor syms( reader, symsec ); in TEST() local
261 for ( Elf_Xword i = 0; i < syms.get_symbols_num(); i++ ) { in TEST()
262 ASSERT_EQ( syms.get_symbol( i, name, value, size, bind, type, in TEST()
265 EXPECT_EQ( syms.get_symbol( name, value, size, bind, type, in TEST()
287 symbol_section_accessor syms( reader, symsec ); in TEST() local
289 for ( Elf_Xword i = 0; i < syms.get_symbols_num(); i++ ) { in TEST()
290 ASSERT_EQ( syms.get_symbol( i, name, value, size, bind, type, in TEST()
293 EXPECT_EQ( syms.get_symbol( name, value, size, bind, type, in TEST()
315 symbol_section_accessor syms( reader, symsec ); in TEST() local
317 for ( Elf_Xword i = 0; i < syms.get_symbols_num(); i++ ) { in TEST()
[all …]
/third_party/curl/tests/
Dtest1119.pl61 my @syms;
76 push @syms, $_;
87 push @syms, $1;
163 for my $e (sort @syms) {
232 printf "%d symbols in headers (out of which %d are ignored)\n", scalar(@syms),
235 scalar(@syms)- $ignored;
Dtest1167.pl69 my @syms;
113 push @syms, $_;
132 push @syms, $1;
148 for my $s (@syms) {
158 printf "%d fine symbols found\n", scalar(@syms);

1234567