/external/deqp/modules/gles31/functional/ |
D | es31fShaderBuiltinConstantTests.cpp | 91 static std::string makeCaseName (const std::string& varName) in makeCaseName() argument 93 DE_ASSERT(varName.length() > 3); in makeCaseName() 94 DE_ASSERT(varName.substr(0,3) == "gl_"); in makeCaseName() 97 name << de::toLower(char(varName[3])); in makeCaseName() 99 for (size_t ndx = 4; ndx < varName.length(); ndx++) in makeCaseName() 101 const char c = char(varName[ndx]); in makeCaseName() 129 …ShaderBuiltinConstantCase (Context& context, const char* varName, GetConstantValueFunc getValue, c… 144 …Case<DataType>::ShaderBuiltinConstantCase (Context& context, const char* varName, GetConstantValue… in ShaderBuiltinConstantCase() argument 145 : TestCase (context, makeCaseName(varName).c_str(), varName) in ShaderBuiltinConstantCase() 146 , m_varName (varName) in ShaderBuiltinConstantCase() [all …]
|
D | es31fOpaqueTypeIndexingTests.cpp | 100 const string varName = varPrefix + de::toString(varNdx); in uploadUniformIndices() local 101 const int loc = gl.getUniformLocation(program, varName.c_str()); in uploadUniformIndices() 102 TCU_CHECK_MSG(loc >= 0, ("No location assigned for uniform '" + varName + "'").c_str()); in uploadUniformIndices() 431 const string varName = indicesPrefix + de::toString(lookupNdx); in getShaderSpec() local 432 spec->inputs.push_back(Symbol(varName, VarType(TYPE_INT, PRECISION_HIGHP))); in getShaderSpec() 440 const string varName = resultPrefix + de::toString(lookupNdx); in getShaderSpec() local 441 spec->outputs.push_back(Symbol(varName, VarType(outType, PRECISION_HIGHP))); in getShaderSpec() 809 const string varName = indicesPrefix + de::toString(readNdx); in getShaderSpec() local 810 spec->inputs.push_back(Symbol(varName, VarType(TYPE_INT, PRECISION_HIGHP))); in getShaderSpec() 818 const string varName = resultPrefix + de::toString(readNdx); in getShaderSpec() local [all …]
|
D | es31fComputeShaderBuiltinVarTests.cpp | 78 … ComputeBuiltinVarCase (Context& context, const char* name, const char* varName, DataType varType); 112 …::ComputeBuiltinVarCase (Context& context, const char* name, const char* varName, DataType varType) in ComputeBuiltinVarCase() argument 113 : TestCase (context, name, varName) in ComputeBuiltinVarCase() 114 , m_varName (varName) in ComputeBuiltinVarCase() 136 static string genBuiltinVarSource (const string& varName, DataType varType, const UVec3& localSize) in genBuiltinVarSource() argument 151 << " sb_out.result[offset] = " << varName << ";\n" in genBuiltinVarSource()
|
D | es31fSeparateShaderTests.cpp | 393 const string& varName, in printFloatDeclaration() argument 402 oss << VariableDeclaration(varType, varName, STORAGE_UNIFORM) << ";\n"; in printFloatDeclaration() 404 oss << VariableDeclaration(varType, varName, STORAGE_CONST) in printFloatDeclaration() 445 const string& varName, in genVtxShaderSrc() argument 456 printFloatDeclaration(oss, varName, uniform, value); in genVtxShaderSrc() 497 << "\tgl_Position = vec4(" << varName << " * triangle[gl_VertexID], 0.0, 1.0);\n"; in genVtxShaderSrc() 510 const string& varName, in genFrgShaderSrc() argument 525 printFloatDeclaration(oss, varName, uniform, value); in genFrgShaderSrc() 550 oss << "\t" << "fragColor = vec4(vec3(" << varName << "), 1.0);" << "\n"; in genFrgShaderSrc()
|
/external/autotest/client/site_tests/graphics_SanAngeles/src/ |
D | shader.c | 108 #define GET_ATTRIBUTE_LOC(programName, varName) \ in getLocations() argument 109 sShader##programName.varName = \ in getLocations() 110 glGetAttribLocation(sShader##programName.program, #varName); \ in getLocations() 111 if (sShader##programName.varName == -1) rt = 0 in getLocations() 112 #define GET_UNIFORM_LOC(programName, varName) \ in getLocations() argument 113 sShader##programName.varName = \ in getLocations() 114 glGetUniformLocation(sShader##programName.program, #varName); \ in getLocations() 115 if (sShader##programName.varName == -1) rt = 0 in getLocations()
|
/external/webrtc/webrtc/modules/video_capture/windows/ |
D | device_info_ds.cc | 183 VARIANT varName; in GetDeviceInfo() local 184 VariantInit(&varName); in GetDeviceInfo() 185 hr = pBag->Read(L"Description", &varName, 0); in GetDeviceInfo() 188 hr = pBag->Read(L"FriendlyName", &varName, 0); in GetDeviceInfo() 193 if ((wcsstr(varName.bstrVal, (L"(VFW)")) == NULL) && in GetDeviceInfo() 194 (_wcsnicmp(varName.bstrVal, (L"Google Camera Adapter"),21) in GetDeviceInfo() 204 varName.bstrVal, -1, in GetDeviceInfo() 219 hr = pBag->Read(L"DevicePath", &varName, 0); in GetDeviceInfo() 234 varName.bstrVal, in GetDeviceInfo() 261 VariantClear(&varName); in GetDeviceInfo() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderMatrixTests.cpp | 1639 std::string genGLSLMatToVec3Reduction (const glu::DataType& matType, const char* varName); 1932 …ing ShaderMatrixCase::genGLSLMatToVec3Reduction (const glu::DataType& matType, const char* varName) in genGLSLMatToVec3Reduction() argument 1938 …case TYPE_FLOAT: op << varName << ", " << varName << ", " << varName << ""; … in genGLSLMatToVec3Reduction() 1939 …case TYPE_FLOAT_VEC2: op << varName << ".x, " << varName << ".y, " << varName << ".x"; … in genGLSLMatToVec3Reduction() 1940 case TYPE_FLOAT_VEC3: op << varName << ""; break; in genGLSLMatToVec3Reduction() 1941 …case TYPE_FLOAT_VEC4: op << varName << ".x, " << varName << ".y, " << varName << ".z+" << var… in genGLSLMatToVec3Reduction() 1942 …case TYPE_FLOAT_MAT2: op << varName << "[0][0], " << varName << "[1][0], " << varName << "[0][1]+… in genGLSLMatToVec3Reduction() 1943 …case TYPE_FLOAT_MAT2X3: op << varName << "[0] + " << varName << "[1]"; … in genGLSLMatToVec3Reduction() 1944 …case TYPE_FLOAT_MAT2X4: op << varName << "[0].xyz + " << varName << "[1].yzw"; … in genGLSLMatToVec3Reduction() 1945 …3X2: op << varName << "[0][0]+" << varName << "[0][1], " << varName << "[1][0]+" << varName << "… in genGLSLMatToVec3Reduction() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderMatrixTests.cpp | 1392 std::string genGLSLMatToVec3Reduction (const glu::DataType& matType, const char* varName); 1716 …ing ShaderMatrixCase::genGLSLMatToVec3Reduction (const glu::DataType& matType, const char* varName) in genGLSLMatToVec3Reduction() argument 1722 …case TYPE_FLOAT: op << varName << ", " << varName << ", " << varName << ""; … in genGLSLMatToVec3Reduction() 1723 …case TYPE_FLOAT_VEC2: op << varName << ".x, " << varName << ".y, " << varName << ".x"; … in genGLSLMatToVec3Reduction() 1724 case TYPE_FLOAT_VEC3: op << varName << ""; break; in genGLSLMatToVec3Reduction() 1725 …case TYPE_FLOAT_VEC4: op << varName << ".x, " << varName << ".y, " << varName << ".z+" << var… in genGLSLMatToVec3Reduction() 1726 …case TYPE_FLOAT_MAT2: op << varName << "[0][0], " << varName << "[1][0], " << varName << "[0][1]+… in genGLSLMatToVec3Reduction() 1727 …case TYPE_FLOAT_MAT2X3: op << varName << "[0] + " << varName << "[1]"; … in genGLSLMatToVec3Reduction() 1728 …case TYPE_FLOAT_MAT2X4: op << varName << "[0].xyz + " << varName << "[1].yzw"; … in genGLSLMatToVec3Reduction() 1729 …3X2: op << varName << "[0][0]+" << varName << "[0][1], " << varName << "[1][0]+" << varName << "… in genGLSLMatToVec3Reduction() [all …]
|
D | es3fShaderBuiltinVarTests.cpp | 91 …tCase (Context& context, const char* name, const char* desc, const char* varName, GetConstantValue… 102 …tCase (Context& context, const char* name, const char* desc, const char* varName, GetConstantValue… in ShaderBuiltinConstantCase() argument 104 , m_varName (varName) in ShaderBuiltinConstantCase() 114 …cutor (const glu::RenderContext& renderCtx, glu::ShaderType shaderType, const std::string& varName) in createGetConstantExecutor() argument 121 shaderSpec.source = string("result = ") + varName + ";\n"; in createGetConstantExecutor() 1090 const char* varName; in init() member 1115 const char* const varName = builtinConstants[ndx].varName; in init() local 1118 …ltinConstantCase(m_context, (string(caseName) + "_vertex").c_str(), varName, varName, getValue, gl… in init() 1119 …inConstantCase(m_context, (string(caseName) + "_fragment").c_str(), varName, varName, getValue, gl… in init()
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_helpers.cc | 517 string varName = "bitField"; in GetBitFieldName() local 518 varName += SimpleItoa(index); in GetBitFieldName() 519 varName += "_"; in GetBitFieldName() 520 return varName; in GetBitFieldName() 530 string varName = prefix + GetBitFieldNameForBit(bitIndex); in GenerateGetBitInternal() local 534 string result = "((" + varName + " & " + mask + ") == " + mask + ")"; in GenerateGetBitInternal() 539 string varName = prefix + GetBitFieldNameForBit(bitIndex); in GenerateSetBitInternal() local 543 string result = varName + " |= " + mask; in GenerateSetBitInternal() 558 string varName = GetBitFieldNameForBit(bitIndex); in GenerateClearBit() local 562 string result = varName + " = (" + varName + " & ~" + mask + ")"; in GenerateClearBit()
|
/external/deqp/scripts/egl/ |
D | call_log_wrapper.py | 80 def getVarDefaultPrint (type, varName): argument 82 return "getStringStr(%s)" % varName 84 return "toHex(%s)" % varName 86 return "getBooleanStr(%s)" % varName 88 return varName
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderMatrixTests.cpp | 748 std::string genGLSLMatToVec3Reduction (const glu::DataType& matType, const char* varName); 1024 …ing ShaderMatrixCase::genGLSLMatToVec3Reduction (const glu::DataType& matType, const char* varName) in genGLSLMatToVec3Reduction() argument 1030 case TYPE_FLOAT: op << varName << ", " << varName << ", " << varName << ""; break; in genGLSLMatToVec3Reduction() 1031 …case TYPE_FLOAT_VEC2: op << varName << ".x, " << varName << ".y, " << varName << ".x"; … in genGLSLMatToVec3Reduction() 1032 case TYPE_FLOAT_VEC3: op << varName << ""; break; in genGLSLMatToVec3Reduction() 1033 …case TYPE_FLOAT_VEC4: op << varName << ".x, " << varName << ".y, " << varName << ".z+" << varN… in genGLSLMatToVec3Reduction() 1034 …case TYPE_FLOAT_MAT2: op << varName << "[0][0], " << varName << "[1][0], " << varName << "[0][1]+"… in genGLSLMatToVec3Reduction() 1035 …case TYPE_FLOAT_MAT3: op << varName << "[0]+" << varName << "[1]+" << varName << "[2]"; … in genGLSLMatToVec3Reduction() 1036 …case TYPE_FLOAT_MAT4: op << varName << "[0].xyz+" << varName << "[1].yzw+" << varName << "[2].zwx+… in genGLSLMatToVec3Reduction()
|
D | es2fShaderBuiltinVarTests.cpp | 63 …se (Context& context, const char* name, const char* desc, const char* varName, deUint32 paramNa… 74 …tCase (Context& context, const char* name, const char* desc, const char* varName, deUint32 paramNa… in ShaderBuiltinConstantCase() argument 76 , m_varName (varName) in ShaderBuiltinConstantCase() 677 const char* varName; in init() member 694 const char* varName = builtinConstants[ndx].varName; in init() local 697 …ltinConstantCase(m_context, (string(caseName) + "_vertex").c_str(), varName, varName, paramName, t… in init() 698 …inConstantCase(m_context, (string(caseName) + "_fragment").c_str(), varName, varName, paramName, f… in init()
|
/external/javassist/src/main/javassist/compiler/ |
D | JvstCodeGen.java | 513 String varName = prefix + "0"; in recordParams() local 516 0, varNo++, new Symbol(varName)); in recordParams() 517 tbl.append(varName, decl); in recordParams() 535 public int recordVariable(CtClass type, String varName, SymbolTable tbl) in recordVariable() argument 538 if (varName == null) in recordVariable() 542 int locals = varNo + recordVar(type, varName, varNo, tbl); in recordVariable() 548 private int recordVar(CtClass cc, String varName, int varNo, in recordVar() argument 561 varNo, new Symbol(varName)); in recordVar() 562 tbl.append(varName, decl); in recordVar() 573 public void recordVariable(String typeDesc, String varName, int varNo, in recordVariable() argument [all …]
|
/external/webrtc/webrtc/tools/loopback_test/ |
D | stat_tracker.js | 43 this.recordStat = function (varName, recordName, statName) { argument 44 var columnIndex = dataTable.addColumn('number', varName); 45 samplingFunctions[varName] = function (report, rowIndex) {
|
/external/skia/include/utils/ |
D | SkRTConf.h | 53 #define SK_CONF_DECLARE(confType, varName, confName, defaultValue, description) static SkRTConf<con… argument 62 #define SK_CONF_DECLARE(confType, varName, confName, defaultValue, description) static confType var… argument
|
/external/clang/test/CodeGenObjC/ |
D | prop-metadata-gnu.m | 6 @private int varName; field 12 @synthesize propName = varName;
|
/external/deqp/modules/internal/ |
D | ditBuildInfoTests.cpp | 117 …BuildEnumCase (tcu::TestContext& testCtx, const char* name, const char* varName, int value, GetStr… in BuildEnumCase() argument 118 : tcu::TestCase (testCtx, name, varName) in BuildEnumCase() 119 , m_varName (varName) in BuildEnumCase()
|
/external/deqp/modules/gles3/stress/ |
D | es3sLongShaderTests.cpp | 289 const std::string varName = varNames[ndx]; in makeExpression() local 291 expr += " " + op + " " + varName; in makeExpression() 322 const std::string varName = *nameIter; in beginBlock() local 325 addLine("mediump float " + varName + " = " + de::floatToString(varValue, 5) + "f;"); in beginBlock() 326 m_varNames.push_back(varName); in beginBlock()
|
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeShaderBuiltinVarTests.cpp | 146 …ComputeBuiltinVarCase (tcu::TestContext& context, const char* name, const char* varName, glu::Data… 158 …string genBuiltinVarSource (const string& varName, glu::DataType varType, const UVec3& localS… 172 …BuiltinVarCase (tcu::TestContext& context, const char* name, const char* varName, glu::DataType va… in ComputeBuiltinVarCase() argument 173 : TestCase (context, name, varName) in ComputeBuiltinVarCase() 174 , m_varName (varName) in ComputeBuiltinVarCase() 196 string ComputeBuiltinVarCase::genBuiltinVarSource (const string& varName, glu::DataType varType, co… in genBuiltinVarSource() argument 214 << " sb_out.result[offset] = " << varName << ";\n" in genBuiltinVarSource()
|
/external/deqp/scripts/opengl/ |
D | gen_call_log_wrapper.py | 368 def getVarDefaultPrint (type, varName): argument 370 return "getStringStr(%s)" % varName 372 return "toHex(%s)" % varName 374 return "getBooleanStr(%s)" % varName 379 return "toHex(reinterpret_cast<deUintptr>(static_cast<const void*>(%s)))" % varName 381 return varName
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/ |
D | MessagePatternUtilDemo.java | 225 String varName, in genCodeForNumericVariants() argument 233 varName + " == " + variant.getSelectorValue() + ") {"); in genCodeForNumericVariants() 243 String varName, in genCodeForKeywordVariants() argument 251 varName + " == \"" + variant.getSelector() + "\") {"); in genCodeForKeywordVariants()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktOpaqueTypeIndexingTests.cpp | 763 const std::string varName = indicesPrefix + de::toString(lookupNdx); in createShaderSpec() local 764 … m_shaderSpec.inputs.push_back(Symbol(varName, glu::VarType(glu::TYPE_INT, glu::PRECISION_HIGHP))); in createShaderSpec() 772 const std::string varName = resultPrefix + de::toString(lookupNdx); in createShaderSpec() local 773 m_shaderSpec.outputs.push_back(Symbol(varName, glu::VarType(outType, glu::PRECISION_HIGHP))); in createShaderSpec() 1011 const std::string varName = indicesPrefix + de::toString(readNdx); in createShaderSpec() local 1012 … m_shaderSpec.inputs.push_back(Symbol(varName, glu::VarType(glu::TYPE_INT, glu::PRECISION_HIGHP))); in createShaderSpec() 1020 const std::string varName = resultPrefix + de::toString(readNdx); in createShaderSpec() local 1021 …m_shaderSpec.outputs.push_back(Symbol(varName, glu::VarType(glu::TYPE_UINT, glu::PRECISION_HIGHP))… in createShaderSpec() 1291 const std::string varName = indicesPrefix + de::toString(opNdx); in createShaderSpec() local 1292 … m_shaderSpec.inputs.push_back(Symbol(varName, glu::VarType(glu::TYPE_INT, glu::PRECISION_HIGHP))); in createShaderSpec() [all …]
|
/external/mockito/cglib-and-asm/src/org/mockito/asm/util/ |
D | ASMifiable.java | 52 void asmify(StringBuffer buf, String varName, Map labelNames); in asmify() argument
|
/external/opencv3/modules/videoio/src/ |
D | cap_dshow.cpp | 1366 VARIANT varName; 1367 VariantInit(&varName); 1368 hr = pPropBag->Read(L"Description", &varName, 0); 1370 if (FAILED(hr)) hr = pPropBag->Read(L"FriendlyName", &varName, 0); 1374 hr = pPropBag->Read(L"FriendlyName", &varName, 0); 1378 while( varName.bstrVal[count] != 0x00 && count < maxLen) { 1379 deviceNames[deviceCounter][count] = (char)varName.bstrVal[count]; 2895 VARIANT varName; 2896 VariantInit(&varName); 2897 hr = pPropBag->Read(L"FriendlyName", &varName, 0); [all …]
|