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/u-boot/lib/efi_loader/
Defi_variable.c104 static efi_status_t efi_to_native(char *native, u16 *variable_name, in efi_to_native() argument
109 len = utf16_strlen((u16 *)variable_name); in efi_to_native()
114 native = (char *)utf16_to_utf8((u8 *)native, (u16 *)variable_name, len); in efi_to_native()
167 efi_status_t EFIAPI efi_get_variable(u16 *variable_name, efi_guid_t *vendor, in efi_get_variable() argument
177 EFI_ENTRY("\"%ls\" %pUl %p %p %p", variable_name, vendor, attributes, in efi_get_variable()
180 if (!variable_name || !vendor || !data_size) in efi_get_variable()
183 ret = efi_to_native(native_name, variable_name, vendor); in efi_get_variable()
246 u16 *variable_name, in efi_get_next_variable_name() argument
249 EFI_ENTRY("%p \"%ls\" %pUl", variable_name_size, variable_name, vendor); in efi_get_next_variable_name()
255 efi_status_t EFIAPI efi_set_variable(u16 *variable_name, efi_guid_t *vendor, in efi_set_variable() argument
[all …]
/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/v8/src/debug/
Ddebug-scopes.h78 bool SetVariableValue(Handle<String> variable_name, Handle<Object> new_value);
136 bool SetLocalVariableValue(Handle<String> variable_name,
138 bool SetContextVariableValue(Handle<String> variable_name,
140 bool SetContextExtensionValue(Handle<String> variable_name,
142 bool SetScriptVariableValue(Handle<String> variable_name,
144 bool SetModuleVariableValue(Handle<String> variable_name,
Ddebug-scopes.cc770 bool ScopeIterator::SetLocalVariableValue(Handle<String> variable_name, in SetLocalVariableValue() argument
775 if (String::Equals(isolate_, var->name(), variable_name)) { in SetLocalVariableValue()
782 *variable_name == ReadOnlyRoots(isolate_).arguments_string()); in SetLocalVariableValue()
841 bool ScopeIterator::SetContextExtensionValue(Handle<String> variable_name, in SetContextExtensionValue() argument
847 LookupIterator it(isolate_, ext, variable_name, LookupIterator::OWN); in SetContextExtensionValue()
848 Maybe<bool> maybe = JSReceiver::HasOwnProperty(ext, variable_name); in SetContextExtensionValue()
856 bool ScopeIterator::SetContextVariableValue(Handle<String> variable_name, in SetContextVariableValue() argument
863 int slot_index = ScopeInfo::ContextSlotIndex(scope_info, variable_name, &mode, in SetContextVariableValue()
871 bool ScopeIterator::SetModuleVariableValue(Handle<String> variable_name, in SetModuleVariableValue() argument
878 variable_name, &mode, &init_flag, &maybe_assigned_flag); in SetModuleVariableValue()
[all …]
/external/tensorflow/tensorflow/contrib/util/
Dconvert_graphdef_memmapped_format_lib.cc111 string ConvertVariableNameToUniqueRegionName(const string& variable_name) { in ConvertVariableNameToUniqueRegionName() argument
112 string region_name = SanitizeVariableName(variable_name); in ConvertVariableNameToUniqueRegionName()
119 static string SanitizeVariableName(const string& variable_name) { in SanitizeVariableName() argument
121 for (char c : variable_name) { in SanitizeVariableName()
/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/python/framework/
Dgraph_util_impl.py254 variable_name = node.name
256 variable_name not in variable_names_whitelist) or
258 variable_name in variable_names_blacklist)):
260 variable_dict_names.append(variable_name)
262 variable_names.append(variable_name + "/Read/ReadVariableOp:0")
264 variable_names.append(variable_name + ":0")
/external/webrtc/tools/autoroller/unittests/
Droll_chromium_revision_test.py62 def assertVar(variable_name): argument
63 self.assertEquals(vars_dict[variable_name], TEST_DATA_VARS[variable_name])
/external/autotest/server/site_tests/brillo_BootLoader/
Dbrillo_BootLoader.py51 def fastboot_get_var(self, variable_name): argument
62 cmd_output = self.dut.fastboot_run('getvar %s' % variable_name)
66 if lines[0].startswith(variable_name + ': '):
67 return (lines[0])[len(variable_name + ': '):]
/external/v8/src/inspector/build/
Dxxd.py17 variable_name, input_filename, output_filename = sys.argv[1:]
23 variable_name, ', '.join(hex_values))
/external/libyuv/files/tools_libyuv/autoroller/unittests/
Droll_deps_test.py101 def assertVar(variable_name): argument
102 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_cli.py553 for input_tensor_key, (filename, variable_name) in inputs.items():
557 if variable_name:
562 % (filename, variable_name))
565 if variable_name in data:
566 tensor_key_feed_dict[input_tensor_key] = data[variable_name]
570 (filename, variable_name))
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)
/external/tensorflow/tensorflow/contrib/saved_model/python/saved_model/
Dreader_test.py38 def _init_and_validate_variable(self, sess, variable_name, variable_value): argument
39 v = variables.Variable(variable_value, name=variable_name)
/external/tensorflow/tensorflow/python/saved_model/
Dsimple_save_test.py35 def _init_and_validate_variable(self, sess, variable_name, variable_value): argument
36 v = variables.Variable(variable_value, name=variable_name)
/external/u-boot/include/
Defi_loader.h440 efi_status_t EFIAPI efi_get_variable(u16 *variable_name, efi_guid_t *vendor,
444 u16 *variable_name,
446 efi_status_t EFIAPI efi_set_variable(u16 *variable_name, efi_guid_t *vendor,
/external/tensorflow/tensorflow/python/autograph/pyct/testing/
Dcodegen.py141 variable_name = '_' + ''.join(
143 return gast.Name(variable_name, ctx=ctx, annotation=None)
/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/v8/src/torque/
Ddeclaration-visitor.cc301 std::string variable_name = stmt->name; in Visit() local
313 DeclareVariable(variable_name, type, stmt->const_qualified); in Visit()
315 std::cout << "declared variable " << variable_name << " with type " in Visit()
323 stream << "local constant \"" << variable_name << "\" is not initialized."; in Visit()
/external/tensorflow/tensorflow/core/framework/
Dvariable.proto13 string variable_name = 1; field

12