Lines Matching refs:type

19 	// for the alignment type macros (only for the type names)
60 Type(const char* type) : type(type) {}
61 Type(const string& type) : type(type) {}
63 string type;
68 NamedType(const char* type, const char* name)
69 : Type(type), name(name) {}
70 NamedType(const string& type, const string& name)
71 : Type(type), name(name) {}
91 void AddParameter(const NamedType& type)
93 fParameters.push_back(type);
106 void SetReturnType(const Type& type)
108 fReturnType = type;
396 << returnType.type << "\");" << endl;
406 << ", \"" << param.type << "\", \"" << param.name << "\");"
449 if (returnType.type == "void") {
454 << i << ", sizeof(" << returnType.type << "));" << endl;
462 << "_" << k << ", sizeof(" << param.type << "));" << endl;
473 // get return type and function name
483 "return type.");
506 vector<string> type;
510 type.push_back(token);
514 _ParseFunctionPointerParameter(tokenizer, syscall, type);
519 if (type.size() < 2) {
520 if (type.size() == 1 && type[0] == "void") {
528 string typeName = type.back();
529 type.pop_back();
531 string typeString(type[0]);
532 for (int i = 1; i < (int)type.size(); i++) {
534 typeString += type[i];
540 vector<string>& type)
542 // When this method is entered, the return type and the opening
543 // parenthesis must already be parse and stored in the supplied type
545 if (type.size() < 2) {
547 "No return type.");
551 type.push_back("*");
561 type.push_back(")");
564 type.push_back("(");
566 type.push_back(tokenizer.GetNextToken());
567 type.push_back(")");
568 // compose the type string and add it to the syscall parameters
569 string typeString(type[0]);
570 for (int i = 1; i < (int)type.size(); i++) {
572 typeString += type[i];