Searched refs:parser (Results 1 - 25 of 82) sorted by relevance

1234

/src/tools/m4/bootstrap/
H A DMakefile3 FILES=parser.h parser.c tokenizer.c
11 parser.c parser.h: ${DIST}/parser.y
12 ${YACC} -d ${DIST}/parser.y
13 sed -e 's/\$$''NetBSD:\([^$$]*\)\ \$$/NetBSD:\1/' < y.tab.c > parser.c
15 mv y.tab.h parser.h
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsancov_flags.cc34 static void RegisterSancovFlags(FlagParser *parser, SancovFlags *f) { argument
36 RegisterFlag(parser, #Name, Description, &f->Name);
49 FlagParser parser; local in function:__sancov::InitializeSancovFlags
50 RegisterSancovFlags(&parser, f);
52 parser.ParseString(MaybeCallSancovDefaultOptions());
53 parser.ParseString(GetEnv("SANCOV_OPTIONS"));
56 if (f->help) parser.PrintFlagDescriptions();
H A Dsanitizer_flags.cc81 explicit FlagHandlerInclude(FlagParser *parser, bool ignore_missing) argument
82 : parser_(parser), ignore_missing_(ignore_missing) {}
95 void RegisterIncludeFlags(FlagParser *parser, CommonFlags *cf) { argument
97 FlagHandlerInclude(parser, /*ignore_missing*/ false);
98 parser->RegisterHandler("include", fh_include,
101 FlagHandlerInclude(parser, /*ignore_missing*/ true);
102 parser->RegisterHandler(
107 void RegisterCommonFlags(FlagParser *parser, CommonFlags *cf) { argument
109 RegisterFlag(parser, #Name, Description, &cf->Name);
113 RegisterIncludeFlags(parser, c
[all...]
H A Dsanitizer_flags.h58 void RegisterCommonFlags(FlagParser *parser,
60 void RegisterIncludeFlags(FlagParser *parser, CommonFlags *cf);
/src/tools/m4/
H A DMakefile13 parser.c: ${.CURDIR}/bootstrap/parser.c
15 parser.h: ${.CURDIR}/bootstrap/parser.h
/src/sys/external/bsd/compiler_rt/dist/lib/ubsan/
H A Dubsan_flags.cc46 void RegisterUbsanFlags(FlagParser *parser, Flags *f) { argument
48 RegisterFlag(parser, #Name, Description, &f->Name);
66 FlagParser parser; local in function:__ubsan::InitializeFlags
67 RegisterCommonFlags(&parser);
68 RegisterUbsanFlags(&parser, f);
71 parser.ParseString(MaybeCallUbsanDefaultOptions());
73 parser.ParseString(GetFlag("UBSAN_OPTIONS"));
77 if (common_flags()->help) parser.PrintFlagDescriptions();
H A Dubsan_flags.h36 void RegisterUbsanFlags(FlagParser *parser, Flags *f);
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
H A Dsanitizer_flags_test.cc31 FlagParser parser; local in function:__sanitizer::TestFlag
32 RegisterFlag(&parser, kFlagName, kFlagDesc, &flag);
34 parser.ParseString(env);
44 FlagParser parser; local in function:__sanitizer::TestFlag
45 RegisterFlag(&parser, kFlagName, kFlagDesc, &flag);
47 parser.ParseString(env);
127 FlagParser parser; local in function:__sanitizer::TestTwoFlags
128 RegisterFlag(&parser, name1, kFlagDesc, &flag1);
129 RegisterFlag(&parser, name2, kFlagDesc, &flag2);
131 parser
161 FlagParser parser; local in function:__sanitizer::TEST
[all...]
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
H A Dtsan_flags.cc42 void RegisterTsanFlags(FlagParser *parser, Flags *f) { argument
44 RegisterFlag(parser, #Name, Description, &f->Name);
48 RegisterFlag(parser, "second_deadlock_stack",
75 FlagParser parser; local in function:__tsan::InitializeFlags
76 RegisterTsanFlags(&parser, f);
77 RegisterCommonFlags(&parser);
89 parser.ParseString(__tsan_default_options());
95 parser.ParseString(env);
111 if (common_flags()->help) parser.PrintFlagDescriptions();
/src/sbin/ifconfig/
H A Dparse.h14 struct parser;
19 typedef int (*parser_match_t)(const struct parser *, const struct match *,
21 typedef int (*parser_init_t)(struct parser *);
25 const struct parser *m_nextparser;
26 const struct parser *m_parser;
37 struct parser { struct
41 struct parser *p_nextparser;
47 struct parser *b_nextparser;
51 struct parser pb_parser;
59 struct parser pt_parse
[all...]
H A Dextern.h70 struct parser *b_parser;
79 void cmdloop_branch_init(cmdloop_branch_t *, struct parser *);
H A Dparse.c58 static int parser_default_init(struct parser *);
59 static int pbranch_init(struct parser *);
60 static int pkw_init(struct parser *);
62 static int pterm_match(const struct parser *, const struct match *,
65 static int paddr_match(const struct parser *, const struct match *,
68 static int pbranch_match(const struct parser *, const struct match *,
71 static int piface_match(const struct parser *, const struct match *,
74 static int pstr_match(const struct parser *, const struct match *,
77 static int pinteger_match(const struct parser *, const struct match *,
80 static int pkw_match(const struct parser *, cons
[all...]
/src/sys/external/bsd/drm/dist/shared-core/
H A Dradeon_cs.c136 struct drm_radeon_cs_parser parser; local in function:radeon_cs_ioctl
170 parser.dev = dev;
171 parser.file_priv = fpriv;
172 parser.reloc_index = -1;
173 parser.ib_index = -1;
174 parser.num_chunks = cs->num_chunks;
176 parser.chunks = drm_calloc(parser.num_chunks, sizeof(struct drm_radeon_kernel_chunk), DRM_MEM_DRIVER);
177 if (!parser.chunks) {
182 for (i = 0; i < parser
280 r600_nomm_relocate(struct drm_radeon_cs_parser * parser,uint32_t * reloc,uint64_t * offset) argument
313 r600_cs_packet0(struct drm_radeon_cs_parser * parser,uint32_t * offset_dw_p) argument
344 r600_cs_packet3(struct drm_radeon_cs_parser * parser,uint32_t * offset_dw_p) argument
721 r600_cs_parse(struct drm_radeon_cs_parser * parser) argument
781 r600_cs_id_emit(struct drm_radeon_cs_parser * parser,uint32_t * id) argument
805 r600_ib_get(struct drm_radeon_cs_parser * parser) argument
824 r600_ib_free(struct drm_radeon_cs_parser * parser,int error) argument
[all...]
/src/sys/external/bsd/drm2/dist/drm/radeon/
H A Dradeon_cs.c423 * cs_parser_fini() - clean parser states
424 * @parser: parser structure holding parsing context.
430 static void radeon_cs_parser_fini(struct radeon_cs_parser *parser, int error, bool backoff) argument
445 list_sort(NULL, &parser->validated, cmp_size_smaller_first);
447 ttm_eu_fence_buffer_objects(&parser->ticket,
448 &parser->validated,
449 &parser->ib.fence->base);
451 ttm_eu_backoff_reservation(&parser->ticket,
452 &parser
475 radeon_cs_ib_chunk(struct radeon_device * rdev,struct radeon_cs_parser * parser) argument
557 radeon_cs_ib_vm_chunk(struct radeon_device * rdev,struct radeon_cs_parser * parser) argument
619 radeon_cs_ib_fill(struct radeon_device * rdev,struct radeon_cs_parser * parser) argument
678 struct radeon_cs_parser parser; local in function:radeon_cs_ioctl
[all...]
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/scripts/
H A Dlitlint.py61 parser = optparse.OptionParser() variable
62 parser.add_option('--filter') # ignored
63 (options, filenames) = parser.parse_args()
H A Dgen_dynamic_list.py83 parser = argparse.ArgumentParser()
84 parser.add_argument('--version-list', action='store_true')
85 parser.add_argument('--extra', default=[], action='append')
86 parser.add_argument('libraries', default=[], nargs='+')
87 args = parser.parse_args()
/src/sys/external/bsd/compiler_rt/dist/lib/lsan/
H A Dlsan.cc55 FlagParser parser; local in function:InitializeFlags
56 RegisterLsanFlags(&parser, f);
57 RegisterCommonFlags(&parser);
61 parser.ParseString(lsan_default_options);
62 parser.ParseString(GetEnv("LSAN_OPTIONS"));
68 if (common_flags()->help) parser.PrintFlagDescriptions();
/src/sys/external/bsd/compiler_rt/dist/lib/asan/
H A Dasan_activation.cc34 void RegisterActivationFlags(FlagParser *parser, Flags *f, CommonFlags *cf) { argument
36 RegisterFlag(parser, #Name, "", &f->Name);
38 RegisterFlag(parser, #Name, "", &cf->Name);
43 RegisterIncludeFlags(parser, cf);
49 FlagParser parser; local in function:__asan::AsanDeactivatedFlags::OverrideFromActivationFlags
50 RegisterActivationFlags(&parser, &f, &cf);
64 parser.ParseString(env);
71 if (cf.help) parser.PrintFlagDescriptions();
/src/usr.bin/m4/
H A DMakefile11 SRCS= parser.y tokenizer.l eval.c expr.c look.c main.c misc.c gnum4.c trace.c
23 tokenizer.o: parser.h
25 CLEANFILES+=parser.c parser.h tokenizer.o
/src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/scripts/
H A Dunbalanced_allocs.py85 parser = argparse.ArgumentParser()
86 parser.add_argument('--skip', default=0, help='number of runs to ignore')
87 args = parser.parse_args()
/src/usr.sbin/altq/libaltq/
H A DMakefile8 SRCS= parser.c qop.c qop_blue.c qop_cbq.c qop_cdnr.c qop_conf.c \
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_cs.c684 * cs_parser_fini() - clean parser states
685 * @parser: parser structure holding parsing context.
691 static void amdgpu_cs_parser_fini(struct amdgpu_cs_parser *parser, int error, argument
697 ttm_eu_backoff_reservation(&parser->ticket,
698 &parser->validated);
700 for (i = 0; i < parser->num_post_deps; i++) {
701 drm_syncobj_put(parser->post_deps[i].syncobj);
702 kfree(parser->post_deps[i].chain);
704 kfree(parser
876 amdgpu_cs_ib_fill(struct amdgpu_device * adev,struct amdgpu_cs_parser * parser) argument
1294 struct amdgpu_cs_parser parser = {}; local in function:amdgpu_cs_ioctl
1676 amdgpu_cs_find_mapping(struct amdgpu_cs_parser * parser,uint64_t addr,struct amdgpu_bo ** bo,struct amdgpu_bo_va_mapping ** map) argument
[all...]
H A Damdgpu_uvd.c91 * amdgpu_uvd_cs_ctx - Command submission parser context
96 struct amdgpu_cs_parser *parser; member in struct:amdgpu_uvd_cs_ctx
479 lo = amdgpu_get_ib_value(ctx->parser, ctx->ib_idx, ctx->data0);
480 hi = amdgpu_get_ib_value(ctx->parser, ctx->ib_idx, ctx->data1);
489 * @ctx: UVD parser context
503 r = amdgpu_cs_find_mapping(ctx->parser, addr, &bo, &mapping);
509 if (!ctx->parser->adev->uvd.address_64_bit) {
511 cmd = amdgpu_get_ib_value(ctx->parser, ctx->ib_idx, ctx->idx) >> 1;
722 * @ctx: UVD parser context
732 struct amdgpu_device *adev = ctx->parser
991 amdgpu_uvd_ring_parse_cs(struct amdgpu_cs_parser * parser,uint32_t ib_idx) argument
[all...]
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/dd/
H A Ddd_rtl.cc84 FlagParser parser; local in function:__dsan::InitializeFlags
85 RegisterFlag(&parser, "second_deadlock_stack", "", &f->second_deadlock_stack);
86 RegisterCommonFlags(&parser);
87 parser.ParseString(GetEnv("DSAN_OPTIONS"));
/src/usr.bin/make/unit-tests/
H A Dcond-token-number.mk12 # accepted by the condition parser.
23 # accepted by the condition parser.
34 # accepted by the condition parser.
45 # accepted by the condition parser.

Completed in 20 milliseconds

1234