Searched refs:av (Results 1 - 25 of 181) sorted by relevance

12345678

/openbsd-current/gnu/usr.bin/perl/
H A Dav.h0 /* av.h
56 =for apidoc Am|SSize_t|AvFILL|AV* av
59 =for apidoc Cm|SSize_t|AvFILLp|AV* av
61 If the array C<av> is empty, this returns -1; otherwise it returns the maximum
63 C<av>. It does not handle magic, hence the C<p> private indication in its name.
65 =for apidoc Am|SV**|AvARRAY|AV* av
78 #define AvARRAY(av) ((av)->sv_u.svu_array)
79 #define AvALLOC(av) ((XPVAV*) SvANY(av))
[all...]
H A Dav.c0 /* av.c
23 Perl_av_reify(pTHX_ AV *av) argument
28 assert(SvTYPE(av) == SVt_PVAV);
30 if (AvREAL(av))
33 if (SvTIED_mg((const SV *)av, PERL_MAGIC_tied))
36 key = AvMAX(av) + 1;
37 while (key > AvFILLp(av) + 1)
38 AvARRAY(av)[--key] = NULL;
40 SV * const sv = AvARRAY(av)[--key];
44 key = AvARRAY(av)
66 Perl_av_extend(pTHX_ AV *av, SSize_t key) argument
96 Perl_av_extend_guts(pTHX_ AV *av, SSize_t key, SSize_t *maxp, SV ***allocp, SV ***arrayp) argument
243 S_adjust_index(pTHX_ AV *av, const MAGIC *mg, SSize_t *keyp) argument
269 Perl_av_fetch(pTHX_ AV *av, SSize_t key, I32 lval) argument
340 Perl_av_store(pTHX_ AV *av, SSize_t key, SV *val) argument
468 AV * const av = newAV(); local
634 Perl_av_clear(pTHX_ AV *av) argument
712 Perl_av_undef(pTHX_ AV *av) argument
785 Perl_av_push(pTHX_ AV *av, SV *val) argument
816 Perl_av_pop(pTHX_ AV *av) argument
875 Perl_av_unshift(pTHX_ AV *av, SSize_t num) argument
939 Perl_av_shift(pTHX_ AV *av) argument
995 Perl_av_len(pTHX_ AV *av) argument
1017 Perl_av_fill(pTHX_ AV *av, SSize_t fill) argument
1070 Perl_av_delete(pTHX_ AV *av, SSize_t key, I32 flags) argument
1147 Perl_av_exists(pTHX_ AV *av, SSize_t key) argument
1204 S_get_aux_mg(pTHX_ AV *av) argument
1223 Perl_av_arylen_p(pTHX_ AV *av) argument
1233 Perl_av_iter_p(pTHX_ AV *av) argument
1253 Perl_av_nonelem(pTHX_ AV *av, SSize_t ix) argument
[all...]
/openbsd-current/regress/usr.bin/ssh/unittests/misc/
H A Dtest_argv.c24 char **av = NULL; local
29 argv_free(av, ac); \
30 av = NULL; \
35 ASSERT_INT_EQ(argv_split("", &ac, &av, 0), 0);
37 ASSERT_PTR_NE(av, NULL);
38 ASSERT_PTR_EQ(av[0], NULL);
40 ASSERT_INT_EQ(argv_split(" ", &ac, &av, 0), 0);
42 ASSERT_PTR_NE(av, NULL);
43 ASSERT_PTR_EQ(av[0], NULL);
48 ASSERT_INT_EQ(argv_split("leamas", &ac, &av,
[all...]
/openbsd-current/usr.sbin/ldpd/
H A Daccept.c54 struct accept_ev *av; local
56 if ((av = calloc(1, sizeof(*av))) == NULL)
58 av->fd = fd;
59 av->accept_cb = cb;
60 av->arg = arg;
61 LIST_INSERT_HEAD(&accept_queue.queue, av, entry);
63 event_set(&av->ev, av->fd, EV_READ, accept_cb, av);
74 struct accept_ev *av; local
109 struct accept_ev *av; local
117 struct accept_ev *av; local
125 struct accept_ev *av = arg; local
[all...]
/openbsd-current/usr.sbin/npppd/npppd/
H A Daccept.c56 struct accept_ev *av; local
58 if ((av = calloc(1, sizeof(*av))) == NULL)
60 av->fd = fd;
61 av->accept_cb = cb;
62 av->arg = arg;
63 LIST_INSERT_HEAD(&accept_queue.queue, av, entry);
65 event_set(&av->ev, av->fd, EV_READ, accept_cb, av);
76 struct accept_ev *av; local
111 struct accept_ev *av; local
119 struct accept_ev *av; local
127 struct accept_ev *av = arg; local
[all...]
/openbsd-current/gnu/usr.bin/perl/ext/XS-APItest/t/
H A Dcustomop.t11 my $av = xop_build_optree;
13 is $av->[2], "NAME:custom", "unregistered XOPs have default name";
14 is $av->[3], "DESC:unknown custom operator",
16 is $av->[4], "CLASS:0", "unregistered XOPs are BASEOPs";
17 is scalar @$av, 5, "unregistered XOPs don't call peep";
21 $av = xop_build_optree;
23 is $av->[2], "NAME:foo", "PL_custom_op_names honoured";
24 is $av->[3], "DESC:unknown custom operator",
26 is $av->[4], "CLASS:0", "class fallback still works";
36 $av
[all...]
/openbsd-current/gnu/gcc/gcc/config/i386/
H A Dcygwin2.c39 char **av; local
41 for (av = cvt_to_mingw; *av; av++)
44 while ((p = strstr (*av, "-cygwin")))
55 if (!sawcygwin && !strstr (*av, "mingw"))
56 strcat (*av, CYGWIN_MINGW_SUBDIR);
/openbsd-current/games/trek/
H A Dmain.c132 char **av; local
137 av = argv;
139 av++;
143 while (ac > 1 && av[0][0] == '-')
145 switch (av[0][1])
152 printf("Invalid option: %s\n", av[0]);
156 av++;
/openbsd-current/usr.bin/make/
H A Dcmd_exec.c59 recheck_command_for_shell(char **av) argument
69 if (strcmp(av[0], "exec") == 0)
70 av++;
72 if (!av[0])
76 if (strcmp(av[0], *p) == 0)
79 return av;
105 char **av; local
110 av = brk_string(cmd, &argc, &bp);
111 av = recheck_command_for_shell(av);
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.mike/
H A Dpt1.C4 A (T at, V av);
12 A<T, V>::A (T at, V av) { argument
14 v = av;
21 B (T at, V av);
26 B<T, V>::B (T at, V av) : A<T, V> (at, av) { } // gets bogus error - argument
/openbsd-current/bin/csh/
H A Dmisc.c66 blkpr(FILE *fp, Char **av) argument
69 for (; *av; av++) {
70 (void) fprintf(fp, "%s", vis_str(*av));
71 if (av[1])
77 blklen(Char **av) argument
81 while (*av++)
89 Char **av = oav; local
91 while ((*av++ = *bv++) != NULL)
107 Char **av local
[all...]
H A Dexec.c102 Char *dp, **pv, **av, *sav; local
145 av = &t->t_dcom[1];
146 tglob(av);
148 av = globall(av);
149 if (av == 0) {
157 av = saveblk(av);
160 t->t_dcom = blkspl(pv, av);
162 free(av);
[all...]
/openbsd-current/usr.bin/tmux/
H A Dcmd-respawn-window.c57 struct args_value *av; local
67 av = args_first_value(args, 'e');
68 while (av != NULL) {
69 environ_put(sc.environ, av->string, 0);
70 av = args_next_value(av);
H A Dcmd-respawn-pane.c57 struct args_value *av; local
68 av = args_first_value(args, 'e');
69 while (av != NULL) {
70 environ_put(sc.environ, av->string, 0);
71 av = args_next_value(av);
/openbsd-current/regress/lib/libfuse/
H A Dfuse-opt-insert-arg.c30 main(int ac, char **av) argument
32 struct fuse_args args = FUSE_ARGS_INIT(ac, av);
H A Dfuse-opt-add-arg.c33 main(int ac, char **av) argument
35 struct fuse_args args = FUSE_ARGS_INIT(ac, av);
H A Dfuse-opt-add-opt-escaped.c22 main(int ac, char **av) argument
H A Dfuse-opt-add-opt.c22 main(int ac, char **av) argument
/openbsd-current/lib/libfuse/
H A Dfuse_opt.h47 #define FUSE_ARGS_INIT(ac, av) { ac, av, 0 }
/openbsd-current/libexec/fingerd/
H A Dfingerd.c68 char **ap, *av[ENTRIES + 1], line[8192], *lp, *hname; local
92 av[ac++] = "-s";
97 av[ac++] = "-m";
101 av[ac++] = "-M";
105 av[ac++] = "-p";
154 av[ac++] = "--";
155 comp = &av[1];
156 for (lp = line, ap = &av[ac]; ac < ENTRIES;) {
176 av[1] = "-l";
177 comp = &av[
[all...]
/openbsd-current/games/fortune/unstr/
H A Dunstr.c69 main(int ac, char *av[]) argument
76 getargs(av);
101 getargs(char *av[]) argument
103 if (!*++av) {
107 Infile = *av;
/openbsd-current/lib/libedit/TEST/
H A Dtc1.c168 const char **av; local
189 ncontinuation = tok_line(tok, li, &ac, &av, &cc, &co);
225 (void) fprintf(stderr, "`%s'\n", av[i]);
228 co, av[i], av[i] + co);
232 if (strcmp(av[0], "history") == 0) {
244 if (strcmp(av[1], "clear") == 0)
251 if (strcmp(av[1], "load") == 0)
252 history(hist, &ev, H_LOAD, av[2]);
253 else if (strcmp(av[
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D20000329-1.c36 main (int ac, char *av[]) argument
/openbsd-current/games/robots/
H A Dmain.c51 main(int ac, char *av[]) argument
77 while ((ch = getopt(ac, av, "srajt")) != -1)
100 av += optind;
105 if (strlcpy(Scorefile, av[0], sizeof(Scorefile)) >=
107 errc(1, ENAMETOOLONG, "%s", av[0]);
/openbsd-current/gnu/usr.bin/gcc/gcc/
H A Dgenattrtab.c927 struct attr_value *av;
980 for (av = attr->first_value; av; av = av->next)
981 if (GET_CODE (av->value) == CONST_STRING
982 && ! strcmp (XSTR (exp, 1), XSTR (av->value, 0)))
985 if (av == NULL)
1075 struct attr_value *av;
1122 for (av
924 struct attr_value *av; local
1071 struct attr_value *av; local
1536 struct attr_value *av; local
2323 struct attr_value *av; local
2448 struct attr_value *av, *new_av; local
2521 struct attr_value *av; local
3237 struct attr_value *av; local
3507 struct attr_value *av; local
3513 struct attr_value *av; member in struct:attr_value_list
3882 struct attr_value *av; local
4219 struct attr_value *av; local
4972 struct attr_value *av, *common_av; local
5510 struct attr_value *av, *common_av; local
5701 struct attr_value *av, *common_av; local
5879 struct attr_value *av; local
5900 struct attr_value *av; local
5999 struct attr_value *av; local
[all...]

Completed in 327 milliseconds

12345678