Home
last modified time | relevance | path

Searched refs:penalty (Results 1 – 25 of 141) sorted by relevance

123456

/external/pdfium/fxbarcode/qrcode/
DBC_QRCoderMaskUtil.cpp33 int32_t penalty = 0; in ApplyMaskPenaltyRule1Internal() local
47 penalty += 3; in ApplyMaskPenaltyRule1Internal()
49 penalty += 1; in ApplyMaskPenaltyRule1Internal()
58 return penalty; in ApplyMaskPenaltyRule1Internal()
73 int32_t penalty = 0; in ApplyMaskPenaltyRule2() local
83 penalty++; in ApplyMaskPenaltyRule2()
87 return 3 * penalty; in ApplyMaskPenaltyRule2()
93 int32_t penalty = 0; in ApplyMaskPenaltyRule3() local
123 penalty += 40; in ApplyMaskPenaltyRule3()
137 penalty += 40; in ApplyMaskPenaltyRule3()
[all …]
DBC_QRCoderEncoder.cpp264 int32_t penalty = CalculateMaskPenalty(matrix); in ChooseMaskPattern() local
265 if (penalty < minPenalty) { in ChooseMaskPattern()
266 minPenalty = penalty; in ChooseMaskPattern()
/external/ipsec-tools/src/racoon/
Dthrottle.c85 te->penalty = time(NULL) + isakmp_cfg_config.auth_throttle;
111 if (te->penalty < now) {
146 remaining = te->penalty - now;
152 te->penalty = now + new;
156 return te->penalty;
Dthrottle.h38 int penalty; member
/external/rust/crates/textwrap/src/
Dcore.rs223 pub(crate) penalty: &'a str, field
245 penalty: "", in from()
278 penalty: "", in break_apart()
293 penalty: self.penalty, in break_apart()
321 self.penalty.len() in penalty_width()
415 penalty: if need_hyphen { "-" } else { "" }, in split_words()
426 penalty: word.penalty, in split_words()
873 penalty: "-" in split_words_adds_penalty()
879 penalty: "" in split_words_adds_penalty()
891 penalty: "" in split_words_adds_penalty()
[all …]
/external/yapf/yapf/yapflib/
Dformat_decision_state.py499 penalty = 0
501 penalty = self._AddTokenOnNewline(dry_run, must_split)
505 penalty += self._CalculateComprehensionState(newline)
507 return self.MoveStateToNextToken() + penalty
582 penalty = current.split_penalty
586 return penalty
590 penalty += 50
597 penalty += (
606 penalty += 10
608 return penalty + 10
[all …]
Dsplit_penalty.py510 def _SetExpressionPenalty(node, penalty): argument
522 if penalty_annotation < penalty:
523 _SetSplitPenalty(node, penalty)
541 penalty = pytree_utils.GetNodeAnnotation(
543 _SetSplitPenalty(node, penalty + amt)
584 penalty = pytree_utils.GetNodeAnnotation(
586 penalty = penalty - amt if amt < penalty else 0
587 _SetSplitPenalty(node, penalty)
590 def _SetSplitPenalty(node, penalty): argument
592 penalty)
Dreformatter.py334 penalty = item.ordered_penalty.penalty
350 count = _AddNextStateToQueue(penalty, node, False, count, p_queue)
351 count = _AddNextStateToQueue(penalty, node, True, count, p_queue)
361 def _AddNextStateToQueue(penalty, previous_node, newline, count, p_queue): argument
387 penalty += node.state.AddTokenToState(
389 heapq.heappush(p_queue, _QueueItem(_OrderedPenalty(penalty, count), node))
Dpytree_utils.py314 penalty=GetNodeAnnotation(node, Annotation.SPLIT_PENALTY, None))
/external/libopus/silk/
DVQ_WMat_EC.c70 opus_int32 penalty; in silk_VQ_WMat_EC_c() local
77 penalty = silk_LSHIFT32( silk_max( silk_SUB32( gain_tmp_Q7, max_gain_Q7 ), 0 ), 11 ); in silk_VQ_WMat_EC_c()
117 bits_res_Q8 = silk_SMULBB( subfr_len, silk_lin2log( sum1_Q15 + penalty) - (15 << 7) ); in silk_VQ_WMat_EC_c()
122 *res_nrg_Q15 = sum1_Q15 + penalty; in silk_VQ_WMat_EC_c()
/external/llvm-project/debuginfo-tests/dexter/dex/heuristic/
DHeuristic.py391 def penalty(self): member in Heuristic
409 return 1.0 - (self.penalty / float(self.max_penalty))
437 for result, penalty in pen_cmd.pen_dict[category]:
444 if penalty:
445 assert penalty > 0, penalty
446 total_penalty += penalty
447 text += ' <r>[-{}]</>'.format(penalty)
/external/llvm-project/llvm/test/Transforms/HotColdSplit/
Dapply-penalty-for-outputs.ll13 ; CHECK: Applying penalty for: 1 output
14 ; CHECK: Applying penalty for: 1 non-region successors
Dapply-successor-penalty.ll12 ; CHECK: Applying penalty for: 1 non-region successor
35 ; CHECK: Applying penalty for: 2 non-region successors
Dapply-penalty-for-inputs.ll13 ; CHECK: Applying penalty for: 2 inputs
/external/deqp/external/openglcts/
D.clang-format109 # The penalty for breaking a function call after "call(".
112 # The penalty for each line break introduced inside a comment.
115 # The penalty for breaking before the first <<.
118 # The penalty for each line break introduced inside a string literal.
121 # The penalty for each character outside of the column limit.
/external/llvm-project/llvm/test/Transforms/CodeExtractor/
Dcost_meta.ll1 ; RUN: opt -S < %s -partial-inliner -partial-inlining-extra-penalty=2000 | FileCheck %s
2 ; RUN: opt -S < %s -passes=partial-inliner -partial-inlining-extra-penalty=2000 | FileCheck %s
Dcost.ll1 ; RUN: opt -S < %s -partial-inliner -partial-inlining-extra-penalty=10 | FileCheck %s
2 ; RUN: opt -S < %s -passes=partial-inliner -partial-inlining-extra-penalty=10 | FileCheck %s
/external/yapf/
DREADME.rst543 The penalty for splitting right after the opening bracket.
546 The penalty for splitting the line after a unary operator.
549 The penalty for splitting right before an ``if`` expression.
552 The penalty of splitting the line around the ``&``, ``|``, and ``^``
556 The penalty for splitting a list comprehension or generator expression.
559 The penalty for characters over the column limit.
562 The penalty incurred by adding a line split to the unwrapped line. The more
563 line splits added the higher the penalty.
566 The penalty of splitting a list of ``import as`` names. For example:
582 The penalty of splitting the line around the ``and`` and ``or`` operators.
[all …]
DCHANGELOG83 - When calculating the split penalty for a "trailer", process the child nodes
90 - Remove the penalty for a split before the first argument in a function call
161 - Increase the penalty for splitting after the start of a tuple.
162 - Increase penalty for excess characters.
179 - Don't make splitting penalty decisions based on the original formatting. This
348 penalty of the closing bracket was set to the maximum, but it shouldn't be if
380 - Added a knob (SPLIT_PENALTY_BEFORE_IF_EXPR) to adjust the split penalty
400 - When we're setting the split penalty for a continuous list, we don't want to
409 - 'SPLIT_BEFORE_LOGICAL_OPERATOR' wasn't working correctly. The penalty was
450 - Lessen penalty for splitting before a dictionary keyword.
[all …]
/external/curl/docs/cmdline-opts/
Dftp-method.d21 compliant than 'nocwd' but without the full penalty of 'multicwd'.
/external/llvm-project/debuginfo-tests/dexter/dex/tools/test/
DTool.py38 def penalty(self): member in TestCase
40 return self.heuristic.penalty
/external/linux-kselftest/tools/testing/selftests/tc-testing/
DTODO.txt20 require action at a specific point, no penalty will be paid for
/external/cldr/tools/java/com/ibm/icu/util/
DLocaleMatcher.java180 double penalty = 0; in getBestMatch() local
184 final double weight = matchWeight.value * languageList.getWeight(language) - penalty; in getBestMatch()
189 penalty += 0.07000001; in getBestMatch()
/external/libnl/lib/route/qdisc/
Dcbq.c143 nl_ticks2us(cbq->cbq_ovl.penalty), in cbq_dump_details()
/external/swiftshader/third_party/subzero/src/
DREADME.SIMD.rst61 at the cost of a possible performance penalty.

123456