Home
last modified time | relevance | path

Searched full:varname (Results 1 – 25 of 472) sorted by relevance

12345678910>>...19

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Frontend/OpenMP/
DOMPConstants.cpp46 #define OMP_TYPE(VarName, InitValue) Type *llvm::omp::types::VarName = nullptr; argument
47 #define OMP_FUNCTION_TYPE(VarName, IsVarArg, ReturnType, ...) \ argument
48 FunctionType *llvm::omp::types::VarName = nullptr; \
49 PointerType *llvm::omp::types::VarName##Ptr = nullptr;
50 #define OMP_STRUCT_TYPE(VarName, StrName, ...) \ argument
51 StructType *llvm::omp::types::VarName = nullptr; \
52 PointerType *llvm::omp::types::VarName##Ptr = nullptr;
65 #define OMP_TYPE(VarName, InitValue) VarName = InitValue; in initializeTypes() argument
66 #define OMP_FUNCTION_TYPE(VarName, IsVarArg, ReturnType, ...) \ in initializeTypes() argument
67 VarName = FunctionType::get(ReturnType, {__VA_ARGS__}, IsVarArg); \ in initializeTypes()
[all …]
/external/zstd/build/cmake/CMakeModules/
DAddZstdCompilationFlags.cmake5 string(REGEX REPLACE "\\+" "PLUS" varname "${_flag}")
6 string(REGEX REPLACE "[^A-Za-z0-9]+" "_" varname "${varname}")
7 string(REGEX REPLACE "^_+" "" varname "${varname}")
8 string(TOUPPER "${varname}" varname)
10 CHECK_C_COMPILER_FLAG(${_flag} C_FLAG_${varname})
11 if (C_FLAG_${varname})
16 CHECK_CXX_COMPILER_FLAG(${_flag} CXX_FLAG_${varname})
17 if (CXX_FLAG_${varname})
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/CMSIS/
Dcreate_constants.py26 def to_cc(x, varname, directory='', scale_factor=1): argument
35 xstr = '#include "{}/{}.h"\n\n'.format(cmsis_path, varname)
36 xstr += 'const int g_{}_size = {};\n'.format(varname, len(x))
37 xstr += 'const int16_t g_{}[{}] = {{{}}};\n'.format(varname, len(x),
40 with open(directory + varname + '.cc', 'w') as f:
44 def to_h(_, varname, directory=''): argument
47 xstr = '#ifndef {}{}_H_\n'.format(tf_prepend, varname.upper())
48 xstr += '#define {}{}_H_\n\n'.format(tf_prepend, varname.upper())
50 xstr += 'extern const int g_{}_size;\n'.format(varname)
51 xstr += 'extern const int16_t g_{}[];\n\n'.format(varname)
[all …]
/external/gflags/cmake/
Dutils.cmake46 macro (gflags_is_cached retvar varname)
47 if (DEFINED ${varname})
48 get_property (${retvar} CACHE ${varname} PROPERTY TYPE SET)
58 # on the CMake command-line or the super-project by setting the GFLAGS_<varname>
61 macro (gflags_define type varname docstring default)
67 if (NOT DEFINED GFLAGS_${varname})
69 set (GFLAGS_${varname} "${ARGV4}")
71 set (GFLAGS_${varname} "${default}")
75 if (NOT DEFINED ${varname})
76 set (${varname} "${GFLAGS_${varname}}")
[all …]
/external/libxml2/doc/tutorial/
Dxmltutorial.xml263 tree. We assume you already have an xmlDocPtr called <varname>doc</varname>
264 and an xmlNodPtr called <varname>cur</varname>.</para>
280 <para>Get the first child node of <varname>cur</varname>. At this
281 point, <varname>cur</varname> points at the document root, which is
327 turn to <varname>cur-&gt;xmlChildrenNode</varname>. To retrieve it, we
329 …G">xmlNodeListGetString</ulink></function>, which also takes the <varname>doc</varname> pointer as…
351 through a document for the contents of all <varname>keyword</varname>
386 <para>Initialize the <varname>context</varname> variable.</para>
393 <varname>result</varname> if no result is found.</para>
400 <varname>xmlXPathObjectPtr</varname>. We use it to print the contents of
[all …]
Dar01s05.html8 through a document for the contents of all <tt class="varname">keyword</tt>
33 …"0"></a> </td><td valign="top" align="left"><p>Initialize the <tt class="varname">context</tt> var…
34 <tt class="varname">result</tt> if no result is found.</p></td></tr></table></div><p>
38 <tt class="varname">xmlXPathObjectPtr</tt>. We use it to print the contents of
39 <tt class="varname">keyword</tt> nodes in our document. The node set object
40 includes the number of elements in the set (<tt class="varname">nodeNr</tt>) and
41 an array of nodes (<tt class="varname">nodeTab</tt>):
49 …r="0"></a> </td><td valign="top" align="left"><p>The value of <tt class="varname">nodeset-&gt;Nr</…
52 returned, because the contents of the <tt class="varname">keyword</tt>
/external/deqp/modules/gles31/functional/
Des31fShaderBuiltinConstantTests.cpp91 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 …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Frontend/OpenMP/
DOMPKinds.def109 #define OMP_TYPE(VarName, InitValue)
112 #define __OMP_TYPE(VarName) OMP_TYPE(VarName, Type::get##VarName##Ty(Ctx))
130 #define OMP_STRUCT_TYPE(VarName, StructName, ...)
133 #define __OMP_STRUCT_TYPE(VarName, Name, ...) \
134 OMP_STRUCT_TYPE(VarName, "struct." #Name, __VA_ARGS__)
142 #define OMP_FUNCTION_TYPE(VarName, IsVarArg, ReturnType, ...)
145 #define __OMP_FUNCTION_TYPE(VarName, IsVarArg, ReturnType, ...) \
146 OMP_FUNCTION_TYPE(VarName, IsVarArg, ReturnType, __VA_ARGS__)
187 #define OMP_ATTRS_SET(VarName, AttrSet)
190 #define __OMP_ATTRS_SET(VarName, AttrSet) OMP_ATTRS_SET(VarName, AttrSet)
DOMPConstants.h87 #define OMP_TYPE(VarName, InitValue) extern Type *VarName; argument
88 #define OMP_FUNCTION_TYPE(VarName, IsVarArg, ReturnType, ...) \ argument
89 extern FunctionType *VarName; \
90 extern PointerType *VarName##Ptr;
91 #define OMP_STRUCT_TYPE(VarName, StrName, ...) \ argument
92 extern StructType *VarName; \
93 extern PointerType *VarName##Ptr;
/external/deqp/external/openglcts/modules/common/subgroups/
DglcSubgroupsBuiltinVarTests.cpp317 std::string varName; member
601 if ("gl_SubgroupSize" == caseDef.varName) in noSSBOtest()
606 else if ("gl_SubgroupInvocationID" == caseDef.varName) in noSSBOtest()
614 caseDef.varName + " failed (unhandled error checking case " + in noSSBOtest()
615 caseDef.varName + ")!"); in noSSBOtest()
620 if ("gl_SubgroupSize" == caseDef.varName) in noSSBOtest()
625 else if ("gl_SubgroupInvocationID" == caseDef.varName) in noSSBOtest()
633 caseDef.varName + " failed (unhandled error checking case " + in noSSBOtest()
634 caseDef.varName + ")!"); in noSSBOtest()
639 if ("gl_SubgroupSize" == caseDef.varName) in noSSBOtest()
[all …]
/external/llvm/utils/TableGen/
DCodeEmitterGen.cpp35 int getVariableBit(const std::string &VarName, BitsInit *BI, int bit);
38 const std::string &VarName,
47 int CodeEmitterGen::getVariableBit(const std::string &VarName, in getVariableBit() argument
51 if (VI->getName() == VarName) in getVariableBit()
54 if (VI->getName() == VarName) in getVariableBit()
62 AddCodeToMergeInOperand(Record *R, BitsInit *BI, const std::string &VarName, in AddCodeToMergeInOperand() argument
68 // Determine if VarName actually contributes to the Inst encoding. in AddCodeToMergeInOperand()
73 if (getVariableBit(VarName, BI, bit) != -1) in AddCodeToMergeInOperand()
87 if (CGI.Operands.hasOperandNamed(VarName, OpIdx)) { in AddCodeToMergeInOperand()
105 " (no match for variable " << VarName << "):\n"; in AddCodeToMergeInOperand()
[all …]
/external/webrtc/modules/video_capture/windows/
Ddevice_info_ds.cc148 VARIANT varName; in GetDeviceInfo() local
149 VariantInit(&varName); in GetDeviceInfo()
150 hr = pBag->Read(L"Description", &varName, 0); in GetDeviceInfo()
152 hr = pBag->Read(L"FriendlyName", &varName, 0); in GetDeviceInfo()
156 if ((wcsstr(varName.bstrVal, (L"(VFW)")) == NULL) && in GetDeviceInfo()
157 (_wcsnicmp(varName.bstrVal, (L"Google Camera Adapter"), 21) != 0)) { in GetDeviceInfo()
162 convResult = WideCharToMultiByte(CP_UTF8, 0, varName.bstrVal, -1, in GetDeviceInfo()
173 hr = pBag->Read(L"DevicePath", &varName, 0); in GetDeviceInfo()
182 CP_UTF8, 0, varName.bstrVal, -1, (char*)deviceUniqueIdUTF8, in GetDeviceInfo()
200 VariantClear(&varName); in GetDeviceInfo()
[all …]
/external/autotest/client/site_tests/graphics_SanAngeles/src/
Dshader.c108 #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/llvm-project/clang/test/Parser/
Dextra-semi-resulting-in-nullstmt.cpp6 #define GOODMACRO(varname) int varname argument
7 #define BETTERMACRO(varname) GOODMACRO(varname); argument
8 #define NULLMACRO(varname) argument
/external/llvm/test/DebugInfo/COFF/
Dtypes-basic.ll237 ; CHECK: VarName: p1
244 ; CHECK: VarName: p2
251 ; CHECK: VarName: p3
255 ; CHECK: VarName: v1
259 ; CHECK: VarName: v2
263 ; CHECK: VarName: v21
267 ; CHECK: VarName: v3
271 ; CHECK: VarName: v4
275 ; CHECK: VarName: v5
279 ; CHECK: VarName: l1
[all …]
/external/compiler-rt/cmake/Modules/
DCompilerRTUtils.cmake61 macro(append_have_file_definition filename varname list)
62 check_include_file("${filename}" "${varname}")
63 if (NOT ${varname})
64 set("${varname}" 0)
66 list(APPEND ${list} "${varname}=${${varname}}")
/external/deqp/modules/gles3/functional/
Des3fShaderMatrixTests.cpp1378 std::string genGLSLMatToVec3Reduction (const glu::DataType& matType, const char* varName);
1702 …ing ShaderMatrixCase::genGLSLMatToVec3Reduction (const glu::DataType& matType, const char* varName) in genGLSLMatToVec3Reduction() argument
1708 …case TYPE_FLOAT: op << varName << ", " << varName << ", " << varName << ""; … in genGLSLMatToVec3Reduction()
1709 …case TYPE_FLOAT_VEC2: op << varName << ".x, " << varName << ".y, " << varName << ".x"; … in genGLSLMatToVec3Reduction()
1710 case TYPE_FLOAT_VEC3: op << varName << ""; break; in genGLSLMatToVec3Reduction()
1711 …case TYPE_FLOAT_VEC4: op << varName << ".x, " << varName << ".y, " << varName << ".z+" << var… in genGLSLMatToVec3Reduction()
1712 …case TYPE_FLOAT_MAT2: op << varName << "[0][0], " << varName << "[1][0], " << varName << "[0][1]+… in genGLSLMatToVec3Reduction()
1713 …case TYPE_FLOAT_MAT2X3: op << varName << "[0] + " << varName << "[1]"; … in genGLSLMatToVec3Reduction()
1714 …case TYPE_FLOAT_MAT2X4: op << varName << "[0].xyz + " << varName << "[1].yzw"; … in genGLSLMatToVec3Reduction()
1715 …3X2: op << varName << "[0][0]+" << varName << "[0][1], " << varName << "[1][0]+" << varName << "… in genGLSLMatToVec3Reduction()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderMatrixTests.cpp1625 std::string genGLSLMatToVec3Reduction (const glu::DataType& matType, const char* varName);
1918 …ing ShaderMatrixCase::genGLSLMatToVec3Reduction (const glu::DataType& matType, const char* varName) in genGLSLMatToVec3Reduction() argument
1924 …case TYPE_FLOAT: op << varName << ", " << varName << ", " << varName << ""; … in genGLSLMatToVec3Reduction()
1925 …case TYPE_FLOAT_VEC2: op << varName << ".x, " << varName << ".y, " << varName << ".x"; … in genGLSLMatToVec3Reduction()
1926 case TYPE_FLOAT_VEC3: op << varName << ""; break; in genGLSLMatToVec3Reduction()
1927 …case TYPE_FLOAT_VEC4: op << varName << ".x, " << varName << ".y, " << varName << ".z+" << var… in genGLSLMatToVec3Reduction()
1928 …case TYPE_FLOAT_MAT2: op << varName << "[0][0], " << varName << "[1][0], " << varName << "[0][1]+… in genGLSLMatToVec3Reduction()
1929 …case TYPE_FLOAT_MAT2X3: op << varName << "[0] + " << varName << "[1]"; … in genGLSLMatToVec3Reduction()
1930 …case TYPE_FLOAT_MAT2X4: op << varName << "[0].xyz + " << varName << "[1].yzw"; … in genGLSLMatToVec3Reduction()
1931 …3X2: op << varName << "[0][0]+" << varName << "[0][1], " << varName << "[1][0]+" << varName << "… in genGLSLMatToVec3Reduction()
[all …]
/external/protobuf/
Dupdate_file_lists.sh7 local VARNAME=$2
10 /^$VARNAME =/ { start = 1; }
15 | sed "s/^$VARNAME =//" \
88 local VARNAME=$2
95 /^set\\($VARNAME/ {
149 local VARNAME=$2
156 /# AUTOGEN\\($VARNAME\\)/ {
/external/webrtc/rtc_tools/loopback_test/
Dstat_tracker.js40 // recordStat(varName, recordName, statName) adds a samplingFunction that
42 // sample into a column named varName in the dataTable.
43 this.recordStat = function (varName, recordName, statName) { argument
44 var columnIndex = dataTable.addColumn('number', varName);
45 samplingFunctions[varName] = function (report, rowIndex) {
/external/libxkbcommon/tools/
Dtools-common.h58 #define setenv(varname, value, overwrite) _putenv_s((varname), (value)) argument
59 #define unsetenv(varname) _putenv_s(varname, "") argument
/external/llvm-project/mlir/include/mlir/Pass/
DPassBase.td21 class Option<string varName, string arg, string valueType, string default,
24 string cppName = varName;
42 class ListOption<string varName, string arg, string valueType,
44 : Option<varName, arg, valueType, /*default=*/"", desc, additionalFlags> {}
50 class Statistic<string varName, string statName, string desc> {
52 string cppName = varName;
/external/one-true-awk/
Dawkgram.y69 %type <p> var varname funcname varlist
129 | FOR '(' varname IN varname rparen {inloop++;} stmt
213 | ppattern IN varname { $$ = op2(INTEST, $1, makearr($3)); }
214 | '(' plist ')' IN varname { $$ = op2(INTEST, $2, makearr($5)); }
240 | pattern IN varname { $$ = op2(INTEST, $1, makearr($3)); }
241 | '(' plist ')' IN varname { $$ = op2(INTEST, $2, makearr($5)); }
306 | DELETE varname '[' patlist ']' { $$ = stat2(DELETE, makearr($2), $4); }
307 | DELETE varname { $$ = stat2(DELETE, makearr($2), 0); }
396 | SPLIT '(' pattern comma varname comma pattern ')' /* string */
398 | SPLIT '(' pattern comma varname comma reg_expr ')' /* const /regexp/ */
[all …]
/external/llvm-project/llvm/utils/TableGen/
DCodeEmitterGen.cpp47 int getVariableBit(const std::string &VarName, BitsInit *BI, int bit);
52 const std::string &VarName,
66 int CodeEmitterGen::getVariableBit(const std::string &VarName, in getVariableBit() argument
70 if (VI->getName() == VarName) in getVariableBit()
73 if (VI->getName() == VarName) in getVariableBit()
81 AddCodeToMergeInOperand(Record *R, BitsInit *BI, const std::string &VarName, in AddCodeToMergeInOperand() argument
87 // Determine if VarName actually contributes to the Inst encoding. in AddCodeToMergeInOperand()
92 if (getVariableBit(VarName, BI, bit) != -1) in AddCodeToMergeInOperand()
106 if (CGI.Operands.hasOperandNamed(VarName, OpIdx)) { in AddCodeToMergeInOperand()
124 " (no match for variable " << VarName << "):\n"; in AddCodeToMergeInOperand()
[all …]
/external/libevent/
Devent_rpcgen.py604 def CodeArrayAdd(varname, _value): argument
606 return ["%(varname)s = NULL;" % {"varname": varname}]
723 def CodeArrayAssign(varname, srcvar): argument
724 return ["%(varname)s = %(srcvar)s;" % {"varname": varname, "srcvar": srcvar}]
727 def CodeArrayAdd(varname, value): argument
729 return ["%(varname)s = %(value)s;" % {"varname": varname, "value": value}]
773 def CodeArrayFree(varname): argument
776 return TranslateList(code, {"var": varname})
779 def CodeArrayAssign(varname, srcvar): argument
790 return TranslateList(code, {"var": varname, "srcvar": srcvar})
[all …]

12345678910>>...19