Home
last modified time | relevance | path

Searched refs:option_name (Results 1 – 25 of 40) sorted by relevance

12

/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_generator.cc114 string option_name = TrimString(options[i].first); in Generate() local
116 if (option_name == "output_list_file") { in Generate()
118 } else if (option_name == "java_package") { in Generate()
127 } else if (option_name == "java_outer_classname") { in Generate()
137 } else if (option_name == "store_unknown_fields") { in Generate()
139 } else if (option_name == "java_multiple_files") { in Generate()
141 } else if (option_name == "java_nano_generate_has") { in Generate()
143 } else if (option_name == "enum_style") { in Generate()
145 } else if (option_name == "optional_field_style") { in Generate()
154 } else if (option_name == "generate_equals") { in Generate()
[all …]
/external/freetype/builds/meson/
Dprocess_ftoption_h.py66 option_name = line[11:-3].strip()
69 option_name = line[8:].strip()
72 option_name = line[7:].strip()
78 options_seen.add(option_name)
79 if option_enabled and option_name in args.disable:
80 line = "#undef " + option_name
81 elif not option_enabled and option_name in args.enable:
82 line = "#define " + option_name
/external/tensorflow/tensorflow/lite/tools/serialization/
Doption_writer_generator.cc216 std::string option_name = d->names[i]; in BuildOpToOptionMap() local
217 std::string collapsed_option_name = ToCollapsed(option_name); in BuildOpToOptionMap()
219 op_to_option_.insert(std::make_pair(op_name, option_name)); in BuildOpToOptionMap()
229 std::string option_name = it->second; in BuildOpToOptionMap() local
231 if (option_to_struct_.find(option_name) == option_to_struct_.end()) { in BuildOpToOptionMap()
233 std::string params_guess = std::string("TfLite") + option_name; in BuildOpToOptionMap()
244 std::cerr << "Failed to get param struct for option " << option_name in BuildOpToOptionMap()
247 option_to_struct_.insert(std::make_pair(option_name, params_guess)); in BuildOpToOptionMap()
304 const std::string& option_name, in GenerateImportForOp() argument
398 fprintf(fp, " auto union_type = Create%s(*fbb", option_name.c_str()); in GenerateImportForOp()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_operator.cc53 const char* option_name = tflite::EnumNamePadding(padding); in GetPaddingAttr() local
54 return builder.getStringAttr(option_name); in GetPaddingAttr()
210 const char* option_name = tflite::EnumNameActivationFunctionType(value); in BuildTFL_AFAttr() local
211 return builder.getStringAttr(option_name); in BuildTFL_AFAttr()
216 const char* option_name = in BuildTFL_FullyConnectedOptionsWeightFormatAttr() local
218 return builder.getStringAttr(option_name); in BuildTFL_FullyConnectedOptionsWeightFormatAttr()
223 const char* option_name = tflite::EnumNameLSTMKernelType(value); in BuildTFL_LSTMKernelTypeAttr() local
224 return builder.getStringAttr(option_name); in BuildTFL_LSTMKernelTypeAttr()
229 const char* option_name = tflite::EnumNameMirrorPadMode(value); in BuildTFL_MirrorPaddingAttr() local
230 return builder.getStringAttr(option_name); in BuildTFL_MirrorPaddingAttr()
[all …]
Dconverter_gen.cc100 std::string option_name = GetOperatorOptionName(*def); in EmitOptionBuilders() local
102 option_name == "BasicLSTMOptions" ? "LSTMOptions" : option_name; in EmitOptionBuilders()
105 << option_name << "(mlir::TFL::" << op_name in EmitOptionBuilders()
200 auto option_name = GetOperatorOptionName(*def); in EmitOperatorBuilders() local
202 option_name == "BasicLSTMOptions" ? "LSTMOptions" : option_name; in EmitOperatorBuilders()
204 << "Create" << option_name << "(tflOp, fbb).Union(),\n"; in EmitOperatorBuilders()
365 auto option_name = GetOperatorOptionName(*def); in EmitBuiltinOptionsToAttributes() local
367 if (option_name == "BasicLSTMOptions") { in EmitBuiltinOptionsToAttributes()
371 os << formatv(" if(const auto *op = op_union.As{0}()) {{\n", option_name); in EmitBuiltinOptionsToAttributes()
382 if ((option_name == "LSTMOptions" || in EmitBuiltinOptionsToAttributes()
[all …]
/external/autotest/client/site_tests/platform_Crouton/
Dplatform_Crouton.py26 for option_name, value in args.iteritems():
27 if option_name == 'repo':
29 elif option_name == 'branch':
31 elif option_name == 'runargs':
33 elif option_name == 'env':
/external/python/setuptools/setuptools/
Dconfig.py153 def __setitem__(self, option_name, value): argument
158 option_name = self.aliases.get(option_name, option_name)
160 current_value = getattr(target_obj, option_name, unknown)
163 raise KeyError(option_name)
170 parser = self.parsers.get(option_name)
183 setter = getattr(target_obj, 'set_%s' % option_name, None)
185 setattr(target_obj, option_name, value)
189 self.set_options.append(option_name)
/external/toolchain-utils/crosperf/
Dcrosperf.py58 for option_name in options.__dict__:
59 if (options.__dict__[option_name] is not None and
60 option_name in option_settings.fields):
61 option_settings.SetField(option_name, options.__dict__[option_name])
/external/protobuf/src/google/protobuf/util/internal/
Dutility.cc55 const std::string& option_name, bool default_value) { in GetBoolOptionOrDefault() argument
56 const google::protobuf::Option* opt = FindOptionOrNull(options, option_name); in GetBoolOptionOrDefault()
65 const std::string& option_name, int64 default_value) { in GetInt64OptionOrDefault() argument
66 const google::protobuf::Option* opt = FindOptionOrNull(options, option_name); in GetInt64OptionOrDefault()
75 const std::string& option_name, double default_value) { in GetDoubleOptionOrDefault() argument
76 const google::protobuf::Option* opt = FindOptionOrNull(options, option_name); in GetDoubleOptionOrDefault()
85 const std::string& option_name, const std::string& default_value) { in GetStringOptionOrDefault() argument
86 const google::protobuf::Option* opt = FindOptionOrNull(options, option_name); in GetStringOptionOrDefault()
142 const std::string& option_name) { in FindOptionOrNull() argument
145 if (opt.name() == option_name) { in FindOptionOrNull()
Dutility.h64 const std::string& option_name, bool default_value);
70 const std::string& option_name, int64 default_value);
76 const std::string& option_name, double default_value);
82 const std::string& option_name, const std::string& default_value);
117 const std::string& option_name);
/external/autotest/server/site_tests/telemetry_AFDOGenerate/
Dtelemetry_AFDOGenerate.py288 for option_name, value in args.iteritems():
289 if option_name == 'arch':
291 elif option_name == 'gs_test_location':
293 elif option_name == 'ignore_failures':
295 elif option_name == 'local':
297 elif option_name == 'minimal_telemetry':
299 elif option_name == 'version':
302 raise error.TestFail('Unknown option passed: %s' % option_name)
/external/libvpx/libvpx/examples/
Dsvc_encodeframe.c189 char *option_name; in parse_options() local
201 option_name = strtok_r(input_string, "=", &input_ptr); in parse_options()
202 while (option_name != NULL) { in parse_options()
207 option_name); in parse_options()
211 if (strcmp("spatial-layers", option_name) == 0) { in parse_options()
213 } else if (strcmp("temporal-layers", option_name) == 0) { in parse_options()
215 } else if (strcmp("scale-factors", option_name) == 0) { in parse_options()
220 } else if (strcmp("max-quantizers", option_name) == 0) { in parse_options()
225 } else if (strcmp("min-quantizers", option_name) == 0) { in parse_options()
230 } else if (strcmp("auto-alt-refs", option_name) == 0) { in parse_options()
[all …]
/external/llvm-project/debuginfo-tests/dexter/dex/debugger/
DDebuggers.py202 LoadedDebugger.option_name = key
228 max_o_len = max(len(d.option_name) for d in debuggers)
235 option_name = (
236 '{{name: <{}}}'.format(max_o_len).format(name=d.option_name))
243 name = '<b>{} {}</>'.format(option_name, full_name)
250 name = '<y>{} {}</>'.format(option_name, full_name)
/external/adhd/cras/client/cras_tests/src/
Darguments.rs138 fn get_u32_param(matches: &Matches, option_name: &str) -> Result<Option<u32>> { in get_u32_param()
139 matches.opt_get::<u32>(option_name).map_err(|e| { in get_u32_param()
140 let argument = matches.opt_str(option_name).unwrap_or_default(); in get_u32_param()
141 Error::InvalidArgument(option_name.to_string(), argument, e.to_string()) in get_u32_param()
145 fn get_usize_param(matches: &Matches, option_name: &str) -> Result<Option<usize>> { in get_usize_param()
146 matches.opt_get::<usize>(option_name).map_err(|e| { in get_usize_param()
147 let argument = matches.opt_str(option_name).unwrap_or_default(); in get_usize_param()
148 Error::InvalidArgument(option_name.to_string(), argument, e.to_string()) in get_usize_param()
/external/libgav1/libgav1/cmake/
Dlibgav1_options.cmake52 foreach(option_name ${libgav1_options})
53 message("${option_name}: ${${option_name}}")
/external/mesa3d/bin/
Dmeson-options.py10 def describe_option(option_name: str, option_default_value: str,
12 print('name: ' + option_name)
/external/llvm-project/lldb/include/lldb/Host/
DSocket.h91 int GetOption(int level, int option_name, int &option_value);
92 int SetOption(int level, int option_name, int option_value);
/external/llvm-project/lldb/source/Host/common/
DSocket.cpp406 int Socket::GetOption(int level, int option_name, int &option_value) { in GetOption() argument
410 return ::getsockopt(m_socket, level, option_name, option_value_p, in GetOption()
414 int Socket::SetOption(int level, int option_name, int option_value) { in SetOption() argument
417 return ::setsockopt(m_socket, level, option_name, option_value_p, in SetOption()
/external/autotest/client/common_lib/
Drevision_control.py569 def config(self, option_name): argument
575 cmd = 'config ' + option_name
580 raise error.CmdError('Failed to get git config %', option_name)
/external/libwebsockets/include/libwebsockets/
Dlws-ws-ext.h78 const char *option_name; /**< may be NULL, option_index used then */ member
/external/llvm-project/lldb/tools/debugserver/source/
DRNBSocket.h58 static int SetSocketOption(int fd, int level, int option_name,
DRNBSocket.cpp295 int RNBSocket::SetSocketOption(int fd, int level, int option_name, in SetSocketOption() argument
297 return ::setsockopt(fd, level, option_name, &option_value, in SetSocketOption()
/external/libwebsockets/lib/roles/ws/ext/
Dextension.c54 oa.option_name = NULL; in lws_ext_parse_options()
374 oa.option_name = opt_name; in lws_set_extension_option()
Dextension-permessage-deflate.c90 if (!oa->option_name) in lws_extension_callback_pm_deflate()
93 oa->option_name); in lws_extension_callback_pm_deflate()
97 oa->option_name)) in lws_extension_callback_pm_deflate()
/external/llvm-project/clang/test/Analysis/
Dstd-c-library-functions-POSIX.c247 int setsockopt(int socket, int level, int option_name, const void *option_value, socklen_t option_l…
248 int getsockopt(int socket, int level, int option_name, void *restrict option_value, socklen_t *rest…

12