Home
last modified time | relevance | path

Searched refs:when (Results 1 – 25 of 3553) sorted by relevance

12345678910>>...143

/external/dagger2/producers/src/test/java/dagger/producers/monitoring/internal/
DMonitorsTest.java35 import static org.mockito.Mockito.when;
67 when(mockProductionComponentMonitorFactory.create(any(Object.class))).thenReturn(null); in singleMonitor_nullProductionComponentMonitor()
77 .when(mockProductionComponentMonitorFactory) in singleMonitor_throwingProductionComponentMonitorFactory()
87 when(mockProductionComponentMonitorFactory.create(any(Object.class))) in singleMonitor_nullProducerMonitor()
89 when(mockProductionComponentMonitor.producerMonitorFor(any(ProducerToken.class))) in singleMonitor_nullProducerMonitor()
101 when(mockProductionComponentMonitorFactory.create(any(Object.class))) in singleMonitor_throwingProductionComponentMonitor()
104 .when(mockProductionComponentMonitor) in singleMonitor_throwingProductionComponentMonitor()
159 doThrow(new RuntimeException("monkey")).when(mockProducerMonitor).methodStarting(); in singleMonitor_throwingProducerMonitorSuccess()
160 doThrow(new RuntimeException("monkey")).when(mockProducerMonitor).methodFinished(); in singleMonitor_throwingProducerMonitorSuccess()
161 doThrow(new RuntimeException("monkey")).when(mockProducerMonitor).succeeded(any(Object.class)); in singleMonitor_throwingProducerMonitorSuccess()
[all …]
/external/libunwind/include/
Dlibunwind-dynamic.h88 int32_t when; /* when does it take effect? */ member
178 #define _U_dyn_op_save_reg(op, qp, when, reg, dst) \ argument
179 (*(op) = _U_dyn_op (UNW_DYN_SAVE_REG, (qp), (when), (reg), (dst)))
181 #define _U_dyn_op_spill_fp_rel(op, qp, when, reg, offset) \ argument
182 (*(op) = _U_dyn_op (UNW_DYN_SPILL_FP_REL, (qp), (when), (reg), \
185 #define _U_dyn_op_spill_sp_rel(op, qp, when, reg, offset) \ argument
186 (*(op) = _U_dyn_op (UNW_DYN_SPILL_SP_REL, (qp), (when), (reg), \
189 #define _U_dyn_op_add(op, qp, when, reg, value) \ argument
190 (*(op) = _U_dyn_op (UNW_DYN_ADD, (qp), (when), (reg), (value)))
192 #define _U_dyn_op_pop_frames(op, qp, when, num_frames) \ argument
[all …]
/external/icu/icu4c/source/samples/date/
Ddate.c47 static void date(UDate when, const UChar *tz, UDateFormatStyle style, const char *format, UErrorCod…
76 UDate when; in main() local
161 when = getWhen(millis, seconds, format, style, parse, tz, &status); in main()
167 date(when, tz, style, format, &status); in main()
240 date(UDate when, in date() argument
255 printf("%.0f\n", when); in date()
258 printf("%.3f\n", when/1000.0); in date()
268 len = udat_format(fmt, when, 0, len, 0, status); in date()
273 udat_format(fmt, when, s, len + 1, 0, status); in date()
296 UDate when=0; in getWhen() local
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/guestbook/server/
Dguestbook.py82 when = messages.IntegerField(2) variable in Note
107 if request.when is not None:
108 when = datetime.datetime.utcfromtimestamp(request.when)
112 when = datetime.datetime.now()
113 note = Greeting(content=request.text, date=when)
122 when = datetime.datetime.utcfromtimestamp(
124 query.filter('date <=', when)
129 when = int(time.mktime(note_model.date.utctimetuple()))
131 when = None
132 note = Note(text=note_model.content, when=when)
/external/littlemock/tests/com/google/testing/littlemock/
DLittleMockTest.java411 doReturn("first").when(mFoo).get(0); in testDoReturnWhen_SimpleReturn()
416 doReturn("first").when(mFoo).get(0); in testDoReturnWhen_LastStubCallWins()
417 doReturn("second").when(mFoo).get(0); in testDoReturnWhen_LastStubCallWins()
422 doReturn("one").when(mFoo).get(1); in testDoReturnWhen_CorrectStubMethodIsChosen()
423 doReturn("two").when(mFoo).get(2); in testDoReturnWhen_CorrectStubMethodIsChosen()
429 doReturn("one").when(mFoo).get(1); in testDoReturnWhen_UnstubbedMethodStillReturnsDefault()
435 doReturn("first").when("hello").contains("something"); in testDoReturnWhen_CalledOnString()
442 doReturn("first").when(createNotARealMock()).get(0); in testDoReturnWhen_CalledOnNonMock()
450 doReturn("one").when(mFoo).get(8); in testDoReturnWhen_CanAlsoBeVerified()
456 doReturn(90).when(mFoo).anInt(); in testDoReturn_CanPassIntForIntMethod()
[all …]
/external/clang/include/clang/Frontend/
DCodeGenOptions.def41 ///< aliases to base ctors when possible.
42 CODEGENOPT(DataSections , 1, 0) ///< Set when -fdata-sections is enabled.
44 CODEGENOPT(DisableFPElim , 1, 0) ///< Set when -fomit-frame-pointer is enabled.
54 CODEGENOPT(DisableRedZone , 1, 0) ///< Set when -mno-red-zone is enabled.
58 ///< Only useful when running CodeGen as a
63 CODEGENOPT(EmulatedTLS , 1, 0) ///< Set when -femulated-tls is enabled.
68 CODEGENOPT(FunctionSections , 1, 0) ///< Set when -ffunction-sections is enabled.
69 CODEGENOPT(InstrumentFunctions , 1, 0) ///< Set when -finstrument-functions is
71 CODEGENOPT(InstrumentForProfiling , 1, 0) ///< Set when -pg is enabled.
74 CODEGENOPT(PrepareForLTO , 1, 0) ///< Set when -flto is enabled on the
[all …]
/external/libunwind/src/ia64/
DGparser.c155 set_reg (struct ia64_reg_info *reg, enum ia64_where where, int when, in set_reg() argument
160 if (reg->when == IA64_WHEN_NEVER) in set_reg()
161 reg->when = when; in set_reg()
191 reg->when = t; in spill_next_when()
439 sr->curr.reg[IA64_REG_PSP].when = in desc_mem_stack_v()
480 reg->when = sr->region_start + MIN ((int) t, sr->region_len - 1); in desc_reg_when()
570 r->when = IA64_WHEN_NEVER; in desc_restore_p()
592 r->when = sr->region_start + MIN ((int) t, sr->region_len - 1); in desc_spill_reg_p()
607 r->when = sr->region_start + MIN ((int) t, sr->region_len - 1); in desc_spill_psprel_p()
622 r->when = sr->region_start + MIN ((int) t, sr->region_len - 1); in desc_spill_sprel_p()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
Dxsrfutil.py50 def generate_token(key, user_id, action_id="", when=None): argument
64 when = _force_bytes(when or int(time.time()))
70 digester.update(when)
73 token = base64.urlsafe_b64encode(digest + DELIMITER + when)
110 when=token_time)
/external/clang/docs/
DTooling.rst14 you want to use. Consider the other interfaces only when you have a good
17 Canonical examples of when to use LibClang:
22 Use LibClang when you...:
29 Do not use LibClang when you...:
41 Canonical examples of when to use Clang Plugins:
46 Use Clang Plugins when you...:
52 Do not use Clang Plugins when you...:
65 examples of when to use LibTooling:
70 Use LibTooling when you...:
77 Do not use LibTooling when you...:
[all …]
/external/caliper/caliper/src/test/java/com/google/caliper/config/
DCaliperConfigLoaderTest.java20 import static org.mockito.Mockito.when;
62 when(optionsMock.caliperConfigFile()).thenReturn(tempConfigFile); in loadOrCreate_configFileExistsNoOverride()
63 when(optionsMock.configProperties()).thenReturn(ImmutableMap.<String, String>of()); in loadOrCreate_configFileExistsNoOverride()
70 when(optionsMock.caliperConfigFile()).thenReturn(tempConfigFile); in loadOrCreate_configFileExistsWithOverride()
71 when(optionsMock.configProperties()).thenReturn(ImmutableMap.of( in loadOrCreate_configFileExistsWithOverride()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/bin/
Dantenv.cmd33 when param='-lcp' then mode = 'l'
34 when param='-cp' | param='-classpath' then mode = 'c'
35 when abbrev('-opts', param, 4) then mode = 'o'
36 when abbrev('-args', param, 4) then mode = 'a'
39 when mode = 'a' then args = space(args param, 1)
40 when mode = 'c' then cp = space(cp param, 1)
41 when mode = 'l' then lcp = space(lcp param, 1)
42 when mode = 'o' then opts = space(opts param, 1)
/external/guice/extensions/persist/test/com/google/inject/persist/jpa/
DJpaPersistServiceTest.java24 import static org.mockito.Mockito.when;
44when(provider.createEntityManagerFactory(PERSISTENCE_UNIT_NAME, PERSISTENCE_PROPERTIES)).thenRetur… in setUp()
45 when(factory.createEntityManager()).thenReturn(entityManager); in setUp()
53 doThrow(SimulatedException.class).when(entityManager).close(); in test_givenErrorOnEntityManagerClose_whenEndIsCalled_thenEntityManagerIsRemoved()
/external/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/styles/
Dmain.css7 .hide-when-not-connected {
11 .connected .hide-when-not-connected {
16 .connected .hide-when-not-connected p {
20 .connected .hide-when-connected {
/external/v8/build/internal/
DREADME.chromium9 …Included by ..\release.vsprops by default when CHROME_BUILD_TYPE is undefined. Includes release_de…
12 …Included by ..\release.vsprops when CHROME_BUILD_TYPE=_checksenabled. Matches what release_default…
15 …Included by ..\release.vsprops when CHROME_BUILD_TYPE=_official. Includes release_defaults.vsprops…
18 …Included by ..\release.vsprops when CHROME_BUILD_TYPE=_pgo_instrument. Includes release_defaults.v…
21 …Included by ..\release.vsprops when CHROME_BUILD_TYPE=_pgo_optimize. Includes release_defaults.vsp…
24 …Included by ..\release.vsprops when CHROME_BUILD_TYPE=_purify. Includes release_defaults.vsprops. …
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DElemChoose.java92 ElemWhen when = (ElemWhen) childElem; in execute() local
103 if (when.getTest().bool(xctxt, sourceNode, when)) { in execute()
104 transformer.executeChildTemplates(when, true); in execute()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowMessage.java17 private long when; field in ShadowMessage
115 return when; in getWhen()
118 public void setWhen(long when) { in setWhen() argument
119 this.when = when; in setWhen()
/external/testng/eclipse-projects/beust.com/web/
Dsite.xsl32 <xsl:when test="(position() mod 2 = 1)">
34 </xsl:when>
41 <xsl:when test="ancestor::feature//@label">
47 </xsl:when>
91 <xsl:when test="function-available('msxsl:node-set')">
104 <xsl:when test="position() mod 2 = 1">
106 </xsl:when>
113 <xsl:when test="@label">
119 </xsl:when>
152 </xsl:when>
[all …]
/external/chromium-trace/catapult/telemetry/third_party/altgraph/doc/
Dobjectgraph.rst46 Removes a *node* from the graph when it exists. The *node* argument
64 when *node* is :data:`None`.
76 Returns a given node in the graph, or :data:`Node` when it cannot
93 when there is a reference from the root to the node
115 to *toNode*. Raises :exc:`KeyError` when no such edge exists.
124 Raises :exc:`KeyError` when the edge does not exist.
135 Print a debug message at the current indentation level when the current
140 Print a debug message when the current debug level is *level* or less,
145 Decrease the indentation level and print a debug message when the
Dchangelog.rst75 - The 0.8 release didn't work with py2app when using
95 no longer create the edge when one of the nodes doesn't
108 when the ``forward`` argument is ``False``.
111 when the ``forward`` argument is ``False``.
121 - ``altgraph.Graph.Graph.add_node`` has no effect when you
135 ``GraphError`` instead of looping forever when it is
138 - ``altgraph.Dot.edge_style`` raises ``GraphError`` when
143 - ``altgraph.Dot.save_img`` now works when the mode is
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/componentScripts/
Dbuild.properties23 # The CVS tag to use when fetching the map files from the repository
28 # The CVS tag to use when fetching elements to build. By default the
31 # For example, when doing a nightly build out of HEAD,
40 # when compiling some classes.
67 # when building GEF, the baseLocation should be the location of a previously
126 # Sets the value of the -source command line switch for javac version 1.4. Used when compiling the…
132 # Sets the value of the -target command line switch for javac. Used when compiling the jars for th…
138 …r for verbose output. This should be set to true in order for *.bin.log files to be generated when
/external/clang/test/SemaObjC/
Dillegal-nonarc-bridged-cast.m19 …ateSomething(); // expected-warning {{'__bridge_transfer' casts have no effect when not using ARC}}
20 …CreateString(); // expected-warning {{'__bridge_transfer' casts have no effect when not using ARC}}
27 …ateSomething(); // expected-warning {{'__bridge_retained' casts have no effect when not using ARC}}
28 …eateNSString(); // expected-warning {{'__bridge_retained' casts have no effect when not using ARC}}
/external/compiler-rt/lib/asan/
Dasan_mac.cc175 INTERCEPTOR(void, dispatch_after_f, dispatch_time_t when, in INTERCEPT_DISPATCH_X_F_3()
184 return REAL(dispatch_after_f)(when, dq, (void*)asan_ctxt, in INTERCEPT_DISPATCH_X_F_3()
207 void dispatch_after(dispatch_time_t when, dispatch_queue_t queue,
238 dispatch_time_t when, dispatch_queue_t queue, void(^work)(void)) {
241 REAL(dispatch_after)(when, queue, asan_block);
/external/llvm/test/DebugInfo/PDB/DIA/
Dpdbdump-flags.test6 ; Check that neither symbols nor compilands are dumped when neither argument specified.
15 ; Check that only types are dumped when only -types is specified.
24 ; Check that only compilands are dumped when only -compilands is specified.
33 ; Check that types and compilands are dumped when both arguments are specified.
/external/libjpeg-turbo/
DChangeLog.txt10 are not allowed when 32-bit and 64-bit RPMs are installed simultaneously.)
14 the decoder to read past the end of the input buffer when a malformed,
22 [3] Fixed a memory leak in tjunittest encountered when running the program
38 incorrectly encode certain JPEG images when quality=100 and the fast integer
39 forward DCT were used. This was known to cause 'make test' to fail when the
42 [3] Fixed an issue whereby libjpeg-turbo would crash when built with the latest
53 upsampling routine that caused a buffer overflow (and subsequent segfault) when
55 pixels. The "plain" upsampling routines are normally only used when
56 decompressing a non-YCbCr JPEG image, but they are also used when decompressing
93 which speeds up the compression of RGB and CMYK JPEGs by 5-20% when using
[all …]
/external/chromium-trace/catapult/third_party/gsutil/
DCHANGES.md7 - Removed unnecessary sending of range headers for downloads when
10 when the -p flag was unspecified and exactly one of the -c or -k flags
21 - The cp -A flag is disabled when using gsutil -m to ensure that
22 ordering is preserved when copying between versioned buckets.
31 and rsync commands now use this by default when compiled crcmod
47 (slice, fan, or both) when using multiple threads and/or processes.
51 - Fixed an IOError that could occur in apitools when acquiring credentials
62 - Fixed a bug that caused multiple threads not to be used when
64 - Fixed a bug that caused rsync to skip files that start with "." when the
66 - Fixed a bug that caused rsync -C to bail out when it failed to read
[all …]

12345678910>>...143