Home
last modified time | relevance | path

Searched refs:initial (Results 1 - 25 of 211) sorted by relevance

123456789

/third_party/node/test/parallel/
H A Dtest-stream-reduce.js25 for (const [values, fn, initial] of tests) {
27 .reduce(fn, initial);
28 const arrayReduce = values.reduce(fn, initial);
33 for (const [values, fn, initial] of tests) {
36 .reduce(fn, initial);
37 const arrayReduce = values.reduce(fn, initial);
43 // Works with an async reducer, with or without initial value
/third_party/skia/src/core/
H A DSkTLazy.h144 explicit SkTCopyOnFirstWrite(const T& initial) : fObj(&initial) {} in SkTCopyOnFirstWrite() argument
146 explicit SkTCopyOnFirstWrite(const T* initial) : fObj(initial) {} in SkTCopyOnFirstWrite() argument
167 void init(const T& initial) { in init() argument
170 fObj = &initial; in init()
183 * Returns a writable T*. The first time this is called the initial object is cloned.
/third_party/python/Tools/c-analyzer/c_common/
H A Dclsutil.py12 __slots__ = ('initial', 'default', 'readonly', 'instances', 'name')
14 def __init__(self, initial=_NOT_SET, *,
18 self.initial = initial
49 if self.initial is _NOT_SET:
52 value = self.initial
/third_party/python/Lib/lib2to3/pgen2/
H A Dtokenize.py451 token, initial = line[start:end], line[start]
453 if initial in string.digits or \
454 (initial == '.' and token != '.'): # ordinary number
456 elif initial in '\r\n':
467 elif initial == '#':
488 elif initial in single_quoted or \
493 endprog = (endprogs[initial] or endprogs[token[1]] or
503 elif initial.isidentifier(): # ordinary name
534 elif initial == '\\': # continued stmt
542 if initial i
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/algorithm/
H A Dcontainer_test.cc625 const std::vector<int> initial = {1, 2, 3, 4, 5}; in TEST() local
627 auto ends = absl::c_partition_copy(initial, back_inserter(odds), in TEST()
636 const std::vector<int> initial = {1, 3, 5, 2, 4}; in TEST() local
637 auto middle = absl::c_partition_point(initial, IsOdd); in TEST()
642 const std::vector<int> initial = {4, -1, -2, -3, 5}; in TEST() local
646 std::list<int> test_list(initial.begin(), initial.end()); in TEST()
650 std::vector<int> test_vector = initial; in TEST()
656 const std::list<int> initial = {4, 5}; in TEST() local
660 std::list<int> test_list = initial; in TEST()
666 const std::vector<int> initial = {4, 5}; TEST() local
680 const std::vector<int> initial = {1, 2, 3, 4, 5}; TEST() local
791 const std::vector<int> initial = {1, 2, 3, 1, 4, 5}; TEST() local
812 const std::vector<int> initial = {1, 2, 3, 1, 4, 5}; TEST() local
869 const std::vector<int> initial = {1, 2, 3, 4, 5}; TEST() local
955 std::vector<int> initial = {1, 2, 3, 4}; TEST() local
978 const std::vector<int> initial = {5, 3, 42, 0}; TEST() local
1109 std::vector<int> initial = {1, 2, 3, 4}; TEST() local
[all...]
/third_party/rust/crates/nom/tests/
H A Darithmetic_ast.rs79 fn fold_exprs(initial: Expr, remainder: Vec<(Oper, Expr)>) -> Expr { in fold_exprs()
80 remainder.into_iter().fold(initial, |acc, pair| { in fold_exprs()
92 let (i, initial) = factor(i)?; in term()
104 Ok((i, fold_exprs(initial, remainder))) in term()
108 let (i, initial) = term(i)?; in expr()
120 Ok((i, fold_exprs(initial, remainder))) in expr()
/third_party/python/Lib/
H A Dtokenize.py535 token, initial = line[start:end], line[start]
537 if (initial in numchars or # ordinary number
538 (initial == '.' and token != '.' and token != '...')):
540 elif initial in '\r\n':
546 elif initial == '#':
570 # Note that initial == token[:1].
573 elif (initial in single_quoted or
584 endprog = _compile(endpats.get(initial) or
593 elif initial.isidentifier(): # ordinary name
595 elif initial
[all...]
/third_party/typescript/tests/baselines/reference/
H A DnamedTupleMembers.js42 export function useState<T>(initial: T): [value: T, setter: (T) => void] {
54 export type RecursiveTupleA = [initial: string, next: RecursiveTupleA];
98 function useState(initial) {
131 export declare function useState<T>(initial: T): [value: T, setter: (T: any) => void];
135 export type RecursiveTupleA = [initial: string, next: RecursiveTupleA];
/third_party/python/Modules/
H A Darraymodule.c1925 * contains the initial value of the array.
2618 PyObject *initial = NULL, *it = NULL; in array_new() local
2626 if (!PyArg_ParseTuple(args, "C|O:array", &c, &initial)) in array_new()
2630 c, initial ? initial : Py_None) < 0) { in array_new()
2634 if (initial && c != 'u') { in array_new()
2635 if (PyUnicode_Check(initial)) { in array_new()
2640 else if (array_Check(initial, state) && in array_new()
2641 ((arrayobject*)initial)->ob_descr->typecode == 'u') { in array_new()
2648 if (!(initial in array_new()
[all...]
/third_party/icu/icu4c/source/i18n/unicode/
H A Dbasictz.h110 * the argument initial points to non-NULL <code>InitialTimeZoneRule</code> and
115 * @param initial Receives the initial timezone rule
123 virtual void getTimeZoneRules(const InitialTimeZoneRule*& initial,
142 * @param initial Receives the <code>InitialTimeZone</code>, always not NULL.
152 virtual void getSimpleRulesNear(UDate date, InitialTimeZoneRule*& initial,
229 * @param initial Output parameter, receives the InitialTimeZone.
236 void getTimeZoneRulesAfter(UDate start, InitialTimeZoneRule*& initial, UVector*& transitionRules,
/third_party/node/deps/icu-small/source/i18n/unicode/
H A Dbasictz.h110 * the argument initial points to non-nullptr <code>InitialTimeZoneRule</code> and
115 * @param initial Receives the initial timezone rule
123 virtual void getTimeZoneRules(const InitialTimeZoneRule*& initial,
142 * @param initial Receives the <code>InitialTimeZone</code>, always not nullptr.
152 virtual void getSimpleRulesNear(UDate date, InitialTimeZoneRule*& initial,
229 * @param initial Output parameter, receives the InitialTimeZone.
236 void getTimeZoneRulesAfter(UDate start, InitialTimeZoneRule*& initial, UVector*& transitionRules,
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
H A Dbasictz.h110 * the argument initial points to non-NULL <code>InitialTimeZoneRule</code> and
115 * @param initial Receives the initial timezone rule
123 virtual void getTimeZoneRules(const InitialTimeZoneRule*& initial,
142 * @param initial Receives the <code>InitialTimeZone</code>, always not NULL.
152 virtual void getSimpleRulesNear(UDate date, InitialTimeZoneRule*& initial,
229 * @param initial Receives the InitialTimeZone, always not NULL
233 void getTimeZoneRulesAfter(UDate start, InitialTimeZoneRule*& initial, UVector*& transitionRules,
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
H A Dflat_hash_map_test.cc289 for (size_t initial = 3; initial < 100; ++initial) { in TEST()
290 // Fill in `initial` entries, then erase 2 of them, then reserve space for in TEST()
293 for (size_t i = 0; i < initial; ++i) { in TEST()
302 map[initial] = a2; in TEST()
303 map[initial + 1] = a2; in TEST()
/third_party/libwebsockets/plugins/ssh-base/
H A Dtelnet.c44 uint32_t initial:1; member
157 pss->initial = 0; in lws_callback_raw_telnet()
196 if (!pss->initial) { in lws_callback_raw_telnet()
200 pss->initial = 1; in lws_callback_raw_telnet()
/third_party/node/deps/icu-small/source/i18n/
H A Dwintzimpl.cpp44 InitialTimeZoneRule *initial = nullptr; in getSystemTimeInformation() local
47 btz->getSimpleRulesNear(uprv_getUTCtime(), initial, std, dst, status); in getSystemTimeInformation() local
50 bias = -1 * (initial->getRawOffset()/60000); in getSystemTimeInformation()
113 delete initial; in getSystemTimeInformation()
H A Dbasictz.cpp132 BasicTimeZone::getSimpleRulesNear(UDate date, InitialTimeZoneRule*& initial, in getSimpleRulesNear() argument
134 initial = nullptr; in getSimpleRulesNear()
251 // The initial rule should represent the rule before the previous transition in getSimpleRulesNear()
273 // Set the initial rule in getSimpleRulesNear()
274 initial = new InitialTimeZoneRule(initialName, initialRaw, initialDst); in getSimpleRulesNear()
289 BasicTimeZone::getTimeZoneRulesAfter(UDate start, InitialTimeZoneRule*& initial, in getTimeZoneRulesAfter() argument
306 initial = nullptr; in getTimeZoneRulesAfter()
340 initial = orgini->clone(); in getTimeZoneRulesAfter()
341 if (initial == nullptr) { in getTimeZoneRulesAfter()
360 // Create initial rul in getTimeZoneRulesAfter()
[all...]
/third_party/icu/icu4c/source/i18n/
H A Dwintzimpl.cpp44 InitialTimeZoneRule *initial = NULL; in getSystemTimeInformation() local
47 btz->getSimpleRulesNear(uprv_getUTCtime(), initial, std, dst, status); in getSystemTimeInformation() local
50 bias = -1 * (initial->getRawOffset()/60000); in getSystemTimeInformation()
113 delete initial; in getSystemTimeInformation()
H A Dbasictz.cpp132 BasicTimeZone::getSimpleRulesNear(UDate date, InitialTimeZoneRule*& initial, in getSimpleRulesNear() argument
134 initial = NULL; in getSimpleRulesNear()
251 // The initial rule should represent the rule before the previous transition in getSimpleRulesNear()
273 // Set the initial rule in getSimpleRulesNear()
274 initial = new InitialTimeZoneRule(initialName, initialRaw, initialDst); in getSimpleRulesNear()
289 BasicTimeZone::getTimeZoneRulesAfter(UDate start, InitialTimeZoneRule*& initial, in getTimeZoneRulesAfter() argument
306 initial = nullptr; in getTimeZoneRulesAfter()
340 initial = orgini->clone(); in getTimeZoneRulesAfter()
341 if (initial == nullptr) { in getTimeZoneRulesAfter()
360 // Create initial rul in getTimeZoneRulesAfter()
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dwintzimpl.cpp44 InitialTimeZoneRule *initial = NULL; in getSystemTimeInformation() local
47 btz->getSimpleRulesNear(uprv_getUTCtime(), initial, std, dst, status); in getSystemTimeInformation() local
50 bias = -1 * (initial->getRawOffset()/60000); in getSystemTimeInformation()
113 delete initial; in getSystemTimeInformation()
/third_party/rust/crates/nix/test/sys/
H A Dtest_stat.rs15 let initial = FileFlag::from_bits_truncate( in test_chflags()
20 let commanded = initial ^ FileFlag::UF_OFFLINE; in test_chflags()
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/regex/
H A DRangeTreeConverter.java49 * for the initial and terminal nodes which are always present in the graph.
69 private NfaVisitor(DfaNode initial) { in NfaVisitor() argument
70 // Add initial and terminal nodes first (there's always exactly one of each). in NfaVisitor()
75 if (initial.canTerminate()) { in NfaVisitor()
78 nodeMap.put(initial, Node.INITIAL); in NfaVisitor()
/third_party/node/deps/v8/src/base/
H A Dring-buffer.h35 T Sum(Callback callback, const T& initial) const { in Sum()
38 T result = initial; in Sum()
/third_party/mesa3d/src/compiler/nir/
H A Dnir_loop_analyze.c719 get_iteration(nir_op cond_op, nir_const_value initial, nir_const_value step, in get_iteration() argument
730 span = eval_const_binop(nir_op_isub, bit_size, limit, initial, in get_iteration()
738 span = eval_const_binop(nir_op_isub, bit_size, limit, initial, in get_iteration()
748 span = eval_const_binop(nir_op_fsub, bit_size, limit, initial, in get_iteration()
768 nir_const_value initial, in will_break_on_first_iteration()
787 initial = eval_const_binop(add_op, bit_size, initial, step, in will_break_on_first_iteration()
792 src[limit_rhs ? 0 : 1] = &initial; in will_break_on_first_iteration()
806 nir_const_value initial, bool limit_rhs, bool invert_cond, in test_iterations()
836 /* Add the initial valu in test_iterations()
764 will_break_on_first_iteration(nir_const_value step, nir_alu_type induction_base_type, unsigned trip_offset, nir_op cond_op, unsigned bit_size, nir_const_value initial, nir_const_value limit, bool limit_rhs, bool invert_cond, unsigned execution_mode) will_break_on_first_iteration() argument
803 test_iterations(int32_t iter_int, nir_const_value step, nir_const_value limit, nir_op cond_op, unsigned bit_size, nir_alu_type induction_base_type, nir_const_value initial, bool limit_rhs, bool invert_cond, unsigned execution_mode) test_iterations() argument
852 calculate_iterations(nir_const_value initial, nir_const_value step, nir_const_value limit, nir_alu_instr *alu, nir_ssa_scalar cond, nir_op alu_op, bool limit_rhs, bool invert_cond, unsigned execution_mode) calculate_iterations() argument
[all...]
/third_party/libwebsockets/include/libwebsockets/
H A Dlws-write.h236 * \param initial: the lws_write flag to use for the start fragment, eg,
245 lws_write_ws_flags(int initial, int is_start, int is_end) in lws_write_ws_flags() argument
250 r = initial; in lws_write_ws_flags()
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_compiler.cpp257 nir_shader *s = fs->initial; in missing_dual_src_outputs()
299 if (fs->initial->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_COLOR)) in frag_result_color_lowering()
332 return fs && fs->initial->info.inputs_read & VARYING_BIT_POS; in manual_depth_range()
360 (vs->initial->info.outputs_written & VARYING_BIT_EDGE || in fill_mode_lowered()
373 unsigned mask = ctx->gfx_stages[PIPE_SHADER_GEOMETRY]->initial->info.gs.active_stream_mask & ~1; in has_stream_out_for_streams()
391 return (gs->initial->info.gs.output_primitive == GL_POINTS && in needs_point_sprite_lowering()
392 (gs->initial->info.outputs_written & VARYING_BIT_PSIZ || in needs_point_sprite_lowering()
394 (gs->initial->info.gs.active_stream_mask == 1 || in needs_point_sprite_lowering()
403 vs->initial->info.outputs_written & VARYING_BIT_PSIZ)) && in needs_point_sprite_lowering()
404 (vs->initial in needs_point_sprite_lowering()
[all...]

Completed in 19 milliseconds

123456789