/external/mesa3d/src/gallium/state_trackers/wgl/ |
D | stw_ext_context.c | 62 int majorVersion = 1, minorVersion = 0, layerPlane = 0; in wglCreateContextAttribsARB() local 75 majorVersion = attribList[++i]; in wglCreateContextAttribsARB() 116 if (majorVersion <= 0 || in wglCreateContextAttribsARB() 119 ((majorVersion == 1 && minorVersion > 5) || in wglCreateContextAttribsARB() 120 (majorVersion == 2 && minorVersion > 1) || in wglCreateContextAttribsARB() 121 (majorVersion == 3 && minorVersion > 3) || in wglCreateContextAttribsARB() 122 (majorVersion == 4 && minorVersion > 5) || in wglCreateContextAttribsARB() 123 majorVersion > 4)) || in wglCreateContextAttribsARB() 125 ((majorVersion == 1 && minorVersion > 1) || in wglCreateContextAttribsARB() 126 (majorVersion == 2 && minorVersion > 0) || in wglCreateContextAttribsARB() [all …]
|
/external/deqp/modules/egl/ |
D | teglCreateContextExtTests.cpp | 206 EGLint majorVersion = 1; in attribListToContextType() local 218 majorVersion = (*iter); in attribListToContextType() 271 return glu::ContextType(majorVersion, minorVersion, profile, flags); in attribListToContextType() 446 int majorVersion = 0; in checkVersionString() local 487 if (majorVersion == 0 && val == 0) in checkVersionString() 493 majorVersion = majorVersion * 10 + val; in checkVersionString() 540 if (majorVersion < major) in checkVersionString() 545 else if (majorVersion == major && minorVersion < minor) in checkVersionString() 550 else if (majorVersion == major && minorVersion == minor) in checkVersionString() 555 if (majorVersion == 3 && minorVersion == 1) in checkVersionString() [all …]
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | MimeVersion.java | 60 protected int majorVersion; field in MimeVersion 84 return majorVersion; in getMajorVersion() 110 public void setMajorVersion(int majorVersion) in setMajorVersion() argument 112 if (majorVersion < 0) in setMajorVersion() 116 this.majorVersion = majorVersion; in setMajorVersion() 124 return Integer.toString(majorVersion) in encodeBody()
|
/external/curl/lib/ |
D | system_win32.c | 162 bool Curl_verify_windows_version(const unsigned int majorVersion, in Curl_verify_windows_version() argument 172 const WORD fullVersion = MAKEWORD(minorVersion, majorVersion); in Curl_verify_windows_version() 213 if(osver.dwMajorVersion < majorVersion || in Curl_verify_windows_version() 214 (osver.dwMajorVersion == majorVersion && in Curl_verify_windows_version() 220 if(osver.dwMajorVersion < majorVersion || in Curl_verify_windows_version() 221 (osver.dwMajorVersion == majorVersion && in Curl_verify_windows_version() 227 if(osver.dwMajorVersion == majorVersion && in Curl_verify_windows_version() 233 if(osver.dwMajorVersion > majorVersion || in Curl_verify_windows_version() 234 (osver.dwMajorVersion == majorVersion && in Curl_verify_windows_version() 240 if(osver.dwMajorVersion > majorVersion || in Curl_verify_windows_version() [all …]
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _c_v_a_r.py | 30 self.majorVersion, self.minorVersion = 1, 0 41 "majorVersion": self.majorVersion, 56 self.majorVersion = header["majorVersion"] 58 assert self.majorVersion == 1, self.majorVersion 67 self.majorVersion = int(attrs.get("major", "1")) 81 major=self.majorVersion, minor=self.minorVersion)
|
D | V_O_R_G_.py | 18 …self.majorVersion, self.minorVersion, self.defaultVertOriginY, self.numVertOriginYMetrics = struct… 19 assert (self.majorVersion <= 1), "Major version of VORG table is higher than I know how to handle" 54 …header = struct.pack(">HHhH", self.majorVersion, self.minorVersion, self.defaultVertOriginY, self.… 60 writer.simpletag("majorVersion", value=self.majorVersion)
|
D | _a_v_a_r.py | 60 majorVersion = header["majorVersion"] 61 if majorVersion != 1: 62 raise TTLibError("unsupported 'avar' version %d" % majorVersion)
|
/external/catch2/scripts/ |
D | releaseCommon.py | 24 self.majorVersion = int(m.group(2)) 57 self.majorVersion = self.majorVersion+1 60 … versionString = '{0}.{1}.{2}'.format( self.majorVersion, self.minorVersion, self.patchNumber ) 71 …( '{0}( {1}, {2}, {3}, "{4}", {5} );'.format( self.variableDecl, self.majorVersion, self.minorVers… 117 file.write('#define CATCH_VERSION_MAJOR {}\n'.format(version.majorVersion))
|
/external/swiftshader/src/Shader/ |
D | Shader.cpp | 129 …Shader::Instruction::Instruction(const unsigned long *token, int size, unsigned char majorVersion)… in Instruction() argument 131 parseOperationToken(*token++, majorVersion); in Instruction() 144 if(size > 0) parseSourceToken(0, token++, majorVersion); in Instruction() 145 if(size > 1) parseSourceToken(1, token++, majorVersion); in Instruction() 146 if(size > 2) parseSourceToken(2, token++, majorVersion); in Instruction() 152 parseDestinationToken(token++, majorVersion); in Instruction() 158 parseDestinationToken(token, majorVersion); in Instruction() 160 if(dst.rel.type != PARAMETER_VOID && majorVersion >= 3) in Instruction() 183 parseSourceToken(i, token, majorVersion); in Instruction() 188 if(src[i].rel.type != PARAMETER_VOID && majorVersion >= 2) in Instruction() [all …]
|
D | Shader.hpp | 495 Instruction(const unsigned long *token, int size, unsigned char majorVersion); 499 void parseOperationToken(unsigned long token, unsigned char majorVersion); 501 void parseDestinationToken(const unsigned long *token, unsigned char majorVersion); 502 void parseSourceToken(int i, const unsigned long *token, unsigned char majorVersion); 643 unsigned char majorVersion; member
|
/external/swiftshader/src/Pipeline/ |
D | Shader.cpp | 129 …Shader::Instruction::Instruction(const unsigned long *token, int size, unsigned char majorVersion)… in Instruction() argument 131 parseOperationToken(*token++, majorVersion); in Instruction() 144 if(size > 0) parseSourceToken(0, token++, majorVersion); in Instruction() 145 if(size > 1) parseSourceToken(1, token++, majorVersion); in Instruction() 146 if(size > 2) parseSourceToken(2, token++, majorVersion); in Instruction() 152 parseDestinationToken(token++, majorVersion); in Instruction() 158 parseDestinationToken(token, majorVersion); in Instruction() 160 if(dst.rel.type != PARAMETER_VOID && majorVersion >= 3) in Instruction() 183 parseSourceToken(i, token, majorVersion); in Instruction() 188 if(src[i].rel.type != PARAMETER_VOID && majorVersion >= 2) in Instruction() [all …]
|
D | Shader.hpp | 494 Instruction(const unsigned long *token, int size, unsigned char majorVersion); 498 void parseOperationToken(unsigned long token, unsigned char majorVersion); 500 void parseDestinationToken(const unsigned long *token, unsigned char majorVersion); 501 void parseSourceToken(int i, const unsigned long *token, unsigned char majorVersion); 642 unsigned char majorVersion; member
|
/external/mesa3d/src/glx/windows/ |
D | xwindowsdri.c | 105 XWindowsDRIQueryVersion(dpy, majorVersion, minorVersion, patchVersion) in XWindowsDRIQueryVersion() argument 107 int *majorVersion; 128 *majorVersion = rep.majorVersion; 133 TRACE("QueryVersion: %d.%d.%d", *majorVersion, *minorVersion, *patchVersion);
|
/external/mesa3d/src/glx/ |
D | clientinfo.c | 77 if (glx_dpy->majorVersion == 1 && glx_dpy->minorVersion == 0) in __glX_send_client_info() 130 if (glx_dpy->majorVersion == 1 && glx_dpy->minorVersion == 4 in __glX_send_client_info() 141 } else if (glx_dpy->majorVersion == 1 && glx_dpy->minorVersion == 4 in __glX_send_client_info()
|
/external/python/cpython3/Lib/ctypes/ |
D | util.py | 22 majorVersion = int(s[:-2]) - 6 23 if majorVersion >= 13: 24 majorVersion += 1 27 if majorVersion == 6: 29 if majorVersion >= 6: 30 return majorVersion + minorVersion
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/ |
D | ClassFileVersionTest.java | 77 int majorVersion = classFileVersionReply.getNextValueAsInt(); in testClassFileVersion001() local 96 …hisCommandName + "returned invalid majorVersion,", expectedMajorVersion, majorVersion, null, null); in testClassFileVersion001() 100 logWriter.println("=> majorVersion = " + majorVersion); in testClassFileVersion001()
|
/external/fonttools/Tests/ttLib/tables/ |
D | _c_v_a_r_test.py | 84 self.assertEqual(cvar.majorVersion, 1) 91 self.assertEqual(cvar.majorVersion, 1) 99 self.assertEqual(cvar.majorVersion, 1)
|
/external/catch2/include/internal/ |
D | catch_version.cpp | 20 : majorVersion( _majorVersion ), in Version() 28 os << version.majorVersion << '.' in operator <<()
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
D | MimeVersionParser.java | 76 String majorVersion = this.lexer.number(); in parse() local 77 mimeVersion.setMajorVersion(Integer.parseInt(majorVersion)); in parse()
|
/external/python/cpython2/Lib/ctypes/ |
D | util.py | 21 majorVersion = int(s[:-2]) - 6 24 if majorVersion == 6: 26 if majorVersion >= 6: 27 return majorVersion + minorVersion
|
/external/fonttools/Lib/fontTools/ttLib/ |
D | sfnt.py | 301 if data.majorVersion is not None and data.minorVersion is not None: 302 self.majorVersion = data.majorVersion 306 self.majorVersion, self.minorVersion = struct.unpack(">HH", self.headTable[4:8]) 308 self.majorVersion = self.minorVersion = 0 546 self.majorVersion = None 551 self.majorVersion = reader.majorVersion
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
D | TestHelper_Driver1.java | 32 int majorVersion = 1; field in TestHelper_Driver1 98 return majorVersion; in getMajorVersion()
|
D | TestHelper_Driver4.java | 31 int majorVersion = 1; field in TestHelper_Driver4 114 return majorVersion; in getMajorVersion()
|
/external/python/cpython3/Lib/distutils/ |
D | msvccompiler.py | 159 majorVersion = int(s[:-2]) - 6 160 if majorVersion >= 13: 162 majorVersion += 1 165 if majorVersion == 6: 167 if majorVersion >= 6: 168 return majorVersion + minorVersion
|
/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
D | glx_api.c | 2745 int majorVersion = 1, minorVersion = 0; in glXCreateContextAttribsARB() local 2759 majorVersion = attrib_list[++i]; in glXCreateContextAttribsARB() 2806 if (majorVersion <= 0 || in glXCreateContextAttribsARB() 2809 ((majorVersion == 1 && minorVersion > 5) || in glXCreateContextAttribsARB() 2810 (majorVersion == 2 && minorVersion > 1) || in glXCreateContextAttribsARB() 2811 (majorVersion == 3 && minorVersion > 3) || in glXCreateContextAttribsARB() 2812 (majorVersion == 4 && minorVersion > 5) || in glXCreateContextAttribsARB() 2813 majorVersion > 4))) { in glXCreateContextAttribsARB() 2818 ((majorVersion == 1 && minorVersion > 1) || in glXCreateContextAttribsARB() 2819 (majorVersion == 2 && minorVersion > 0) || in glXCreateContextAttribsARB() [all …]
|