Home
last modified time | relevance | path

Searched full:variable (Results 1 – 25 of 5747) sorted by relevance

12345678910>>...230

/third_party/python/Tools/msi/bundle/
Dbundle.wxs20 <Variable Name="ActionLikeInstalling" Value="Installing" />
22 <Variable Name="ActionLikeInstallation" Value="Setup" />
24 <Variable Name="ShortVersion" Value="$(var.MajorVersionNumber).$(var.MinorVersionNumber)" />
25 <Variable Name="ShortVersionNoDot" Value="$(var.MajorVersionNumber)$(var.MinorVersionNumber)" />
26 …<Variable Name="WinVer" Value="$(var.MajorVersionNumber).$(var.MinorVersionNumber)$(var.PyArchExt)…
27 …<Variable Name="WinVerNoDot" Value="$(var.MajorVersionNumber)$(var.MinorVersionNumber)$(var.PyArch…
29 <Variable Name="InstallAllUsers" Value="0" bal:Overridable="yes" />
31 <Variable Name="InstallLauncherAllUsers" Value="1" bal:Overridable="yes" />
33 <Variable Name="InstallLauncherAllUsers" Value="0" />
35 <Variable Name="TargetDir" Value="" bal:Overridable="yes" />
[all …]
/third_party/glib/glib/
Dgenviron.c48 g_environ_matches (const gchar *env, const gchar *variable, gsize len) in g_environ_matches() argument
51 /* TODO handle Unicode environment variable names */ in g_environ_matches()
53 return g_ascii_strncasecmp (env, variable, len) == 0 && env[len] == '='; in g_environ_matches()
55 return strncmp (env, variable, len) == 0 && env[len] == '='; in g_environ_matches()
61 const gchar *variable) in g_environ_find() argument
69 len = strlen (variable); in g_environ_find()
73 if (g_environ_matches (envp[i], variable, len)) in g_environ_find()
85 * @variable: (type filename): the environment variable to get
87 * Returns the value of the environment variable @variable in the
90 * Returns: (type filename): the value of the environment variable, or %NULL if
[all …]
/third_party/node/tools/node_modules/eslint/lib/rules/
Dno-shadow.js23 …description: "disallow variable declarations from shadowing variables declared in the outer scope",
60 * Check if variable name is allowed.
61 * @param {ASTNode} variable The variable to check.
62 * @returns {boolean} Whether or not the variable name is allowed.
64 function isAllowed(variable) { argument
65 return options.allow.indexOf(variable.name) !== -1;
69 * Checks if a variable of the class name in the class scope of ClassDeclaration.
72 * So we should ignore the variable in the class scope.
73 * @param {Object} variable The variable to check.
74 …* @returns {boolean} Whether or not the variable of the class name in the class scope of ClassDecl…
[all …]
Dno-use-before-define.js37 * Checks whether or not a given variable is a function declaration.
38 * @param {eslint-scope.Variable} variable A variable to check.
39 * @returns {boolean} `true` if the variable is a function declaration.
41 function isFunction(variable) { argument
42 return variable.defs[0].type === "FunctionName";
46 * Checks whether or not a given variable is a class declaration in an upper function scope.
47 * @param {eslint-scope.Variable} variable A variable to check.
49 * @returns {boolean} `true` if the variable is a class declaration.
51 function isOuterClass(variable, reference) { argument
53 variable.defs[0].type === "ClassName" &&
[all …]
Dno-var.js19 * Check whether a given variable is a global variable or not.
20 * @param {eslint-scope.Variable} variable The variable to check.
21 * @returns {boolean} `true` if the variable is a global variable.
23 function isGlobal(variable) { argument
24 return Boolean(variable.scope) && variable.scope.type === "global";
44 * Checks whether the given variable has any references from a more specific
46 * @param {eslint-scope.Variable} variable A variable to check.
47 * @returns {boolean} `true` if the variable is used from a closure.
49 function isReferencedInClosure(variable) { argument
50 const enclosingFunctionScope = getEnclosingFunctionScope(variable.scope);
[all …]
Dno-unused-vars.js120 * Generates the message data about the variable being defined and unused,
122 * @param {Variable} unusedVar eslint-scope variable object.
123 * @returns {UnusedVarMessageData} The message data to be used with this unused variable.
151 * Generate the warning message about the variable being
153 * @param {Variable} unusedVar eslint-scope variable object.
154 * @returns {UnusedVarMessageData} The message data to be used with this unused variable.
173 * Determines if a given variable is being exported from a module.
174 * @param {Variable} variable eslint-scope variable object.
175 * @returns {boolean} True if the variable is exported, false if not.
178 function isExported(variable) { argument
[all …]
Dno-shadow-restricted-names.js8 * Determines if a variable safely shadows undefined.
9 …* This is the case when a variable named `undefined` is never assigned to a value (i.e. it always …
11 * @param {eslintScope.Variable} variable The variable to check
12 * @returns {boolean} true if this variable safely shadows `undefined`
14 function safelyShadowsUndefined(variable) { argument
15 return variable.name === "undefined" &&
16 variable.references.every(ref => !ref.isWrite()) &&
17variable.defs.every(def => def.node.type === "VariableDeclarator" && def.node.init === null);
49 for (const variable of context.getDeclaredVariables(node)) {
50 …if (variable.defs.length > 0 && RESTRICTED.has(variable.name) && !safelyShadowsUndefined(variable)…
[all …]
Dno-implicit-globals.js35 …n the global scope, wrap in an IIFE for a local variable, assign as global property for a global v…
37 … globalVariableLeak: "Global variable leak, declare the variable if it is intended to be local.",
38 assignmentToReadonlyGlobal: "Unexpected assignment to read-only global variable.",
39 redeclarationOfReadonlyGlobal: "Unexpected redeclaration of read-only global variable."
68 scope.variables.forEach(variable => {
71 const isReadonlyEslintGlobalVariable = variable.writeable === false;
72 const isWritableEslintGlobalVariable = variable.writeable === true;
80 variable.defs.forEach(def => {
83 … if (def.type === "FunctionName" || (def.type === "Variable" && def.parent.kind === "var")) {
97 … (def.type === "Variable" && (def.parent.kind === "let" || def.parent.kind === "const"))) {
[all …]
Drequire-atomic-updates.js57 * Checks if an expression is a variable that can only be observed within the given function.
58 * @param {Variable|null} variable The variable to check
60 …* @returns {boolean} `true` if the variable is local to the given function, and is never reference…
62 function isLocalVariableWithoutEscape(variable, isMemberAccess) { argument
63 if (!variable) {
64 return false; // A global variable which was not defined.
67 …// If the reference is a property access and the variable is a parameter, it handles the variable
68 if (isMemberAccess && variable.defs.some(d => d.type === "Parameter")) {
72 const functionScope = variable.scope.variableScope;
74 return variable.references.every(reference =>
[all …]
Dno-redeclare.js2 * @fileoverview Rule to flag when the same variable is declared more then once.
23 description: "disallow variable redeclaration",
31 redeclaredAsBuiltin: "'{{id}}' is already defined as a built-in global variable.",
32 redeclaredBySyntax: "'{{id}}' is already defined by a variable declaration."
56 * Iterate declarations of a given variable.
57 * @param {escope.variable} variable The variable object to iterate declarations.
60 function *iterateDeclarations(variable) { argument
62 variable.eslintImplicitGlobalSetting === "readonly" ||
63 variable.eslintImplicitGlobalSetting === "writable"
68 for (const id of variable.identifiers) {
[all …]
/third_party/node/tools/node_modules/eslint/node_modules/eslint-scope/lib/
Dvariable.js27 * A Variable represents a locally scoped identifier. These include arguments to
29 * @class Variable
31 class Variable { class
35 * The variable name, as given in the source code.
36 * @member {String} Variable#name
41 * List of defining occurrences of this variable (like in 'var ...'
43 * @member {espree.Identifier[]} Variable#identifiers
48 * List of {@link Reference|references} of this variable (excluding parameter entries)
50 * occurrences only see {@link Variable#defs}.
51 * @member {Reference[]} Variable#references
[all …]
Dscope.js32 const Variable = require("./variable"); constant
147 (def.type === Variable.ClassName) ||
148 (def.type === Variable.Variable && def.parent.kind !== "var")
165 * The scoped {@link Variable}s of this scope, as <code>{ Variable.name
166 * : Variable }</code>.
172 * The tainted variables of this scope, as <code>{ Variable.name :
179 * which variable an identifier in the source code refers to. There are
181 * can only decide at runtime which variable a reference refers to.
202 * The scoped {@link Variable}s of this scope. In the case of a
205 * @member {Variable[]} Scope#variables
[all …]
/third_party/boost/tools/build/src/engine/
Dvariable.h8 * variable.h - handle jam multi-element variables
39 struct variable struct
41 inline variable(const variable &v) in variable() function
43 inline variable(struct module_t *m, const char *v) in variable() function
45 inline variable(const char *m, const char *v) in variable() function
46 : variable(bindmodule(object_new(m)), v) {} in variable()
47 inline variable(const std::string &m, const std::string &v) in variable() argument
48 : variable(bindmodule(object_new(m.c_str())), v.c_str()) {} in variable()
49 inline explicit variable(const char *v) : variable(root_module(), v) {} in variable() function
50 inline explicit variable(const std::string &v) : variable(v.c_str()) {} in variable() argument
[all …]
Dvariable.cpp17 * variable.c - handle Jam multi-element variables.
21 * var_defines() - load a bunch of variable=value settings
23 * var_set() - set a variable in jam's user defined symbol table.
24 * var_swap() - swap a variable's value with the given one
25 * var_done() - free variable tables
30 * var_dump() - dump a variable to stdout
34 #include "variable.h"
49 * VARIABLE - a user defined multi-value variable
52 typedef struct _variable VARIABLE ; typedef
65 * var_defines() - load a bunch of variable=value settings
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DCollectVariables.cpp73 void MarkActive(ShaderVariable *variable) in MarkActive() argument
75 if (!variable->active) in MarkActive()
77 if (variable->isStruct()) in MarkActive()
80 for (auto &field : variable->fields) in MarkActive()
85 ASSERT(variable->staticUse); in MarkActive()
86 variable->active = true; in MarkActive()
138 const TVariable &variable,
141 Attribute recordAttribute(const TIntermSymbol &variable) const;
142 OutputVariable recordOutputVariable(const TIntermSymbol &variable) const;
143 Varying recordVarying(const TIntermSymbol &variable) const;
[all …]
DVariablePacker.cpp22 // Expand the variable so that struct variables are split into their individual fields.
24 void ExpandVariable(const ShaderVariable &variable,
28 void ExpandStructVariable(const ShaderVariable &variable, in ExpandStructVariable() argument
32 ASSERT(variable.isStruct()); in ExpandStructVariable()
34 const std::vector<ShaderVariable> &fields = variable.fields; in ExpandStructVariable()
43 void ExpandStructArrayVariable(const ShaderVariable &variable, in ExpandStructArrayVariable() argument
50 const unsigned int currentArraySize = variable.getNestedArraySize(arrayNestingIndex); in ExpandStructArrayVariable()
54 if (arrayNestingIndex + 1u < variable.arraySizes.size()) in ExpandStructArrayVariable()
56 ExpandStructArrayVariable(variable, arrayNestingIndex + 1u, elementName, expanded); in ExpandStructArrayVariable()
60 ExpandStructVariable(variable, elementName, expanded); in ExpandStructArrayVariable()
[all …]
Dblocklayout.cpp30 void encodeVariable(const ShaderVariable &variable, in encodeVariable() argument
35 ASSERT(!gl::IsSamplerType(variable.type)); in encodeVariable()
36 if (!gl::IsOpaqueType(variable.type)) in encodeVariable()
57 void TraverseStructVariable(const ShaderVariable &variable, in TraverseStructVariable() argument
61 const std::vector<ShaderVariable> &fields = variable.fields; in TraverseStructVariable()
63 visitor->enterStructAccess(variable, isRowMajorLayout); in TraverseStructVariable()
65 visitor->exitStructAccess(variable, isRowMajorLayout); in TraverseStructVariable()
68 void TraverseStructArrayVariable(const ShaderVariable &variable, in TraverseStructArrayVariable() argument
72 visitor->enterArray(variable); in TraverseStructArrayVariable()
76 const unsigned int currentArraySize = variable.getNestedArraySize(0); in TraverseStructArrayVariable()
[all …]
/third_party/boost/tools/build/src/util/
Dos.jam11 # Return the value(s) of the given environment variable(s) at the time bjam was
13 rule environ ( variable-names + )
16 for local var-name in $(variable-names)
56 …nstants = name platform version shared-library-path-variable path-separator executable-path-variab…
63 .executable-path-variable-NT = PATH ;
65 # let's find out what variable name was really set.
72 .executable-path-variable-NT = $(n) ;
79 .shared-library-path-variable-NT = $(.executable-path-variable-NT) ;
82 .expand-variable-prefix-NT = % ;
83 .expand-variable-suffix-NT = % ;
[all …]
/third_party/python/Lib/test/
Dtest_dictcomps.py4 g = "Global variable"
20 k = "Local Variable"
26 self.assertEqual(k, "Local Variable")
35 self.assertEqual(k, "Local Variable")
43 self.assertEqual(g, "Global variable")
52 self.assertEqual(g, "Global variable")
56 expected = {0: 'Global variable', 1: 'Global variable',
57 2: 'Global variable', 3: 'Global variable',
58 4: 'Global variable', 5: 'Global variable',
59 6: 'Global variable', 7: 'Global variable',
[all …]
/third_party/boost/libs/scope_exit/test/
Dsame_line_seq.cpp14 #define SCOPE_EXIT_INC_DEC(variable, offset) \ argument
16 (&variable) (offset) ) { \
17 variable += offset; \
21 (&variable) (offset) ) { \
22 variable -= offset; \
25 #define SCOPE_EXIT_INC_DEC_TPL(variable, offset) \ argument
27 (&variable) (offset) ) { \
28 variable += offset; \
32 (&variable) (offset) ) { \
33 variable -= offset; \
[all …]
Dsame_line.cpp19 #define SCOPE_EXIT_INC_DEC(variable, offset) \ argument
21 &variable, offset) { \
22 variable += offset; \
26 &variable, offset) { \
27 variable -= offset; \
30 #define SCOPE_EXIT_INC_DEC_TPL(variable, offset) \ argument
32 &variable, offset) { \
33 variable += offset; \
37 &variable, offset) { \
38 variable -= offset; \
[all …]
/third_party/flutter/skia/third_party/externals/sdl/include/
DSDL_hints.h31 * the environment variable that can be used to override the default.
51 * \brief A variable controlling how 3D acceleration is used to accelerate the SDL screen surface.
54 * textures with a 3D rendering engine. This variable controls whether and
57 * This variable can be set to the following values:
68 * \brief A variable specifying which render driver to use.
70 * If the application doesn't pick a specific renderer to use, this variable
74 * This variable is case insensitive and can be set to the following values:
87 …* \brief A variable controlling whether the OpenGL render driver uses shaders if they are availa…
89 * This variable can be set to the following values:
98 …* \brief A variable controlling whether the Direct3D device is initialized for thread-safe opera…
[all …]
/third_party/boost/tools/build/src/build/
Dengine.py93 def get_target_variable(self, targets, variable): argument
94 """Gets the value of `variable` on set on the first target in `targets`.
97 targets (str or list): one or more targets to get the variable from.
98 variable (str): the name of the variable
101 the value of `variable` set on `targets` (list)
119 assert isinstance(variable, basestring)
121 return bjam_interface.call('get-target-variable', targets, variable)
123 def set_target_variable (self, targets, variable, value, append=0): argument
124 """ Sets a target variable.
126 The 'variable' will be available to bjam when it decides
[all …]
/third_party/libxml2/
Dlibxml2.syms226 xmlStringComment; # variable
229 xmlStringText; # variable
230 xmlStringTextNoenc; # variable
499 xmlXPathNAN; # variable
500 xmlXPathNINF; # variable
504 xmlXPathPINF; # variable
734 xmlGetWarningsDefaultValue; # variable
821 docbDefaultSAXHandler; # variable
822 htmlDefaultSAXHandler; # variable
823 xmlDefaultSAXHandler; # variable
[all …]
/third_party/boost/libs/histogram/test/
Daxis_variable_test.cpp9 #include <boost/histogram/axis/variable.hpp>
23 BOOST_TEST(std::is_nothrow_move_assignable<axis::variable<>>::value); in main()
24 BOOST_TEST(std::is_nothrow_move_constructible<axis::variable<>>::value); in main()
28 BOOST_TEST_THROWS(axis::variable<>(std::vector<double>{}), std::invalid_argument); in main()
29 BOOST_TEST_THROWS(axis::variable<>({1.0}), std::invalid_argument); in main()
30 BOOST_TEST_THROWS(axis::variable<>({1.0, 1.0}), std::invalid_argument); in main()
31 BOOST_TEST_THROWS(axis::variable<>({1.0, -1.0}), std::invalid_argument); in main()
34 // axis::variable in main()
36 axis::variable<> a{{-1, 0, 1}, "foo"}; in main()
39 BOOST_TEST_EQ(static_cast<const axis::variable<>&>(a).metadata(), "foo"); in main()
[all …]

12345678910>>...230