/external/libtextclassifier/tests/ |
functions.h | 31 virtual double Evaluate(double x) = 0; 36 double Evaluate(double x) override { return cos(x); } 42 double Evaluate(double x) override { return exp(x); } 50 virtual int Evaluate(int k) = 0; 55 int Evaluate(int k) override { return k + 1; } 61 int Evaluate(int k) override { return k + 1; }
|
registry_test.cc | 48 EXPECT_NEAR(f1->Evaluate(-3), -0.9899, 0.0001); 49 EXPECT_NEAR(f2->Evaluate(2.3), 9.9741, 0.0001); 53 EXPECT_EQ(f3->Evaluate(7), 8);
|
/external/dng_sdk/source/ |
dng_1d_function.cpp | 45 real64 y0 = Evaluate (x0); 48 real64 y1 = Evaluate (x1); 62 real64 y2 = Evaluate (x2); 87 real64 dng_1d_identity::Evaluate (real64 x) const 138 real64 dng_1d_concatenate::Evaluate (real64 x) const 141 real64 y = Pin_real64 (0.0, fFunction1.Evaluate (x), 1.0); 143 return fFunction2.Evaluate (y); 179 real64 dng_1d_inverse::Evaluate (real64 x) const 191 return fFunction.Evaluate (y);
|
dng_1d_function.h | 41 /// Returns true if this function is the map x -> y such that x == y for all x . That is if Evaluate(x) == x for all x. 51 virtual real64 Evaluate (real64 x) const = 0; 55 /// for x such that Evaluate(x) == y. 57 /// \retval A value x such that Evaluate(x) == y (to very close approximation). 77 virtual real64 Evaluate (real64 x) const; 104 /// Create a dng_1d_function which computes y = function2.Evaluate(function1.Evaluate(x)). 105 /// Compose function1 and function2 to compute y = function2.Evaluate(function1.Evaluate(x)). The range of function1.Evaluate must be a subset of 0.0 to 1.0 inclusive [all...] |
dng_color_space.h | 37 virtual real64 Evaluate (real64 x) const; 54 virtual real64 Evaluate (real64 x) const; 71 virtual real64 Evaluate (real64 x) const; 135 return GammaFunction ().Evaluate (x);
|
dng_render.h | 55 virtual real64 Evaluate (real64 x) const; 83 virtual real64 Evaluate (real64 x) const; 98 virtual real64 Evaluate (real64 x) const; 123 virtual real64 Evaluate (real64 x) const;
|
dng_1d_table.cpp | 72 fTable [middle] = (real32) function.Evaluate (middle * (1.0 / (real64) kTableSize)); 120 fTable [0 ] = (real32) function.Evaluate (0.0); 121 fTable [kTableSize] = (real32) function.Evaluate (1.0); 142 real64 y = function.Evaluate (x);
|
dng_spline.h | 76 virtual real64 Evaluate (real64 x) const;
|
/external/libtextclassifier/lang_id/ |
relevant-script-feature.h | 47 void Evaluate(const WorkspaceSet &workspaces, const LightSentence &sentence,
|
language-identifier-features.h | 48 void Evaluate(const WorkspaceSet &workspaces, const LightSentence &sentence, 55 // Auxiliary for Evaluate(). Fills counts_ and non_zero_count_indices_ (see 59 // counts_[i] is the count of all ngrams with id i. Work data for Evaluate(). 61 // stays allocated in between calls to Evaluate().
|
language-identifier-features.cc | 54 // the end of each call to Evaluate(). Hence, this invariant holds at the 55 // beginning of each run of Evaluate(), where the only call to this code takes 117 void ContinuousBagOfNgramsFunction::Evaluate(const WorkspaceSet &workspaces, 131 // Clear up counts_, for the next invocation of Evaluate(). 135 // Clear up non_zero_count_indices_, for the next invocation of Evaluate().
|
/bootable/recovery/edify/ |
expr.cpp | 37 // - if Evaluate() on any argument returns nullptr, return nullptr. 43 bool Evaluate(State* state, const std::unique_ptr<Expr>& expr, std::string* result) { 83 if (!Evaluate(state, argv[i], &str)) { 99 if (!Evaluate(state, argv[0], &cond)) { 114 if (!argv.empty() && Evaluate(state, argv[0], &msg)) { 125 if (!Evaluate(state, argv[i], &result)) { 139 if (!Evaluate(state, argv[0], &val)) { 155 if (!Evaluate(state, argv[i], &v)) { 166 if (!Evaluate(state, argv[0], &left)) { 179 if (!Evaluate(state, argv[0], &left)) [all...] |
edify_parser.cpp | 71 if (!Evaluate(&state, root, &result)) {
|
/external/libchrome/base/test/ |
trace_event_analyzer_unittest.cc | 188 EXPECT_TRUE(event_pid.Evaluate(event)); 189 EXPECT_TRUE(event_tid.Evaluate(event)); 190 EXPECT_TRUE(event_time.Evaluate(event)); 191 EXPECT_TRUE(event_duration.Evaluate(event)); 192 EXPECT_TRUE(event_phase.Evaluate(event)); 193 EXPECT_TRUE(event_category.Evaluate(event)); 194 EXPECT_TRUE(event_name.Evaluate(event)); 195 EXPECT_TRUE(event_id.Evaluate(event)); 196 EXPECT_TRUE(event_has_arg1.Evaluate(event)); 197 EXPECT_TRUE(event_has_arg2.Evaluate(event)) [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/ |
inspector_runtime.py | 21 self.Evaluate(expr + '; 0;', context_id, timeout) 23 def Evaluate(self, expr, context_id, timeout): 36 'method': 'Runtime.evaluate',
|
/art/compiler/optimizing/ |
dead_code_elimination.cc | 120 static HConstant* Evaluate(HCondition* condition, HInstruction* left, HInstruction* right) { 131 return condition->Evaluate(left->AsIntConstant(), right->AsIntConstant()); 133 return condition->Evaluate(left->AsNullConstant(), right->AsNullConstant()); 135 return condition->Evaluate(left->AsLongConstant(), right->AsLongConstant()); 137 return condition->Evaluate(left->AsFloatConstant(), right->AsFloatConstant()); 140 return condition->Evaluate(left->AsDoubleConstant(), right->AsDoubleConstant()); 219 value_to_check = Evaluate(first->AsCondition(), input, first->InputAt(1)); 221 value_to_check = Evaluate(first->AsCondition(), first->InputAt(0), input); 225 // Could not evaluate to a constant, continue iterating over the inputs. 254 // Evaluate here (and not wait for a constant folding pass) to ope [all...] |
nodes.h | [all...] |
nodes_shared.h | 91 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const OVERRIDE { 95 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const OVERRIDE { 99 HConstant* Evaluate(HFloatConstant* x ATTRIBUTE_UNUSED, 104 HConstant* Evaluate(HDoubleConstant* x ATTRIBUTE_UNUSED,
|
/external/deqp/framework/randomshaders/ |
rsgBuiltinFunctions.hpp | 35 template <class GetValueRangeWeight, class ComputeValueRange, class Evaluate> 45 void evaluate (ExecutionContext& execCtx); 57 template <class GetValueRangeWeight, class ComputeValueRange, class Evaluate> 58 UnaryBuiltinVecFunc<GetValueRangeWeight, ComputeValueRange, Evaluate>::UnaryBuiltinVecFunc (GeneratorState& state, const char* function, ConstValueRangeAccess valueRange) 78 template <class GetValueRangeWeight, class ComputeValueRange, class Evaluate> 79 UnaryBuiltinVecFunc<GetValueRangeWeight, ComputeValueRange, Evaluate>::~UnaryBuiltinVecFunc (void) 84 template <class GetValueRangeWeight, class ComputeValueRange, class Evaluate> 85 Expression* UnaryBuiltinVecFunc<GetValueRangeWeight, ComputeValueRange, Evaluate>::createNextChild (GeneratorState& state) 94 template <class GetValueRangeWeight, class ComputeValueRange, class Evaluate> 95 void UnaryBuiltinVecFunc<GetValueRangeWeight, ComputeValueRange, Evaluate>::tokenize (GeneratorState& state, TokenStream& str) cons 103 void UnaryBuiltinVecFunc<GetValueRangeWeight, ComputeValueRange, Evaluate>::evaluate (ExecutionContext& execCtx) function in class:rsg::UnaryBuiltinVecFunc [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/ |
toplevel.ml | 25 (* Evaluate a top-level expression into an anonymous function. *)
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/ |
toplevel.ml | 29 (* Evaluate a top-level expression into an anonymous function. *)
|
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter2/ |
toplevel.ml | 25 (* Evaluate a top-level expression into an anonymous function. *)
|
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter3/ |
toplevel.ml | 29 (* Evaluate a top-level expression into an anonymous function. *)
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SetupBrowserDxe/ |
Expression.h | 204 Evaluate the result of a HII expression.
233 @param Evaluate Whether need to evaluate the expression first.
244 IN BOOLEAN Evaluate,
|
/external/google-breakpad/src/processor/ |
postfix_evaluator.h | 58 // Evaluate, unless used in an expression prior to being assigned to. The 92 // Create a PostfixEvaluator object that may be used (with Evaluate) on 97 // Evaluate. 101 // Evaluate the expression, starting with an empty stack. The results of 108 bool Evaluate(const string &expression, DictionaryValidityType *assigned); 110 // Like Evaluate, but provides the value left on the stack to the 151 // Evaluate expression, updating *assigned if it is non-zero. Return
|