Home
last modified time | relevance | path

Searched refs:parse (Results 1 – 25 of 899) sorted by relevance

12345678910>>...36

/openbsd-src/gnu/usr.bin/binutils/gdb/mi/
H A Dmi-parse.c32 mi_parse_argv (char *args, struct mi_parse *parse) in mi_parse_argv() argument
48 parse->argv = argv; in mi_parse_argv()
49 parse->argc = argc; in mi_parse_argv()
133 mi_parse_free (struct mi_parse *parse) in mi_parse_free() argument
135 if (parse == NULL) in mi_parse_free()
137 if (parse->command != NULL) in mi_parse_free()
138 xfree (parse->command); in mi_parse_free()
139 if (parse->token != NULL) in mi_parse_free()
140 xfree (parse->token); in mi_parse_free()
141 if (parse->args != NULL) in mi_parse_free()
[all …]
/openbsd-src/gnu/llvm/llvm/utils/lit/tests/unit/
H A DShUtil.py42 def parse(self, str): member in TestShParse
43 return ShParser(str).parse()
46 self.assertEqual(self.parse('echo hello'),
48 self.assertEqual(self.parse('echo ""'),
50 self.assertEqual(self.parse("""echo -DFOO='a'"""),
52 self.assertEqual(self.parse('echo -DFOO="a"'),
56 self.assertEqual(self.parse('echo hello > c'),
59 self.assertEqual(self.parse('echo hello > c >> d'),
62 self.assertEqual(self.parse('a 2>&1'),
66 self.assertEqual(self.parse('a | b'),
[all …]
/openbsd-src/usr.sbin/unbound/testcode/
H A Dtestpkts.c112 char* parse = line; in matchline() local
113 while(*parse) { in matchline()
114 if(isendline(*parse)) in matchline()
116 if(str_keyword(&parse, "opcode")) { in matchline()
118 } else if(str_keyword(&parse, "qtype")) { in matchline()
120 } else if(str_keyword(&parse, "qname")) { in matchline()
122 } else if(str_keyword(&parse, "rcode")) { in matchline()
124 } else if(str_keyword(&parse, "question")) { in matchline()
126 } else if(str_keyword(&parse, "answer")) { in matchline()
128 } else if(str_keyword(&parse, "subdomain")) { in matchline()
[all …]
H A Dtestbound.c165 char* parse; in spool_temp_file_name()
182 parse = line; in spool_temp_file() local
184 while(isspace((unsigned char)*parse)) in spool_temp_file()
185 parse++; in spool_temp_file()
186 if(strncmp(parse, "$INCLUDE_TEMPFILE", 17) == 0) { in spool_temp_file()
189 char* tid = parse+17; in spool_temp_file()
196 if(strncmp(parse, "TEMPFILE_END", 12) == 0) { in spool_temp_file()
210 char* parse; in spool_temp_file()
229 parse = line; in spool_auto_file()
231 while(isspace((unsigned char)*parse)) in spool_auto_file()
227 char* parse; spool_auto_file() local
265 char* parse; setup_config() local
[all...]
H A Dreplay.c141 char *parse; in replay_range_read() local
156 parse = line; in replay_range_read()
157 while(isspace((unsigned char)*parse)) in replay_range_read()
158 parse++; in replay_range_read()
159 if(!*parse || *parse == ';') { in replay_range_read()
163 if(parse_keyword(&parse, "ADDRESS")) { in replay_range_read()
164 while(isspace((unsigned char)*parse)) in replay_range_read()
165 parse++; in replay_range_read()
166 strip_end_white(parse); in replay_range_read()
167 if(!extstrtoaddr(parse, &rng->addr, &rng->addrlen, in replay_range_read()
[all …]
/openbsd-src/lib/libc/regex/
H A Dregcomp.c55 struct parse { struct
69 static void p_ere(struct parse *, int); argument
70 static void p_ere_exp(struct parse *);
71 static void p_str(struct parse *);
72 static void p_bre(struct parse *, int, int);
73 static int p_simp_re(struct parse *, int);
74 static int p_count(struct parse *);
75 static void p_bracket(struct parse *);
76 static void p_b_term(struct parse *, cset *);
77 static void p_b_cclass(struct parse *, cset *);
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Time-Piece/t/
H A D99legacy.t9 # The parse() legacy method is deprecated and will not be maintained.
12 # parse() has been deleted from Time::Piece.
18 my $t1 = Time::Piece->parse($timestring);
19 isnt( $t1->datetime, $timestring, 'LEGACY: parse string months fail' );
20 my $t2 = $t1->parse( 0, 0, 6, 1, 0, 100 );
21 is( $t2->datetime, $timestring, 'LEGACY: parse array' );
22 eval { $t2 = Time::Piece->parse(); };
23 is( $t2->datetime, $timestring, 'LEGACY: parse with no args dies' );
24 eval { $t2 = Time::Piece::parse( 0, 0, 12, 1, 0, 100 ); };
25 is( $t2->datetime, $timestring, 'LEGACY: parse as non-method dies' );
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A Dregcomp.c192 struct parse { struct
206 static void p_ere(struct parse *, int); argument
207 static void p_ere_exp(struct parse *);
208 static void p_str(struct parse *);
209 static void p_bre(struct parse *, int, int);
210 static int p_simp_re(struct parse *, int);
211 static int p_count(struct parse *);
212 static void p_bracket(struct parse *);
213 static void p_b_term(struct parse *, cset *);
214 static void p_b_cclass(struct parse *, cset *);
[all …]
/openbsd-src/regress/lib/libfuse/
H A DMakefile8 REGRESS_TARGETS+= run-fuse-opt-parse
9 REGRESS_TARGETS+= run-fuse-parse-cmdline
21 CLEANFILES+=fuse-opt-parse
22 CLEANFILES+=fuse-parse-cmdline
38 run-fuse-opt-parse: fuse-opt-parse
39 ./fuse-opt-parse
40 run-fuse-parse-cmdline: fuse-parse-cmdline
41 ./fuse-parse-cmdline
/openbsd-src/usr.bin/lex/
H A DMakefile17 nfa.c options.c parse.y regex.c scan.l scanflags.c \
21 CLEANFILES+=skel.c parse.c parse.h
31 parse.h parse.c: parse.y
32 yacc -d -o parse.c ${.CURDIR}/parse.y
/openbsd-src/sbin/unwind/libunbound/libunbound/
H A Dlibunbound.c619 /* parse the message, extract rcode, fill result */ in process_answer_detail()
1148 char* parse, *addr; in ub_ctx_resolvconf()
1198 parse=buf; in ub_ctx_resolvconf()
1199 while(*parse == ' ' || *parse == '\t') in ub_ctx_resolvconf()
1200 parse++; in ub_ctx_resolvconf()
1201 if(strncmp(parse, "nameserver", 10) == 0) { in ub_ctx_resolvconf()
1203 parse += 10; /* skip 'nameserver' */ in ub_ctx_resolvconf()
1205 while(*parse == ' ' || *parse in ub_ctx_resolvconf()
1139 char* parse, *addr; ub_ctx_resolvconf() local
1224 char* parse, *addr, *name, *ins; ub_ctx_hosts() local
[all...]
/openbsd-src/usr.sbin/unbound/libunbound/
H A Dlibunbound.c619 /* parse the message, extract rcode, fill result */ in process_answer_detail()
1148 char* parse, *addr; in ub_ctx_resolvconf()
1198 parse=buf; in ub_ctx_resolvconf()
1199 while(*parse == ' ' || *parse == '\t') in ub_ctx_resolvconf()
1200 parse++; in ub_ctx_resolvconf()
1201 if(strncmp(parse, "nameserver", 10) == 0) { in ub_ctx_resolvconf()
1203 parse += 10; /* skip 'nameserver' */ in ub_ctx_resolvconf()
1205 while(*parse == ' ' || *parse in ub_ctx_resolvconf()
1139 char* parse, *addr; ub_ctx_resolvconf() local
1224 char* parse, *addr, *name, *ins; ub_ctx_hosts() local
[all...]
/openbsd-src/gnu/usr.bin/gcc/gcc/objc/
H A DMake-lang.in51 OBJC_OBJS = objc-lang.o objc-parse.o objc-act.o $(C_AND_OBJC_OBJS)
65 objc-parse.o : objc/objc-parse.c \
71 -c objc/objc-parse.c $(OUTPUT_OPTION)
73 po-generated: objc/objc-parse.c
74 objc/objc-parse.c : objc/objc-parse.y
76 if $(BISON) $(BISONFLAGS) -o op$$$$.c objc-parse.y ; then \
77 test -f op$$$$.output && mv -f op$$$$.output objc-parse.output ; \
78 mv -f op$$$$.c objc-parse.c ; \
84 objc/objc-parse.y: $(srcdir)/c-parse.in
88 $(srcdir)/c-parse.in >>tmp-objc-prs.y
[all …]
/openbsd-src/gnu/usr.bin/binutils-2.17/gas/
H A DMakefile.am36 IT_HDRS=itbl-parse.h $(srcdir)/itbl-ops.h
37 IT_SRCS=itbl-parse.c itbl-lex.c $(srcdir)/itbl-ops.c
38 IT_DEPS=$(srcdir)/itbl-parse.y $(srcdir)/itbl-lex.l $(srcdir)/config/itbl-@target_cpu_type@.h
39 IT_OBJS=itbl-parse.o itbl-lex.o itbl-ops.o
450 EXTRA_DIST = m68k-parse.c itbl-parse.c itbl-parse.h itbl-lex.c \
451 bfin-parse.c bfin-parse.h bfin-lex.c
583 EXTRA_as_new_SOURCES = config/m68k-parse.y config/bfin-parse.y
595 m68k-parse.c: $(srcdir)/config/m68k-parse.y
596 f=$(srcdir)/config/m68k-parse.y; \
598 ln -s config/m68k-parse.y . > /dev/null 2>/dev/null || \
[all …]
/openbsd-src/regress/sbin/pfctl/
H A Dpfail16.ok2 stdin:2: could not parse host specification
4 stdin:3: could not parse host specification
6 stdin:4: could not parse host specification
8 stdin:5: could not parse host specification
10 stdin:6: could not parse host specification
/openbsd-src/gnu/usr.bin/perl/cpan/version/lib/
H A Dversion.pod10 $ver = version->parse($string)
21 use version; our $VERSION = version->parse("1.0203"); # formal
22 use version; our $VERSION = version->parse("1.02_03"); # alpha
26 if ( version->parse($v1) == version->parse($v2) ) {
32 @ordered = sort { version->parse($a) <=> version->parse($b) } @list;
40 'parse' and 'declare' methods to standardize usage. You are strongly urged to
92 $ perl -Mversion -e 'print version->parse("1.02")->normal'
129 use C<parse()> instead of declare. See the L<PARSING AND COMPARING VERSIONS>
140 use version.pm to parse them all into objects for comparison.
142 =head2 How to C<parse()> a version
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/IPC-SysV/
H A Dregen.pl61 my $parse = 0;
65 if ($parse) {
66 if (/^\)/) { $parse++; last }
69 /^\@EXPORT_OK\s*=/ and $parse++;
74 die "couldn't parse $source" if $parse != 2;
/openbsd-src/usr.bin/newsyslog/
H A Dnewsyslog.c475 char line[BUFSIZ], *parse, *q, *errline, *group, *tmp, *ep; in parse_file()
503 q = parse = missing_field(sob(line), errline, lineno); in parse_file()
504 *(parse = son(line)) = '\0'; in parse_file()
512 q = parse = missing_field(sob(++parse), errline, lineno); in parse_file()
513 *(parse = son(parse)) = '\0'; in parse_file()
540 q = parse = missing_field(sob(++parse), errline, lineno); in parse_file()
541 *(parse in parse_file()
473 char line[BUFSIZ], *parse, *q, *errline, *group, *tmp, *ep; parse_file() local
[all...]
/openbsd-src/gnu/usr.bin/gcc/gcc/java/
H A DChangeLog16 * parse.y (do_resolve_class): Check return value from
59 * parse.y (finish_for_loop): Do nothing if update expression is a
71 * parse.y (string_convert_int_cst): Always use at least one digit
133 * parse.y (resolve_field_access): Initialize class if field is
170 * parse.y (do_resolve_class): Updated comment to explain
189 * parse.y (java_expand_classes): Scan the whole class list looking
198 * jcf-parse.c: Likewise.
206 * jcf-parse.c (read_class): Update identifier's class value if it
211 * parse.y (patch_assignment): Only transform the rhs of an
221 * parse.y (java_check_regular_methods): Check for construct after
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D991229-1.c1 static int parse (int, int);
7 state = parse(8 , 0x1 ); in ejEval()
9 static int parse(int state, int flags) in parse() function
22 parse (2, flags); in parseStmt()
/openbsd-src/gnu/lib/libiberty/src/testsuite/
H A Dtest-expandargv.c158 char * parse; in writeout_test() local
168 parse = malloc (sizeof (char) * (len + 1)); in writeout_test()
169 if (parse == NULL) in writeout_test()
172 memcpy (parse, test_data, sizeof (char) * (len + 1)); in writeout_test()
174 run_replaces (parse); in writeout_test()
176 fwrite (parse, len, sizeof (char), fd); in writeout_test()
177 free (parse); in writeout_test()
/openbsd-src/gnu/usr.bin/binutils/gas/
H A DMakefile.am35 IT_HDRS=itbl-parse.h $(srcdir)/itbl-ops.h
36 IT_SRCS=itbl-parse.c itbl-lex.c $(srcdir)/itbl-ops.c
37 IT_DEPS=$(srcdir)/itbl-parse.y $(srcdir)/itbl-lex.l $(srcdir)/config/itbl-@target_cpu_type@.h
38 IT_OBJS=itbl-parse.o itbl-lex.o itbl-ops.o
475 EXTRA_DIST = make-gas.com m68k-parse.c itbl-parse.c itbl-parse.h itbl-lex.c
620 EXTRA_as_new_SOURCES = config/m68k-parse.y
632 m68k-parse.c: $(srcdir)/config/m68k-parse.y
633 f=$(srcdir)/config/m68k-parse.y; \
635 ln -s config/m68k-parse.y . > /dev/null 2>/dev/null || \
636 ln config/m68k-parse.y . > /dev/null 2>/dev/null || \
[all …]
/openbsd-src/gnu/gcc/gcc/treelang/
H A DMake-lang.in56 TREE_GENERATED = lex.c parse.c parse.h parse.output
64 treelang/parse.o-warn = -Wno-error
82 treelang/lex.o treelang/parse.o \
86 treelang/lex.o treelang/parse.o \
110 treelang/treetree.h treelang/parse.h $(TARGET_H)
118 treelang/parse.o: treelang/parse.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
124 treelang/parse.h toplev.h
130 treelang.srcextra: treelang/parse.c treelang/parse.h treelang/lex.c
136 treelang/parse.c treelang/parse.h treelang/parse.output: treelang/parse.y
137 -$(BISON) $(BISONFLAGS) -v --defines --output=treelang/parse.c $<
/openbsd-src/gnu/usr.bin/gcc/gcc/cp/
H A DMake-lang.in66 po-generated: cp/parse.c
86 cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parse.o cp/ptree.o cp/rtti.o \
104 cp/parse.h: cp/parse.c
105 cp/parse.c: cp/parse.y
108 if $(BISON) $(BISONFLAGS) -d -o p$$$$.c $(srcdir)/cp/parse.y; then \
110 test -f p$$$$.output && mv -f p$$$$.output parse.output ; \
111 mv -f p$$$$.c parse.c ; mv -f p$$$$.h parse.h ; \
118 gt-cp-parse.h gt-cp-pt.h gt-cp-repo.h gt-cp-spew.h : s-gtype; @true
207 -rm -f cp/parse.output
210 -rm -f cp/parse.c cp/parse.h
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/ObjectFile/Breakpad/
H A DBreakpadRecords.h62 static std::optional<ModuleRecord> parse(llvm::StringRef Line);
78 static std::optional<InfoRecord> parse(llvm::StringRef Line);
91 static std::optional<FileRecord> parse(llvm::StringRef Line);
106 static std::optional<InlineOriginRecord> parse(llvm::StringRef Line);
123 static std::optional<FuncRecord> parse(llvm::StringRef Line);
141 static std::optional<InlineRecord> parse(llvm::StringRef Line);
161 static std::optional<LineRecord> parse(llvm::StringRef Line);
178 static std::optional<PublicRecord> parse(llvm::StringRef Line);
195 static std::optional<StackCFIRecord> parse(llvm::StringRef Line);
211 static std::optional<StackWinRecord> parse(llvm::StringRef Line);

12345678910>>...36