Home
last modified time | relevance | path

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

123

/external/dagger2/java/dagger/internal/codegen/binding/
DDependencyVariableNamer.java45 String variableName = dependency.requestElement().get().getSimpleName().toString(); in name() local
46 if (Ascii.isUpperCase(variableName.charAt(0))) { in name()
47 variableName = toLowerCamel(variableName); in name()
51 return variableName; in name()
53 return variableName.startsWith("lazy") && !variableName.equals("lazy") in name()
54 ? toLowerCamel(variableName.substring(4)) in name()
55 : variableName; in name()
57 Matcher matcher = LAZY_PROVIDER_PATTERN.matcher(variableName); in name()
63 return variableName.endsWith("Provider") && !variableName.equals("Provider") in name()
64 ? variableName.substring(0, variableName.length() - 8) in name()
[all …]
DComponentRequirement.java202 public abstract String variableName(); in variableName() method in ComponentRequirement
206 return ParameterSpec.builder(TypeName.get(type()), variableName()).build(); in toParameterSpec()
227 static ComponentRequirement forBoundInstance(Key key, boolean nullable, String variableName) { in forBoundInstance() argument
233 variableName); in forBoundInstance()
/external/angle/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()
78 bool GetBoolEnvironmentVar(const char *variableName) in GetBoolEnvironmentVar() argument
80 std::string envVarString = GetEnvironmentVar(variableName); in GetBoolEnvironmentVar()
84 bool PrependPathToEnvironmentVar(const char *variableName, const char *path) in PrependPathToEnvironmentVar() argument
86 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.cpp15 bool UnsetEnvironmentVar(const char *variableName) in UnsetEnvironmentVar() argument
17 return (SetEnvironmentVariableA(variableName, nullptr) == TRUE); in UnsetEnvironmentVar()
20 bool SetEnvironmentVar(const char *variableName, const char *value) in SetEnvironmentVar() argument
22 return (SetEnvironmentVariableA(variableName, value) == TRUE); in SetEnvironmentVar()
25 std::string GetEnvironmentVar(const char *variableName) in GetEnvironmentVar() argument
29 GetEnvironmentVariableA(variableName, oldValue.data(), static_cast<DWORD>(oldValue.size())); in GetEnvironmentVar()
Dsystem_utils_posix.cpp53 bool UnsetEnvironmentVar(const char *variableName) in UnsetEnvironmentVar() argument
55 return (unsetenv(variableName) == 0); in UnsetEnvironmentVar()
58 bool SetEnvironmentVar(const char *variableName, const char *value) in SetEnvironmentVar() argument
60 return (setenv(variableName, value, 1) == 0); in SetEnvironmentVar()
63 std::string GetEnvironmentVar(const char *variableName) in GetEnvironmentVar() argument
65 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
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
DJDWPStackFrameAccessTest.java46 private final String variableName; field in JDWPStackFrameAccessTest.VariableInfo
63 VariableInfo(String variableName, Value initialValue, Value setValue, Value newValue) { in VariableInfo() argument
64 this.variableName = variableName; in VariableInfo()
71 return variableName; in getVariableName()
103 public void addVariable(String variableName, Value initialValue, Value setValue, in addVariable() argument
105 variables.add(new VariableInfo(variableName, initialValue, setValue, newValue)); in addVariable()
108 public void addVariable(String variableName, Value initialValue, Value setValue) { in addVariable() argument
117 variables.add(new VariableInfo(variableName, initialValue, setValue, newValue)); in addVariable()
120 public void addVariable(String variableName, Value initialValue) { in addVariable() argument
121 addVariable(variableName, initialValue, null); in addVariable()
[all …]
/external/llvm-project/clang/cmake/caches/
DAndroid.cmake34 foreach(variableName ${variableNames})
35 if(variableName MATCHES "^STAGE2_")
36 string(REPLACE "STAGE2_" "" new_name ${variableName})
37 list(APPEND EXTRA_ARGS "-D${new_name}=${${variableName}}")
/external/angle/src/libANGLE/renderer/
Dglslang_wrapper_utils.h133 bool contains(gl::ShaderType shaderType, const std::string &variableName) const;
135 const std::string &variableName) const;
136 ShaderInterfaceVariableInfo &get(gl::ShaderType shaderType, const std::string &variableName);
137 ShaderInterfaceVariableInfo &add(gl::ShaderType shaderType, const std::string &variableName);
139 const std::string &variableName);
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/body/
DVariableDeclarator.java58 public VariableDeclarator(String variableName) { in VariableDeclarator() argument
59 setId(new VariableDeclaratorId(variableName)); in VariableDeclarator()
75 public VariableDeclarator(String variableName, Expression init) { in VariableDeclarator() argument
76 setId(new VariableDeclaratorId(variableName)); in VariableDeclarator()
/external/dagger2/java/dagger/internal/codegen/writing/
DDependencyMethodProviderCreationExpression.java83 "$N.$N()", dependency().variableName(), provisionMethod().getSimpleName())); in creationExpression()
100 .addField(dependencyClassName, dependency().variableName(), PRIVATE, FINAL) in creationExpression()
103 .addParameter(dependencyClassName, dependency().variableName()) in creationExpression()
104 .addStatement("this.$1L = $1L", dependency().variableName()) in creationExpression()
/external/cldr/tools/java/org/unicode/cldr/util/
DRegexFileParser.java29 public void add(String variable, String variableName); in add() argument
38 public void add(String variableName, String value) {
39 variables.add(variableName, value);
/external/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);
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/instrumentation/
DJavassistHelper.java177 String variableName = locals.variableName(j); in parameterNameFor() local
184 return variableName; in parameterNameFor()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/expr/
DVariableDeclarationExpr.java66 public VariableDeclarationExpr(final Type elementType, String variableName) { in VariableDeclarationExpr() argument
68 setVariables(singletonList(new VariableDeclarator(variableName))); in VariableDeclarationExpr()
76 …public VariableDeclarationExpr(final Type elementType, String variableName, Modifier... modifiers)… in VariableDeclarationExpr() argument
78 setVariables(singletonList(new VariableDeclarator(variableName))); in VariableDeclarationExpr()
/external/clang/runtime/
DCMakeLists.txt53 foreach(variableName ${variableNames})
54 if(variableName MATCHES "^COMPILER_RT")
55 string(REPLACE ";" "\;" value "${${variableName}}")
57 -D${variableName}=${value})
/external/angle/src/common/vulkan/
Dvulkan_icd.cpp22 void ResetEnvironmentVar(const char *variableName, const Optional<std::string> &value) in ResetEnvironmentVar() argument
31 angle::UnsetEnvironmentVar(variableName); in ResetEnvironmentVar()
35 angle::SetEnvironmentVar(variableName, value.value().c_str()); in ResetEnvironmentVar()
/external/llvm/cmake/modules/
DLLVMExternalProjectUtils.cmake89 foreach(variableName ${variableNames})
90 if(variableName MATCHES "^${prefix}")
91 string(REPLACE ";" "\;" value "${${variableName}}")
93 -D${variableName}=${value})
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
DVariableDeclarationExpr.java72 public VariableDeclarationExpr(final Type type, String variableName) { in VariableDeclarationExpr() argument
73 …is(null, new NodeList<>(), new NodeList<>(), nodeList(new VariableDeclarator(type, variableName))); in VariableDeclarationExpr()
80 public VariableDeclarationExpr(final Type type, String variableName, Modifier... modifiers) { in VariableDeclarationExpr() argument
81 …(() -> new NodeList<>())), new NodeList<>(), nodeList(new VariableDeclarator(type, variableName))); in VariableDeclarationExpr()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/
DVariableDeclarator.java73 public VariableDeclarator(Type type, String variableName) { in VariableDeclarator() argument
74 this(null, type, new SimpleName(variableName), null); in VariableDeclarator()
81 public VariableDeclarator(Type type, String variableName, Expression initializer) { in VariableDeclarator() argument
82 this(null, type, new SimpleName(variableName), initializer); in VariableDeclarator()
/external/llvm-project/clang/runtime/
DCMakeLists.txt53 foreach(variableName ${variableNames})
54 if(variableName MATCHES "^COMPILER_RT")
55 string(REPLACE ";" "\;" value "${${variableName}}")
57 -D${variableName}=${value})
/external/llvm-project/llvm/runtimes/
DCMakeLists.txt288 foreach(variableName ${variableNames})
289 string(FIND "${variableName}" "BUILTINS_${target}" out)
291 string(REPLACE "BUILTINS_${target}_" "" new_name ${variableName})
292 string(REPLACE ";" "|" new_value "${${variableName}}")
489 foreach(variableName ${variableNames})
490 string(FIND "${variableName}" "RUNTIMES_${target}_" out)
492 string(REPLACE "RUNTIMES_${target}_" "" new_name ${variableName})
493 string(REPLACE ";" "|" new_value "${${variableName}}")
498 foreach(variableName ${variableNames})
499 string(FIND "${variableName}" "RUNTIMES_${name}_" out)
[all …]
/external/clang/
DCMakeLists.txt566 foreach(variableName ${variableNames})
567 if(variableName MATCHES "^BOOTSTRAP_")
568 string(SUBSTRING ${variableName} 10 -1 varName)
569 string(REPLACE ";" "\;" value "${${variableName}}")
573 if(${variableName} AND variableName MATCHES "LLVM_EXTERNAL_.*_SOURCE_DIR")
575 -D${variableName}=${${variableName}})
580 foreach(variableName ${CLANG_BOOTSTRAP_PASSTHROUGH} ${BOOTSTRAP_DEFAULT_PASSTHROUGH})
581 if(${variableName})
582 string(REPLACE ";" "\;" value ${${variableName}})
584 -D${variableName}=${value})
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/
DTemplateInterpreter.java206 String variableName = variableLocator.getVariableName(node.getVariable()); in caseASetCommand() local
209 Data variable = dataContext.findVariable(variableName, true); in caseASetCommand()
231 String variableName = variableLocator.getVariableName(node.getVariable()); in caseANameCommand() local
232 Data variable = dataContext.findVariable(variableName, false); in caseANameCommand()
658 private void setTempVariable(String variableName, Value value) { in setTempVariable() argument
663 dataContext.createLocalVariableByPath(variableName, ((VariableValue) value).getName()); in setTempVariable()
665 dataContext.createLocalVariableByValue(variableName, value.asString(), value.getEscapeMode()); in setTempVariable()

123