Home
last modified time | relevance | path

Searched refs:variableName (Results 1 – 25 of 61) sorted by relevance

123

/third_party/skia/third_party/externals/dawn/src/common/
DSystemUtils.cpp41 std::pair<std::string, bool> GetEnvironmentVar(const char* variableName) { in GetEnvironmentVar() argument
43 DWORD sizeWithNullTerminator = GetEnvironmentVariableA(variableName, nullptr, 0); in GetEnvironmentVar()
55 GetEnvironmentVariableA(variableName, buffer.data(), static_cast<DWORD>(buffer.size())); in GetEnvironmentVar()
66 bool SetEnvironmentVar(const char* variableName, const char* value) { in SetEnvironmentVar() argument
67 return SetEnvironmentVariableA(variableName, value) == TRUE; in SetEnvironmentVar()
74 std::pair<std::string, bool> GetEnvironmentVar(const char* variableName) { in GetEnvironmentVar() argument
75 char* value = getenv(variableName); in GetEnvironmentVar()
80 bool SetEnvironmentVar(const char* variableName, const char* value) { in SetEnvironmentVar() argument
82 return unsetenv(variableName) == 0; in SetEnvironmentVar()
84 return setenv(variableName, value, 1) == 0; in SetEnvironmentVar()
[all …]
DSystemUtils.h25 std::pair<std::string, bool> GetEnvironmentVar(const char* variableName);
26 bool SetEnvironmentVar(const char* variableName, const char* value);
39 ScopedEnvironmentVar(const char* variableName, const char* value);
45 bool Set(const char* variableName, const char* value);
/third_party/skia/third_party/externals/angle2/src/common/
Dsystem_utils.cpp35 std::string GetEnvironmentVarOrAndroidProperty(const char *variableName, const char *propertyName) in GetEnvironmentVarOrAndroidProperty() argument
40 const char *variableValue = getenv(variableName); in GetEnvironmentVarOrAndroidProperty()
47 return GetEnvironmentVarOrUnCachedAndroidProperty(variableName, propertyName); in GetEnvironmentVarOrAndroidProperty()
52 std::string GetEnvironmentVarOrUnCachedAndroidProperty(const char *variableName, in GetEnvironmentVarOrUnCachedAndroidProperty() argument
71 SetEnvironmentVar(variableName, propertyValue.c_str()); in GetEnvironmentVarOrUnCachedAndroidProperty()
75 return GetEnvironmentVar(variableName); in GetEnvironmentVarOrUnCachedAndroidProperty()
79 bool GetBoolEnvironmentVar(const char *variableName) in GetBoolEnvironmentVar() argument
81 std::string envVarString = GetEnvironmentVar(variableName); in GetBoolEnvironmentVar()
85 bool PrependPathToEnvironmentVar(const char *variableName, const char *path) in PrependPathToEnvironmentVar() argument
87 std::string oldValue = GetEnvironmentVar(variableName); in PrependPathToEnvironmentVar()
[all …]
Dsystem_utils.h28 bool SetEnvironmentVar(const char *variableName, const char *value);
29 bool UnsetEnvironmentVar(const char *variableName);
30 bool GetBoolEnvironmentVar(const char *variableName);
31 std::string GetEnvironmentVar(const char *variableName);
32 std::string GetEnvironmentVarOrUnCachedAndroidProperty(const char *variableName,
34 std::string GetEnvironmentVarOrAndroidProperty(const char *variableName, const char *propertyName);
36 bool PrependPathToEnvironmentVar(const char *variableName, const char *path);
Dsystem_utils_win32.cpp16 bool UnsetEnvironmentVar(const char *variableName) in UnsetEnvironmentVar() argument
18 return (SetEnvironmentVariableA(variableName, nullptr) == TRUE); in UnsetEnvironmentVar()
21 bool SetEnvironmentVar(const char *variableName, const char *value) in SetEnvironmentVar() argument
23 return (SetEnvironmentVariableA(variableName, value) == TRUE); in SetEnvironmentVar()
26 std::string GetEnvironmentVar(const char *variableName) in GetEnvironmentVar() argument
33 result = GetEnvironmentVariableA(variableName, nullptr, 0); in GetEnvironmentVar()
43 result = GetEnvironmentVariableA(variableName, value.data(), result); in GetEnvironmentVar()
Dsystem_utils_posix.cpp59 bool UnsetEnvironmentVar(const char *variableName) in UnsetEnvironmentVar() argument
61 return (unsetenv(variableName) == 0); in UnsetEnvironmentVar()
64 bool SetEnvironmentVar(const char *variableName, const char *value) in SetEnvironmentVar() argument
66 return (setenv(variableName, value, 1) == 0); in SetEnvironmentVar()
69 std::string GetEnvironmentVar(const char *variableName) in GetEnvironmentVar() argument
71 const char *value = getenv(variableName); in GetEnvironmentVar()
Dsystem_utils_winuwp.cpp21 bool SetEnvironmentVar(const char *variableName, const char *value) in SetEnvironmentVar() argument
27 std::string GetEnvironmentVar(const char *variableName) in GetEnvironmentVar() argument
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Dsystem_utils.h22 bool SetEnvironmentVar(const char *variableName, const char *value);
23 bool UnsetEnvironmentVar(const char *variableName);
24 std::string GetEnvironmentVar(const char *variableName);
26 bool PrependPathToEnvironmentVar(const char *variableName, const char *path);
Dsystem_utils_posix.cpp87 bool UnsetEnvironmentVar(const char *variableName) in UnsetEnvironmentVar() argument
89 return (unsetenv(variableName) == 0); in UnsetEnvironmentVar()
92 bool SetEnvironmentVar(const char *variableName, const char *value) in SetEnvironmentVar() argument
94 return (setenv(variableName, value, 1) == 0); in SetEnvironmentVar()
97 std::string GetEnvironmentVar(const char *variableName) in GetEnvironmentVar() argument
99 const char *value = getenv(variableName); in GetEnvironmentVar()
Dsystem_utils.cpp13 bool PrependPathToEnvironmentVar(const char *variableName, const char *path) in PrependPathToEnvironmentVar() argument
15 std::string oldValue = GetEnvironmentVar(variableName); in PrependPathToEnvironmentVar()
29 return SetEnvironmentVar(variableName, newValue); in PrependPathToEnvironmentVar()
Dsystem_utils_win.cpp104 bool UnsetEnvironmentVar(const char *variableName) in UnsetEnvironmentVar() argument
106 return (SetEnvironmentVariableA(variableName, nullptr) == TRUE); in UnsetEnvironmentVar()
109 bool SetEnvironmentVar(const char *variableName, const char *value) in SetEnvironmentVar() argument
111 return (SetEnvironmentVariableA(variableName, value) == TRUE); in SetEnvironmentVar()
114 std::string GetEnvironmentVar(const char *variableName) in GetEnvironmentVar() argument
118 GetEnvironmentVariableA(variableName, oldValue.data(), static_cast<DWORD>(oldValue.size())); in GetEnvironmentVar()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
Dglslang_wrapper_utils.h148 bool contains(gl::ShaderType shaderType, const std::string &variableName) const;
150 const std::string &variableName) const;
151 ShaderInterfaceVariableInfo &get(gl::ShaderType shaderType, const std::string &variableName);
152 ShaderInterfaceVariableInfo &add(gl::ShaderType shaderType, const std::string &variableName);
153 void markAsDuplicate(gl::ShaderType shaderType, const std::string &variableName);
155 const std::string &variableName);
/third_party/flutter/flutter/dev/devicelab/lib/framework/
Dmanifest.dart130 void _checkType(bool isValid, dynamic value, String variableName, String typeName) {
133 '$variableName must be a $typeName but was ${value.runtimeType}: $value',
138 void _checkIsNotBlank(dynamic value, String variableName, String ownerName) {
140 throw ManifestError('$variableName must not be empty in $ownerName.');
144 void _checkKeys(Map<dynamic, dynamic> map, String variableName, List<String> allowedKeys) {
148 'Unrecognized property "$key" in $variableName. '
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dutils.h367 static INLINE std::string GetEnv(const std::string& variableName)
371 uint32_t valueSize = GetEnvironmentVariableA(variableName.c_str(), nullptr, 0);
375 GetEnvironmentVariableA(variableName.c_str(), &output[0], valueSize);
377 char* env = getenv(variableName.c_str());
384 static INLINE void SetEnv(const std::string& variableName, const std::string& value)
387 SetEnvironmentVariableA(variableName.c_str(), value.c_str());
389 setenv(variableName.c_str(), value.c_str(), true);
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/
Dprefer-readonly.ts379 this.memberVariableModifications.forEach(variableName => {
380 this.privateModifiableMembers.delete(variableName);
383 this.staticVariableModifications.forEach(variableName => {
384 this.privateModifiableStatics.delete(variableName);
/third_party/skia/third_party/externals/angle2/src/common/vulkan/
Dvulkan_icd.cpp23 void ResetEnvironmentVar(const char *variableName, const Optional<std::string> &value) in ResetEnvironmentVar() argument
32 angle::UnsetEnvironmentVar(variableName); in ResetEnvironmentVar()
36 angle::SetEnvironmentVar(variableName, value.value().c_str()); in ResetEnvironmentVar()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DShaderStorageBlockOutputHLSL.cpp123 const ImmutableString &variableName) in GetFieldMemberInShaderStorageBlock() argument
127 if (field->name() == variableName) in GetFieldMemberInShaderStorageBlock()
221 std::string variableName = StripArrayIndices(collapseNameStack()); in enterStructAccess() local
224 variableName.pop_back(); in enterStructAccess()
226 BlockInfoVisitor childVisitor(variableName, mStorage, mShaderVarToFieldMap, mBlockInfoOut); in enterStructAccess()
234 auto iter = mShaderVarToFieldMap.find(variableName); in enterStructAccess()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DShaderStorageBlockOutputHLSL.cpp124 const ImmutableString &variableName) in GetFieldMemberInShaderStorageBlock() argument
128 if (field->name() == variableName) in GetFieldMemberInShaderStorageBlock()
222 std::string variableName = StripArrayIndices(collapseNameStack()); in enterStructAccess() local
225 variableName.pop_back(); in enterStructAccess()
227 BlockInfoVisitor childVisitor(variableName, mStorage, mShaderVarToFieldMap, mBlockInfoOut); in enterStructAccess()
235 auto iter = mShaderVarToFieldMap.find(variableName); in enterStructAccess()
/third_party/flutter/flutter/packages/flutter_tools/lib/src/reporting/
Dusage.dart121 void sendTiming(String category, String variableName, Duration duration, {
269 String variableName,
277 variableName,
381 Future<void> sendTiming(String variableName, int time,
387 'variableName': variableName,
/third_party/typescript/src/services/codefixes/
DconvertToAsyncFunction.ts337 …function createVariableOrAssignmentOrExpressionStatement(variableName: SynthBindingName | undefine…
338 if (!variableName || isEmptyBindingName(variableName)) {
343 if (isSynthIdentifier(variableName) && variableName.hasBeenDeclared) {
345 …eExpressionStatement(factory.createAssignment(getSynthesizedDeepClone(variableName.identifier), ri…
353 getSynthesizedDeepClone(getNode(variableName)),
DaddMissingAwait.ts145 const variableName = declaration && tryCast(declaration.name, isIdentifier); constant
152 !variableName ||
159 …const isUsedElsewhere = FindAllReferences.Core.eachSymbolReferenceInFile(variableName, checker, so…
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineInterfaceMatchingTests.cpp438 …std::string genOutAssignment (const std::string& variableName, const VecData& outVecData) con…
439 …std::string genInVerification (const std::string& variableName, const VecData& outVecData, co…
809 std::string InterfaceMatchingTestCase::genOutAssignment(const std::string& variableName, const VecD… in genOutAssignment() argument
822 …std::string outValueAssignment = std::string(" ") + variableName + " = " + outVecData.glslType + … in genOutAssignment()
829 std::string InterfaceMatchingTestCase::genInVerification(const std::string& variableName, const Vec… in genInVerification() argument
849 "float(abs(" + variableName + ".${COMPONENT} - ${VALUE}) < 0.001)" : in genInVerification()
850 "float(" + variableName + ".${COMPONENT} == ${VALUE})"); in genInVerification()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/
DDeclarePerVertexBlocks.cpp281 ImmutableString &variableName) in declarePerVertex() argument
350 new TVariable(mSymbolTable, variableName, interfaceBlockType, in declarePerVertex()
351 variableName.empty() ? SymbolType::Empty : SymbolType::AngleInternal); in declarePerVertex()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DDynamicHLSL.cpp1247 const std::string &variableName = "out_" + outputVariable.name; in getPixelShaderOutputKey() local
1257 outputKeyVariable.name = variableName + elementString; in getPixelShaderOutputKey()
1259 variableName + in getPixelShaderOutputKey()
1278 const std::string &variableName = "out_" + outputVariable.name; in getPixelShaderOutputKey() local
1288 outputKeyVariable.name = variableName + elementString; in getPixelShaderOutputKey()
1290 variableName + in getPixelShaderOutputKey()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DDynamicHLSL.cpp1294 const std::string &variableName = "out_" + outputVariable.name; in getPixelShaderOutputKey() local
1304 outputKeyVariable.name = variableName + elementString; in getPixelShaderOutputKey()
1306 variableName + in getPixelShaderOutputKey()
1325 const std::string &variableName = "out_" + outputVariable.name; in getPixelShaderOutputKey() local
1335 outputKeyVariable.name = variableName + elementString; in getPixelShaderOutputKey()
1337 variableName + in getPixelShaderOutputKey()

123