Home
last modified time | relevance | path

Searched refs:variable_name (Results 1 – 25 of 47) sorted by relevance

12

/external/libchrome/base/
Denvironment.cc29 bool GetVar(StringPiece variable_name, std::string* result) override { in GetVar() argument
30 if (GetVarImpl(variable_name, result)) in GetVar()
37 char first_char = variable_name[0]; in GetVar()
40 alternate_case_var = ToUpperASCII(variable_name); in GetVar()
42 alternate_case_var = ToLowerASCII(variable_name); in GetVar()
48 bool SetVar(StringPiece variable_name, in SetVar() argument
50 return SetVarImpl(variable_name, new_value); in SetVar()
53 bool UnSetVar(StringPiece variable_name) override { in UnSetVar() argument
54 return UnSetVarImpl(variable_name); in UnSetVar()
58 bool GetVarImpl(StringPiece variable_name, std::string* result) { in GetVarImpl() argument
[all …]
Denvironment.h36 virtual bool GetVar(StringPiece variable_name, std::string* result) = 0;
39 virtual bool HasVar(StringPiece variable_name);
42 virtual bool SetVar(StringPiece variable_name,
46 virtual bool UnSetVar(StringPiece variable_name) = 0;
/external/pigweed/pw_metric/public/pw_metric/
Dglobal.h32 #define PW_METRIC_GLOBAL(variable_name, metric_name, init) \ argument
33 static constexpr uint32_t variable_name##_token = \
35 ::pw::metric::TypedMetric<_PW_METRIC_FLOAT_OR_UINT32(init)> variable_name = \
36 {variable_name##_token, init, ::pw::metric::global_metrics}
39 #define PW_METRIC_GROUP_GLOBAL(variable_name, group_name) \ argument
40 static constexpr uint32_t variable_name##_token = \
42 ::pw::metric::Group variable_name = {variable_name##_token, \
Dmetric.h260 #define _PW_METRIC_4(static_def, variable_name, metric_name, init) \ argument
261 static constexpr uint32_t variable_name##_token = \
264 variable_name = {variable_name##_token, init}
267 #define _PW_METRIC_5(static_def, group, variable_name, metric_name, init) \ argument
268 static constexpr uint32_t variable_name##_token = \
271 variable_name = {variable_name##_token, init, group.metrics()}
299 #define _PW_METRIC_GROUP_3(static_def, variable_name, group_name) \ argument
300 static constexpr uint32_t variable_name##_token = \
302 static_def ::pw::metric::Group variable_name = {variable_name##_token};
304 #define _PW_METRIC_GROUP_4(static_def, parent, variable_name, group_name) \ argument
[all …]
/external/libgav1/libgav1/cmake/
Dlibgav1_variables.cmake20 # Halts generation when $variable_name does not refer to a directory that
22 macro(libgav1_variable_must_be_directory variable_name)
23 if("${variable_name}" STREQUAL "")
26 "Empty variable_name passed to libgav1_variable_must_be_directory.")
29 if("${${variable_name}}" STREQUAL "")
32 "Empty variable ${variable_name} is required to build libgav1.")
35 if(NOT IS_DIRECTORY "${${variable_name}}")
38 "${variable_name}, which is ${${variable_name}}, does not refer to a\n"
/external/libchrome/base/test/
Dscoped_environment_variable_override.cc13 const std::string& variable_name, in ScopedEnvironmentVariableOverride() argument
16 variable_name_(variable_name), in ScopedEnvironmentVariableOverride()
19 was_set_ = environment_->GetVar(variable_name, &old_value_); in ScopedEnvironmentVariableOverride()
20 overridden_ = environment_->SetVar(variable_name, value); in ScopedEnvironmentVariableOverride()
Dscoped_environment_variable_override.h21 ScopedEnvironmentVariableOverride(const std::string& variable_name,
/external/angle/src/libANGLE/renderer/vulkan/
Dgen_vk_internal_shaders.py327 def write_compressed_spirv_blob_as_c_array(output_path, variable_name, compressed_blob, argument
334 variable_name=variable_name,
346 def __init__(self, shader_file, preprocessor_args, output_path, variable_name): argument
352 self.variable_name = variable_name
373 write_compressed_spirv_blob_as_c_array(self.output_path, self.variable_name,
383 compile_args, preprocessor_args, variable_name): argument
394 self.variable_name = variable_name
404 self.variable_name))
448 preprocessor_args, variable_name): argument
461 variable_name))
/external/e2fsprogs/ext2ed/
Dinit.c111 char variable_name [50],variable_type [20]; in set_struct_descriptors() local
142 ch=parse_word (ch,variable_name); in set_struct_descriptors()
143 while (variable_name [strlen (variable_name)-1]!=';') { in set_struct_descriptors()
144 strcpy (variable_type,variable_name); in set_struct_descriptors()
145 ch=parse_word (ch,variable_name); in set_struct_descriptors()
147 variable_name [strlen (variable_name)-1]=0; in set_struct_descriptors()
148 add_new_variable (current_descriptor,variable_type,variable_name); in set_struct_descriptors()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dreadonly_references_to_resources.cc144 StringRef variable_name = GetNodeNameFromClassAttr(variable_v2_op); in runOnFunction() local
145 if (variable_name.empty()) { in runOnFunction()
158 builder.getStringAttr(variable_name))}); in runOnFunction()
/external/llvm-project/lldb/source/Symbol/
DVariable.cpp396 std::string variable_name = matches[1].str(); in GetValuesForVariableExpressionPath() local
397 if (!callback(baton, variable_name.c_str(), variable_list)) { in GetValuesForVariableExpressionPath()
417 variable_expr_path.drop_front(variable_name.size()); in GetValuesForVariableExpressionPath()
706 llvm::StringRef variable_name = var_sp->GetName().GetStringRef(); in PrivateAutoComplete() local
707 if (variable_name.startswith(token)) { in PrivateAutoComplete()
708 if (variable_name == token) { in PrivateAutoComplete()
719 request.AddCompletion((prefix_path + variable_name).str()); in PrivateAutoComplete()
722 request.AddCompletion((prefix_path + variable_name).str()); in PrivateAutoComplete()
/external/libyuv/files/tools_libyuv/autoroller/unittests/
Droll_deps_test.py106 def assertVar(variable_name): argument
107 self.assertEquals(vars_dict[variable_name], TEST_DATA_VARS[variable_name])
/external/skia/gn/
Dgn_to_cmake.py60 def SetVariable(out, variable_name, value): argument
63 out.write(CMakeStringEscape(variable_name))
69 def SetVariableList(out, variable_name, values): argument
72 return SetVariable(out, variable_name, "")
74 return SetVariable(out, variable_name, values[0])
76 out.write(CMakeStringEscape(variable_name))
106 def WriteVariable(output, variable_name, prepend=None): argument
110 output.write(variable_name)
/external/skqp/gn/
Dgn_to_cmake.py60 def SetVariable(out, variable_name, value): argument
63 out.write(CMakeStringEscape(variable_name))
69 def SetVariableList(out, variable_name, values): argument
72 return SetVariable(out, variable_name, "")
74 return SetVariable(out, variable_name, values[0])
76 out.write(CMakeStringEscape(variable_name))
106 def WriteVariable(output, variable_name, prepend=None): argument
110 output.write(variable_name)
/external/tensorflow/tensorflow/python/tools/
Dsaved_model_utils_test.py39 def _init_and_validate_variable(self, sess, variable_name, variable_value): argument
40 v = variables.Variable(variable_value, name=variable_name)
Dsaved_model_cli.py662 for input_tensor_key, (filename, variable_name) in inputs.items():
666 if variable_name:
671 % (filename, variable_name))
674 if variable_name in data:
675 tensor_key_feed_dict[input_tensor_key] = data[variable_name]
679 (filename, variable_name))
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/compiler/
Dfuse_inplace.cc66 auto variable_name = input.substr(len); in Rewrite() local
68 absl::StrReplaceAll(code_, {{"value_0", variable_name}})); in Rewrite()
Dvariable_accessor.cc488 const std::string& variable_name = variable.second.name; in GetConstDeclarations() local
489 if (shared_variables_.find(variable_name) != shared_variables_.end()) { in GetConstDeclarations()
496 variable_name, "[] = "); in GetConstDeclarations()
/external/tensorflow/tensorflow/python/saved_model/
Dsimple_save_test.py34 def _init_and_validate_variable(self, variable_name, variable_value): argument
35 v = variables.Variable(variable_value, name=variable_name)
/external/tensorflow/tensorflow/python/eager/
Dwrap_function.py67 variable_name = ops.name_from_scope_name(name)
71 v = self._variables_by_name.get(variable_name, None)
75 self._variables_by_name[variable_name] = v
138 variable_name = new_variable.name.split(":")[0]
139 variable_holder._variables_by_name[variable_name] = new_variable
/external/tensorflow/tensorflow/python/autograph/pyct/testing/
Dcodegen.py141 variable_name = '_' + ''.join(
143 return gast.Name(variable_name, ctx=ctx, annotation=None)
/external/webrtc/tools_webrtc/autoroller/unittests/
Droll_deps_test.py169 def AssertVar(variable_name): argument
170 self.assertEquals(vars_dict[variable_name], TEST_DATA_VARS[variable_name])
/external/angle/src/compiler/translator/
Dgen_builtin_symbols.py1424 for variable_name, props in group['variables'].items():
1425 mangled_names.append(variable_name)
1855 def process_single_variable(shader_type, variable_name, props, symbols, variables, argument
1865 variable_name,
1867 variable_name + get_suffix(props),
1900 raise Exception('Missing precision for variable ' + variable_name)
1943 resources_key = variable_name[3:]
2014 for variable_name, props in group['variables'].items():
2015 process_single_variable(shader_type, variable_name, props, symbols, variables,
2030 process_single_variable(shader_type, variable_name, core_props, symbols, variables,
/external/scrypt/
Dimport_scrypt.sh451 declare -r variable_name=SCRYPT_PATCHES_`basename $patch .patch | sed s/-/_/`_SOURCES
453 eval declare -r sources=\$$variable_name
/external/icu/icu4c/source/python/icutools/databuilder/
Drequest_types.py264 self.variable_name = None
281 name = self.variable_name,

12