Searched refs:we (Results 1 - 25 of 242) sorted by relevance

12345678910

/freebsd-10-stable/tools/regression/lib/libc/gen/
H A Dtest-wordexp.c61 wordexp_t we; local
73 r = wordexp("hello world", &we, 0);
75 assert(we.we_wordc == 2);
76 assert(strcmp(we.we_wordv[0], "hello") == 0);
77 assert(strcmp(we.we_wordv[1], "world") == 0);
78 assert(we.we_wordv[2] == NULL);
79 wordfree(&we);
84 r = wordexp(longdata, &we, 0);
86 assert(we.we_wordc == 10000);
87 assert(we
[all...]
/freebsd-10-stable/lib/libc/tests/gen/
H A Dwordexp_test.c60 wordexp_t we; local
70 r = wordexp("hello world", &we, 0);
72 ATF_REQUIRE(we.we_wordc == 2);
73 ATF_REQUIRE(strcmp(we.we_wordv[0], "hello") == 0);
74 ATF_REQUIRE(strcmp(we.we_wordv[1], "world") == 0);
75 ATF_REQUIRE(we.we_wordv[2] == NULL);
76 wordfree(&we);
83 wordexp_t we; local
89 r = wordexp(longdata, &we, 0);
91 ATF_REQUIRE(we
99 wordexp_t we; local
118 wordexp_t we; local
134 wordexp_t we; local
153 wordexp_t we; local
179 wordexp_t we; local
189 wordexp_t we; local
214 wordexp_t we; local
249 wordexp_t we; local
277 wordexp_t we; local
301 wordexp_t we; local
324 wordexp_t we; local
[all...]
/freebsd-10-stable/lib/libc/gen/
H A Dwordexp.c52 * of words in `we'. See wordexp(3).
57 wordexp(const char * __restrict words, wordexp_t * __restrict we, int flags) argument
62 wordfree(we);
64 we->we_wordc = 0;
65 we->we_wordv = NULL;
66 we->we_strings = NULL;
67 we->we_nbytes = 0;
70 wordfree(we);
73 if ((error = we_askshell(words, we, flags)) != 0) {
74 wordfree(we);
123 we_askshell(const char *words, wordexp_t *we, int flags) argument
401 wordfree(wordexp_t *we) argument
[all...]
/freebsd-10-stable/contrib/ncurses/ncurses/tty/
H A DMKexpanded.sh36 # we simplify analysis and debugging.
64 /* these are names we'd like to see */
/freebsd-10-stable/usr.sbin/rwhod/
H A Drwhod.c108 * We communicate with each neighbor in a list constructed at the time we're
421 struct whoent *we; local
430 we = wd.wd_we;
432 we->we_idle = ntohl(we->we_idle);
433 we->we_utmp.out_time =
434 ntohl(we->we_utmp.out_time);
435 we++;
459 struct whoent *we, *wend; local
463 we
726 struct whoent *we; local
[all...]
/freebsd-10-stable/contrib/bmake/mk/
H A Dsys.debug.mk16 # Sometimes we want to turn on debugging in just one or two places
17 # if .CURDIR is matched by any entry in DEBUG_MAKE_SYS_DIRS we
19 # if an entry in DEBUG_MAKE_DIRS matches, we at the end of sys.mk
24 # we use indirection, to simplify the tests below, and incase
H A Dmeta.sys.mk25 # absoulte path to what we are reading.
38 # tell everyone we are not updating Makefile.depend*
43 # we should not get upset
51 # only be silent when we have a .meta file
58 # we use the pseudo machine "host" for the build host.
59 # this should be taken care of before we get here
72 # we prefer the python version of this - it is much faster
94 # we are not interested in make telling us a failure happened elsewhere
105 # Are we, after all, in meta mode?
112 # check if we go
[all...]
H A Ddpadd.mk19 # sometimes we play games with .CURDIR etc
37 # we get included just about everywhere so this is handy...
49 # DPLIBS helps us ensure we keep DPADD and LDADD in sync
96 # the DPADD paths will be to the obj tree so we need to subst anyway.
112 # Each lib is its own src_lib, we want to include it in SRC_LIBS
132 # we skip this for staged libs
135 # if SRC_libfoo is not set, then we assume that the srcdir corresponding
136 # to where we found the library is correct.
144 # If INCLUDES_libfoo is not set, then we'll use ${SRC_libfoo}/h if it exists,
151 # even for staged libs we sometime
[all...]
H A Dgendirdeps.mk75 # so we can compare below
87 # these are actually prefixes that we'll skip
96 # Below we will turn _{VAR} into ${VAR} which keeps this simple
108 # is the script that extracts what we want.
123 # we can afford to do this all the time.
154 # so we need to give it what it expects
163 # we are only interested in the dirs
164 # specifically those we read something from.
165 # we canonicalize them to keep things simple
166 # if we ar
[all...]
H A Dsys.mk30 # we expect a recent bmake
32 # some things we do only once
37 # we need HOST_TARGET etc below.
71 # some options we need to know early
89 # make sure we have a harmless value
93 # and do it early before we compute .PATH
123 # If we get to the end of the loop, a plain mkdir will issue an error.
145 # if .CURDIR is matched by any entry in DEBUG_MAKE_DIRS we
H A Ddirdeps.mk34 # This is what we do with DIRDEPS
53 # Also, for each fully qualified directory target, we will search
59 # Before each Makefile.depend file is read, we set
112 # # make sure we know what TARGET_SPEC is
113 # # as we may need it to find Makefile.depend*
124 # If ALL_MACHINES is defined, we build for all the
155 # do some setup we only need once
183 # make sure we get the behavior we expect
193 # this is what we starte
[all...]
H A Dlibs.mk20 # In meta mode, we can capture dependenices for _one_ of the progs.
21 # if makefile doesn't nominate one, we use the first.
64 # ensure that we don't clobber each other's dependencies
72 # nor can we safely run in parallel.
81 # tell libs.mk we might want to install things
H A Dprogs.mk20 # In meta mode, we can capture dependenices for _one_ of the progs.
21 # if makefile doesn't nominate one, we use the first.
63 # ensure that we don't clobber each other's dependencies
71 # nor can we safely run in parallel.
80 # tell progs.mk we might want to install things
H A Dcython.mk17 # this is what we build
23 # this is where we save generated src
27 # which may not be where we want to put ours (prefix)
51 # if we don't have cython we can use pre-generated srcs
H A Dsys.dependfile.mk19 # As per dirdeps.mk we only require:
34 # The order of preference: we will use the first one of these we find.
49 # If any already exist, we should follow suit.
51 # make sure we restore MACHINE
H A Dmeta.autodep.mk43 # unless we are building the entire directory or the default target.
59 # do not allow auto update if we ever built this dir without filemon
90 # we cannot get accurate dependencies from an update build
113 # sometimes we want .meta files generated to aid debugging/error detection
122 # if we have any non-libs in DPADD,
138 # if we don't have OBJS, then .depend isn't useful
143 # so we provide a means of suppressing them.
155 # we use ${.MAKE.META.CREATED} to trigger an update but
156 # we process using ${.MAKE.META.FILES}
158 # if necessary, we fak
[all...]
/freebsd-10-stable/contrib/bmake/unit-tests/
H A Dposix.exp1 Posix says we should execute the command as if run by system(3)
20 Now we expect an error...
H A Dsysv.mk13 # we expect nothing when FOO is empty
H A Dexport.mk8 # belive it or not, we expect this one to come out with $UT_FU unexpanded.
H A Dexport-all.mk13 # this will cause trouble (recursing if we let it)
/freebsd-10-stable/sys/gnu/dts/arm/
H A Domap2420-h4.dts42 gpmc,we-on-ns = <60>;
43 gpmc,we-off-ns = <120>;
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/privs/
H A Dtst.getf.ksh47 * We can potentially read parts of our cred, but we can't dereference
/freebsd-10-stable/contrib/llvm/lib/Support/Unix/
H A DTimeValue.inc39 // errors concern the timezone parameter which we're passing in as 0.
H A DSignals.inc60 // KillSigs - Signals that represent that we have a bug, and our prompt
105 // If the handlers are already registered, we're done.
113 // Restore all of the signal handlers to how they were before we showed up.
134 // Get the status so we can determine if it's a file or directory. If we
147 // else we can do.
155 // crashes when we return and the signal reissues. This also ensures that if
156 // we crash in our signal handler that the program will terminate immediately
220 // rather than inside of the signal handler. If we see the vector grow, we
[all...]
/freebsd-10-stable/usr.bin/rwho/
H A Drwho.c94 struct whoent *we; local
159 we = w->wd_we;
161 if (aflg == 0 && we->we_idle >= 60 * 60) {
162 we++;
167 mp->myutmp = we->we_utmp;
168 mp->myidle = we->we_idle;
171 we++;

Completed in 237 milliseconds

12345678910