Searched defs:when (Results 1 - 25 of 77) sorted by relevance

1234

/external/ltp/testcases/kernel/security/filecaps/
H A Dinh_capped.c39 void debug_print_caps(char *when) argument
42 tst_resm(TINFO, "%s", when);
/external/mockito/src/main/java/org/mockito/stubbing/
H A DStubber.java10 * Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
14 * doThrow(new RuntimeException()).when(mockedList).clear();
20 * Also useful when stubbing consecutive calls:
25 * .when(mock).someVoidMethod();
45 * Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style
50 * .when(mockedList).clear();
72 <T> T when(T mock); method in interface:Stubber
79 * .when(mock).someVoidMethod();
83 * @param toBeThrown to be thrown when the stubbed method is called
93 * .when(moc
[all...]
/external/mockito/src/main/java/org/mockito/internal/stubbing/
H A DStubberImpl.java28 public <T> T when(T mock) { method in class:StubberImpl
/external/ltp/testcases/kernel/syscalls/setregid/
H A Dsetregid04.c22 * Test setregid() when executed by root.
77 static void gid_verify(struct group *ru, struct group *eu, const char *when);
137 static void gid_verify(struct group *rg, struct group *eg, const char *when) argument
141 when, getgid(), getegid());
H A Dsetregid02.c23 * Test that setregid() fails and sets the proper errno values when a
76 static void gid_verify(struct group *ru, struct group *eu, char *when);
180 void gid_verify(struct group *rg, struct group *eg, char *when) argument
184 when, getgid(), getegid());
H A Dsetregid03.c22 * Test setregid() when executed by a non-root user.
84 static void gid_verify(struct group *ru, struct group *eu, char *when);
204 static void gid_verify(struct group *rg, struct group *eg, char *when) argument
208 when, getgid(), getegid());
/external/ltp/testcases/kernel/syscalls/setreuid/
H A Dsetreuid02.c22 * Test setreuid() when executed by root.
65 static void uid_verify(struct passwd *ru, struct passwd *eu, char *when);
134 static void uid_verify(struct passwd *ru, struct passwd *eu, char *when) argument
138 when, getuid(), geteuid());
H A Dsetreuid03.c23 * Test setreuid() when executed by an unpriviledged user.
182 static void uid_verify(struct passwd *ru, struct passwd *eu, char *when) argument
186 when, getuid(), geteuid());
H A Dsetreuid04.c133 static void uid_verify(struct passwd *ru, struct passwd *eu, char *when) argument
137 when, getuid(), geteuid());
H A Dsetreuid05.c189 static void uid_verify(struct passwd *ru, struct passwd *eu, char *when) argument
193 when, getuid(), geteuid());
/external/mockito/src/main/java/org/mockito/internal/
H A DMockitoCore.java70 public <T> OngoingStubbing<T> when(T methodCall) { method in class:MockitoCore
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowMessage.java17 private long when; field in class:ShadowMessage
115 return when;
118 public void setWhen(long when) { argument
119 this.when = when;
H A DShadowNotification.java23 public void __constructor__(int icon, CharSequence tickerText, long when) { argument
26 realNotification.when = when;
/external/dhcpcd-6.8.2/
H A Deloop.h57 struct timespec when; member in struct:eloop_timeout
/external/icu/icu4c/source/samples/date/
H A Ddate.c51 static void date(UDate when, const UChar *tz, UDateFormatStyle style, const char *format, UErrorCode *status);
80 UDate when; local
164 /* get the 'when' (or now) */
165 when = getWhen(millis, seconds, format, style, parse, tz, &status);
171 date(when, tz, style, format, &status);
244 date(UDate when, argument
259 printf("%.0f\n", when);
262 printf("%.3f\n", when/1000.0);
272 len = udat_format(fmt, when, 0, len, 0, status);
277 udat_format(fmt, when,
300 UDate when=0; local
[all...]
/external/ltp/testcases/kernel/syscalls/setresuid/
H A Dsetresuid01.c25 * Test setresuid() when executed by root.
120 uid_verify(struct passwd *ru, struct passwd *eu, struct passwd *su, char *when);
204 uid_verify(struct passwd *ru, struct passwd *eu, struct passwd *su, char *when) argument
213 "saved uid = %d", when, cur_ru, cur_eu, cur_su);
H A Dsetresuid02.c214 uid_verify(struct passwd *ru, struct passwd *eu, struct passwd *su, char *when) argument
224 "saved uid = %d", when, cur_ru, cur_eu, cur_su);
H A Dsetresuid03.c26 * values when a non-root user attempts to change the real, effective or
227 uid_verify(struct passwd *ru, struct passwd *eu, struct passwd *su, char *when) argument
237 "saved uid = %d", when, cur_ru, cur_eu, cur_su);
/external/owasp/sanitizer/empiricism/
H A Dhtml-containment.js268 function when(f, var_args) { function
/external/python/cpython2/Modules/
H A Dtermios.c63 with indices VMIN and VTIME, which are integers when these fields are\n\
135 "tcsetattr(fd, when, attributes) -> None\n\
139 is a list like the one returned by tcgetattr(). The when argument\n\
140 determines when the attributes are changed: termios.TCSANOW to\n\
148 int fd, when; local
155 fdconv, &fd, &when, &term))
201 if (tcsetattr(fd, when, &mode) == -1)
/external/guice/lib/build/
H A Djsr305.jar ... .Annotation { public abstract javax.annotation.meta.When when () } javax/annotation/Detainted.class Detainted.java package ...
/external/owasp/sanitizer/distrib/lib/
H A Djsr305.jar ... .Annotation { public abstract javax.annotation.meta.When when () } javax/annotation/Detainted.class Detainted.java package ...
/external/owasp/sanitizer/lib/jsr305/
H A Djsr305.jar ... .Annotation { public abstract javax.annotation.meta.When when () } javax/annotation/Detainted.class Detainted.java package ...
/external/owasp/sanitizer/tools/findbugs/lib/
H A Djsr305.jar ... .Annotation { public abstract javax.annotation.meta.When when () } javax/annotation/Detainted.class Detainted.java package ...
/external/vogar/lib/
H A Djsr305.jar ... .Annotation { public abstract javax.annotation.meta.When when () } javax/annotation/Nonnegative.class Nonnegative.java package ...

Completed in 549 milliseconds

1234