Home
last modified time | relevance | path

Searched refs:when (Results 1 - 25 of 241) sorted by relevance

12345678910

/third_party/cJSON/tests/unity/auto/
H A Dcolour_prompt.rb41 when :black then 0
42 when :dark_blue then 1
43 when :dark_green then 2
44 when :dark_cyan then 3
45 when :dark_red then 4
46 when :dark_purple then 5
47 when :dark_yellow, :narrative then 6
48 when :default_white, :default, :dark_white then 7
49 when :silver then 8
50 when
[all...]
H A Dgenerate_module.rb52 when NilClass then @options
53 when String then @options.merge!(UnityModuleGenerator.grab_config(options))
54 when Hash then @options.merge!(options)
156 when :src then (@options[:includes][:src] || []) | (pattern_traits[:inc].map { |f| format(f, module_name) })
157 when :inc then (@options[:includes][:inc] || [])
158 when :tst then (@options[:includes][:tst] || []) | (pattern_traits[:inc].map { |f| format("#{@options[:mock_prefix]}#{f}", module_name) })
171 when 'bumpy' then part1
172 when 'camel' then part1
173 when 'snake' then part1.downcase
174 when 'cap
[all...]
H A Dcolour_reporter.rb19 when /(?:total\s+)?tests:?\s+(\d+)\s+(?:total\s+)?failures:?\s+\d+\s+Ignored:?/i
21 when /PASS/
23 when /^OK$/
25 when /(?:FAIL|ERROR)/
27 when /IGNORE/
29 when /^(?:Creating|Compiling|Linking)/
/third_party/unity/auto/
H A Dcolour_prompt.rb42 when :black then 0
43 when :dark_blue then 1
44 when :dark_green then 2
45 when :dark_cyan then 3
46 when :dark_red then 4
47 when :dark_purple then 5
48 when :dark_yellow, :narrative then 6
49 when :default_white, :default, :dark_white then 7
50 when :silver then 8
51 when
[all...]
H A Dgenerate_module.rb55 when NilClass then @options
56 when String then @options.merge!(UnityModuleGenerator.grab_config(options))
57 when Hash then @options.merge!(options)
161 when :src then (@options[:includes][:src] || []) | (pattern_traits[:inc].map { |f| format(f, module_name) })
162 when :inc then (@options[:includes][:inc] || [])
163 when :tst then (@options[:includes][:tst] || []) | (pattern_traits[:inc].map { |f| format("#{@options[:mock_prefix]}#{f}", module_name) })
185 when 'bumpy' then neutralize_filename(name, start_cap: false).delete('_')
186 when 'camel' then neutralize_filename(name).delete('_')
187 when 'snake' then neutralize_filename(name).downcase
188 when 'cap
[all...]
H A Dcolour_reporter.rb19 when /(?:total\s+)?tests:?\s+(\d+)\s+(?:total\s+)?failures:?\s+\d+\s+Ignored:?/i
21 when /PASS/
23 when /^OK$/
25 when /(?:FAIL|ERROR)/
27 when /IGNORE/
29 when /^(?:Creating|Compiling|Linking)/
H A Dgenerate_test_runner.rb13 when NilClass
15 when String
17 when Hash
150 when 'CASE'
153 when 'RANGE'
167 when 'MATRIX'
496 when '-cexception'
499 when '-externcincludes'
502 when /\.*\.ya?ml$/
505 when /
[all...]
/third_party/typescript/tests/baselines/reference/
H A DreactDefaultPropsInferenceSuccess.js7 when?: ((value: string) => boolean) | "a" | "b";
16 when: () => true
25 const Test1 = () => <FieldFeedback when={value => !!value} />;
28 const Test2 = () => <FieldFeedback when={value => console.log(value)} />;
32 when: () => true
41 const Test1a = () => <FieldFeedbackBeta when={value => !!value} error>Hah</FieldFeedbackBeta>;
44 const Test2a = () => <FieldFeedbackBeta when={value => console.log(value)} error>Hah</FieldFeedbackBeta>;
47 when: (value: string) => boolean;
52 when: () => true
56 this.props.when("no
[all...]
H A DtupleTypeInference.js8 when<T>(t?: T): IPromise<T>;
16 var a = $q.all([$q.when<string>(), $q.when<number>()]);
19 var b = $q.all<string, number>([$q.when<string>(), $q.when<number>()]);
22 var c = $q.all([$q.when<string>(), $q.when<string>()]);
27 var a = $q.all([$q.when(), $q.when()]);
29 var b = $q.all([$q.when(),
[all...]
H A DconditionalTypeContextualTypeSimplificationsSuceeds.js4 when: (value: string) => boolean;
14 bad({ when: value => false });
15 good1({ when: value => false });
16 good2({ when: value => false });
23 bad({ when: function (value) { return false; } });
24 good1({ when: function (value) { return false; } });
25 good2({ when: function (value) { return false; } });
/third_party/libunwind/libunwind/include/
H A Dlibunwind-dynamic.h35 when a program registers a dynamically generated procedure, it uses
92 int32_t when; /* when does it take effect? */ member
184 #define _U_dyn_op_save_reg(op, qp, when, reg, dst) \
185 (*(op) = _U_dyn_op (UNW_DYN_SAVE_REG, (qp), (when), (reg), (dst)))
187 #define _U_dyn_op_spill_fp_rel(op, qp, when, reg, offset) \
188 (*(op) = _U_dyn_op (UNW_DYN_SPILL_FP_REL, (qp), (when), (reg), \
191 #define _U_dyn_op_spill_sp_rel(op, qp, when, reg, offset) \
192 (*(op) = _U_dyn_op (UNW_DYN_SPILL_SP_REL, (qp), (when), (reg), \
195 #define _U_dyn_op_add(op, qp, when, re
[all...]
/third_party/icu/icu4c/source/samples/date/
H A Ddate.c52 static void date(UDate when, const UChar *tz, UDateFormatStyle style, const char *format, const char *locale, UErrorCode *status);
82 UDate when; in main() local
172 /* get the 'when' (or now) */ in main()
173 when = getWhen(millis, seconds, format, locale, style, parse, tz, &status); in main()
179 date(when, tz, style, format, locale, &status); in main()
253 date(UDate when, in date() argument
269 printf("%.0f\n", when); in date()
272 printf("%.3f\n", when/1000.0); in date()
282 len = udat_format(fmt, when, 0, len, 0, status); in date()
287 udat_format(fmt, when, in date()
310 UDate when=0; getWhen() local
[all...]
/third_party/skia/third_party/externals/icu/source/samples/date/
H A Ddate.c52 static void date(UDate when, const UChar *tz, UDateFormatStyle style, const char *format, const char *locale, UErrorCode *status);
82 UDate when; in main() local
172 /* get the 'when' (or now) */ in main()
173 when = getWhen(millis, seconds, format, locale, style, parse, tz, &status); in main()
179 date(when, tz, style, format, locale, &status); in main()
253 date(UDate when, in date() argument
269 printf("%.0f\n", when); in date()
272 printf("%.3f\n", when/1000.0); in date()
282 len = udat_format(fmt, when, 0, len, 0, status); in date()
287 udat_format(fmt, when, in date()
310 UDate when=0; getWhen() local
[all...]
/third_party/python/Lib/asyncio/
H A Dtimeouts.py33 def __init__(self, when: Optional[float]) -> None:
36 - If `when` is `None`, the timeout will never trigger.
37 - If `when < loop.time()`, the timeout will trigger on the next
44 self._when = when
46 def when(self) -> Optional[float]: member in Timeout
50 def reschedule(self, when: Optional[float]) -> None:
58 self._when = when
63 if when is None:
67 if when <= loop.time():
70 self._timeout_handler = loop.call_at(when, sel
[all...]
/third_party/protobuf/conformance/
H A Dconformance_ruby.rb45 when :protobuf_payload
61 when :json_payload
70 when :text_payload
76 when nil
81 when :UNSPECIFIED
84 when :PROTOBUF
87 when :JSON
90 when nil
/third_party/libunwind/libunwind/src/ia64/
H A 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()
218 /* Next, compute when the fp, general, and branch registers get in finish_prologue()
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 in desc_spill_reg_p()
754 int i, ret, when, rlen = sr->region_len; desc_alias() local
795 int32_t when, len; parse_dynamic() local
[all...]
H A DGscript.c248 if (r->where == IA64_WHERE_NONE || r->when >= sr->when_target) in compile_reg()
379 || sr->curr.reg[r].when >= sr->when_target) in sort_regs()
392 max_when = sr->curr.reg[max_reg].when; in sort_regs()
395 if (sr->curr.reg[regorder[j]].when > max_when) in sort_regs()
399 max_when = sr->curr.reg[max_reg].when; in sort_regs()
430 if (sr.when_target > sr.curr.reg[IA64_REG_PSP].when in build_script()
444 if (sr.when_target >= sr.curr.reg[IA64_REG_PRI_UNAT_GR].when in build_script()
445 || sr.when_target >= sr.curr.reg[IA64_REG_PRI_UNAT_MEM].when) in build_script()
447 if (sr.when_target < sr.curr.reg[IA64_REG_PRI_UNAT_GR].when) in build_script()
450 else if (sr.when_target < sr.curr.reg[IA64_REG_PRI_UNAT_MEM].when) in build_script()
[all...]
/third_party/node/test/fixtures/wpt/streams/transferable/
H A Dtransfer-with-messageport.window.js44 `when transferring [${stream.constructor.name}, MessagePort]`
53 `when transferring [MessagePort, ${stream.constructor.name}]`
62 `when transferring [MessagePort, ${stream.constructor.name}, MessagePort]`
71 `when transferring [MessagePort, ${stream.constructor.name}, MessagePort] but with empty data`
80 `when transferring [MessagePort, ${stream.constructor.name}, MessagePort] but with data having different order`
89 `when transferring [MessagePort, ${stream.constructor.name}, MessagePort] but with stream not being in the data`
98 `when transferring [MessagePort, ${stream.constructor.name}, MessagePort] but with ports not being in the data`
129 `when transferring [ReadableStream, WritableStream, TransformStream, MessagePort, MessagePort]`
141 `when transferring [TransformStream, MessagePort, ReadableStream, MessagePort, WritableStream]`
165 `when transferrin
[all...]
/third_party/python/Lib/
H A Dtty.py18 def setraw(fd, when=TCSAFLUSH):
28 tcsetattr(fd, when, mode)
30 def setcbreak(fd, when=TCSAFLUSH):
36 tcsetattr(fd, when, mode)
/third_party/python/Modules/clinic/
H A Dtermios.c.h14 "integers when these fields are defined). The interpretation of the\n"
40 "tcsetattr($module, fd, when, attributes, /)\n"
46 "is a list like the one returned by tcgetattr(). The when argument\n"
47 "determines when the attributes are changed: termios.TCSANOW to\n"
56 termios_tcsetattr_impl(PyObject *module, int fd, int when, PyObject *term);
63 int when; in termios_tcsetattr() local
72 when = _PyLong_AsInt(args[1]); in termios_tcsetattr()
73 if (when == -1 && PyErr_Occurred()) { in termios_tcsetattr()
77 return_value = termios_tcsetattr_impl(module, fd, when, term); in termios_tcsetattr()
/third_party/python/Lib/test/test_asyncio/
H A Dtest_timeouts.py30 self.assertEqual(deadline, cm.when())
71 self.assertGreater(cm.when(), t1)
81 self.assertIsNone(cm.when())
93 self.assertIsNone(cm.when())
107 self.assertTrue(t0 <= cm.when() <= t1)
119 self.assertTrue(t0 <= cm.when() <= t1)
131 self.assertTrue(t0 >= cm.when() <= t1)
209 self.assertEqual(cm.when(), deadline1)
211 self.assertEqual(cm.when(), deadline2)
213 self.assertIsNone(cm.when())
[all...]
H A Dtest_tasks.py432 # Test that when awaiting on a task when an exception is already
666 when = yield
667 self.assertAlmostEqual(10.0, when)
947 # This tests for a relatively rare condition when
1045 when = yield
1046 self.assertAlmostEqual(0.1, when)
1047 when = yield 0.1
1048 self.assertAlmostEqual(0.2, when)
1049 when
[all...]
/third_party/python/Lib/logging/
H A Dhandlers.py81 Modify the filename of a log file when rotating.
122 to the next when the current file reaches a certain size.
139 written to is always "app.log" - when it gets filled up, it is closed
207 If backupCount is > 0, when rollover is done, no more than backupCount
210 def __init__(self, filename, when='h', interval=1, backupCount=0,
216 self.when = when.upper()
221 # seconds between rollovers. Also set the filename suffix used when
222 # a rollover occurs. Current 'when' events supported:
230 # Case of the 'when' specifie
[all...]
/third_party/musl/porting/linux/user/src/internal/
H A Dmalloc_config.h35 #error MALLOC_FREELIST_QUARANTINE can be only applied when MALLOC_FREELIST_HARDENED is set.
39 #error MALLOC_RED_ZONE can be only applied when MALLOC_FREELIST_QUARANTINE is set.
/third_party/musl/src/internal/linux/
H A Dmalloc_config.h35 #error MALLOC_FREELIST_QUARANTINE can be only applied when MALLOC_FREELIST_HARDENED is set.
39 #error MALLOC_RED_ZONE can be only applied when MALLOC_FREELIST_QUARANTINE is set.

Completed in 12 milliseconds

12345678910