Lines Matching refs:std

62     std::string type;
63 std::string name;
71 std::string testOption;
72 std::string documentation;
80 std::string rsType; // The Renderscript type, e.g. "uint3"
81 std::string rsBaseType; // As above but without the number, e.g. "uint"
82 std::string javaBaseType; // The type we need to declare in Java, e.g. "unsigned int"
83 std::string specType; // The type found in the spec, e.g. "f16"
88 std::string mVectorSize;
92 std::string vectorWidth;
94 std::string specName; // e.g. x, as found in the spec file
95 std::string variableName; // e.g. inX, used both in .rs and .java
96 std::string rsAllocName; // e.g. gAllocInX
97 std::string javaAllocName; // e.g. inX
98 std::string javaArrayName; // e.g. arrayInX
99 std::string doubleVariableName; // e.g. inXDouble, used in .java for storing Float16 parameters
103 std::string minValue;
104 std::string maxValue;
108 std::string smallerParameter;
119 void parseParameterDefinition(const std::string& type, const std::string& name,
120 const std::string& testOption, int lineNumber, bool isReturn,
155 std::string mName;
160 std::string mDeprecatedMessage; // Optional specific warning if the API is deprecated
162 std::string mSummary; // A one-line description
163 std::vector<std::string> mDescription; // The comments to be included in the header
164 std::string mUrl; // The URL of the detailed documentation
168 Definition(const std::string& name);
170 std::string getName() const { return mName; } in getName()
173 std::string getDeprecatedMessage() const { return mDeprecatedMessage; } in getDeprecatedMessage()
175 std::string getSummary() const { return mSummary; } in getSummary()
176 const std::vector<std::string>& getDescription() const { return mDescription; } in getDescription()
177 std::string getUrl() const { return mUrl; } in getUrl()
190 std::vector<ConstantSpecification*> mSpecifications; // Owned
193 Constant(const std::string& name) : Definition(name) {} in Constant()
196 const std::vector<ConstantSpecification*> getSpecifications() const { return mSpecifications; } in getSpecifications()
206 std::vector<TypeSpecification*> mSpecifications; // Owned
209 Type(const std::string& name) : Definition(name) {} in Type()
212 const std::vector<TypeSpecification*> getSpecifications() const { return mSpecifications; } in getSpecifications()
223 std::string mCapitalizedName; // The capitalized name, e.g. NativeLog
226 std::vector<ParameterEntry*> mParameters;
227 std::string mReturnDocumentation;
229 std::vector<FunctionSpecification*> mSpecifications; // Owned
232 Function(const std::string& name);
235 std::string getCapitalizedName() const { return mCapitalizedName; } in getCapitalizedName()
236 const std::vector<ParameterEntry*>& getParameters() const { return mParameters; } in getParameters()
237 std::string getReturnDocumentation() const { return mReturnDocumentation; } in getReturnDocumentation()
238 const std::vector<FunctionSpecification*> getSpecifications() const { return mSpecifications; } in getSpecifications()
268 std::string mValue; // E.g. "3.1415"
269 std::string mType; // E.g. "float"
274 std::string getValue() const { return mValue; } in getValue()
275 std::string getType() const { return mType; } in getType()
298 std::string mSimpleType; // The definition of the type
301 std::string mStructName; // The name found after the struct keyword
302 std::vector<std::string> mFields; // One entry per struct field
303 std::vector<std::string> mFieldComments; // One entry per struct field
304 std::string mAttribute; // Some structures may have attributes
307 std::string mEnumName; // The name found after the enum keyword
308 std::vector<std::string> mValues; // One entry per enum value
309 std::vector<std::string> mValueComments; // One entry per enum value
315 std::string getSimpleType() const { return mSimpleType; } in getSimpleType()
316 std::string getStructName() const { return mStructName; } in getStructName()
317 const std::vector<std::string>& getFields() const { return mFields; } in getFields()
318 const std::vector<std::string>& getFieldComments() const { return mFieldComments; } in getFieldComments()
319 std::string getAttribute() const { return mAttribute; } in getAttribute()
320 std::string getEnumName() const { return mEnumName; } in getEnumName()
321 const std::vector<std::string>& getValues() const { return mValues; } in getValues()
322 const std::vector<std::string>& getValueComments() const { return mValueComments; } in getValueComments()
354 std::string mTest;
358 std::string mAttribute; // Function attributes.
359 std::string mPrecisionLimit; // Maximum precision required when checking output of this
363 std::vector<std::vector<std::string> > mReplaceables;
367 std::vector<bool> mIsRSTAllowed;
372 std::vector<FunctionPermutation*> mPermutations;
380 std::string mUnexpandedName;
382 std::vector<ParameterEntry*> mParameters; // The parameters. Owned.
383 std::vector<std::string> mInline; // The inline code to be included in the header
392 std::string expandString(std::string s, int indexOfReplaceable[MAX_REPLACEABLES]) const;
393 void expandStringVector(const std::vector<std::string>& in,
395 std::vector<std::string>* out) const;
398 std::string expandRSTypeInString(const std::string &s,
399 const std::string &pattern,
400 const std::string &cTypeStr) const;
413 std::string getAttribute() const { return mAttribute; } in getAttribute()
414 std::string getTest() const { return mTest; } in getTest()
415 std::string getPrecisionLimit() const { return mPrecisionLimit; } in getPrecisionLimit()
417 const std::vector<FunctionPermutation*>& getPermutations() const { return mPermutations; } in getPermutations()
419 std::string getName(int replacementIndexes[MAX_REPLACEABLES]) const;
420 void getReturn(int replacementIndexes[MAX_REPLACEABLES], std::string* retType,
423 void getParam(size_t index, int replacementIndexes[MAX_REPLACEABLES], std::string* type,
424 std::string* name, std::string* testOption, int* lineNumber) const;
426 std::vector<std::string>* inlines) const;
448 void checkRSTPatternValidity(const std::string &s, bool allow, Scanner *scanner);
460 std::string mName;
461 std::string mNameTrunk; // The name without any expansion, e.g. convert
462 std::string mTest; // How to test. One of "scalar", "vector", "noverify", "limited", and
464 std::string mPrecisionLimit; // Maximum precision required when checking output of this
468 std::vector<ParameterDefinition*> mParams;
480 std::vector<std::string> mInline;
487 std::string getName() const { return mName; } in getName()
488 std::string getNameTrunk() const { return mNameTrunk; } in getNameTrunk()
489 std::string getTest() const { return mTest; } in getTest()
490 std::string getPrecisionLimit() const { return mPrecisionLimit; } in getPrecisionLimit()
492 const std::vector<std::string>& getInline() const { return mInline; } in getInline()
498 const std::vector<ParameterDefinition*> getParams() const { return mParams; } in getParams()
504 std::string mSpecFileName;
505 std::string mHeaderFileName;
506 std::string mDetailedDocumentationUrl;
507 std::string mBriefDescription;
508 std::vector<std::string> mFullDescription;
510 std::vector<std::string> mVerbatimInclude;
517 std::list<ConstantSpecification*> mConstantSpecificationsList;
518 std::list<TypeSpecification*> mTypeSpecificationsList;
519 std::list<FunctionSpecification*> mFunctionSpecificationsList;
527 std::map<std::string, Constant*> mDocumentedConstants;
528 std::map<std::string, Type*> mDocumentedTypes;
529 std::map<std::string, Function*> mDocumentedFunctions;
532 explicit SpecFile(const std::string& specFileName);
534 std::string getSpecFileName() const { return mSpecFileName; } in getSpecFileName()
535 std::string getHeaderFileName() const { return mHeaderFileName; } in getHeaderFileName()
536 std::string getDetailedDocumentationUrl() const { return mDetailedDocumentationUrl; } in getDetailedDocumentationUrl()
537 const std::string getBriefDescription() const { return mBriefDescription; } in getBriefDescription()
538 const std::vector<std::string>& getFullDescription() const { return mFullDescription; } in getFullDescription()
539 const std::vector<std::string>& getVerbatimInclude() const { return mVerbatimInclude; } in getVerbatimInclude()
541 const std::list<ConstantSpecification*>& getConstantSpecifications() const { in getConstantSpecifications()
544 const std::list<TypeSpecification*>& getTypeSpecifications() const { in getTypeSpecifications()
547 const std::list<FunctionSpecification*>& getFunctionSpecifications() const { in getFunctionSpecifications()
550 const std::map<std::string, Constant*>& getDocumentedConstants() const { in getDocumentedConstants()
553 const std::map<std::string, Type*>& getDocumentedTypes() const { return mDocumentedTypes; } in getDocumentedTypes()
554 const std::map<std::string, Function*>& getDocumentedFunctions() const { in getDocumentedFunctions()
576 std::vector<SpecFile*> mSpecFiles;
581 std::map<std::string, Constant*> mConstants;
582 std::map<std::string, Type*> mTypes;
583 std::map<std::string, Function*> mFunctions;
591 Constant* findOrCreateConstant(const std::string& name, bool* created);
592 Type* findOrCreateType(const std::string& name, bool* created);
593 Function* findOrCreateFunction(const std::string& name, bool* created);
598 bool readSpecFile(const std::string& fileName, unsigned int maxApiLevel);
602 const std::vector<SpecFile*>& getSpecFiles() const { return mSpecFiles; } in getSpecFiles()
603 const std::map<std::string, Constant*>& getConstants() const { return mConstants; } in getConstants()
604 const std::map<std::string, Type*>& getTypes() const { return mTypes; } in getTypes()
605 const std::map<std::string, Function*>& getFunctions() const { return mFunctions; } in getFunctions()
608 std::string getHtmlAnchor(const std::string& name) const;
624 void getVectorSizeAndBaseType(const std::string& type, std::string& vectorSize,
625 std::string& baseType);