Lines Matching defs:major
57 Version::Init(const char* major, const char* minor, const char* micro,
60 if (major != NULL) {
61 fMajor = strdup(major);
91 Version::Create(const char* major, const char* minor, const char* micro,
98 status_t error = version->Init(major, minor, micro, preRelease, release);
174 // avoids clashes, e.g. if one version defines major and minor and one only
175 // major and micro.
176 const char* major = fMajor;
182 if (minor != NULL && major == NULL)
183 major = kVersionPartPlaceholder;
185 size_t size = strlcpy(buffer, major, bufferSize);