/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 | 99 const string varName = varPrefix + de::toString(varNdx); in uploadUniformIndices() local 100 const int loc = gl.getUniformLocation(program, varName.c_str()); in uploadUniformIndices() 101 TCU_CHECK_MSG(loc >= 0, ("No location assigned for uniform '" + varName + "'").c_str()); in uploadUniformIndices() 378 const string varName = indicesPrefix + de::toString(lookupNdx); in getShaderSpec() local 379 spec->inputs.push_back(Symbol(varName, VarType(TYPE_INT, PRECISION_HIGHP))); in getShaderSpec() 387 const string varName = resultPrefix + de::toString(lookupNdx); in getShaderSpec() local 388 spec->outputs.push_back(Symbol(varName, VarType(outType, PRECISION_HIGHP))); in getShaderSpec() 740 const string varName = indicesPrefix + de::toString(readNdx); in getShaderSpec() local 741 spec->inputs.push_back(Symbol(varName, VarType(TYPE_INT, PRECISION_HIGHP))); in getShaderSpec() 749 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 | es31fProgramInterfaceDefinition.hpp | 102 void addTransformFeedbackVarying (const std::string& varName);
|
D | es31fSeparateShaderTests.cpp | 323 const string& varName, in printFloatDeclaration() argument 332 oss << VariableDeclaration(varType, varName, STORAGE_UNIFORM) << ";\n"; in printFloatDeclaration() 334 oss << VariableDeclaration(varType, varName, STORAGE_CONST) in printFloatDeclaration() 375 const string& varName, in genVtxShaderSrc() argument 420 printFloatDeclaration(oss, varName, uniform, value); in genVtxShaderSrc() 424 << "\tgl_Position = vec4(" << varName << " * triangle[gl_VertexID], 0.0, 1.0);\n"; in genVtxShaderSrc() 437 const string& varName, in genFrgShaderSrc() argument 452 printFloatDeclaration(oss, varName, uniform, value); in genFrgShaderSrc() 477 oss << "\t" << "fragColor = vec4(vec3(" << varName << "), 1.0);" << "\n"; in genFrgShaderSrc()
|
D | es31fProgramInterfaceDefinition.cpp | 403 void Program::addTransformFeedbackVarying (const std::string& varName) in addTransformFeedbackVarying() argument 405 m_xfbVaryings.push_back(varName); in addTransformFeedbackVarying()
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/java/ |
D | java_helpers.cc | 432 string varName = "bitField"; in GetBitFieldName() local 433 varName += SimpleItoa(index); in GetBitFieldName() 434 varName += "_"; in GetBitFieldName() 435 return varName; in GetBitFieldName() 445 string varName = prefix + GetBitFieldNameForBit(bitIndex); in GenerateGetBitInternal() local 449 string result = "((" + varName + " & " + mask + ") == " + mask + ")"; in GenerateGetBitInternal() 454 string varName = prefix + GetBitFieldNameForBit(bitIndex); in GenerateSetBitInternal() local 458 string result = varName + " |= " + mask; in GenerateSetBitInternal() 473 string varName = GetBitFieldNameForBit(bitIndex); in GenerateClearBit() local 477 string result = varName + " = (" + varName + " & ~" + mask + ")"; in GenerateClearBit()
|
/external/chromium_org/third_party/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/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()
|
D | es3fTransformFeedbackTests.cpp | 273 string varName = glu::parseVariableName(name.c_str()); in isProgramSupported() local 274 … = *std::find_if(spec.getVaryings().begin(), spec.getVaryings().end(), VaryingNameEquals(varName)); in isProgramSupported() 495 string varName = glu::parseVariableName(name.c_str()); in computeTransformFeedbackOutputs() local 496 …Varying& varying = *std::find_if(varyings.begin(), varyings.end(), VaryingNameEquals(varName)); in computeTransformFeedbackOutputs() 512 string attribName = getAttributeName(varName.c_str(), fullPath); in computeTransformFeedbackOutputs() 888 string varName = glu::parseVariableName(tfVar->c_str()); in hasArraysInTFVaryings() local 889 …r = std::find_if(spec.getVaryings().begin(), spec.getVaryings().end(), VaryingNameEquals(varName)); in hasArraysInTFVaryings() 891 if (varName == "gl_Position" || varName == "gl_PointSize") in hasArraysInTFVaryings()
|
/external/chromium_org/third_party/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/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/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… 73 …tCase (Context& context, const char* name, const char* desc, const char* varName, deUint32 paramNa… in ShaderBuiltinConstantCase() argument 75 , m_varName (varName) in ShaderBuiltinConstantCase() 84 static int getConstRefValue (const char* varName) in getConstRefValue() argument 86 if (deStringEqual(varName, "gl_MaxDrawBuffers")) in getConstRefValue() 671 const char* varName; in init() member 688 const char* varName = builtinConstants[ndx].varName; in init() local 691 …ltinConstantCase(m_context, (string(caseName) + "_vertex").c_str(), varName, varName, paramName, t… in init() 692 …inConstantCase(m_context, (string(caseName) + "_fragment").c_str(), varName, varName, paramName, f… in init()
|
/external/chromium_org/third_party/skia/include/utils/ |
D | SkRTConf.h | 54 #define SK_CONF_DECLARE(confType, varName, confName, defaultValue, description) static SkRTConf<con… argument 63 #define SK_CONF_DECLARE(confType, varName, confName, defaultValue, description) static confType var… argument
|
/external/skia/include/utils/ |
D | SkRTConf.h | 54 #define SK_CONF_DECLARE(confType, varName, confName, defaultValue, description) static SkRTConf<con… argument 63 #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/qemu/android/tools/ |
D | gen-hw-config.py | 150 varName = item.name.replace(".","_") variable 160 (varMacro,varName,varNameStr,varDefault,varAbstract,varDesc))
|
/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/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
D | EscapingEvaluator.java | 236 JavaExpression varName = variableTranslator.translate(node.getVariable()); in caseAVariableExpression() local 237 setEscaping(callOn(TemplateTranslator.DATA_CONTEXT, "findVariableEscapeMode", varName)); in caseAVariableExpression()
|
D | ExpressionTranslator.java | 156 JavaExpression varName = new VariableTranslator(this).translate(node.getVariable()); in caseAVariableExpression() local 157 setResult(varName); in caseAVariableExpression()
|
/external/chromium_org/third_party/webrtc/modules/audio_device/win/ |
D | audio_device_core_win.cc | 4689 PROPVARIANT varName; in _GetDeviceName() local 4705 PropVariantInit(&varName); in _GetDeviceName() 4710 hr = pProps->GetValue(PKEY_Device_FriendlyName, &varName); in _GetDeviceName() 4718 if ((SUCCEEDED(hr)) && (VT_EMPTY == varName.vt)) in _GetDeviceName() 4725 if ((SUCCEEDED(hr)) && (VT_LPWSTR != varName.vt)) in _GetDeviceName() 4733 if (SUCCEEDED(hr) && (varName.pwszVal != NULL)) in _GetDeviceName() 4736 wcsncpy_s(pszBuffer, bufferLen, varName.pwszVal, _TRUNCATE); in _GetDeviceName() 4744 PropVariantClear(&varName); in _GetDeviceName() 4919 PROPVARIANT varName; in _EnumerateEndpointDevicesAll() local 4921 PropVariantInit(&varName); in _EnumerateEndpointDevicesAll() [all …]
|