Home | History | Annotate | Download | only in script_api

Lines Matching refs:string

60  * preprocessor.  Returns empty string if there's no substitution.
62 static string findSubstitute(const string& typeName, unsigned int apiLevel, int intSize) {
96 list<string> expandTypedefs(const string type, unsigned int apiLevel, int intSize, string& vectorSize) {
97 // Split the string in tokens.
99 list<string> tokens{istream_iterator<string>{stream}, istream_iterator<string>{}};
102 const string substitute = findSubstitute(*i, apiLevel, intSize);
107 // Split the replacement string in tokens.
113 string unused;
114 string newVectorSize;
129 list<string> newTokens{istream_iterator<string>{stream}, istream_iterator<string>{}};
144 static bool eatFront(list<string>* tokens, const char* prefix) {
154 * and return a pointer to the string. If not, return nullptr.
156 static const char* findManglingOfBuiltInType(list<string>* tokens) {
180 static inline string mangleLongName(const string& name) {
197 static bool mangleType(string vectorSize, list<string>* tokens, vector<string>* previousManglings,
198 string* mangling, string* compressedMangling) {
199 string delta; // The part of the mangling we're generating for this recursion.
259 string rest, compressedRest;
304 vector<string> previousManglings;
307 string vectorSize = p->mVectorSize;
308 list<string> tokens = expandTypedefs(p->rsType, apiLevel, intSize, vectorSize);
312 string mangling, compressedMangling;
328 int intSize, set<string>* allManglings) {
329 const string& functionName = permutation.getName();
330 string mangling;
353 set<string>* allManglings) {
396 set<string> allManglings;
419 file << "std::vector<std::string> stubList = {\n";
429 static const string addVariable(GeneratedFile* file, unsigned int* variableNumber) {
430 const string name = "buf" + to_string((*variableNumber)++);
485 static bool generateApiTesterFile(const string& slangTestDirectory, unsigned int apiLevel) {
551 bool generateStubsWhiteList(const string& slangTestDirectory, unsigned int maxApiLevel) {