Searched refs:fold (Results 1 - 25 of 39) sorted by relevance

12

/external/chromium_org/third_party/jinja2/
H A Doptimizer.py6 The jinja optimizer is currently trying to constant fold a few expressions
54 def fold(self, node): member in class:Optimizer
67 visit_Filter = visit_Test = visit_CondExpr = fold
68 del fold
/external/chromium_org/v8/test/mjsunit/es6/
H A Diteration-semantics.js80 function fold(cons, seed, iterable) { function
176 assertEquals(45, fold(sum, 0, integers_until(10)));
178 assertEquals([1, 2, 3], fold(append, [], values(1, 2, 3)));
180 assertEquals(45, fold(sum, 0, take(integers_from(0), 10)));
182 assertEquals(90, fold(sum, 0, take(skip_every(integers_from(0), 2), 10)));
192 fold(append, [],
204 fold(append, [],
208 fold(append, [],
215 assertThrows('fold(sum, 0, unreachable(null))', TypeError);
216 assertThrows('fold(su
[all...]
/external/elfutils/0.153/config/
H A DMakefile.am44 | fold -s -w 70 | sed '1!s/^[^-]/ &/' >> $$tmpname; \
/external/clang/test/CXX/drs/
H A Ddr5xx.cpp126 #define fold(x) (__builtin_constant_p(x) ? (x) : (x)) macro
127 int test[fold((int*)(void*)0) ? -1 : 1];
128 #undef fold macro
H A Ddr1xx.cpp566 #define fold(x) (__builtin_constant_p(0) ? (x) : (x)) macro
568 #define fold macro
570 int check[fold(p() == 0) ? 1 : -1];
571 #undef fold macro
H A Ddr2xx.cpp9 #define fold(x) (__builtin_constant_p(x) ? (x) : (x)) macro
11 #define fold macro
28 int arr[fold(g == &f<int>) ? 1 : -1];
834 int a[fold(intp() ? -1 : 1)];
/external/opencv/ml/src/
H A Dmlestimate.cpp98 // it is 1 if all was correct, and it is 2 if current fold wasn't' checked.
108 int k, fold;
115 fold = ++crVal->current_fold;
117 if (fold >= crVal->folds_all)
119 if (fold == crVal->folds_all)
127 k = crVal->folds[fold + 1] - crVal->folds[fold];
128 crVal->sampleIdxTrain->data.i = crVal->sampleIdxAll + crVal->folds[fold + 1];
130 crVal->sampleIdxEval->data.i = crVal->sampleIdxAll + crVal->folds[fold];
277 // Fixing that this fold alread
[all...]
H A Dmltree.cpp102 "or n>0 (tree is pruned using n-fold cross-validation)" );
2264 // * j-th cross-validation fold value and risk are calculated as above,
2266 // * j-th cross-validation fold error is calculated as the weighted number of
2365 // * j-th cross-validation fold value and risk are calculated as above,
2367 // * j-th cross-validation fold error is calculated
2643 // 1. build tree sequence for each cv fold, calculate error_{Tj,beta_k}.
2737 double CvDTree::update_tree_rnc( int T, int fold )
2747 int t = fold >= 0 ? node->cv_Tn[fold] : node->Tn;
2753 if( fold >
2788 cut_tree( int T, int fold, double min_alpha ) argument
[all...]
/external/chromium_org/third_party/opus/src/doc/
H A Dbuild_draft.sh72 cat opus_source.tar.gz| base64 | tr -d '\n' | fold -w 64 | \
/external/compiler-rt/lib/builtins/
H A Dfp_extend_impl.inc43 // Any reasonable optimizer will fold and propagate all of these.
H A Dfp_trunc_impl.inc44 // Any reasonable optimizer will fold and propagate all of these.
/external/llvm/include/llvm/Transforms/Utils/
H A DBuildLibCalls.h130 bool fold(CallInst *CI, const DataLayout *TD, const TargetLibraryInfo *TLI);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
H A Djavascript.js662 fold: "brace",
H A Dclike.js175 fold: "brace"
280 modeProps: {fold: ["brace", "include"]}
299 modeProps: {fold: ["brace", "include"]}
316 modeProps: {fold: ["brace", "import"]}
436 modeProps: {fold: ["brace", "include"]}
/external/chromium_org/third_party/angle/src/compiler/translator/
H A DIntermediate.cpp103 // See if we can fold constants.
110 leftTempConstant->fold(node->getOp(), rightTempConstant, mInfoSink);
226 TIntermTyped *newChild = childTempConstant->fold(op, 0, mInfoSink);
401 // See if all the operands are constant, then fold it otherwise not.
H A DIntermNode.h458 TIntermTyped *fold(TOperator, TIntermTyped *, TInfoSink &);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/core/
H A Dbase.hpp229 fold(F op, T a, It0 it0, It0 end0, Its... its) { function in namespace:clover
/external/mesa3d/src/gallium/state_trackers/clover/core/
H A Dbase.hpp229 fold(F op, T a, It0 it0, It0 end0, Its... its) { function in namespace:clover
/external/chromium_org/third_party/skia/experimental/webtry/res/js/cm/
H A Dclike.js172 fold: "brace"
277 modeProps: {fold: ["brace", "include"]}
296 modeProps: {fold: ["brace", "include"]}
313 modeProps: {fold: ["brace", "import"]}
433 modeProps: {fold: ["brace", "include"]}
/external/skia/experimental/webtry/res/js/cm/
H A Dclike.js172 fold: "brace"
277 modeProps: {fold: ["brace", "include"]}
296 modeProps: {fold: ["brace", "include"]}
313 modeProps: {fold: ["brace", "import"]}
433 modeProps: {fold: ["brace", "include"]}
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/api/
H A Dkernel.cpp238 if (fold(std::multiplies<size_t>(), 1u,
/external/mesa3d/src/gallium/state_trackers/clover/api/
H A Dkernel.cpp238 if (fold(std::multiplies<size_t>(), 1u,
/external/chromium_org/third_party/re2/re2/
H A Dcompile.cc816 // the fold flag is unnecessary; don't bother.
817 bool fold = foldascii; local
819 fold = false;
821 AddRuneRange(i->lo, i->hi, fold);
/external/regex-re2/re2/
H A Dcompile.cc815 // the fold flag is unnecessary; don't bother.
816 bool fold = foldascii; local
818 fold = false;
820 AddRuneRange(i->lo, i->hi, fold);
/external/opencv/ml/include/
H A Dml.h883 virtual double update_tree_rnc( int T, int fold );
884 virtual int cut_tree( int T, int fold, double min_alpha );

Completed in 1431 milliseconds

12