Lines Matching defs:Function
31 class Function;
69 * - conditional: Don't verify this value the function return NaN.
76 /* Information about a parameter to a function. The values of all the fields should only be set by
217 /* Represents a function, like "clamp". Even though the spec file contains many entries for clamp,
220 class Function : public Definition {
232 Function(const std::string& name);
233 ~Function();
328 // Maximum number of placeholders (like #1, #2) in function specifications.
331 /* Defines one of the many variations of the function. There's a one to one correspondence between
338 Function* mFunction; // Not owned
358 std::string mAttribute; // Function attributes.
360 // function.
376 /* As of this writing, convert_... is the only function with #1 in its name.
377 * The related Function object contains the name of the function without #n, e.g. convert.
397 // Helper function used by expandString to perform #RST_* substitution
403 void createPermutations(Function* function, Scanner* scanner);
406 FunctionSpecification(Function* function) : mFunction(function), mInternal(false),
410 Function* getFunction() const { return mFunction; }
431 // Return true if we need to generate tests for this function.
436 /* Return true if this function can be overloaded. This is added by default to all
450 // Parse a function specification and add it to specFile.
454 /* A concrete version of a function specification, where all placeholders have been replaced by
465 // function.
467 // The parameters of the function. This does not include the return type. Owned.
469 // The return type. nullptr if a void function. Owned.
479 // The inline code that implements this function. Will be empty if not an inline.
483 FunctionPermutation(Function* function, FunctionSpecification* specification,
524 * that function must be found in the first spec file encountered, so the
529 std::map<std::string, Function*> mDocumentedFunctions;
554 const std::map<std::string, Function*>& getDocumentedFunctions() const {
583 std::map<std::string, Function*> mFunctions;
593 Function* findOrCreateFunction(const std::string& name, bool* created);
605 const std::map<std::string, Function*>& getFunctions() const { return mFunctions; }