Home
last modified time | relevance | path

Searched refs:versionString (Results 1 – 25 of 45) sorted by relevance

12

/external/skqp/src/gpu/gl/
DGrGLUtil.cpp66 GrGLStandard GrGLGetStandardInUseFromString(const char* versionString) { in GrGLGetStandardInUseFromString() argument
67 if (nullptr == versionString) { in GrGLGetStandardInUseFromString()
75 int n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetStandardInUseFromString()
82 n = sscanf(versionString, "OpenGL ES-%c%c %d.%d", profile, profile+1, &major, &minor); in GrGLGetStandardInUseFromString()
89 n = sscanf(versionString, "OpenGL ES %d.%d", &major, &minor); in GrGLGetStandardInUseFromString()
99 const char* versionString, in GrGLGetDriverInfo() argument
111 if (!versionString) { in GrGLGetDriverInfo()
112 versionString = ""; in GrGLGetDriverInfo()
118 (3 == sscanf(versionString, "OpenGL ES %d.%d %8s", &major, &minor, suffix) && in GrGLGetDriverInfo()
127 int n = sscanf(versionString, "%d.%d.%d NVIDIA %d.%d", in GrGLGetDriverInfo()
[all …]
DGrGLUtil.h169 GrGLVersion GrGLGetVersionFromString(const char* versionString);
170 GrGLStandard GrGLGetStandardInUseFromString(const char* versionString);
171 GrGLSLVersion GrGLGetGLSLVersionFromString(const char* versionString);
180 const char* versionString,
/external/icu/icu4c/source/test/cintltst/
Dputiltst.c239 char versionString[17]; /* xxx.xxx.xxx.xxx\0 */ in TestVersion() local
246 u_versionToString(versionArray, versionString); in TestVersion()
247 if(strcmp(versionString, "1.0.2.2") != 0){ in TestVersion()
248 log_err("ERROR: u_versionToString() failed. Expected: 1.0.2.2, Got=%s\n", versionString); in TestVersion()
251 u_versionToString(NULL, versionString); in TestVersion()
252 if(strcmp(versionString, "") != 0){ in TestVersion()
256 u_versionToString(NULL, versionString); in TestVersion()
257 if(strcmp(versionString, "") != 0){ in TestVersion()
262 if(strcmp(versionString, "") != 0){ in TestVersion()
267 u_versionToString(versionArray, versionString); in TestVersion()
[all …]
/external/skia/src/gpu/gl/
DGrGLUtil.cpp27 GrGLStandard GrGLGetStandardInUseFromString(const char* versionString) { in GrGLGetStandardInUseFromString() argument
28 if (!versionString) { in GrGLGetStandardInUseFromString()
36 int n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetStandardInUseFromString()
43 n = sscanf(versionString, "OpenGL ES %d.%d (WebGL %d.%d", &esMajor, &esMinor, &major, &minor); in GrGLGetStandardInUseFromString()
50 n = sscanf(versionString, "OpenGL ES-%c%c %d.%d", profile, profile+1, &major, &minor); in GrGLGetStandardInUseFromString()
57 n = sscanf(versionString, "OpenGL ES %d.%d", &major, &minor); in GrGLGetStandardInUseFromString()
64 GrGLVersion GrGLGetVersionFromString(const char* versionString) { in GrGLGetVersionFromString() argument
65 if (!versionString) { in GrGLGetVersionFromString()
74 int n = sscanf(versionString, "%d.%d Mesa %d.%d", &major, &minor, &mesaMajor, &mesaMinor); in GrGLGetVersionFromString()
79 n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetVersionFromString()
[all …]
/external/angle/src/libANGLE/renderer/d3d/
Ddriver_utils_d3d.cpp16 std::stringstream versionString; in GetDriverVersionString() local
19 versionString << ((intVersion >> 48) & kMask16) << "."; in GetDriverVersionString()
20 versionString << ((intVersion >> 32) & kMask16) << "."; in GetDriverVersionString()
21 versionString << ((intVersion >> 16) & kMask16) << "."; in GetDriverVersionString()
22 versionString << (intVersion & kMask16); in GetDriverVersionString()
23 return versionString.str(); in GetDriverVersionString()
/external/icu/android_icu4j/libcore_bridge/src/native/
Dcom_android_icu_util_ICU4CMetadata.cpp27 static jstring versionString(JNIEnv* env, const UVersionInfo& version) { in versionString() function
28 char versionString[U_MAX_VERSION_STRING_LENGTH]; in versionString() local
29 u_versionToString(const_cast<UVersionInfo&>(version), &versionString[0]); in versionString()
30 return env->NewStringUTF(versionString); in versionString()
37 return versionString(env, cldrVersion); in Icu4cMetadata_getCldrVersion()
43 return versionString(env, icuVersion); in Icu4cMetadata_getIcuVersion()
49 return versionString(env, unicodeVersion); in Icu4cMetadata_getUnicodeVersion()
/external/angle/src/libANGLE/renderer/gl/
DDisplayGL.cpp56 std::string SanitizeVersionString(std::string versionString, bool isES) in SanitizeVersionString() argument
58 if (versionString.find("OpenGL") == std::string::npos) in SanitizeVersionString()
65 versionString = prefix + versionString; in SanitizeVersionString()
67 return versionString; in SanitizeVersionString()
167 std::string versionString = GetVersionString(getRenderer()->getFunctions()); in getVersionString() local
168 return SanitizeVersionString(versionString, in getVersionString()
/external/angle/src/tests/gl_tests/
DRendererTest.cpp47 std::string versionString = in TEST_P() local
49 angle::ToLower(&versionString); in TEST_P()
137 ASSERT_NE(versionString.find(std::string("es 3.1")), std::string::npos); in TEST_P()
141 ASSERT_NE(versionString.find(std::string("es 3.0")), std::string::npos); in TEST_P()
145 ASSERT_NE(versionString.find(std::string("es 2.0")), std::string::npos); in TEST_P()
/external/cldr/tools/java/org/unicode/cldr/tool/
DCldrVersion.java57 public static CldrVersion from(String versionString) { in from() argument
58 …return valueOf(versionString.charAt(0) < 'A' ? "v" + versionString.replace('.', '_') : versionStri… in from()
141 String versionString = subdir.substring("cldr-".length()); in checkVersions() local
142 VersionInfo versionInfo = VersionInfo.getInstance(versionString); in checkVersions()
145 CldrVersion found = CldrVersion.from(versionString); in checkVersions()
/external/icu/icu4c/source/common/unicode/
Duversion.h145 u_versionFromString(UVersionInfo versionArray, const char *versionString);
159 u_versionFromUString(UVersionInfo versionArray, const UChar *versionString);
175 u_versionToString(const UVersionInfo versionArray, char *versionString);
/external/icu/libicu/cts_headers/unicode/
Duversion.h145 u_versionFromString(UVersionInfo versionArray, const char *versionString);
159 u_versionFromUString(UVersionInfo versionArray, const UChar *versionString);
175 u_versionToString(const UVersionInfo versionArray, char *versionString);
/external/icu/libandroidicu/include/unicode/
Duversion.h145 u_versionFromString(UVersionInfo versionArray, const char *versionString);
159 u_versionFromUString(UVersionInfo versionArray, const UChar *versionString);
175 u_versionToString(const UVersionInfo versionArray, char *versionString);
/external/clang/lib/StaticAnalyzer/Frontend/
DCheckerRegistration.cpp37 static bool isCompatibleAPIVersion(const char *versionString);
79 bool ClangCheckerRegistry::isCompatibleAPIVersion(const char *versionString) { in isCompatibleAPIVersion() argument
81 if (!versionString) in isCompatibleAPIVersion()
86 return strcmp(versionString, CLANG_ANALYZER_API_VERSION_STRING) == 0; in isCompatibleAPIVersion()
/external/oauth/core/src/main/java/net/oauth/
DSimpleOAuthValidator.java74 String versionString = message.getParameter(OAuth.OAUTH_VERSION); in validateVersion() local
75 if (versionString != null) { in validateVersion()
76 double version = Double.parseDouble(versionString); in validateVersion()
/external/icu/icu4c/source/common/
Dputil.cpp2239 u_versionFromString(UVersionInfo versionArray, const char *versionString) { argument
2247 if(versionString!=NULL) {
2249 versionArray[part]=(uint8_t)uprv_strtoul(versionString, &end, 10);
2250 if(end==versionString || ++part==U_MAX_VERSION_LENGTH || *end!=U_VERSION_DELIMITER) {
2253 versionString=end+1;
2263 u_versionFromUString(UVersionInfo versionArray, const UChar *versionString) { argument
2264 if(versionArray!=NULL && versionString!=NULL) {
2266 int32_t len = u_strlen(versionString);
2270 u_UCharsToChars(versionString, versionChars, len);
2277 u_versionToString(const UVersionInfo versionArray, char *versionString) { argument
[all …]
/external/angle/src/tests/egl_tests/
DEGLBackwardsCompatibleContextTest.cpp23 const char *versionString = reinterpret_cast<const char *>(glGetString(GL_VERSION)); in GetCurrentContextVersion() local
24 EXPECT_TRUE(strstr(versionString, "OpenGL ES") != nullptr); in GetCurrentContextVersion()
25 return {versionString[10] - '0', versionString[12] - '0'}; in GetCurrentContextVersion()
/external/catch2/scripts/
DreleaseCommon.py62versionString = '{0}.{1}.{2}'.format( self.majorVersion, self.minorVersion, self.patchNumber )
64 versionString = versionString + '-{0}.{1}'.format( self.branchName, self.buildNumber )
65 return versionString
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/timezone/
DTzDataSetVersion.java268 private static int from3DigitVersionString(String versionString) throws TzDataSetException { in from3DigitVersionString() argument
271 if (versionString.length() != 3) { in from3DigitVersionString()
275 int version = Integer.parseInt(versionString); in from3DigitVersionString()
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
DIcuData.java99 public void setVersion(String versionString) { in setVersion() argument
100 replace(RB_VERSION, versionString); in setVersion()
/external/okhttp/okcurl/src/main/java/com/squareup/okhttp/curl/
DMain.java71 private static String versionString() { in versionString() method in Main
97 public String userAgent = NAME + "/" + versionString();
134 System.out.println(NAME + " " + versionString()); in run()
/external/deqp/modules/gles31/functional/
Des31fNegativeSSBOBlockTests.cpp362 std::string versionString(glu::getGLSLVersionDeclaration(version)); in ssbo_block_matching() local
363 args::SsboArgs ssboArgs(versionString, log); in ssbo_block_matching()
451 std::string versionString(glu::getGLSLVersionDeclaration(version)); in ssbo_block_shared_qualifier() local
452 args::SsboArgs ssboArgs(versionString, log); in ssbo_block_shared_qualifier()
/external/icu/libicu/ndk_headers/unicode/
Duversion.h151 u_versionToString(const UVersionInfo versionArray, char *versionString) __INTRODUCED_IN(31);
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DUsageException.java96 appendLine(builder, Main.versionString()); in buildMessage()
/external/deqp/external/openglcts/modules/gl/
Dgl4cShaderAtomicCounterOpsTests.cpp159 std::string versionString; in ShaderPipeline() local
163 versionString = "#version 460 core"; in ShaderPipeline()
169 versionString = "#version 450 core"; in ShaderPipeline()
178 prepareShader(m_shaders[i], "<version>", versionString); in ShaderPipeline()
/external/skia/tools/gpu/gl/interface/
Dtemplates.go120 const char* versionString = (const char*) GetString(GR_GL_VERSION);
121 GrGLVersion glVer = GrGLGetVersionFromString(versionString);

12